WO2018171591A1 - Method and apparatus for waking up device - Google Patents
Method and apparatus for waking up device Download PDFInfo
- Publication number
- WO2018171591A1 WO2018171591A1 PCT/CN2018/079671 CN2018079671W WO2018171591A1 WO 2018171591 A1 WO2018171591 A1 WO 2018171591A1 CN 2018079671 W CN2018079671 W CN 2018079671W WO 2018171591 A1 WO2018171591 A1 WO 2018171591A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wifi
- message
- wake
- interface
- information
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 111
- 230000002618 waking effect Effects 0.000 title claims abstract description 32
- 238000004891 communication Methods 0.000 claims abstract description 110
- 238000012545 processing Methods 0.000 claims description 21
- 230000005540 biological transmission Effects 0.000 description 35
- 230000006870 function Effects 0.000 description 20
- 230000008569 process Effects 0.000 description 17
- 230000009471 action Effects 0.000 description 11
- 238000012795 verification Methods 0.000 description 11
- 238000007726 management method Methods 0.000 description 10
- 239000000523 sample Substances 0.000 description 8
- 238000013461 design Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 238000012549 training Methods 0.000 description 5
- 230000000737 periodic effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000011664 signaling Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 239000000969 carrier Substances 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0229—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
- H04W52/0235—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal where the received signal is a power saving command
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present application relates to the field of communications technologies, and in particular, to a method and apparatus for waking up a device.
- WiFi wireless fidelity
- IoT Internet of Things
- the basic feature of the standard is to enable low-power and long-distance communication for WiFi IoT devices (also known as WiFi IOT terminals).
- WiFi IoT devices also known as WiFi IOT terminals
- LP low power
- WUR wake-up radio/receiver
- a station (station, abbreviated as STA) supporting an 802.11 protocol introduces a WUR interface (that is, the LPWUR shown in FIG. 1) based on a conventional WiFi interface (also referred to as an 802.11 main radio, that is, an 802.11 main module). ).
- the WiFi interface of the STA is usually in a dormant state (in this state, the WiFi interface cannot perform data communication), and only when receiving the wake-up signal from the WUR interface of the STA, it is activated, and then can be accessed with an access point.
- AP access point supporting 802.11 protocol
- the WUR interface of the STA is continuously in working state (in this state, the WUR interface can perform data communication), or intermittently in working state, when the WUR interface of the STA receives the wake-up message from the AP in the working state (for example, the wake-up packet ( Wake-up packet)), the WUR interface of the STA sends a wake-up signal to the WiFi interface of the STA to wake up the WiFi interface of the STA in the dormant state.
- Embodiments of the present application provide a method and apparatus for waking up a device to further reduce power consumption of a terminal device on a terminal device configured with a WUR interface and a WiFi interface.
- the WiFi interface may also be referred to as a WiFi module or an 802.11 main module or a main communication interface;
- the WUR interface may also be referred to as a WUR module or a WUR or an auxiliary wake-up interface.
- the present application provides any of the following 1-18 embodiments (the numbers of the embodiments provided in this section have no clear correspondence with the numbers of the embodiments provided in other parts of the present document, and only the convenience of the description in this part) .
- a method for transmitting a WUR message and a WiFi message comprising: a first device generating a WUR beacon message; the first device transmitting the WUR beacon message to a second device by using a WUR interface of the first device a WUR interface of at least one device, the WUR interface of the second device is currently in a first wake-up window, the first wake-up window is a wake-up window of the WUR interface of the second device, or a wake-up window of the WUR interface of the first device, or a wake-up window of a wake-up window of the WUR interface of the first device and a wake-up window of the WUR interface of the second device; or Sending, by the first device, the WUR beacon message to the WUR interface of the at least one device, including the second device, by using the WiFi interface of the first device, where the WUR interface of the second device is currently in the second wake window
- the second wake-up window is a wake-up window of the WUR interface of the second device, or a wake-
- the foregoing method may enable the second device to obtain the detailed information of the first device by using the WiFi interface after the WUR beacon message is heard, and the process of actively scanning the discovery and obtaining the second device is omitted.
- the second device can save more power, and additionally adds a way to passively discover the second device, which increases the flexibility of the product implementation.
- the WUR beacon further carries the time information, where the time information is used to indicate the time when the first device sends the WiFi beacon, that is, the time information indicates the predetermined time, the first The device transmits the WiFi beacon at a predetermined time indicated by the time information.
- the second device can listen to the WiFi beacon at the predetermined time, and further save the second device.
- the WUR beacon message may further include: security indication information, where the security indication information is used to indicate that the first device supports security verification, and the WUR beacon may also carry at least The identifier information of the device that includes the second device is used to indicate that the device that includes the second device receives the WiFi beacon message sent by the first device.
- the foregoing method may enable the second device to determine whether to wake up the WiFi interface and then listen to the WiFi beacon according to the requirement, so that the second device reduces the number of unnecessary wake-up of the WiFi interface, and further saves power.
- the WUR beacon may further carry identification information of a device including at least a second device, where the at least the second device is included, as in any one of the embodiments 1 to 3.
- the device receives the WiFi beacon message sent by the first device.
- the above method may enable the designated second device to wake up to listen to the WiFi beacon message, and has a certain mandatory effect, instead of the second device listening to the WiFi beacon according to its own needs, which may be executed when the AP sends the update management information. Increased flexibility of the program.
- the first device sends a WiFi beacon message through the WiFi interface of the first device at a predetermined time
- the predetermined time may be: after sending the WUR beacon
- the foregoing method discloses different predetermined times.
- the first device sends the WiFi beacon at different times.
- the second device may be considered, for example, the WiFi device wake-up time of the second device, and the maximum waiting time is waiting, on the one hand, considering The first device needs to perform a WiFi message, the execution complexity of the first device, and the like, which can increase the flexibility of the AP to perform WiFi beacon transmission.
- the foregoing method can reduce the time that the first device uses the channel when the WUR message is sent, and saves the air interface overhead.
- the WUR beacon further carries the time information, where the time information is used to indicate the time when the first device sends the WiFi beacon, that is, the time information, in any one of the embodiments 1 to 6. Instructing the predetermined time, the first device sends the WiFi beacon at a predetermined time indicated by the time information, the time information may be a target time TBTT for transmitting a WiFi beacon, or the time information may be a distance sending The time interval of the WiFi beacon, or the time information may be TSF time information, the TSF time information may take all or part of the information of the TSF time or the Timestamp, and the first device sends the WiFi beacon at the time indicated by the TSF time information.
- the first device may determine, according to the TSF time information, a time for sending a WiFi beacon message, or the time information may be reset time information, indicating that the first device restarts time recording, where the WiFi beacon is The fixed time after the reset time is sent.
- the above method can make the time information carried in the WUR beacon different, and use the different time information manner to indicate the time when the first device sends the WiFi beacon, and the first device can select according to the occupied space of the sent message. Which kind of time information method.
- the WUR beacon further carries the time information, where the time information is used to indicate the time when the first device sends the WiFi beacon, that is, the time information, in any one of the embodiments 1 to 7. Instructing the predetermined time, the first device sends the WiFi beacon at a predetermined time indicated by the time information, and the time information is further used by a second device that establishes a connection with the first device to receive the WUR
- the becon is synchronized with the first device according to the time information.
- the first device uses a time information to indicate the time when the first device sends the WIFi beacon, and the time information may further synchronize the second device that receives the time information with the first device. I went to send two different time information.
- a method for transmitting a WUR message and a WiFi message comprising: receiving, by the second device, a WUR beacon message sent by the first device by using a WUR interface of the second device, where the WUR interface of the second device is currently in the first state a window, the first wake-up window being a wake-up window of the WUR interface of the second device, or a wake-up window of the WUR interface of the first device, or the WUR of the first device a wake-up window in which a wake-up window of the interface overlaps with a wake-up window of the WUR interface of the second device; or the second device receives the WUR beacon message sent by the first device by using the WUR interface of the second device
- the WUR interface of the second device is currently in a second wake-up window
- the second wake-up window is a wake-up window of the WUR interface of the second device, or the WiFi interface of the first device a wake-up window, or a wake-up window in which a wake-up window of the
- the second device sends the indication information according to the WiFi beacon, the second device wakes up the WiFi interface of the second device, and receives the first device by using the WiFi interface of the second device.
- Sending a WiFi beacon message; or the WiFi beacon sending indication information is used to indicate that the WUR beacon message is received and the second device establishing a connection with the first device wakes up the WIFI interface of the second device to receive the a WiFi beacon message sent by the first device through the WiFi interface, after the second device receives the WUR beacon message sent by the first device by using the WUR interface of the second device, the second device sends an indication according to the WiFi beacon.
- the second device wakes up the WiFi interface of the second device, and receives the first device by using the WiFi interface of the second device WiFi beacon message sent.
- the foregoing method may enable the second device to obtain the detailed information of the first device by using the WiFi interface after the WUR beacon message is heard, and the process of actively scanning the discovery and obtaining the second device is omitted.
- the second device can save more power, and additionally adds a way to passively discover the second device, which increases the flexibility of the product implementation.
- the second device After the second device receives the WUR beacon message sent by the first device by using the WUR interface of the second device, the second device sends the indication information according to the WiFi beacon, the second device.
- the device wakes up the WiFi interface of the second device, and the second device does not send or cancel the sending of the probe request message, and receives the WiFi beacon message sent by the first device by using the WiFi interface of the second device.
- the foregoing method may enable the second device to reduce the sending of the probe request, or the other acquiring the information request message, so that the second device is more power-saving.
- the WUR beacon further carries time information, where the time information is used to indicate a time when the first device sends a WiFi beacon, and the second device receives the time according to the time information.
- the WiFi beacon sent by the first device may enable the first device to wake up its own WiFi interface before the first device sends the WiFi beacon according to the time information, and reduce unnecessary wake-up time of the WiFi interface of the second device.
- the WUR beacon message may further carry: security indication information, where the security indication information is used to indicate that the first device supports security verification, If the second device supports security verification, the second device receives the WiFi beacon message sent by the first device.
- security indication information is used to indicate that the first device supports security verification
- the second device receives the WiFi beacon message sent by the first device.
- the foregoing method may enable the second device to determine whether to wake up its own WiFi interface according to its specific needs, and further enable the second device to save power.
- the WUR beacon can further carry the identification information of the device including the second device, the second device according to the identification information of the device Receiving a WiFi beacon message sent by the first device.
- the foregoing method may enable the second device to wake up its own WiFi interface according to the indication of the first device, and provide a mandatory. Otherwise, the second device wakes up its own WiFi interface according to its own needs.
- the second device receives the WiFi beacon message through the WiFi interface of the second device at a predetermined time, the predetermined time may be: after the WUR beacon is sent.
- the fixed time or, the time agreed in advance, or the time after the end of the window, or the time the device needs to wait, or the time required for the device to wake up its main radio, or the agreed time, or, standard
- the foregoing method discloses different predetermined times.
- the first device sends a WiFi beacon at different times.
- the second device may be considered, for example, the second device WiFi interface wake-up time, and the maximum waiting time waits. Considering that the first device needs to send a WiFi message, the execution complexity of the first device, etc., so that the AP can increase the flexibility of performing WiFi beacon transmission.
- the WUR beacon further carries the time information, where the time information is used to indicate the time when the first device sends the WiFi beacon, that is, the time information, in any one of the embodiments 9 to 14. Instructing the predetermined time, the second device receiving the WiFi beacon at a predetermined time indicated by the time information, the time information may be a target time TBTT for transmitting a WiFi beacon, or the time information may be a distance sending WiFi beacon.
- the time interval, or the time information may be TSF time information
- the TSF time information may take all or part of the information of the TSF time or the Timestamp, and the second device may determine, according to the TSF time information, that the WiFi beacon message is received.
- the time, or the time information may be that the reset time information indicates that the first device restarts recording, and the WiFi beacon is sent at a fixed time after the reset time.
- the above method can make the time information carried in the WUR beacon different, and use the different time information manner to indicate the time when the first device sends the WiFi beacon, and the first device can select according to the occupied space of the sent message. Which kind of time information method.
- the WUR beacon further carries the time information, where the time information is used to indicate the time when the first device sends the WiFi beacon, that is, the time information, in any one of the embodiments 9 to 15. Instructing the predetermined time, the second device sends the WiFi beacon at a predetermined time indicated by the time information, and the second device establishing a connection with the first device further receives the WUR becon according to the time
- the information is synchronized with the first device.
- the first device uses a time information to indicate the time when the first device sends the WIFi beacon, and the time information may further synchronize the second device that receives the time information with the first device. I went to send two different time information.
- An apparatus comprising: a memory, a processor, a WUR interface, and a WiFi interface; the memory for storing instructions and data; the processor for invoking instructions stored by the memory, by the WUR and the The WiFi interface performs the method as described in any of embodiments 1-8.
- This embodiment provides a specific device, which may be referred to as a first device, and may enable the second device to obtain detailed information of the first device after the WUR beacon message is heard by the second device (for example, Network management parameters, capability information, supported services, supported transmission rate information, security parameters, association condition information, etc., eliminating the need for the second device to actively scan and discover the first device and obtain detailed information of the first device.
- the process enables the second device to be more power efficient, and additionally adds a way to passively discover the second device, which increases flexibility in product implementation.
- An apparatus comprising: a memory, a processor, a WUR interface, and a WiFi interface; the memory for storing instructions and data; the processor for invoking instructions stored by the memory, by the WUR and the The WiFi interface performs the method as described in any of embodiments 9-16.
- This embodiment provides a specific device, which may be referred to as a second device. After the second device hears the WUR beacon message, the second device may obtain detailed information of the first device through the WiFi interface, which saves the need for the second device. The second device actively scans the process of discovering the first device and acquiring the detailed information of the first device, so that the second device can save more power, and additionally adds a way of passively discovering the second device, and adds a product. Flexibility in implementation.
- the present application provides any of the following 1-9 embodiments (the numbers of the embodiments provided in this section have no clear correspondence with the numbers of the embodiments provided in other parts of the present document, and only the convenience of the description in this part) .
- a method for transmitting a WUR message and a WiFi message comprising: a first device generating a WUR wakeup message; the first device transmitting the WUR wakeup message to a second device by using a WiFi interface of the first device a WUR interface of at least one device, the WUR interface of the second device is currently in a second wake-up window, the second wake-up window is a wake-up window of the WUR interface of the second device, or a wake-up window of the WiFi interface of the first device, or a wake-up window of a wake-up window of the WiFi interface of the first device and a wake-up window of the WUR interface of the second device;
- the WUR wakeup message carries broadcast wakeup indication information, the broadcast wakeup indication information indicates that the WUR wakeup message is a broadcast wakeup message, and the broadcasted wakeup message is used to wake up at least one device including the second device.
- a WiFi interface after the first device sends the WUR wakeup message, the first device sends a WiFi multi
- the WUR wake-up message carries the WiFi multicast message sending indication information, where the WiFi multicast message sending indication information indicates that the first device will send the WiFi through the WiFi interface of the first device. After the first device sends the WUR wakeup message, the first device sends a WiFi multicast message at a predetermined time; or the WiFi multicast message sending indication information is used to indicate that the WUR is received.
- the second device that wakes up the message and establishes a connection with the first device or the second device that is in the same BSS basic service set as the first device wakes up the WIFI interface of the second device to receive the first device through
- the WUR wakeup message carries the indication BSS parameter update indication information, which is used to indicate that the first device sends the updated BSS parameter, or indicates the BSS parameter of the first device in the network. An update has occurred, or an indication that the second device described in the network has updated the BSS parameters.
- the WUR wakeup message carries the indication BSS parameter update indication information, and the first device sends the updated BSS parameter to the second device by using the WiFi interface.
- the WUR wakeup message carries the first network identification information or the second network identification information, the first identification information of the first device or the second device of the first device, in any one of the embodiments 1 to 4.
- the identification information is at least one of the working channels of the WiFi interface of the first device.
- the WUR wakeup message carries the first network identifier information, where the first network identifier information is used to indicate that the first device belongs to The network information, or the WUR wakeup message further carries the second network identifier information, where the second network identifier information is used to indicate network information to which the first device belongs, and the second network identifier information is based on the The information generated by the network identifier information; the WUR wake-up message carries the first identifier information of the first device, and is used to identify the device identifier of the WUR beacon message, or the WUR wake-up message carries the first device.
- the second identifier information of the first device is used to identify a device identifier for sending a WUR beacon message, and the second identifier information is based on the first identifier Information generated; the wake-up message WUR WiFi interface device of the first working channel, for the second device to obtain the first apparatus operating channel WiFi interface.
- the radio wake-up indication information is the first identifier information or the second identifier information of the first device.
- the broadcast wake-up indication information is that the first identifier information or the second identifier information of the first device is placed in an address field of the WUR wake-up message, indicating that the WUR wake-up message is broadcast. Wake up the message.
- the WUR wakeup message carries the time information, where the time information is used to indicate the time when the first device sends the WiFi multicast message, that is, the time information indicates the predetermined time, as in the first embodiment.
- the first device sends the WiFi multicast message at a predetermined time indicated by the time information.
- the information carried in the WiFI multicast message; the BSS parameter, the information used by the WiFi interface communication, the information used by the WUR interface communication, the time information, the wake-up window information of the first device, and the WUR of the second device Wake up window information, network identification information, address information of the first device, heartbeat information, role information, SSID service set identification information, service information, time information of sending WiFi beacon messages, time information of sending WUR synchronization messages, sending WUR beacon Time information of the message, time information of the WUR discovery message, WUR message sending target message transmission time target time information, WUR beacon message target beacon transmission time sending target time information, Target Wake Time target wake time information, WiFi interface working channel information , WUR interface working channel, frequency information of sending WUR synchronization message, frequency information of sending WiFi beacon message, device capability information, supported transmission rate information, robust security network parameters of RSN, associated condition information, quality of service quality of service parameters, etc.
- updated BSS parameters updated WiFi interface communication usage information, updated WUR interface communication usage information, updated time information, updated first device wake window information, updated second device WUR wakes up window information, updated network identification information, updated first device address information, updated heartbeat information, updated role information, updated SSID service set identification information, updated service information, updated WiFi beacon Time information of the message, updated time information of the sent WUR synchronization message, updated time information of the transmitted WUR beacon message, updated time information of the sent WUR discovery message, updated WUR message sending target message transmission time target time information, updated WUR beacon message target beacon transmission time transmission target time information, updated Target Wake Time target wake-up time information, updated WiFi interface working channel information, updated WUR interface working channel, updated frequency information of transmitted WUR synchronization message, updated How often to send WiFi beacon messages At least one of information, updated device capability information, updated supported transmission rate information, updated RSN robust security network parameters, updated associated condition information, updated quality of service quality of service parameters, and the like.
- the present application provides any of the following 1-8 embodiments (the numbers of the embodiments provided in this section have no clear correspondence with the numbers of the embodiments provided in other parts herein, and only the convenience of the description in this part) .
- a method for transmitting a WUR message and a WiFi message comprising: receiving, by the second device, a WUR wakeup message sent by the first device by using a WUR interface of the second device, where the WUR interface of the second device is currently in the second wake up a window, the second wake-up window is a wake-up window of the WUR interface of the second device, or a wake-up window of the WiFi interface of the first device, or the WiFi of the first device a wake-up window in which a wake-up window of the interface overlaps with a wake-up window of the WUR interface of the second device; the WUR wake-up message carries broadcast wake-up indication information, and the broadcast wake-up indication information indicates that the WUR wakes up
- the message is a broadcast wake-up message; the broadcast wake-up message is used to wake up a WiFi interface of at least one device including the second device; the second device after receiving the WUR wake-up message, the second The device wakes up the WiFI interface of the second device, and receives the
- the WUR wakeup message carries the WiFi multicast message sending indication information
- the second device sends the indication information according to the WiFi multicast message in the WUR wakeup message
- the second device wakes up the The WiFi interface of the two devices.
- the WUR wakeup message carries the indication BSS parameter update indication information, and after the second device receives the WUR wakeup message, the second device wakes up the WiFI interface of the second device, Receiving, by the WiFi interface of the second device, the WiFi multicast message sent by the first device through the WiFi interface at a predetermined time.
- the second device does not send or cancel the sending of the probe request message, or the second device does not send or cancel the sending of the information request message, and receives the information through the WiFi interface of the second device.
- the WUR beacon further carries time information, where the time information is used to indicate a time when the first device sends a WiFi multicast message, and the second device receives the information according to the time information.
- the WiFi multicast message sent by the first device.
- the WUR wakeup message carries the first network identification information or the second network identification information, the first identification information of the first device or the second device of the first device, in any one of the embodiments 1 to 5. At least one of the identification information and the broadcast wake-up indication information.
- the method includes: the second device, according to the first network identifier information or the second network identifier information, the first identifier information of the first device or the second device Determining, by the at least one of the identification information, the broadcast wakeup indication information, that the second device wakes up the WiFi interface of the second device.
- the WUR wake-up message carries at least one of the working channels of the WiFi interface of the first device, and specifically includes: the second device according to the first a working channel of the WiFi interface of the device, the second device waking up the WiFi interface of the second device, and adjusting a working channel of the WiFI interface of the second device to be a working channel of the WiFi interface of the first device.
- the second device receives the WiFI multicast message sent by the first device by using a WiFi interface, and the second device is configured according to the WiFi multicast message according to any one of Embodiments 1 to 7.
- the present application provides any of the following 1-17 embodiments (the numbers of the embodiments provided in this section have no clear correspondence with the numbers of the embodiments provided in other parts of the present document, and only the convenience of the description in this part) .
- a method for waking up a device comprising: a first device broadcasting a wake-up message through a WiFi interface of the first device to at least two devices in a same network as the first device, the first device For the access point AP or the group Owner (GO) in the network, the wakeup message includes broadcast wakeup indication information (or may be simply referred to as indication information), and the broadcast wakeup indication information is used to indicate The wake-up message is a broadcast wake-up message, and the wake-up message is used to indicate that the device that receives the wake-up message through the WUR interface wakes up its own WiFi interface, and the WUR interface of the at least two devices is in the at least two devices.
- broadcast wakeup indication information or may be simply referred to as indication information
- a working window of the WUR interface or the WUR interface of the at least two devices is in a working window of the WiFi interface of the first device, or the WUR interface of the at least two devices is in the at least two devices
- An overlapping working window of the WUR interface and the WiFi interface of the first device, the working window refers to a time interval in which information can be transmitted and/or received; the first device is in advance
- the first time through the WiFi interface device transmits a multicast message to the WiFi at least two devices.
- the method provided in this embodiment adds a broadcast wakeup indication information to the wakeup message, and the device that receives the wakeup message can all wake up its own WiFi interface, because multiple devices can be awakened almost simultaneously, compared to a possible implementation manner.
- the first device sequentially sends a wake-up message to multiple devices to wake up multiple devices, which causes some devices to be woken up first, and some devices are woken up, the WiFi interface of the device that is first awake.
- the working time will be longer than the working time of the WiFi interface of the device that wakes up later, thereby increasing the power consumption of the device that is first awake, and can reduce the work of the WiFi interface of some devices (such as the aforementioned device that is first awake).
- the duration of the device reduces the power consumption of these devices, so that the power consumption of the terminal device can be further reduced on the terminal device configured with the WUR interface and the WiFi interface, and the signaling generated by waking up multiple devices (ie, terminal devices) can be reduced. Overhead.
- the wake-up message further includes other information, where the other information is at least one of the following information: first indication information, second indication information, network identifier information of the network, The device identification information of the first device, and the working channel used by the WiFi interface of the first device to send the WiFi multicast message; wherein the first indication information is used to indicate that the first device is to pass the The WiFi interface of the first device sends the WiFi multicast message, or the first indication information is used to indicate that the device that receives the wakeup message receives the first device sent by using the WiFi interface of the first device.
- the second indication information is used to indicate that the first device is to send the updated BSS parameter, or the second indication information is used to indicate that the BSS parameter of the network is updated.
- the second device may determine whether to wake up the WiFi interface according to other information in the wakeup message, and consider the requirement of the second device, which increases the flexibility of the second device to wake up the WiFi interface.
- the other information includes at least the second indication information
- the WiFi multicast message includes the updated BSS parameter.
- the second device may update the BSS parameter according to the updated BSS parameter in the WiFi multicast message, so that the second device can better use the service provided by the BSS, and receive the message sent by the device in the BSS, and the first device. Synchronization, etc.
- the broadcast wakeup indication information is device identification information of the first device, in any one of the embodiments 1 to 3.
- a method for waking up a device comprising: receiving, by a WUR interface of the second device, a wake-up message broadcast by the first device through a WiFi interface of the first device, where the second device
- the first device is in the same network, the first device is an access point AP or a group length GO in the network, and the wake-up message includes broadcast wake-up indication information, where the broadcast wake-up indication information is used to indicate
- the wake-up message is a broadcast wake-up message
- the WUR interface of the second device is in a working window of the WUR interface of the second device, or the WUR interface of the second device is in the WiFi interface of the first device a working window, or the WUR interface of the second device is in an overlapping working window of the WUR interface of the second device and the WiFi interface of the first device, where the working window refers to being capable of transmitting and/or receiving information Time interval
- the second device wakes up the WiFi interface of the second device according to the broadcast wakeup indication information in the wakeup message
- the method provided in this embodiment adds a broadcast wakeup indication information to the wakeup message, and the device that receives the wakeup message can all wake up its own WiFi interface, because multiple devices can be awakened almost simultaneously, compared to a possible implementation manner.
- This possible implementation manner is: the first device sequentially sends a wake-up message to multiple devices to wake up multiple devices, which causes some devices to be woken up first, and some devices are woken up, the WiFi interface of the device that is first awake.
- the working time will be longer than the working time of the WiFi interface of the device that wakes up later, thereby increasing the power consumption of the device that is first awake, and can reduce the work of the WiFi interface of some devices (such as the aforementioned device that is first awake).
- the duration of the device reduces the power consumption of these devices, so that the power consumption of the terminal device can be further reduced on the terminal device configured with the WUR interface and the WiFi interface, and the signaling generated by waking up multiple devices (ie, terminal devices) can be reduced. Overhead.
- the wake-up message further includes other information, where the other information is at least one of the following information: first indication information, second indication information, network identifier information of the network, The device identification information of the first device, where the WiFi interface of the first device sends the working channel used by the WiFi multicast message, where the first indication information is used to indicate that the first device will pass the The WiFi interface of the device sends the WiFi multicast message, or the first indication information is used to indicate that the device that receives the wakeup message receives the location that the first device sends through the WiFi interface of the first device.
- first indication information is at least one of the following information: first indication information, second indication information, network identifier information of the network, The device identification information of the first device, where the WiFi interface of the first device sends the working channel used by the WiFi multicast message, where the first indication information is used to indicate that the first device will pass the The WiFi interface of the device sends the WiFi multicast message, or the first indication information is used to indicate that the device that receives the wakeup message receives the location that the
- the second indication information is used to indicate that the first device is to send an updated BSS parameter, or the second indication information is used to indicate that a BSS parameter of the network is updated;
- the second device wakes up the WiFi interface of the second device according to the broadcast wakeup indication information in the wakeup message, including: the second device according to the broadcast wakeup indication information in the wakeup message And the other information in the wakeup message wakes up the WiFi interface of the second device.
- the second device determines whether to wake up the WiFi interface according to more conditions, and considers the requirement of the second device, which increases the flexibility of the second device to wake up the WiFi interface.
- the other information includes at least the second indication information
- the WiFi multicast message includes the updated BSS parameter.
- the second device may update the BSS parameter according to the updated BSS parameter in the WiFi multicast message, so that the second device can better use the service provided by the BSS, and receive the message sent by the device in the BSS, and the first device. Synchronization, etc.
- the broadcast wakeup indication information is device identification information of the first device, in any one of Embodiments 7 to 9.
- the wake-up message further includes time indication information, the time indication information is used to indicate the predetermined time; and the second device passes the predetermined time Before the WiFi interface of the second device receives the WiFi multicast message sent by the first device by using the WiFi interface of the first device, the method further includes: the second device determining, according to the time indication information, scheduled time.
- the other information includes at least a working channel used by the WiFi interface of the first device to send the WiFi multicast message, the method further comprising: the second device adjusting the second device The working channel of the WiFi interface transmits the working channel used by the WiFi multicast message to the WiFi interface of the first device.
- the hardware or software includes one or more units corresponding to the functions described above.
- the device may be the first device described herein, in which case the device has the function of implementing the method provided by any of the above embodiments 1 to 6. Further, the device may be present in the first device described herein in the form of a product of the chip, and the first device is controlled to implement the method provided in any one of the foregoing Embodiments 1 to 6.
- the device may be a second device as described herein, in which case the device has the functionality to implement the method provided by any of the above embodiments 7 through 13. Further, the device may be present in the second device described herein in the form of a product of the chip, and the second device is controlled to implement the method provided in any of the above embodiments 7 to 13.
- a communication device comprising: a memory, a processor, a WiFi interface, and a WUR interface, the memory for storing computer execution instructions, the processor and the memory being connected by a communication bus, and the processor executing the memory storage computer execution instructions to
- the apparatus is caused to implement any of the methods provided in any of the embodiments 1 to 13.
- the device may be the first device described herein, in which case the device has the function of implementing the method provided by any of the above embodiments 1 to 6. Further, the device may be present in the first device described herein in the form of a product of the chip, and the first device is controlled to implement the method provided in any one of the foregoing Embodiments 1 to 6.
- the device may be a second device as described herein, in which case the device has the functionality to implement the method provided by any of the above embodiments 7 through 13. Further, the device may be present in the second device described herein in the form of a product of the chip, and the second device is controlled to implement the method provided in any of the above embodiments 7 to 13.
- a computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform any one of the methods provided in any one of embodiments 1 through 13.
- a computer program product comprising instructions which, when run on a computer, cause the computer to perform any of the methods provided in any one of embodiments 1 through 13.
- FIG. 1 is a schematic diagram of a WiFi interface of an AP wake-up STA in the prior art
- FIG. 2 is a schematic diagram of a composition of a wake-up frame (or wake-up packet) according to an embodiment of the present disclosure
- FIG. 3 is a schematic diagram of a wake-up window of an interface according to an embodiment of the present disclosure
- FIG. 4 is a schematic structural diagram of a wireless device according to an embodiment of the present application.
- FIG. 5 is an interaction flowchart of a method for waking up a device according to an embodiment of the present disclosure
- FIG. 6 is an interaction flowchart of another method for waking up a device according to an embodiment of the present disclosure
- FIG. 7 is an interaction flowchart of still another method for waking up a device according to an embodiment of the present disclosure
- FIG. 8 is a schematic structural diagram of a communication apparatus according to an embodiment of the present application.
- first, second, third, etc. may be used to describe various messages, requests, and terminals in the embodiments of the present application, these messages, requests, and terminals should not be limited to these terms. These terms are only used to distinguish messages, requests, and terminals from one another.
- the first terminal may also be referred to as a second terminal without departing from the scope of the embodiments of the present application.
- the second terminal may also be referred to as a first terminal.
- the first device in the following may also be referred to as a second device, and the second device may also be referred to as a first device.
- the words “if” or “if” as used herein may be interpreted as “when” or “when” or “in response to determining” or “in response to detecting.”
- the phrase “if determined (condition or event of presentation)” or “if detected (condition or event of presentation)” can be interpreted as “when determined (condition or event of presentation)” or “ In response to determining (stated condition or event) or “when detecting (condition or event stated)” or “in response to detecting (condition or event stated)”.
- the AP side logically includes a WiFi interface and a WUR interface.
- the signal sent by the WiFi interface is often orthogonal frequency-division multiplexing (OFDM).
- the wideband signal while the wake-up signal is a narrowband signal, can be used to transmit wake-up signals using an OFDM wideband transmitter (located within the WiFi interface) for cost reduction and simplified structural considerations.
- a partial subcarrier of the OFDM signal is vacant and the signal is transmitted only on the narrowband corresponding to the wakeup signal, thereby generating a narrowband signal.
- This is an example of generating a narrowband signal by using an OFDM wideband transmitter, so that the AP side includes only one module in FIG.
- the WiFi interface and the WUR interface can also be implemented separately in the specific implementation of the AP side.
- both the AP and the STA have only one antenna.
- the WiFi interface and the WUR interface use the same frequency band carrier (for example, 2.4 GHz), and the same antenna can be shared to save cost and simplify the device structure.
- the WiFi interface and the WUR interface use different frequency band carriers, the two should be configured with different antennas.
- the WiFi interface uses the 5 GHz band
- the WUR interface uses the 2.4 GHz band. In this case, the two should correspond to different antennas.
- the STA uses the WUR interface to reduce power consumption.
- the main reason is that the wake-up signal is transmitted through narrowband (the narrower the bandwidth used by the device to transmit the signal, the smaller the power consumption of the device), and the reception and translation of the wake-up signal.
- the code is much simpler than the traditional 802.11 frame.
- the wake-up signal is usually modulated by a receiver that is easy to receive, such as on-off keying (OOK) modulation. Taking OOK modulation as an example, the receiving end judges the information carried by the received signal by the presence or absence of energy of the received signal. For example, the energy is 1, the energy is 0, and 1 and 0 respectively represent a kind of information.
- OOK on-off keying
- the traditional 802.11 frame adopts OFDM, block check character (BCC) (also called XOR check), and low density parity check code (LDPC) on the transmitting end. And so on, the receiving end needs to perform fast Fourier transform (FFT), and uses forward error correction (FEC) decoding and other complex signal processing operations, which require costly operations. A lot of energy.
- BCC block check character
- LDPC low density parity check code
- the traditional short training field (L-STF), the traditional long training field (L-LTF), and the legacy signal field (recorded as L-SIG)
- L-STF traditional short training field
- L-LTF traditional long training field
- L-SIG legacy signal field
- a conventional WiFi message also referred to as an 802.11 message
- a conventional WiFi device eg, can be
- the STA in the text can determine that the current packet is a WiFi data packet, thereby selecting a corresponding channel reception decision threshold.
- the Payload portion of the wake-up packet uses an easy-to-demodulate modulation scheme, such as OOK modulation (for example, amplitude shift keying (ASK), for example), and the wake-up packet can be transmitted over a narrower bandwidth, for example, 2MHz channel, 4MHz channel, 5MHz channel, etc. (the minimum bandwidth required for traditional transmission of WiFi message channels is 20MHz), so that the energy consumption at the receiving end is smaller.
- OOK modulation for example, amplitude shift keying (ASK), for example
- ASK amplitude shift keying
- the wake-up packet payload includes a wake-up preamble and a media access control (MAC) portion.
- the former is similar to the short training field (STF) and the long training field (LTF) of the traditional WiFi frame, and is used for synchronization, automatic gain control (AGC) and channel estimation.
- the latter is similar to the MAC part of the traditional WiFi frame, and further includes a MAC header, a frame body, and a frame check sequence (FCS).
- the MAC part may use a repetition code, a spreading code, and Manchester. Code and other methods for simple channel coding to improve reliability.
- the wakeup preamble may include a sequence of specific sequences.
- the WUR interface of the STA may not receive the previous legacy preamble portion, but directly detects the specific sequence to identify the beginning of the wakeup packet.
- the WUR interface of the STA receives the wake-up packet and detects its own identity (unicast/multicast/broadcast address) from the MAC portion of the wake-up packet, a wake-up signal is sent to the WiFi interface.
- the wake-up packet can be without the traditional preamble, and the MAC part can also not use the channel coding.
- the payload portion can also adopt other modulation methods that are easy to demodulate, such as frequency-shift keying (FSK).
- FSK frequency-shift keying
- the WiFi interface may be a wireless interface provided by a WiFi module, the WiFi interface may also be referred to as an 802.11 interface, a main communication interface, etc., and the WiFi module may also be referred to as an 802.11 main module.
- the WUR interface can be a wireless interface provided by the WUR module, the WUR interface can also be referred to as an auxiliary wake-up interface, and the WUR module can also be referred to as an auxiliary wake-up module. WUR can wake up the radio or wake up the receiver.
- the primary communication interface (such as the interface provided by the WiFi module) is relative to the auxiliary wake-up interface (such as the interface provided by the WUR module).
- the awake device When the awake device (eg, may be the AP above) has data to send to the awake device (eg, may be the STA above), the awake device sends a wake-up frame within the awake window of the WUR interface of the awake device (For example, the wake-up signal, wake-up packet can be the above) to the WUR interface of the wake-up device, thereby waking up the main communication interface (for example, WiFi interface) of the wake-up device, and the wake-up main communication interface is in an active state.
- the wakeup of the primary communication interface can be understood as the primary communication interface can receive messages and/or send messages. Taking the WiFi interface as an example, after the WiFi interface of the device is woken up, the device can receive the WiFi message and/or send the WiFi message.
- the main communication interface Before the main communication interface is woken up, the main communication interface is in a sleep state. In this case, the device cannot receive a message through the main communication interface, nor can it send a message through the main communication interface.
- the WiFi interface in the sleep state as an example, the device cannot receive the WiFi message through the WiFi interface, and cannot send the WiFi message through the WiFi interface.
- the WUR interface is in a working state, indicating that the device can receive and/or send a WUR message through the WUR interface.
- the fact that the WiFi interface is in working state means that the device can receive and/or send WiFi messages through the WiFi interface.
- the working state of an interface can be called the interface is in the wake-up window, and the length of time that the interface is in the working state is the length of the wake-up window of the interface.
- Wake up windows can also be called work windows.
- the interface in the embodiment of the present application may also be referred to as a communication interface.
- the wake-up window of the WUR interface refers to the time when the WUR interface of the device is in a working state
- the wake-up window of the WiFi interface refers to the time when the WiFi interface of the device is in a working state.
- the “waking window of the first device” may be the time when the WUR interface of the first device and/or the WiFi interface of the first device is in an active state.
- the first device may send a WUR message to the second device through the WiFi interface (at this time, the WiFi interface is in the wake-up window) or the WUR interface (when the WUR interface is in the wake-up window) in the wake-up window of the first device.
- the "waking up window of the second device" may be the time when the WUR interface of the second device is in the working state.
- the first device may send a WUR message to the second device through the WiFi interface or the WUR interface of the first device in the wake-up window of the WUR interface of the second device.
- the "waking window of the first device” and the “waking window of the second device” may also wake up the window for the group, the group means that the first device and the second device are included.
- devices in the group can have a unified wake-up window.
- the first device and the second device use the same group to wake up the window.
- the group wake-up window is a wake-up window commonly used by devices in the network to which the first device belongs (the network may be a group consisting of a plurality of devices including the first device and the second device).
- the group wake up window may be negotiated or predetermined by the first device with the second device.
- the second device may be a device that receives the WUR message sent by the first device (specifically, may be a device that receives the first device in the wake-up window of the second device or sends a WUR message in the wake-up window or the group wake-up window of the first device) And, or a device that performs WUR communication with the first device, or a device that establishes a connection with the first device.
- the awake window of the first device has a time of overlapping or partially overlapping or not overlapping at all with the awake window of the second device.
- a wake-up window of the WiFi interface of the first device and a wake-up window of the WUR interface of the second device have overlapping or partially overlapping or not overlapping time at all.
- a wake-up window of the WUR interface of the first device and a wake-up window of the WUR interface of the second device have overlapping or partially overlapping or not overlapping time at all.
- the wake-up window of the first device is a wake-up window of the WiFi interface of the first device
- the wake-up window of the second device is a wake-up window of the WUR interface of the second device. If the wake-up window of the WUR interface of the second device starts at A, the end time is B, and the wake-up duration is C, the start time of the wake-up window of the WiFi interface of the first device is D, and the end time is E. The duration of waking is F.
- the wake-up window of the WUR interface of the second device and the WiFi interface of the first device does not overlap at all: the start time A of the WUR interface of the second device is after the end time E of the WiFi interface of the first device, or the second device The end time B of the WUR interface is before the WiFi interface start time D of the first device.
- the WUR interface of the second device partially overlaps with the awake window of the WiFi interface of the first device: the start time A of the WUR interface of the second device is after the start time D of the WiFi interface of the first device and the WiFi of the first device Before the end time E of the interface, or the start time D of the WiFi interface of the first device is after the start time A of the WUR interface of the second device and before the end time B of the WUR interface of the second device.
- the awake window of the interface can be continuous, that is, the interface is always working, or the interface is always working for a period of time.
- WUR interface or WiFi interface is always working.
- the interface is in working state and can also be described as the interface does not sleep.
- the wakeup window of the interface can be intermittent, that is, the interface is sometimes in a working state and sometimes in a non-working state.
- the WUR interface or the WiFi interface is sometimes in a working state and sometimes in a non-working state.
- the awake window of the interface can be periodic, that is, the interface is periodically working.
- the WUR interface or the WiFi interface is periodically working.
- the awake window of the interface can be aperiodic, that is, the interface is non-periodic and in working state.
- the WUR interface or the WiFi interface is in a non-periodic working state.
- the WUR interface can enable duty-cycling, that is, the periodic, regular "wake-sleep" of the WUR interface.
- the WUR interface wakes up periodically (that is, the WUR interface is in working state, can receive the wake-up signal, and the working state can also be called the receiving state, the active state, the awake state, and the transmitting state), and waits for receiving the wake-up signal.
- the WUR interface is in the waking window, and the WUR interface is in a sleep state outside the waking window (that is, the WUR interface is in the non-receiving state, or inactive, and cannot receive the wake-up signal), which is an ultra-low
- the deep sleep state of power consumption power consumption is close to zero), so enabling the duty cycle can significantly reduce the average power consumption of the WUR interface.
- the WUR may be referred to as a wake-up radio or a wake-up receiver, and the communication interface provided by the WUR may be referred to as a WUR interface.
- the WUR interface is uniformly described in the full text.
- the WUR interface can also be directly used to refer to the wake-up radio or the wake-up receiver, which is uniformly described herein, and will not be described below.
- WUR can sometimes be called LP-WUR.
- the transmission may include: transmitting, or receiving, or transmitting and receiving.
- the first device transmits the WUR message, and specifically includes: the first device sends the WUR message, or the first device receives the WUR message, or the first device sends the WUR message and receives the WUR message.
- the first device transmits the WiFi message, which may include: the first device sends a WiFi message, or the first device receives the WiFi message, or the first device sends the WiFi message and receives the WiFi message.
- the second device transmits the WUR message, and specifically includes: the second device receives the WUR message, or the second device sends the WUR message, or the second device receives the WUR message and sends the WUR message.
- the second device transmits the WiFi message, which may include: the second device receives the WiFi message, or the second device sends the WiFi message, or the second device receives the WiFi message and sends the WiFi message.
- the embodiment of the present application provides a wireless device 40, which can implement any method embodiment provided by the present application.
- the wireless device 40 is a first device (ie, a wake-up device, such as an AP), it can implement the actions performed by the first device in the embodiment of the present application.
- the wireless device 40 is a second device (ie, a wake-up device, such as a STA), it can implement the actions performed by the second device in the embodiment of the present application.
- the specific structure of the wireless device 40 can be seen in FIG. 4.
- the wireless device 40 includes, but is not limited to, an auxiliary wake-up interface 401, a main communication interface 402, a processor 403, a memory 404, and an antenna module 405.
- the auxiliary wakeup interface 401 can be the WUR interface above, and the primary communication interface 402 can be the WiFi interface above.
- the auxiliary wake-up interface 401 can be configured to receive a wake-up signal sent by other wireless devices and/or send a wake-up signal to other wireless devices, and send a wake-up signal to the main communication interface 402 after receiving the wake-up signal to wake up the main communication interface 402.
- the primary communication interface 402 can be used to receive wake-up signals transmitted by the auxiliary wake-up interface 401 and to send and receive other messages, such as WiFi frames.
- the processor 403 may have one or more for implementing the generation and setting of the aforementioned wake-up preamble, and the generation of the wake-up signal.
- Memory 404 can have one or more.
- auxiliary wakeup interface 401 and primary communication interface 402. may be shared by auxiliary wakeup interface 401 and primary communication interface 402.
- the auxiliary wake-up interface 401 and the main communication interface 402 can share the same antenna module 105, mainly for reducing equipment hardware cost and implementing simple considerations.
- the auxiliary wake-up interface 401 and the primary communication interface 402 may also correspond to different antenna modules, particularly when the two operate in different frequency bands.
- the wireless device 40 can be implemented by a system-on-a-chip (SoC) or by an integrated circuit or by two hardware modules.
- SoC system-on-a-chip
- the wireless device 40 can perform any of the methods provided by the embodiments of the present application by using the auxiliary wake-up interface 401 and the main communication interface 402.
- the method provided by the embodiments of the present application may be used for, but not limited to, the following scenarios: a WiFi-based IoT and a wearable WiFi network (ie, a mobile phone as a virtual access point and a WiFi network composed of associated wearable devices).
- IoT devices and wearable WiFi network devices are devices that are powered by small-capacity batteries and have ultra-low power consumption and long-term endurance requirements.
- the first embodiment of the present application is configured to enable the first device that sends the WUR discovery message to carry the WiFi sending indication information in the WUR discovery message, where the WiFi sending indication information is used to indicate that the first device is to send a WiFi discovery message, and the second device receives the WUR. After the message is found, it is determined that the first device is to send a WiFi discovery message according to the WiFi sending indication information, and then waits to receive the WiFi discovery message sent by the first device, instead of the second device actively sending a probe request message through the WiFi interface. Thereby reducing the number of messages sent by the WiFi interface and reducing the power consumption of the second device.
- the WUR discovery message in the embodiment of the present application may also be referred to as a WUR beacon message (WUR beacon message), and the WiFi discovery message may also be referred to as a WiFi beacon message (WiFi beacon message).
- Beacon messages are generally sent by broadcast.
- the STA device that is not connected to the AP can find the appropriate AP hotspot through the WUR interface, and then connect to the AP.
- the AP can obtain the AP information by receiving the WUR discovery message and establish a connection with the AP.
- the purpose of the solution provided by the embodiment of the present application is to reduce the power consumption of the STA device.
- the STA device that has established a connection with the AP or the STA device that is in the same basic service set (BSS) as the AP, needs to obtain updated management parameter information (update key, channel) sent by the AP.
- the WUR interface receives the WUR discovery message and obtains the WiFi transmission indication information, the STA device can flexibly determine whether to wake up when it needs to listen to the WiFi discovery message sent by the AP.
- Receiving a WiFi discovery message sent by the AP obtaining updated management parameter information, status information of the current AP, and the like from the WiFi discovery message.
- the process of the STA device requesting the updated management parameter information and the status information of the current AP through the WiFi interface is omitted, and the power consumption of the STA device can be reduced.
- the device that generates the WUR discovery message and sends the WUR discovery message is the first device
- the device that receives the WUR discovery message is the second device.
- the second device may be a device that does not establish a connection with the first device.
- a device that has established a connection with the first device or a device that is in the same BSS as the first device
- the device that knows the wake-up window of the first device exemplary, the device that has established a connection with the first device can know which waking window the first device sends the WUR discovery message, and the device that knows the awake window of the first device can be the device that establishes the connection with the first device.
- the device may be other devices, which is not specifically limited in this embodiment.
- the WUR discovery message in the embodiment of the present application may also be referred to as a WUR synchronization message or a WUR wakeup message, and these messages may all be WUR broadcast (or multicast, or unicast) messages (ie, broadcast (or multicast, or single).
- the WUR message of the broadcast which may include the broadcast address of the broadcast (or multicast, or unicast) WUR message).
- the WiFi discovery message in the embodiment of the present application may also be referred to as a WiFi data (data) message, and these messages may all be WiFi broadcast (or multicast, or unicast) messages (ie, broadcast (or multicast, or unicast).
- a WiFi message which may include a broadcast (or multicast, or unicast) receiving address).
- the WUR message, the WUR wakeup message, the WUR synchronization message, the WUR discovery message, the WUR broadcast (or multicast, or unicast) message are all messages conforming to the WUR signal characteristics (ie, the message that the WUR receiver can parse) ), it can also be a wake-up package.
- the embodiment of the present application provides a method for waking up a device, as shown in FIG. 5 or FIG. 6.
- the communication method includes:
- the first device generates a WUR discovery message.
- the WUR discovery message carries the WiFi sending indication information, where the WiFi sending indication information is used to indicate that the first device sends the WiFi discovery message through the WiFi interface of the first device, or the WiFi sending indication information is used to indicate that the WUR discovery message is received and the first The device that establishes the connection or the device in the same BSS as the first device wakes up the WiFi interface, and receives the WiFi discovery message sent by the first device through the WiFi interface.
- the first device sends a WUR discovery message to the WUR interface of the at least one device including the second device by using the WUR interface or the WiFi interface of the first device.
- the WUR interface of the second device When the first device sends the WUR discovery message through the WUR interface of the first device, the WUR interface of the second device is currently in the first wake-up window, and the first wake-up window is a wake-up window of the WUR interface of the second device.
- the first wake-up window is a wake-up window of the WUR interface of the first device, or, the first wake-up window is a wake-up window of the WUR interface of the first device and a wake-up window of the WUR interface of the second device Wake up windows that overlap windows.
- the WUR interface of the second device When the first device sends the WUR discovery message through the WiFi interface of the first device, the WUR interface of the second device is currently in the second wake-up window, and the second wake-up window is a wake-up window of the WUR interface of the second device, or
- the second wake-up window is a wake-up window of the WiFi interface of the first device, or, the second wake-up window is a wake-up window of the WiFi interface of the first device and a wake-up window of the WUR interface of the second device Overlapping wake up windows.
- the first device sends a WiFi discovery message at a predetermined time.
- the second device receives the WUR discovery message sent by the first device.
- step 503 and step 504 is in no particular order.
- the second device wakes up the WiFi interface of the second device according to the WiFi sending indication information included in the WUR discovery message.
- the second device receives the WiFi discovery message sent by the first device by using a WiFi interface of the second device at a predetermined time.
- the WiFi sending indication information may also be referred to as a broadcast message sending indication information, where the broadcast message sending indication information is used to indicate that the WUR discovery message sent by the first device is a broadcast message.
- the second The device wakes up the WiFi interface of the second device according to the broadcast message sending indication information included in the WUR discovery message.
- the WiFi sending indication information may also be the wakeup indication information or the broadcast wakeup indication information, and the wakeup indication information is used by all the devices that receive the wakeup indication information to wake up the WiFi interface, and the broadcast wakeup indication information is used to receive all the devices of the broadcast wakeup indication information.
- Wake up the WiFi interface all devices include at least a second device, all devices may be devices that establish a connection with the first device, or devices in the same BSS as the first device, or receive the first in the wake-up window of the WUR interface A device that sends a WUR discovery message to a device.
- the wakeup indication information or the broadcast wakeup indication information may also be used to instruct the first device to send the WiFi discovery message through the WiFi interface of the first device.
- the second device wakes up the WiFi interface of the second device according to the wakeup indication information or the broadcast wakeup indication information included in the WUR discovery message.
- the second device does not send or cancel the sending of the probe request message after waking up the WiFi interface of the second device according to the WiFi sending indication information, and the second device waits to receive the WiFi discovery message sent by the first device.
- the second device does not send or cancel the sending of the information request message after waking up the WiFi interface of the second device according to the WiFi sending indication information, and the second device waits to receive the WiFi discovery message sent by the first device, and the information request message is required by the second device.
- the communication method includes:
- the first device generates a WUR discovery message.
- the first device sends a WUR discovery message to the WUR interface of the at least one device including the second device by using the WUR interface or the WiFi interface of the first device.
- the WUR interface of the second device When the first device sends the WUR discovery message through the WUR interface of the first device, the WUR interface of the second device is currently in the first wake-up window, and the first wake-up window is a wake-up window of the WUR interface of the second device.
- the first wake-up window is a wake-up window of the WUR interface of the first device, or, the first wake-up window is a wake-up window of the WUR interface of the first device and a wake-up window of the WUR interface of the second device Wake up windows that overlap windows.
- the WUR interface of the second device When the first device sends the WUR discovery message through the WiFi interface of the first device, the WUR interface of the second device is currently in the second wake-up window, and the second wake-up window is a wake-up window of the WUR interface of the second device, or
- the second wake-up window is a wake-up window of the WiFi interface of the first device, or, the second wake-up window is a wake-up window of the WiFi interface of the first device and a wake-up window of the WUR interface of the second device Overlapping wake up windows.
- the first device sends a WiFi discovery message at a predetermined time after sending the WUR discovery message, where the predetermined time is a time for transmitting the WiFi discovery message determined by the first device and the second device according to the preset rule.
- the second device receives the WUR discovery message sent by the first device.
- the second device wakes up the WiFi interface of the second device according to the WUR discovery message.
- the second device receives the WiFi discovery message sent by the first device by using a WiFi interface of the second device at a predetermined time after receiving the WUR discovery message.
- the first device may be a network device.
- the first device may be an AP, and the AP may be a base station, a relay, or the like.
- the WUR discovery message may further include network information for other devices to establish a connection with the first device.
- the second device may be a terminal, for example, the STA in the above, and the STA may specifically be a mobile phone, an electric meter, a water meter, or the like.
- the first device and the second device may pre-determine a sending rule of the WiFi discovery message, or the first device may perform the WiFi discovery message sending rule fixedly, or the standard specifies that the first device performs the
- the WiFi discovery message sending rule is as follows: The first device sends a WiFi discovery message at a predetermined time after transmitting the WUR discovery message.
- the method shown in FIG. 6 differs from the method shown in FIG. 5 mainly in that the first device and the second device advance a predetermined rule, and the first device sends a WiFi discovery message at a predetermined time after transmitting the WUR discovery message, and does not need to be performed.
- the first device adds the WiFi sending indication information to the WUR discovery message, that is, does not need to occupy the bit in the message to indicate the sending of the WiFi discovery message.
- the probe request message is not sent or cancelled, and the second device waits to receive the WiFi discovery message sent by the first device.
- the second device After the second device wakes up the WiFi interface of the second device, the second device waits to receive the WiFi discovery message sent by the first device, and the second device needs to obtain the information request message from the first device. A message sent to the first device when the information is needed.
- the WUR discovery message may adopt a frame format as shown in FIG. 2, or may adopt a frame format of other newly defined action messages, or may be modified according to a frame format of an existing message.
- the frame format is not specifically limited in this embodiment of the present application.
- the second device after receiving the WiFi discovery message sent by the first device, the second device establishes a communication connection with the second device on the WiFi interface. It should be noted that the second device can receive the WiFi message even before the communication connection on the WiFi interface is established with the first device (for example, obtaining a WiFi message through the scan channel). After the second device establishes a communication connection on the WiFi interface with the first device, the WiFi message can be acquired more quickly and accurately (for example, the WiFi message can be obtained directly on the channel carrying the WiFi message without scanning all channels).
- the second device may wake up the WiFi interface of the second device and wait to receive the WiFi discovery message sent by the first device before the predetermined time.
- the WUR discovery message may further carry at least one of the following information.
- security indication information security indication information is used to indicate whether the first device supports security verification. For example, if the value of the bit occupied by the security indication information is 1, the first device supports security verification. When the bit value is 0, the first device does not support security verification.
- the first device When the first device supports security verification, when the second device establishes a secure connection with the first device, the first device and the second device need to perform an authentication process.
- the first device does not support the security verification
- the second device establishes a secure connection with the first device, the first device and the second device do not need to perform the verification process.
- the second device may determine, according to the security indication information carried in the WUR discovery message, whether to receive the WiFi discovery message. If it is decided to receive the WiFi discovery message, the WiFi interface of the second device is awake, otherwise, the WiFi interface of the second device is not awake. Exemplarily, if the second device needs to perform security verification, and the security indication information in the WUR discovery message received by the second device is to support security authentication, or the second device does not need to perform security verification, the second device wakes up the second device. The WiFi interface receives the WiFi discovery message sent by the first device through the WiFi interface of the second device. Otherwise, the second device does not wake up the WiFi interface to receive the WiFi discovery message.
- Network Identification Information 2 network identification information, and network identification information is used to indicate the network to which the first device belongs.
- the network identification information may be a group ID.
- the network identifier information may also be one of a BSS color and a service set identifier (SSID) information.
- SSID service set identifier
- the group or BSS may also be referred to as a WUR network.
- the group or BSS may also be referred to as a WiFi network.
- the WUR network can be identified by the ID or name of the WUR network
- the WiFi network can be identified by the ID or name of the WiFi network.
- the network identifier may be the first identifier or the second identifier in the following, and the related descriptions of the first identifier and the second identifier may be described in the corresponding portions in the following.
- the second device may determine, according to the network identifier information carried in the WUR discovery message, whether to receive the WiFi discovery message. If it is decided to receive the WiFi discovery message, the WiFi interface of the second device is awake, otherwise, the WiFi interface of the second device is not awake.
- the second device may determine whether to receive the WiFi discovery message by determining whether the network identification information in the WUR discovery message matches the required network identification information. For example, the second device may receive the WiFi discovery message when determining that the network identification information in the WUR discovery message matches the required network identification information; otherwise, the WiFi discovery message is not received.
- the "required” described in the embodiments of the present application can also be described as "recorded”.
- the network identifier information in the WUR discovery message received by the second device is an SSID. If the SSID required by the second device does not match the SSID in the WUR discovery message, the second device does not wake up the WiFi interface of the second device. Receiving the WiFi discovery message, if the packet is matched, the second device wakes up the WiFi interface of the second device, and receives the WiFi discovery message sent by the first device by using the WiFi interface of the second device.
- the network identifier information in the WUR discovery message received by the second device is a WUR network identifier. If the WUR network identifier required by the second device does not match the WUR network identifier in the WUR discovery message, the second device does not wake up the second.
- the WiFi interface of the device receives the WiFi discovery message. If the device matches, the second device wakes up the WiFi interface of the second device, and receives the WiFi discovery message sent by the first device through the WiFi interface of the second device.
- the information 3, the service identification information, the service identification information is used to indicate the service supported by the first device, or the service supported by the network to which the first device belongs, and the service identification information may be a service name (service name), a service identifier (service ID) , service hash (service hash, value generated based on hashing of service information), and so on.
- the second device may determine, according to the service identifier information carried in the WUR discovery message, whether to receive the WiFi discovery message. If it is decided to receive the WiFi discovery message, the WiFi interface of the second device is awake, otherwise, the WiFi interface of the second device is not awake.
- the second device may determine whether to receive the WiFi discovery message by determining whether the service identification information carried in the WUR discovery message matches the required service identification information. For example, the second device may receive the WiFi discovery message when determining that the service identification information carried in the WUR discovery message matches the required service identification information; otherwise, the WiFi discovery message is not received.
- the service identification information in the WUR discovery message received by the second device is the identification information of the service 1
- the service required by the second device is the service 2 (that is, the service identification information required by the second device is the identification information of the service 2)
- the second device determines that the service identifier information carried in the WUR discovery message does not match the required service identifier information, and the second device does not wake up the WiFi interface of the second device to receive the WiFi discovery message.
- the information 4, the time information, the time information is used to indicate the time when the first device sends the WiFi discovery message, that is, the time information indicates the predetermined time, the first device sends the WiFi discovery message at the predetermined time, and the second device indicates the time indicated by the time information ( That is, the predetermined time) receiving a WiFi discovery message from the first device.
- the time information may specifically be at least one of the following information:
- the target time for sending a WiFi discovery message (for example, target beacon transmit time (TBTT)). For example, if a WiFi discovery message is sent at 20:00, the target time is 20:00.
- TBTT target beacon transmit time
- the second device receives the WiFi discovery message sent by the first device at the target time.
- the interval between sending the WiFi discovery message (indicating that the first device sends a WiFi discovery message after waiting for the interval, and the interval time may also be referred to as an offset time).
- the second device waits for an interval to receive the WiFi discovery message sent by the first device.
- the interval time is an interval between a time point at which a certain message is sent and a time point at which the WiFi discovery message is sent, that is, the first device sends a WiFi discovery message after an interval time of sending a certain message.
- the interval time may be a time interval between a time point when the WUR discovery message is sent and a time point when the WiFi discovery message is sent.
- TSF time information can take all or part of the TSF time or timestamp (Timestamp) information
- a device sends a WiFi discovery message at the time indicated by the TSF time information.
- the first device uses the TSF time modulo operation. When the operation result is 0, the first device sends a WiFi discovery message at the TSF time. If the operation result is not 0, the first device does not send the WiFi discovery message at the TSF time.
- the first device may determine, according to the TSF time information, a time when the WiFi discovery message is sent.
- the second device receives the WiFi discovery message sent by the first device at the time indicated by the TSF time information, and the second device may determine, according to the TSF time information, the time when the first device sends the WiFi discovery message. Similarly, the second device uses the TSF time modulo operation. When the operation result is 0, the TSF time is the sending time of the first device to send the WiFi discovery message. If the operation result is not 0, the TSF time is not the first device. When the sending time of the WiFi discovery message is sent, the second device may determine the time at which the WiFi discovery message is received according to the TSF time information.
- the reset time information indicates the time when the first device restarts recording, and the WiFi discovery message can be sent at the reset time (or a fixed time after the reset time).
- the second device receives the WiFi discovery message sent by the first device at the reset time (or a fixed time after the reset time).
- the predetermined time may be: a fixed time after the first device sends the WUR discovery message, or the first device and the second device agree in advance. Time, or the time required for the second device to wake up the WiFi interface, or, the time specified by the standard, or, a fixed time, or one of the times when the second device waits for a WiFi message (eg, WiFi discovery message) to time out kind.
- a WiFi message eg, WiFi discovery message
- the information of the first device is used to identify the device that sends the WUR discovery message.
- the identifier of the first device may be: the ID of the first device, the MAC address of the first device, and the WUR interface address of the first device. Or a WUR ID of the first device, an association identifier (AID) (an identifier assigned by the first device to the second device), a traffic indication map (TIM), and the like.
- AID association identifier
- TIM traffic indication map
- the identifier of the first device may be the third identifier or the fourth identifier in the following, and the related descriptions of the third identifier and the fourth identifier may be referred to the description of the corresponding part in the following.
- the second device determines whether to receive the WiFi discovery message according to the identification information of the first device. If it is decided to receive the WiFi discovery message, the WiFi interface of the second device is awake, otherwise, the WiFi interface of the second device is not awake.
- the second device may determine whether to receive the WiFi discovery message by determining whether the identifier information of the device in the WUR discovery message matches the identifier information of the first device. For example, the second device may receive the WiFi discovery message when determining that the identification information of the device in the WUR discovery message matches the identification information of the first device, otherwise, the WiFi discovery message is not received.
- the second device does not wake up the WiFi interface.
- the information of the device that receives the WiFi discovery message may be: the ID of the device, the MAC address of the device, the WUR interface address of the device, the AID, the TIM, and the broadcast address information.
- the second device wakes up the WiFi interface of the second device and waits to receive the WiFi discovery message sent by the first device, if the second device receives the The WUR discovery message does not include the identification information of the second device, and the second device does not receive the WiFi discovery message sent by the first device.
- the information about the WUR network where the first device is located is used by the second device to obtain more information about the WUR network where the first device is located. Because the first device and the second device are in the same network, the second device is based on the first device. The information of the WUR network sent by the device adjusts or records the network information of the second device.
- the WUR network information includes at least: time information for synchronizing devices in the WUR network, wake-up window information of the WUR interface of the first device, and network identification information of the WUR network (for details, see above), the first device Address information, heartbeat information (that is, a signal periodically sent by the first device to identify that the first device is in a working state), role information of a role of the first device in the network, and service information that the WUR network can provide (for example, printing, surfing the Internet) At least one of the working channel information of the WUR interface of the first device, voice, video, etc.).
- the second device adjusts the information of the device according to the received WUR discovery message sent by the first device, and the adjusting the information of the device includes: adjusting the time information to synchronize with the first device, and adjusting the wakeup window of the WUR interface of the second device to The waking window of the WUR interface of the device is the same, and the network identifier information recorded by the second device is adjusted to be the network identifier information of the WUR network carried in the WUR discovery message, and the working channel of the WUR interface of the second device is adjusted to be the WUR of the first device. At least one of an interface working channel and the like.
- the second device determines that the first device is in the working state according to the heartbeat information, and the second device records the address information of the first device, the role information of the role of the first device in the WUR network, the service information that the WUR network can provide, and the like.
- the second device may wake up the WiFi interface according to the foregoing information in the WUR discovery message, and may also wake up the WiFi interface according to the multiple information in the information in the WUR discovery message, which is not specifically limited in this embodiment of the present application. .
- the WiFi discovery message may include information about the WiFi network where the first device is located, and the second device acquires more information about the WiFi network where the first device is located.
- the WiFi network information includes at least: time information for synchronizing devices in the WiFi network, wake-up window information of the WiFi interface of the first device, network identification information of the WiFi network (for example, ID of the WiFi network, or WiFi network Name, or, BSS color, or group identification), address information of the first device, heartbeat information, role information of the role of the first device in the WiFi network, service information that the WiFi network can provide, WiFi channel working channel information, Capability information of the WiFi network, transmission rate information supported by the WiFi network, security of the WiFi network (for example, a robust security network (RSN) parameter, etc.).
- RSSN robust security network
- the second device adjusts the information of the device according to the received WiFi discovery message sent by the first device, and the information of the device is adjusted: the time information is adjusted to synchronize with the first device, and the WiFi interface of the second device is adjusted to wake up.
- the window is consistent with the awake window of the WiFi interface of the first device, and the network identifier information recorded by the second device is adjusted to be the network identifier information of the WiFi network carried in the WiFi discovery message, and the working channel information of the WiFi interface of the second device is adjusted. At least one of a WiFi interface working channel of the first device, and the like.
- the second device determines that the first device is in the working state according to the heartbeat information, the second device records the address information of the first device, the role information of the role of the first device in the WiFi network, the service information that the WiFi network can provide, and the capability of the WiFi network. Information, transmission rate information supported by the WiFi network, security parameters of the WiFi network, etc.
- the second device synchronizes with the first device according to the received WiFi discovery message.
- the second device may perform coarse synchronization with the first device according to the information in the WUR discovery message, and perform accurate with the first device according to the information in the WiFi discovery message. Synchronize).
- the second device accepts (accept, or, adopts) the time information in the WiFi discovery message, and adjusts the time of the second device or the TSF time or TSF time according to the time information in the WiFi discovery message ( Time) or TSF time value.
- the second device adjusts the wakeup window of the WUR interface of the second device according to the wakeup window information of the WUR interface of the first device included in the WUR discovery message, or the second device uses the wakeup window of the WUR of the first device, or The second device and the first device determine a new wake-up window.
- the second device receives the WUR wakeup message sent by the first device in the adjusted wakeup window, and the WUR wakeup message is used to wake up the WiFi interface of the at least one device including the second device.
- the at least one device including the second device receives the WUR wakeup message sent by the first device in the first awake window, and the WUR wakeup message is used to wake up the WiFi interface of the at least one device including the second device.
- the first device may reduce the information carried in the WUR discovery message, for example, may not carry time information for synchronization. Since the second device can receive the WiFi discovery message, the WiFi discovery message can carry a lot of detailed network information.
- the WiFi sending indication information may be carried in a control domain of a WUR discovery message, or a type field, or an address domain, or a preamble domain, or one or more of a signal (SIG) domain. In particular, it can be represented by 1 bit.
- the second device After receiving the WUR discovery message, the second device obtains the WiFi transmission indication information according to one or more of the control domain, or the type domain, or the address domain, or the preamble domain, or the signal domain.
- the second device if the WiFi transmission indication information is carried in the control domain (which may also be a type domain, or an address domain, or a preamble domain, or a signal domain), the second device according to the control domain of the received WUR discovery message ( It can also be a type field, or an address field, or a preamble field, or a signal field, to obtain a WiFi transmission indication information.
- the control domain which may also be a type domain, or an address domain, or a preamble domain, or a signal domain
- the second device according to the control domain of the received WUR discovery message ( It can also be a type field, or an address field, or a preamble field, or a signal field, to obtain a WiFi transmission indication information.
- the second device may determine whether to wake up the WiFi interface according to the condition. For specific determination conditions, refer to the above.
- the WiFi sending indication information may also be represented by a pre-defined WUR discovery message format, that is, an implicit representation manner, and does not need to occupy the bit in the WUR discovery message to indicate. This may be represented by the angle of rotation of the symbol in the WUR discovery message, or by a pre-specified symbol in the WUR discovery message, or by a pre-specified sequence in the WUR discovery message, or by a predetermined provision in the WUR discovery message.
- the training sequence is represented, or, the WUR finds a different length in the message to represent, or, the WUR discovery message pre-specified ID information, or color information, or, up, or, down indication .
- the second device After receiving the WUR discovery message, the second device obtains the WiFi transmission indication information according to the format of the predetermined message.
- multiple APs send a WUR discovery message
- the STA after receiving the WUR discovery message sent by multiple APs, the STA sends a probe request message to multiple APs on multiple channels, requesting the details of the AP. Information and waiting for different AP feedback response messages on multiple channels.
- the second device receives the WiFi discovery message sent by the first device according to the WiFi sending indication information in the WUR discovery message, or the fixed time of the second device directly after receiving the WUR discovery message. That is, the predetermined time) to receive the WiFi discovery message sent by the first device, which can reduce the second device to send the probe request message, which is beneficial to the WiFi interface of the second device to save power.
- the transmission of WiFi messages is reduced, the utilization of air interface resources is saved, and the utilization of wireless air interfaces is improved.
- the embodiment of the present application further provides a method for waking up the device, and an explanation of the related content in the embodiment may be referred to above, and details are not described herein again.
- the method includes:
- the first device broadcasts the wakeup message to the at least two devices in the same network as the first device by using the WiFi interface of the first device.
- the first device is an AP or a group owner (GO) in the network.
- the at least two devices may be STAs.
- the AP may be a base station, a relay, or the like.
- the STA can be specifically a mobile phone, an electric meter, a water meter, or the like.
- the network may be a network composed of a group of devices including the first device and the at least two devices, and the at least two devices may be group members. Specifically, when the first device and the at least two devices are in the same network, at least two devices establish a connection with the first device. "At least two devices are connected to the first device" may also be described as "the first device and at least two devices are in the same BSS".
- the wake-up message includes broadcast wake-up indication information, the broadcast wake-up indication information is used to indicate that the wake-up message is a broadcast wake-up message, and the wake-up message is used to indicate that the device that receives the wake-up message through the WUR interface wakes up its own WiFi interface, and the WUR of at least two devices.
- the interface is in the working window of the WUR interface of the at least two devices, or the WUR interface of the at least two devices is in the working window of the WiFi interface of the first device, or the WUR interface of at least two devices is in the at least two devices.
- An overlapping working window of the WUR interface and the WiFi interface of the first device, the working window refers to a time interval in which information can be transmitted and/or received.
- the wake-up message is used to wake up the WiFi interface of all devices that establish a connection with the first device, or may also be described as a wake-up message for waking up the WiFi interface of all devices in the same BSS with the first device.
- the working windows of the WUR interfaces of at least two devices may be the same or different.
- the WUR interface in the working window can only receive information.
- the WUR interface in the working window can both send information and receive information.
- the WiFi interface in the working window can receive information as well as send information.
- the first device can also broadcast the wake-up message by using the WUR interface instead of using the WiFi interface to broadcast the wake-up message.
- the WUR interface of at least two devices is in the working window of the WUR interface of at least two devices, or the WUR interface of at least two devices is in the working window of the WUR interface of the first device, or at least two devices
- the WUR interface is an overlapping working window of the WUR interface of at least two devices and the WUR interface of the first device, and the working window refers to a time interval in which information can be transmitted and/or received.
- the method may further include: the first device generates a wakeup message.
- the broadcast wakeup indication information may be device identifier information of the first device.
- a description of the device identification information of the first device can be found below.
- the broadcast wakeup indication information may be located in an address field of the wakeup message.
- the wakeup message may be indicated by the address field as a broadcast wakeup message.
- the broadcast wakeup indication information is the device identifier information of the first device
- the address field of the wakeup message is the device identifier information of the first device
- the wakeup message is a broadcast wakeup message.
- the broadcast wakeup indication information does not need to occupy additional resources in the wakeup message, and resources can be saved.
- the first device sends a WiFi multicast message to the at least two devices by using a WiFi interface of the first device at a predetermined time.
- the multicast message can be a broadcast message or a group message.
- the WiFi multicast message may specifically be a data message, a management message, or a control message.
- the predetermined time is a time that the first device and the at least two devices can determine.
- the predetermined time may be a fixed time after the first device sends the wake-up message, or the time agreed by the first device and the second device in advance, or the time required for the second device to wake up the WiFi interface, or the time specified by the standard, or, At a fixed time, or one of the times when the second device waits for a WiFi message (eg, a WiFi multicast message) to time out.
- a WiFi message eg, a WiFi multicast message
- the predetermined time can also be indicated in the wake up message.
- the wakeup message may further include time indication information for indicating the predetermined time.
- the second device receives, by using the WUR interface of the second device, a wakeup message that is sent by the first device by using the WiFi interface of the first device.
- the second device may be any one of the at least two devices, and the second device is in the same network as the first device.
- step 702 and step 703 is in no particular order.
- the second device wakes up the WiFi interface of the second device according to the broadcast wakeup indication information in the wakeup message.
- the WiFi interface in the device is in a sleep state, and the WUR interface is periodically in the working window.
- the WUR interface receives the wake-up message, it sends a wake-up signal to the WiFi interface, and the WiFi interface is woken up, so that it is in the working window.
- step 704 when the second device determines that the wake-up message is a broadcast wake-up message according to the broadcast wake-up indication information, the second device wakes up the WiFi interface of the second device.
- the second device receives, by using a WiFi interface of the second device, a WiFi multicast message sent by the first device by using a WiFi interface of the first device.
- the method may further include: the second device determining the predetermined time according to the time indication information.
- the first device When the first device is to broadcast a WiFi message to multiple devices, a possible implementation manner is as follows: the first device needs to send a wake-up message to multiple devices in turn to wake up multiple devices, which may cause some devices to be woken up first. After the device is woken up, the working time of the WiFi interface of the device that is first awake will be longer than the working time of the WiFi interface of the device that is awake later, thereby increasing the power consumption of the device that is first awake.
- the method provided by the embodiment of the present application adds a broadcast wakeup indication information to the wakeup message, and the device that receives the wakeup message wakes up its own WiFi interface. Since multiple devices are awakened at the same time, the possible implementation manner is as described above. In comparison, it is possible to reduce the working hours of the WiFi interfaces of some devices (ie, the aforementioned devices that are awakened first), reduce the power consumption of these devices, and reduce the signaling overhead caused by waking up multiple devices.
- the awake message further includes other information, where the other information is at least one of the following information: first indication information, second indication information, network identifier information of the network, and the first device.
- Device identification information the working channel used by the WiFi interface of the first device to send the WiFi multicast message;
- the first indication information is used to indicate that the first device sends the WiFi multicast message through the WiFi interface of the first device, or the first indication information is used to indicate that the wakeup is received.
- the device of the message receives the WiFi multicast message sent by the first device by using the WiFi interface of the first device; the second indication information is used to indicate that the first device will send the updated BSS parameter, or The second indication information is used to indicate that the BSS parameter of the network is updated.
- the step 704 may include: the second device waking up the WiFi interface of the second device according to the broadcast wakeup indication information in the wakeup message and other information in the wakeup message.
- the network identification information may be a group identifier.
- the network identification information may also be one of BSS color and SSID information.
- the group or BSS may also be referred to as a WUR network.
- the group or BSS may also be referred to as a WiFi network.
- the WUR network can be identified by the ID or name of the WUR network
- the WiFi network can be identified by the ID or name of the WiFi network.
- the device identification information of the first device may be an ID of the first device, a MAC address of the first device, a WUR interface address of the first device, an AID, a TIM, and the like.
- the network identifier information is a first identifier or a second identifier, where the second identifier is an identifier generated according to the first identifier, and the number of bits occupied by the second identifier is smaller than the number of bits occupied by the first identifier. .
- the second identification may be generated based on part or all of the information of the first identification.
- the first identifier is an SSID
- the second identifier may be a partial value of the SSID, or a hash value that performs a hash operation based on the SSID. In this case, using the second identifier in the wake-up message can save transmission resources compared to using the first identifier.
- the device identifier information of the first device is a third identifier or a fourth identifier, where the fourth identifier is an identifier generated according to the third identifier, and the number of bits occupied by the fourth identifier is smaller than the third identifier. The number of bits occupied.
- the fourth identifier may be generated based on part or all of the information of the third identifier.
- the third identifier is a MAC address
- the fourth identifier may be a partial value of the MAC address, or a hash value of performing a hash operation based on the MAC address. . In this case, using the fourth identifier in the wake-up message can save transmission resources compared to using the third identifier.
- the second device determines that the wakeup message is a broadcast wakeup message, if the other information includes at least the network identifier information of the network, if the network identifier information included in the wakeup message matches the network identifier information recorded by the second device, The second device and the device that sends the wake-up message are in the same network, and the second device wakes up the WiFi interface of the second device. Otherwise, the second device does not wake up the WiFi interface of the second device.
- the second device determines that the wakeup message is a broadcast wakeup message, if the other information includes at least the device identifier information of the first device, if the device identifier information of the first device included in the wakeup message is sent and the second device records the transmission
- the second device wakes up the WiFi interface of the second device, otherwise, the second device does not wake up the WiFi interface of the second device.
- the device identification information recorded by the second device may be the identification information of the AP accessed by the second device.
- the above exemplarily shows two ways of determining whether the second device wakes up the WiFi interface of the second device, and the second device can also determine whether to wake up the second according to the broadcast wakeup indication information and the plurality of other information.
- the WiFi interface of the device is not described in the embodiment of the present application.
- the other information includes at least a working channel used by the WiFi interface of the first device to send the WiFi multicast message
- the method further includes: adjusting, by the second device, the WiFi of the second device The working channel of the interface sends the working channel used by the WiFi multicast message to the WiFi interface of the first device, so that the second device successfully receives the WiFi multicast message.
- the other information includes at least the second indication information, where the WiFi multicast message includes the updated BSS parameter.
- the second device updates the BSS parameter according to the updated BSS parameter included in the WiFi multicast message.
- the second device may update the BSS parameters according to the updated BSS parameters in the WiFi multicast message, so that the second device can better use the service provided by the BSS, receive the message sent by the device in the BSS, synchronize with the first device, and the like.
- the updated BSS parameters include at least one of the following information: updated time information for synchronization of devices within the BSS, updated WUR interface of the first device, and/or wake window information of the WiFi interface, updated The wake-up window information of the WUR interface and/or the WiFi interface of the second device, the network identification information of the updated BSS, the updated address information of the first device, the updated heartbeat information, and the role of the updated role of the first device in the BSS Information, updated service information that the BSS can provide, updated working channel information of the WiFi interface of the first device, updated working channel information of the WUR interface of the first device, updated capability information of the first device, updated
- the BSS supports transmission rate information, updated BSS security (RSN, robust security network, robust security network) parameters, and the like.
- the WiFi multicast message in the foregoing embodiment may carry at least one of the following information: at least one of a BSS parameter, a quality of service (QoS), an updated BSS parameter, and an updated QoS parameter. .
- QoS quality of service
- the second device receives the WiFi multicast message sent by the first device through the WiFi interface, and adjusts or records the corresponding BSS parameter of the second device according to the information carried in the WiFi multicast message (this part can be referred to above, and details are not described herein again. ), QoS, etc. at least one of them.
- the names of some messages may be different between the above embodiments, the name of the message is only a reference to the object, and various names may be used to refer to the same object, so that the messages have the same or similar functions. , you can understand each other.
- the communication device includes corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above functions.
- the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples 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 to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
- the embodiment of the present application may divide the function module into the communication 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 application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
- FIG. 8 shows a possible structural diagram of the device involved in the above embodiment, and the device 80 may be the first device or the second device, see FIG.
- the device 80 may include a processing unit 801, a WiFi unit 802, and a WUR unit 803, and may further include a storage unit 804.
- the processing unit 801 is configured to perform control management on the action of the first device.
- the processing unit 801 is configured to support the first device to perform steps 501-503 in FIG. 5, or in FIG. Steps 601-603, or steps 701-702 in FIG. 7, and/or actions performed by the first device in other processes described in the embodiments of the present application.
- the WiFi unit 802 and the WUR unit 803 are configured to support communication of the first device with other network devices, for example, with the second device of FIG. 5, FIG. 6, or FIG.
- the storage unit 804 is configured to store program codes and data of the first device.
- the processing unit 801 is configured to perform control management on the action of the second device.
- the processing unit 801 is configured to support the second device to perform steps 504-506 in FIG. 5, or in FIG. Steps 604-606, or steps 703-705 in FIG. 7, and/or actions performed by the second device in other processes described in the embodiments of the present application.
- the WiFi unit 802 and the WUR unit 803 are configured to support the second device to communicate with other network devices, for example, with the first device of FIG. 5, FIG. 6, or FIG.
- the storage unit 804 is configured to store program codes and data of the second device.
- the processing unit 801 can be a processor or a controller
- the WiFi unit 802 can be a main communication interface
- the main communication interface is a WiFi interface
- the WUR unit 803 can be an auxiliary wake-up interface
- the auxiliary wake-up interface is a WUR interface.
- Storage unit 804 can be a memory.
- the processing unit 801 is a processor
- the WiFi unit 802 is a main communication interface
- the WUR unit 803 is an auxiliary wake-up interface
- the storage unit 804 is a memory
- the device involved in the embodiment of the present application may be the device shown in FIG.
- the processor 403 is configured to perform control management on the action of the first device.
- the processor 403 is configured to support the first device to perform steps 501-503 in FIG. 5, or Steps 601-603 in FIG. 6, or steps 701-702 in FIG. 7, and/or actions performed by the first device in other processes described in the embodiments of the present application.
- the primary communication interface 402 and the secondary wakeup interface 401 are used to support communication of the first device with other network devices, for example, with the second device of FIG. 5, FIG. 6, or FIG.
- the memory 404 is used to store program codes and data of the first device.
- the processor 403 is configured to perform control management on the action of the second device.
- the processor 403 is configured to support the second device to perform steps 504-506 in FIG. 5, or Steps 604-606 in FIG. 6, or steps 703-705 in FIG. 7, and/or actions performed by the second device in other processes described in the embodiments of the present application.
- the primary communication interface 402 and the secondary wakeup interface 401 are configured to support communication of the second device with other network devices, for example, with the first device of FIG. 5, FIG. 6, or FIG.
- the memory 404 is used to store program codes and data of the second device.
- the processing unit or processor of the communication device involved herein wakes up the WiFi unit or the WiFi interface of the communication device according to the broadcast wakeup indication information in the wakeup message, which may be the processing unit or the processor of the communication device directly or indirectly (The WiFi unit or the WiFi interface of the communication device can be awake as if it were through the WUR unit or WUR interface of the communication device.
- the embodiment of the present application also provides a computer readable storage medium, including instructions, when executed on a computer, causing the computer to perform any of the above methods.
- the embodiment of the present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform any of the above methods.
- the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
- a software program it may be implemented in whole or in part in the form of a computer program product.
- the computer program product includes one or more computer instructions.
- the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.).
- the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media.
- the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
- a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
- an optical medium eg, a DVD
- a semiconductor medium such as a solid state disk (SSD)
- At least one means one or more, and "a plurality” means two or more.
- At least one of the following or a similar expression thereof refers to any combination of these items, including any combination of a single item or a plurality of items.
- at least one of "a, b, or c" may mean: a, b, c, ab ( That is, a and b), ac, bc, or abc, wherein a, b, and c may be single or plural.
- the size of the serial numbers of the above processes does not mean the order of execution, and some or all of the steps may be performed in parallel or sequentially, and the execution order of each process shall be
- the intrinsic logic is determined without any limitation on the implementation process of the embodiments of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed in the present application are a method and apparatus for waking up a device, for use in further reducing power consumption of a terminal provided with a WUR interface and a WiFi interface. The method comprises: a first device broadcasts, through a WiFi interface of the first device, a wake-up message to at least two devices in a same network where the first device and the at least two devices are located, the first device being an access point (AP) in the network or a leader GO, the wake-up message comprising broadcast wake-up indication information, the broadcast wake-up indication information being used for indicating that the wake-up message is a broadcasted wake-up message, and the wake-up message being used for instructing a device that receives the wakeup message through the WUR interface, to wake up the WiFi interface; and the first device sends a WiFi multicast message to the at least two devices at specified time through the WiFi interface of the first device. The present application relates to the technical field of communications.
Description
本申请要求于2017年03月20日提交中国专利局、申请号为201710166585.8、申请名称为“一种传输WUR消息和WiFi消息的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on March 20, 2017, the Chinese Patent Office, the application number is 201710166585.8, and the application is entitled "A Method and Apparatus for Transmitting WUR Messages and WiFi Messages", the entire contents of which are incorporated by reference. Combined in this application.
本申请涉及通信技术领域,尤其涉及一种用来唤醒设备的方法及装置。The present application relates to the field of communications technologies, and in particular, to a method and apparatus for waking up a device.
电气和电子工程师协会(institute of electrical and electronics engineers,简称IEEE)802.11标准组织计划制定基于2.4G/5GHz频段的无线保真(wireless fidelity,简称WiFi)物联网(internet of things,简称IoT)标准,该标准的基本特征是使得WiFi IoT设备(也可以称为WiFi IOT终端)低功耗和长距离通信。针对低功耗,一种可能的方法是在WiFi IoT设备侧使用低功耗(low power,简称LP)唤醒无线电/唤醒接收机(wake-up radio/receiver,简称WUR)。The Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard organization plans to develop a wireless fidelity (WiFi) Internet of Things (IoT) standard based on the 2.4G/5 GHz band. The basic feature of the standard is to enable low-power and long-distance communication for WiFi IoT devices (also known as WiFi IOT terminals). For low power consumption, one possible method is to use a low power (LP) wake-up radio/receiver (WUR) on the WiFi IoT device side.
参见图1,支持802.11协议的站点(station,简称STA)在传统WiFi接口(也可以称为802.11main radio,即802.11主模块)的基础上,引入一个WUR接口(即图1中所示的LPWUR)。STA的WiFi接口通常处于休眠状态(该状态下,WiFi接口无法进行数据通信),只有当收到来自STA的WUR接口的唤醒信号时,才会激活,然后才能与接入点(access point,简称AP)(支持802.11协议的接入点)进行数据通信。STA的WUR接口持续处于工作状态(该状态下,WUR接口能够进行数据通信),或间歇性处于工作状态,当STA的WUR接口在工作状态中收到来自AP的唤醒消息(例如,唤醒包(wake-up packet))时,STA的WUR接口向STA的WiFi接口发送唤醒信号,以唤醒处于休眠状态的STA的WiFi接口。Referring to FIG. 1, a station (station, abbreviated as STA) supporting an 802.11 protocol introduces a WUR interface (that is, the LPWUR shown in FIG. 1) based on a conventional WiFi interface (also referred to as an 802.11 main radio, that is, an 802.11 main module). ). The WiFi interface of the STA is usually in a dormant state (in this state, the WiFi interface cannot perform data communication), and only when receiving the wake-up signal from the WUR interface of the STA, it is activated, and then can be accessed with an access point. AP) (access point supporting 802.11 protocol) for data communication. The WUR interface of the STA is continuously in working state (in this state, the WUR interface can perform data communication), or intermittently in working state, when the WUR interface of the STA receives the wake-up message from the AP in the working state (for example, the wake-up packet ( Wake-up packet)), the WUR interface of the STA sends a wake-up signal to the WiFi interface of the STA to wake up the WiFi interface of the STA in the dormant state.
发明内容Summary of the invention
本申请的实施例提供了一种用来唤醒设备的方法及装置,用以在配置有WUR接口和WiFi接口的终端设备上进一步减少终端设备的功耗。Embodiments of the present application provide a method and apparatus for waking up a device to further reduce power consumption of a terminal device on a terminal device configured with a WUR interface and a WiFi interface.
本申请中,WiFi接口也可以称之为WiFi模块或802.11主模块或主通信接口;WUR接口也可以称之为WUR模块或WUR或辅助唤醒接口。In the present application, the WiFi interface may also be referred to as a WiFi module or an 802.11 main module or a main communication interface; the WUR interface may also be referred to as a WUR module or a WUR or an auxiliary wake-up interface.
本申请提供了如下1-18任一实施例(本部分提供的各实施例的编号与本文其他部分提供的各实施例的编号并无明确的对应关系,仅为了此部分在表述上的方便)。The present application provides any of the following 1-18 embodiments (the numbers of the embodiments provided in this section have no clear correspondence with the numbers of the embodiments provided in other parts of the present document, and only the convenience of the description in this part) .
1、一种传输WUR消息和WiFi消息的方法,包括:第一设备生成WUR beacon消息;所述第一设备通过所述第一设备的WUR接口发送所述WUR beacon消息到包括第二设备在内的至少一个设备的WUR接口,所述第二设备的WUR接口当前处于第一醒来窗口,所述第一醒来窗口为所述第二设备的WUR接口的一个醒来窗口,或,所述第一设备的WUR接口的一个醒来窗口,或,所述第一设备的WUR接口的一个醒来窗口和所述第二设备的WUR接口的一个醒来窗口相重叠的醒来窗口;或,所述第一设备通过所述第一设备的WiFi接口发送所述WUR beacon消息到包括第二设备在内的至少一个设备的WUR接口,所述第二设备的WUR接口当前处于第二醒来窗口,所述第二醒来窗口为所述第二设备的WUR接口的 一个醒来窗口,或,所述第一设备的WiFi接口的一个醒来窗口,或,所述第一设备的WiFi接口的一个醒来窗口和所述第二设备的WUR接口的一个醒来窗口相重叠的醒来窗口;所述WUR beacon消息中携带WiFi beacon发送指示信息,所述WiFi beacon发送指示信息表示所述第一设备将通过所述第一设备的WiFi接口发送WiFi beacon消息,所述第一设备在发送所述WUR beacon消息之后,所述第一设备在预定时间发送WIFi beacon消息;或,所述WiFi beacon发送指示信息用于指示接收到所述WUR beacon消息并且与所述第一设备建立连接的第二设备唤醒所述第二设备的WIFI接口去接收所述第一设备通过WiFi接口发送的WiFi beacon消息,所述第一设备在发送所述WUR beacon消息之后,所述第一设备在预定时间发送WIFi beacon消息。上述方法可以使得第二设备在听到所述WUR beacon消息之后,第二设备可以通过WiFi接口获得第一设备的详细信息,省去了所述第二设备主动扫描发现获取的过程,使得所述第二设备可以更省电,另外又增加了一种被动发现第二设备的方式,增加了产品实现时的灵活性。A method for transmitting a WUR message and a WiFi message, comprising: a first device generating a WUR beacon message; the first device transmitting the WUR beacon message to a second device by using a WUR interface of the first device a WUR interface of at least one device, the WUR interface of the second device is currently in a first wake-up window, the first wake-up window is a wake-up window of the WUR interface of the second device, or a wake-up window of the WUR interface of the first device, or a wake-up window of a wake-up window of the WUR interface of the first device and a wake-up window of the WUR interface of the second device; or Sending, by the first device, the WUR beacon message to the WUR interface of the at least one device, including the second device, by using the WiFi interface of the first device, where the WUR interface of the second device is currently in the second wake window The second wake-up window is a wake-up window of the WUR interface of the second device, or a wake-up window of the WiFi interface of the first device, or a WiFi interface of the first device a wake up window a wake-up window that overlaps with a wake-up window of the WUR interface of the second device; the WUR beacon message carries a WiFi beacon transmission indication information, and the WiFi beacon transmission indication information indicates that the first device will pass the The WiFi interface of the first device sends a WiFi beacon message, after the first device sends the WUR beacon message, the first device sends a WIFi beacon message at a predetermined time; or the WiFi beacon sends an indication message for The second device that receives the WUR beacon message and establishes a connection with the first device wakes up the WIFI interface of the second device to receive a WiFi beacon message sent by the first device through the WiFi interface, where the first After the device sends the WUR beacon message, the first device sends a WIFi beacon message at a predetermined time. The foregoing method may enable the second device to obtain the detailed information of the first device by using the WiFi interface after the WUR beacon message is heard, and the process of actively scanning the discovery and obtaining the second device is omitted. The second device can save more power, and additionally adds a way to passively discover the second device, which increases the flexibility of the product implementation.
2、如实施例1,所述WUR beacon还携带时间信息,所述时间信息用于指示所述第一设备发送WiFi beacon的时间,即,所述时间信息指示所述预定时间,所述第一设备在所述时间信息指示的预定时间发送所述WiFi beacon。上述方法,可以使得第二设备在所述预定时间去听WiFi beacon,让所述第二设备进一步省电。2. The WUR beacon further carries the time information, where the time information is used to indicate the time when the first device sends the WiFi beacon, that is, the time information indicates the predetermined time, the first The device transmits the WiFi beacon at a predetermined time indicated by the time information. In the above method, the second device can listen to the WiFi beacon at the predetermined time, and further save the second device.
3、如实施例1或实施例2,所述WUR beacon消息中还可以携带:安全指示信息,所述安全指示信息用于指示所述第一设备支持安全验证,所述WUR beacon还可以携带至少包含第二设备在内的设备的标识信息,用于指示所述至少包含第二设备在内的设备去接收所述第一设备发送的WiFi beacon消息。上述方法,可以使得第二设备根据需要判断是否去唤醒自己的WiFi接口然后去听WiFi beacon,让所述第二设备减少不必要的唤醒WiFi接口的次数,进一步省电。3. The WUR beacon message may further include: security indication information, where the security indication information is used to indicate that the first device supports security verification, and the WUR beacon may also carry at least The identifier information of the device that includes the second device is used to indicate that the device that includes the second device receives the WiFi beacon message sent by the first device. The foregoing method may enable the second device to determine whether to wake up the WiFi interface and then listen to the WiFi beacon according to the requirement, so that the second device reduces the number of unnecessary wake-up of the WiFi interface, and further saves power.
4、如实施例1至实施例3中的任一实施例,所述WUR beacon还可以携带至少包含第二设备在内的设备的标识信息,用于指示所述至少包含第二设备在内的设备去接收所述第一设备发送的WiFi beacon消息。上述方法,可以使得指定的第二设备必须醒来听WiFi beacon消息,具有一定的强制作用,而不是由第二设备根据自己的需要去听WiFi beacon,可在AP发送更新管理信息的时候执行,增加了方案的灵活性。The WUR beacon may further carry identification information of a device including at least a second device, where the at least the second device is included, as in any one of the embodiments 1 to 3. The device receives the WiFi beacon message sent by the first device. The above method may enable the designated second device to wake up to listen to the WiFi beacon message, and has a certain mandatory effect, instead of the second device listening to the WiFi beacon according to its own needs, which may be executed when the AP sends the update management information. Increased flexibility of the program.
5、如实施例1至实施例4中的任一实施例,所述第一设备在预定时间通过所述第一设备的WiFi接口发送WiFi beacon消息,所述预定时间可以是:发送WUR beacon后的固定时间,或,提前约定的时间,或,醒来窗口结束后的时间,或,设备需要等待的时间,或,设备唤醒自己的main radio需要的时间,或,约定的时间,或,标准规定的时间,或,某固定的时间,或,设备等待消息超时的时间,或,设备最长等待时间,或,设备最短等待时间,或,标准规定的时间,或,WUR beacon中携带的时间,或,WiFi消息中携带的时间其中的一种。上述方法中揭示了不同的预定时间,上述第一设备在不同的时间去发送WiFi beacon,一方面可以考虑第二设备的需求,比如第二设备WiFi接口唤醒时间,最大等待时间等待,一方面考虑第一设备需求第一设备希望发送WiFi消息的,所述第一设备的执行复杂度等,这样可以增加了AP执行WiFi beacon发送的灵活性。The method of any one of Embodiments 1 to 4, wherein the first device sends a WiFi beacon message through the WiFi interface of the first device at a predetermined time, where the predetermined time may be: after sending the WUR beacon The fixed time, or, the time agreed in advance, or the time after the end of the window, or the time the device needs to wait, or the time required for the device to wake up its main radio, or the agreed time, or, standard The specified time, or a fixed time, or the time the device waits for the message to time out, or the maximum waiting time of the device, or the minimum waiting time of the device, or the time specified by the standard, or the time carried in the WUR beacon , or, one of the times carried in the WiFi message. The foregoing method discloses different predetermined times. The first device sends the WiFi beacon at different times. On the one hand, the second device may be considered, for example, the WiFi device wake-up time of the second device, and the maximum waiting time is waiting, on the one hand, considering The first device needs to perform a WiFi message, the execution complexity of the first device, and the like, which can increase the flexibility of the AP to perform WiFi beacon transmission.
6、如实施例1至实施例5中的任一实施例,所述第一设备在发送所述WUR beacon携带所述WiFi beacon发送指示信息时所述WUR beacon中携带的信息数量要少于所述第一设备 在发送所述WUR beacon不携带所述WiFi beacon发送指示信息时所述WUR beacon所述携带的信息数量。上述方法,可以使得第一设备减少WUR消息发送时占用信道的时间,节省了空口开销。The method of any one of the first embodiment to the fifth embodiment, wherein the number of information carried in the WUR beacon is less than that of the first device when the WUR beacon is sent to carry the WiFi beacon transmission indication information. The amount of information carried by the WUR beacon when the first device sends the WUR beacon without carrying the WiFi beacon transmission indication information. The foregoing method can reduce the time that the first device uses the channel when the WUR message is sent, and saves the air interface overhead.
7、如实施例1至实施例6中的任一实施例,所述WUR beacon还携带时间信息,所述时间信息用于指示所述第一设备发送WiFi beacon的时间,即,所述时间信息指示所述预定时间,所述第一设备在所述时间信息指示的预定时间发送所述WiFi beacon,所述时间信息可以是发送WiFi beacon的目标时间TBTT,或,所述时间信息可以是距离发送WiFi beacon的间隔时间,或,所述时间信息可以是TSF时间信息,TSF时间信息可以取TSF时间或Timestamp的全部或部分信息,所述第一设备发送WiFi beacon在所述TSF时间信息指示的时间发送,所述第一设备可以根据所述TSF时间信息确定出发送WiFi beacon消息的时间,或,所述时间信息可以是reset时间信息表示所述第一设备重新开始记时,所述WiFi beacon在所述reset时间之后的固定时间发送。上述方法可以使得WUR beacon中携带的时间信息的多样化,通过使用不同的时间信息方式来指示所述第一设备发送WiFi beacon的时间,所述第一设备可以根据发送的消息的占用空间来选择哪一种时间信息方式。The WUR beacon further carries the time information, where the time information is used to indicate the time when the first device sends the WiFi beacon, that is, the time information, in any one of the embodiments 1 to 6. Instructing the predetermined time, the first device sends the WiFi beacon at a predetermined time indicated by the time information, the time information may be a target time TBTT for transmitting a WiFi beacon, or the time information may be a distance sending The time interval of the WiFi beacon, or the time information may be TSF time information, the TSF time information may take all or part of the information of the TSF time or the Timestamp, and the first device sends the WiFi beacon at the time indicated by the TSF time information. Sending, the first device may determine, according to the TSF time information, a time for sending a WiFi beacon message, or the time information may be reset time information, indicating that the first device restarts time recording, where the WiFi beacon is The fixed time after the reset time is sent. The above method can make the time information carried in the WUR beacon different, and use the different time information manner to indicate the time when the first device sends the WiFi beacon, and the first device can select according to the occupied space of the sent message. Which kind of time information method.
8、如实施例1至实施例7中的任一实施例,所述WUR beacon还携带时间信息,所述时间信息用于指示所述第一设备发送WiFi beacon的时间,即,所述时间信息指示所述预定时间,所述第一设备在所述时间信息指示的预定时间发送所述WiFi beacon,所述时间信息还用于与所述第一设备建立连接的第二设备在接收所述WUR becon后根据所述时间信息与所述第一设备同步。本实施例中,第一设备使用一个时间信息指示了所述第一设备发送WIFi beacon的时间,该时间信息还可以让接受到所述时间信息的第二设备与所述第一设备同步,省去了发送两次不同的时间信息。The WUR beacon further carries the time information, where the time information is used to indicate the time when the first device sends the WiFi beacon, that is, the time information, in any one of the embodiments 1 to 7. Instructing the predetermined time, the first device sends the WiFi beacon at a predetermined time indicated by the time information, and the time information is further used by a second device that establishes a connection with the first device to receive the WUR The becon is synchronized with the first device according to the time information. In this embodiment, the first device uses a time information to indicate the time when the first device sends the WIFi beacon, and the time information may further synchronize the second device that receives the time information with the first device. I went to send two different time information.
9、一种传输WUR消息和WiFi消息的方法,包括:第二设备通过所述第二设备的WUR接口接收第一设备发送的WUR beacon消息,所述第二设备的WUR接口当前处于第一醒来窗口,所述第一醒来窗口为所述第二设备的WUR接口的一个醒来窗口,或,所述第一设备的WUR接口的一个醒来窗口,或,所述第一设备的WUR接口的一个醒来窗口和所述第二设备的WUR接口的一个醒来窗口相重叠的醒来窗口;或,第二设备通过所述第二设备的WUR接口接收第一设备发送的WUR beacon消息,所述第二设备的WUR接口当前处于第二醒来窗口,所述第二醒来窗口为所述第二设备的WUR接口的一个醒来窗口,或,所述第一设备的WiFi接口的一个醒来窗口,或,所述第一设备的WiFi接口的一个醒来窗口和所述第二设备的WUR接口的一个醒来窗口相重叠的醒来窗口;所述WUR beacon消息中携带WiFi beacon发送指示信息,所述WiFi beacon发送指示信息表示所述第一设备将通过所述第一设备的WiFi接口发送WiFi beacon消息,所述第二设备通过所述第二设备的WUR接口接收第一设备发送的WUR beacon消息之后,所述第二设备根据所述WiFi beacon发送指示信息,所述第二设备唤醒所述第二设备的WiFi接口,并通过所述第二设备的WiFi接口接收所述第一设备发送的WiFi beacon消息;或,所述WiFi beacon发送指示信息用于指示接收到所述WUR beacon消息并且与所述第一设备建立连接的第二设备唤醒所述第二设备的WIFI接口去接收所述第一设备通过WiFi接口发送的WiFi beacon消息,所述第二设备通过所述第二设备的WUR接口接收第一设备发送的WUR beacon消息之后,所述第二设备根据所述WiFi beacon发送指示信息,所述第二设备唤醒所述第二设备的WiFi接口,并通过所述第二设备 的WiFi接口接收所述第一设备发送的WiFi beacon消息。上述方法可以使得第二设备在听到所述WUR beacon消息之后,第二设备可以通过WiFi接口获得第一设备的详细信息,省去了所述第二设备主动扫描发现获取的过程,使得所述第二设备可以更省电,另外又增加了一种被动发现第二设备的方式,增加了产品实现时的灵活性。A method for transmitting a WUR message and a WiFi message, comprising: receiving, by the second device, a WUR beacon message sent by the first device by using a WUR interface of the second device, where the WUR interface of the second device is currently in the first state a window, the first wake-up window being a wake-up window of the WUR interface of the second device, or a wake-up window of the WUR interface of the first device, or the WUR of the first device a wake-up window in which a wake-up window of the interface overlaps with a wake-up window of the WUR interface of the second device; or the second device receives the WUR beacon message sent by the first device by using the WUR interface of the second device The WUR interface of the second device is currently in a second wake-up window, the second wake-up window is a wake-up window of the WUR interface of the second device, or the WiFi interface of the first device a wake-up window, or a wake-up window in which a wake-up window of the WiFi interface of the first device overlaps with a wake-up window of the WUR interface of the second device; the WUR beacon message carries a WiFi beacon Send a letter The WiFi beacon transmission indication information indicates that the first device sends a WiFi beacon message through the WiFi interface of the first device, and the second device receives the first device sent by using the WUR interface of the second device. After the WUR beacon message, the second device sends the indication information according to the WiFi beacon, the second device wakes up the WiFi interface of the second device, and receives the first device by using the WiFi interface of the second device. Sending a WiFi beacon message; or the WiFi beacon sending indication information is used to indicate that the WUR beacon message is received and the second device establishing a connection with the first device wakes up the WIFI interface of the second device to receive the a WiFi beacon message sent by the first device through the WiFi interface, after the second device receives the WUR beacon message sent by the first device by using the WUR interface of the second device, the second device sends an indication according to the WiFi beacon. Information, the second device wakes up the WiFi interface of the second device, and receives the first device by using the WiFi interface of the second device WiFi beacon message sent. The foregoing method may enable the second device to obtain the detailed information of the first device by using the WiFi interface after the WUR beacon message is heard, and the process of actively scanning the discovery and obtaining the second device is omitted. The second device can save more power, and additionally adds a way to passively discover the second device, which increases the flexibility of the product implementation.
10、如实施例9,所述第二设备通过所述第二设备的WUR接口接收第一设备发送的WUR beacon消息之后,所述第二设备根据所述WiFi beacon发送指示信息,所述第二设备唤醒所述第二设备的WiFi接口,所述第二设备不发送或取消发送probe request消息,并通过所述第二设备的WiFi接口接收所述第一设备发送的WiFi beacon消息。上述方法可以使得第二设备减少发送probe request,或,其他获取信息请求消息,使得第二设备更省电。10. After the second device receives the WUR beacon message sent by the first device by using the WUR interface of the second device, the second device sends the indication information according to the WiFi beacon, the second device. The device wakes up the WiFi interface of the second device, and the second device does not send or cancel the sending of the probe request message, and receives the WiFi beacon message sent by the first device by using the WiFi interface of the second device. The foregoing method may enable the second device to reduce the sending of the probe request, or the other acquiring the information request message, so that the second device is more power-saving.
11、如实施例9或实施例10,所述WUR beacon还携带时间信息,所述时间信息用于指示所述第一设备发送WiFi beacon的时间,所述第二设备根据所述时间信息去接收所述第一设备发送的WiFi beacon。上述方法可以使得所述第一设备根据所述时间信息,在所述第一设备发送WiFi beacon之前唤醒自己的WiFi接口,减少所述第二设备的WiFi接口多余的醒来时间。11. The embodiment, or the embodiment 10, the WUR beacon further carries time information, where the time information is used to indicate a time when the first device sends a WiFi beacon, and the second device receives the time according to the time information. The WiFi beacon sent by the first device. The foregoing method may enable the first device to wake up its own WiFi interface before the first device sends the WiFi beacon according to the time information, and reduce unnecessary wake-up time of the WiFi interface of the second device.
12、如实施例9至实施例11中的任一实施例,所述WUR beacon消息中还可以携带:安全指示信息,所述安全指示信息用于指示所述第一设备支持安全验证,所述第二设备如果支持安全验证,所述第二设备去接收所述第一设备发送的WiFi beacon消息。上述方法可以使得第二设备根据自己的具体需求判断是否唤醒自己的WiFi接口,进一步使得第二设备省电。12. The embodiment of any one of the embodiments 9 to 11, wherein the WUR beacon message may further carry: security indication information, where the security indication information is used to indicate that the first device supports security verification, If the second device supports security verification, the second device receives the WiFi beacon message sent by the first device. The foregoing method may enable the second device to determine whether to wake up its own WiFi interface according to its specific needs, and further enable the second device to save power.
13、如实施例9至实施例12中的任一实施例,所述WUR beacon还可以携带至少包含第二设备在内的设备的标识信息时,所述第二设备根据所述设备的标识信息去接收所述第一设备发送的WiFi beacon消息。上述方法可以使得第二设备根据所述第一设备的指示去唤醒自己的WiFi接口,提供了一种强制性,否则,所述第二设备根据自己的需求去唤醒自身的WiFi接口。The embodiment of any one of the embodiments 9 to 12, wherein the WUR beacon can further carry the identification information of the device including the second device, the second device according to the identification information of the device Receiving a WiFi beacon message sent by the first device. The foregoing method may enable the second device to wake up its own WiFi interface according to the indication of the first device, and provide a mandatory. Otherwise, the second device wakes up its own WiFi interface according to its own needs.
14、如实施例9至实施例13中的任一实施例,所述第二设备在预定时间通过所述第二设备的WiFi接口接收WiFi beacon消息,所述预定时间可以是:发送WUR beacon后的固定时间,或,提前约定的时间,或,醒来窗口结束后的时间,或,设备需要等待的时间,或,设备唤醒自己的main radio需要的时间,或,约定的时间,或,标准规定的时间,或,某固定的时间,或,设备等待消息超时的时间,或,设备最长等待时间,或,设备最短等待时间,或,标准规定的时间,或,WUR beacon中携带的时间,或,WiFi消息中携带的时间其中的一种。上述方法中揭示了不同的预定时间,所述第一设备在不同的时间去发送WiFi beacon,一方面可以考虑第二设备的需求,比如第二设备WiFi接口唤醒时间,最大等待时间等待,一方面考虑第一设备需求第一设备希望发送WiFi消息的,所述第一设备的执行复杂度等,这样可以增加了AP执行WiFi beacon发送的灵活性。The second device receives the WiFi beacon message through the WiFi interface of the second device at a predetermined time, the predetermined time may be: after the WUR beacon is sent. The fixed time, or, the time agreed in advance, or the time after the end of the window, or the time the device needs to wait, or the time required for the device to wake up its main radio, or the agreed time, or, standard The specified time, or a fixed time, or the time the device waits for the message to time out, or the maximum waiting time of the device, or the minimum waiting time of the device, or the time specified by the standard, or the time carried in the WUR beacon , or, one of the times carried in the WiFi message. The foregoing method discloses different predetermined times. The first device sends a WiFi beacon at different times. On the one hand, the second device may be considered, for example, the second device WiFi interface wake-up time, and the maximum waiting time waits. Considering that the first device needs to send a WiFi message, the execution complexity of the first device, etc., so that the AP can increase the flexibility of performing WiFi beacon transmission.
15、如实施例9至实施例14中的任一实施例,所述WUR beacon还携带时间信息,所述时间信息用于指示所述第一设备发送WiFi beacon的时间,即,所述时间信息指示预定时间,所述第二设备在所述时间信息指示的预定时间接收所述WiFi beacon,所述时间信息可以是发送WiFi beacon的目标时间TBTT,或,所述时间信息可以是距离发送WiFi beacon的间隔时间,或,所述时间信息可以是TSF时间信息,TSF时间信息可以取TSF时间或Timestamp 的全部或部分信息,所述第二设备可以根据所述TSF时间信息确定出接收WiFi beacon消息的时间,或,所述时间信息可以是reset时间信息表示所述第一设备重新开始记时,所述WiFi beacon在所述reset时间之后的固定时间发送。上述方法可以使得WUR beacon中携带的时间信息的多样化,通过使用不同的时间信息方式来指示所述第一设备发送WiFi beacon的时间,所述第一设备可以根据发送的消息的占用空间来选择哪一种时间信息方式。The WUR beacon further carries the time information, where the time information is used to indicate the time when the first device sends the WiFi beacon, that is, the time information, in any one of the embodiments 9 to 14. Instructing the predetermined time, the second device receiving the WiFi beacon at a predetermined time indicated by the time information, the time information may be a target time TBTT for transmitting a WiFi beacon, or the time information may be a distance sending WiFi beacon The time interval, or the time information may be TSF time information, the TSF time information may take all or part of the information of the TSF time or the Timestamp, and the second device may determine, according to the TSF time information, that the WiFi beacon message is received. The time, or the time information may be that the reset time information indicates that the first device restarts recording, and the WiFi beacon is sent at a fixed time after the reset time. The above method can make the time information carried in the WUR beacon different, and use the different time information manner to indicate the time when the first device sends the WiFi beacon, and the first device can select according to the occupied space of the sent message. Which kind of time information method.
16、如实施例9至实施例15中的任一实施例,所述WUR beacon还携带时间信息,所述时间信息用于指示所述第一设备发送WiFi beacon的时间,即,所述时间信息指示所述预定时间,所述第二设备在所述时间信息指示的预定时间发送所述WiFi beacon,与所述第一设备建立连接的第二设备在接收所述WUR becon后还根据所述时间信息与所述第一设备同步。本实施例中,第一设备使用一个时间信息指示了所述第一设备发送WIFi beacon的时间,该时间信息还可以让接受到所述时间信息的第二设备与所述第一设备同步,省去了发送两次不同的时间信息。The WUR beacon further carries the time information, where the time information is used to indicate the time when the first device sends the WiFi beacon, that is, the time information, in any one of the embodiments 9 to 15. Instructing the predetermined time, the second device sends the WiFi beacon at a predetermined time indicated by the time information, and the second device establishing a connection with the first device further receives the WUR becon according to the time The information is synchronized with the first device. In this embodiment, the first device uses a time information to indicate the time when the first device sends the WIFi beacon, and the time information may further synchronize the second device that receives the time information with the first device. I went to send two different time information.
17、一种设备,所述设备包括:存储器、处理器、WUR接口和WiFi接口;所述存储器用于存储指令和数据;所述处理器用于调用该存储器存储的指令,通过所述WUR和所述WiFi接口执行如实施例1-8任一所述的方法。本实施例提供了一种具体的设备,可称之为第一设备,可以使得第二设备在听到所述WUR beacon消息之后,第二设备可以通过WiFi接口获得第一设备的详细信息(比如网络管理参数,能力信息,支持的服务,支持的传输速率信息,安全参数,关联条件信息等等),省去了所述第二设备主动扫描发现第一设备并获取第一设备的详细信息的过程,使得所述第二设备可以更省电,另外又增加了一种被动发现第二设备的方式,增加了产品实现时的灵活性。17. An apparatus, the apparatus comprising: a memory, a processor, a WUR interface, and a WiFi interface; the memory for storing instructions and data; the processor for invoking instructions stored by the memory, by the WUR and the The WiFi interface performs the method as described in any of embodiments 1-8. This embodiment provides a specific device, which may be referred to as a first device, and may enable the second device to obtain detailed information of the first device after the WUR beacon message is heard by the second device (for example, Network management parameters, capability information, supported services, supported transmission rate information, security parameters, association condition information, etc., eliminating the need for the second device to actively scan and discover the first device and obtain detailed information of the first device. The process enables the second device to be more power efficient, and additionally adds a way to passively discover the second device, which increases flexibility in product implementation.
18、一种设备,所述设备包括:存储器、处理器、WUR接口和WiFi接口;所述存储器用于存储指令和数据;所述处理器用于调用该存储器存储的指令,通过所述WUR和所述WiFi接口执行如实施例9-16任一所述的方法。本实施例提供了一种具体的设备,可称之为第二设备,第二设备在听到所述WUR beacon消息之后,第二设备可以通过WiFi接口获得第一设备的详细信息,省去了所述第二设备主动扫描发现第一设备并获取第一设备的详细信息的过程,使得所述第二设备可以更省电,另外又增加了一种被动发现第二设备的方式,增加了产品实现时的灵活性。18. An apparatus, the apparatus comprising: a memory, a processor, a WUR interface, and a WiFi interface; the memory for storing instructions and data; the processor for invoking instructions stored by the memory, by the WUR and the The WiFi interface performs the method as described in any of embodiments 9-16. This embodiment provides a specific device, which may be referred to as a second device. After the second device hears the WUR beacon message, the second device may obtain detailed information of the first device through the WiFi interface, which saves the need for the second device. The second device actively scans the process of discovering the first device and acquiring the detailed information of the first device, so that the second device can save more power, and additionally adds a way of passively discovering the second device, and adds a product. Flexibility in implementation.
本申请提供了如下1-9任一实施例(本部分提供的各实施例的编号与本文其他部分提供的各实施例的编号并无明确的对应关系,仅为了此部分在表述上的方便)。The present application provides any of the following 1-9 embodiments (the numbers of the embodiments provided in this section have no clear correspondence with the numbers of the embodiments provided in other parts of the present document, and only the convenience of the description in this part) .
1、一种传输WUR消息和WiFi消息的方法,包括:第一设备生成WUR唤醒消息;所述第一设备通过所述第一设备的WiFi接口发送所述WUR唤醒消息到包括第二设备在内的至少一个设备的WUR接口,所述第二设备的WUR接口当前处于第二醒来窗口,所述第二醒来窗口为所述第二设备的WUR接口的一个醒来窗口,或,所述第一设备的WiFi接口的一个醒来窗口,或,所述第一设备的WiFi接口的一个醒来窗口和所述第二设备的WUR接口的一个醒来窗口相重叠的醒来窗口;所述WUR唤醒消息中携带广播唤醒指示信息,所述广播唤醒指示信息指示所述WUR唤醒消息为广播的唤醒消息;所述广播的唤醒消息用于唤醒包括所述第二设备在内的至少一个设备的WiFi接口;所述第一设备在发送所述WUR唤醒消息之后,所述第一设备在预定时间通过所述第一设备的WiFi接口发送WiFi多播消息。A method for transmitting a WUR message and a WiFi message, comprising: a first device generating a WUR wakeup message; the first device transmitting the WUR wakeup message to a second device by using a WiFi interface of the first device a WUR interface of at least one device, the WUR interface of the second device is currently in a second wake-up window, the second wake-up window is a wake-up window of the WUR interface of the second device, or a wake-up window of the WiFi interface of the first device, or a wake-up window of a wake-up window of the WiFi interface of the first device and a wake-up window of the WUR interface of the second device; The WUR wakeup message carries broadcast wakeup indication information, the broadcast wakeup indication information indicates that the WUR wakeup message is a broadcast wakeup message, and the broadcasted wakeup message is used to wake up at least one device including the second device. a WiFi interface; after the first device sends the WUR wakeup message, the first device sends a WiFi multicast message through the WiFi interface of the first device at a predetermined time.
2、如实施例1,所述WUR唤醒消息中携带WiFi多播消息发送指示信息,所述WiFi多播消息发送指示信息表示所述第一设备将通过所述第一设备的WiFi接口发送WiFi多播消息,所述第一设备在发送所述WUR唤醒消息之后,所述第一设备在预定时间发送WiFi多播消息;或,所述WiFi多播消息发送指示信息用于指示接收到所述WUR唤醒消息并且与所述第一设备建立连接的第二设备或与所述第一设备在同一BSS基本服务集内的第二设备唤醒所述第二设备的WIFI接口去接收所述第一设备通过WiFi接口发送的WiFi多播消息,所述第一设备在发送所述WUR唤醒消息之后,所述第一设备在预定时间发送WiFi多播消息。2. The WUR wake-up message carries the WiFi multicast message sending indication information, where the WiFi multicast message sending indication information indicates that the first device will send the WiFi through the WiFi interface of the first device. After the first device sends the WUR wakeup message, the first device sends a WiFi multicast message at a predetermined time; or the WiFi multicast message sending indication information is used to indicate that the WUR is received. The second device that wakes up the message and establishes a connection with the first device or the second device that is in the same BSS basic service set as the first device wakes up the WIFI interface of the second device to receive the first device through The WiFi multicast message sent by the WiFi interface, after the first device sends the WUR wakeup message, the first device sends a WiFi multicast message at a predetermined time.
3、如实施例1,所述WUR唤醒消息中携带指示BSS参数更新指示信息,用于指示所述第一设备发送更新的BSS参数,或,指示所述第一设备所述在网络的BSS参数发生了更新,或,指示所述第二设备所述在网络的BSS参数发生了更新。3. The WUR wakeup message carries the indication BSS parameter update indication information, which is used to indicate that the first device sends the updated BSS parameter, or indicates the BSS parameter of the first device in the network. An update has occurred, or an indication that the second device described in the network has updated the BSS parameters.
4、如实施例3,所述WUR唤醒消息中携带指示BSS参数更新指示信息,所述第一设备通过WiFi接口发送更新的BSS参数给所述第二设备。4. In the third embodiment, the WUR wakeup message carries the indication BSS parameter update indication information, and the first device sends the updated BSS parameter to the second device by using the WiFi interface.
5、如实施例1至实施例4中的任一实施例,所述WUR唤醒消息携带第一网络标识信息或第二网络标识信息,第一设备的第一标识信息或第一设备的第二标识信息,第一设备的WiFi接口的工作信道中的至少一项;具体为:所述WUR唤醒消息携带第一网络标识信息,所述第一网络标识信息用于指示所述第一设备所属的网络信息,或,所述WUR唤醒消息还携带第二网络标识信息,所述第二网络标识信息用于指示所述第一设备所属的网络信息,所述第二网络标识信息是基于所述第一网络标识信息生成的信息;所述WUR唤醒消息携带所述第一设备的第一标识信息,用以标识发送WUR beacon消息的设备标识,或,所述WUR唤醒消息还携带所述第一设备的第二标识信息,所述第一设备的第二标识信息用于用以标识发送WUR beacon消息的设备标识,所述第二标识信息是基于所述第一标识信息生成的信息;所述WUR唤醒消息所述第一设备的WiFi接口的工作信道,用于所述第二设备获得所述第一设备的WiFi接口工作信道。The WUR wakeup message carries the first network identification information or the second network identification information, the first identification information of the first device or the second device of the first device, in any one of the embodiments 1 to 4. The identification information is at least one of the working channels of the WiFi interface of the first device. Specifically, the WUR wakeup message carries the first network identifier information, where the first network identifier information is used to indicate that the first device belongs to The network information, or the WUR wakeup message further carries the second network identifier information, where the second network identifier information is used to indicate network information to which the first device belongs, and the second network identifier information is based on the The information generated by the network identifier information; the WUR wake-up message carries the first identifier information of the first device, and is used to identify the device identifier of the WUR beacon message, or the WUR wake-up message carries the first device. The second identifier information of the first device is used to identify a device identifier for sending a WUR beacon message, and the second identifier information is based on the first identifier Information generated; the wake-up message WUR WiFi interface device of the first working channel, for the second device to obtain the first apparatus operating channel WiFi interface.
6、如实施例1,所述广播唤醒指示信息为:第一设备的第一标识信息或第二标识信息。6. The radio wake-up indication information is the first identifier information or the second identifier information of the first device.
7、如实施例6,所述广播唤醒指示信息为,所述第一设备的第一标识信息或第二标识信息放在所述WUR唤醒消息的地址域,表示所述WUR唤醒消息为广播的唤醒消息。7. The broadcast wake-up indication information is that the first identifier information or the second identifier information of the first device is placed in an address field of the WUR wake-up message, indicating that the WUR wake-up message is broadcast. Wake up the message.
8、如实施例1,所述WUR唤醒消息还携带时间信息,所述时间信息用于指示所述第一设备发送WiFi多播消息的时间,即,所述时间信息指示所述预定时间,所述第一设备在所述时间信息指示的预定时间发送所述WiFi多播消息。8. The WUR wakeup message carries the time information, where the time information is used to indicate the time when the first device sends the WiFi multicast message, that is, the time information indicates the predetermined time, as in the first embodiment. The first device sends the WiFi multicast message at a predetermined time indicated by the time information.
9、如实施例1,WiFI多播消息中携带的信息;BSS参数,WiFi接口通信使用的信息,WUR接口通信使用的信息,时间信息,第一设备的醒来窗口信息,第二设备的WUR醒来窗口信息,网络标识信息,第一设备的地址信息,心跳信息,角色信息,SSID服务集标识信息,服务信息,发送WiFi beacon消息的时间信息,发送WUR同步消息的时间信息,发送WUR beacon消息的时间信息,发送WUR发现消息的时间信息,WUR消息发送target message transmission time目标时间信息,WUR beacon消息target beacon transmission time发送目标时间信息,Target Wake Time目标醒来时间信息,WiFi接口工作信道信息,WUR接 口工作信道,发送WUR同步消息的频率信息,发送WiFi beacon消息的频率信息,设备能力信息,支持的传输速率信息,RSN健壮的安全网络参数,关联条件信息,quality of service服务质量参数等其中的至少一项;或,更新的BSS参数,更新的WiFi接口通信使用的信息,更新的WUR接口通信使用的信息,更新的时间信息,更新的第一设备的醒来窗口信息,更新的第二设备的WUR醒来窗口信息,更新的网络标识信息,更新的第一设备的地址信息,更新的心跳信息,更新的角色信息,更新的SSID服务集标识信息,更新的服务信息,更新的发送WiFi beacon消息的时间信息,更新的发送WUR同步消息的时间信息,更新的发送WUR beacon消息的时间信息,更新的发送WUR发现消息的时间信息,更新的WUR消息发送target message transmission time目标时间信息,更新的WUR beacon消息target beacon transmission time发送目标时间信息,更新的Target Wake Time目标醒来时间信息,更新的WiFi接口工作信道信息,更新的WUR接口工作信道,更新的发送WUR同步消息的频率信息,更新的发送WiFi beacon消息的频率信息,更新的设备能力信息,更新的支持的传输速率信息,更新的RSN健壮的安全网络参数,更新的关联条件信息,更新的quality of service服务质量参数等其中的至少一项。9. As in Embodiment 1, the information carried in the WiFI multicast message; the BSS parameter, the information used by the WiFi interface communication, the information used by the WUR interface communication, the time information, the wake-up window information of the first device, and the WUR of the second device Wake up window information, network identification information, address information of the first device, heartbeat information, role information, SSID service set identification information, service information, time information of sending WiFi beacon messages, time information of sending WUR synchronization messages, sending WUR beacon Time information of the message, time information of the WUR discovery message, WUR message sending target message transmission time target time information, WUR beacon message target beacon transmission time sending target time information, Target Wake Time target wake time information, WiFi interface working channel information , WUR interface working channel, frequency information of sending WUR synchronization message, frequency information of sending WiFi beacon message, device capability information, supported transmission rate information, robust security network parameters of RSN, associated condition information, quality of service quality of service parameters, etc. Of which to One less; or, updated BSS parameters, updated WiFi interface communication usage information, updated WUR interface communication usage information, updated time information, updated first device wake window information, updated second device WUR wakes up window information, updated network identification information, updated first device address information, updated heartbeat information, updated role information, updated SSID service set identification information, updated service information, updated WiFi beacon Time information of the message, updated time information of the sent WUR synchronization message, updated time information of the transmitted WUR beacon message, updated time information of the sent WUR discovery message, updated WUR message sending target message transmission time target time information, updated WUR beacon message target beacon transmission time transmission target time information, updated Target Wake Time target wake-up time information, updated WiFi interface working channel information, updated WUR interface working channel, updated frequency information of transmitted WUR synchronization message, updated How often to send WiFi beacon messages At least one of information, updated device capability information, updated supported transmission rate information, updated RSN robust security network parameters, updated associated condition information, updated quality of service quality of service parameters, and the like.
本申请提供了如下1-8任一实施例(本部分提供的各实施例的编号与本文其他部分提供的各实施例的编号并无明确的对应关系,仅为了此部分在表述上的方便)。The present application provides any of the following 1-8 embodiments (the numbers of the embodiments provided in this section have no clear correspondence with the numbers of the embodiments provided in other parts herein, and only the convenience of the description in this part) .
1、一种传输WUR消息和WiFi消息的方法,包括:第二设备通过所述第二设备的WUR接口接收第一设备发送的WUR唤醒消息,所述第二设备的WUR接口当前处于第二醒来窗口,所述第二醒来窗口为所述第二设备的WUR接口的一个醒来窗口,或,所述第一设备的WiFi接口的一个醒来窗口,或,所述第一设备的WiFi接口的一个醒来窗口和所述第二设备的WUR接口的一个醒来窗口相重叠的醒来窗口;所述WUR唤醒消息中携带广播唤醒指示信息,所述广播唤醒指示信息指示所述WUR唤醒消息为广播的唤醒消息;所述广播的唤醒消息用于唤醒包括所述第二设备在内的至少一个设备的WiFi接口;所述第二设备在接收所述WUR唤醒消息之后,所述第二设备唤醒所述第二设备的WiFI接口,在预定时间通过所述第二设备的WiFi接口接收所述第一设备通过WiFi接口发送的WiFi多播消息。A method for transmitting a WUR message and a WiFi message, comprising: receiving, by the second device, a WUR wakeup message sent by the first device by using a WUR interface of the second device, where the WUR interface of the second device is currently in the second wake up a window, the second wake-up window is a wake-up window of the WUR interface of the second device, or a wake-up window of the WiFi interface of the first device, or the WiFi of the first device a wake-up window in which a wake-up window of the interface overlaps with a wake-up window of the WUR interface of the second device; the WUR wake-up message carries broadcast wake-up indication information, and the broadcast wake-up indication information indicates that the WUR wakes up The message is a broadcast wake-up message; the broadcast wake-up message is used to wake up a WiFi interface of at least one device including the second device; the second device after receiving the WUR wake-up message, the second The device wakes up the WiFI interface of the second device, and receives the WiFi multicast message sent by the first device through the WiFi interface by using the WiFi interface of the second device at a predetermined time.
2、如实施例1,所述WUR唤醒消息中携带WiFi多播消息发送指示信息,所述第二设备根据WUR唤醒消息中的WiFi多播消息发送指示信息,所述第二设备唤醒所述第二设备的WiFi接口。2. In the first embodiment, the WUR wakeup message carries the WiFi multicast message sending indication information, the second device sends the indication information according to the WiFi multicast message in the WUR wakeup message, and the second device wakes up the The WiFi interface of the two devices.
3、如实施例1,所述WUR唤醒消息中携带指示BSS参数更新指示信息,所述第二设备在接收所述WUR唤醒消息之后,所述第二设备唤醒所述第二设备的WiFI接口,在预定时间通过所述第二设备的WiFi接口接收所述第一设备通过WiFi接口发送的WiFi多播消息。3. The embodiment, the WUR wakeup message carries the indication BSS parameter update indication information, and after the second device receives the WUR wakeup message, the second device wakes up the WiFI interface of the second device, Receiving, by the WiFi interface of the second device, the WiFi multicast message sent by the first device through the WiFi interface at a predetermined time.
4、如实施例1,所述第二设备不发送或取消发送probe request消息,或,所述第二设备不发送或取消发送获取信息请求消息,并通过所述第二设备的WiFi接口接收所述第一设备发送的WiFi多播消息。4. In the first embodiment, the second device does not send or cancel the sending of the probe request message, or the second device does not send or cancel the sending of the information request message, and receives the information through the WiFi interface of the second device. A WiFi multicast message sent by the first device.
5、如实施例1,所述WUR beacon还携带时间信息,所述时间信息用于指示所述第一设备发送WiFi多播消息的时间,所述第二设备根据所述时间信息去接收所述第一设备发送的WiFi多播消息。5. The WUR beacon further carries time information, where the time information is used to indicate a time when the first device sends a WiFi multicast message, and the second device receives the information according to the time information. The WiFi multicast message sent by the first device.
6、如实施例1至实施例5中的任一实施例,所述WUR唤醒消息携带第一网络标识信息或第二网络标识信息,第一设备的第一标识信息或第一设备的第二标识信息,广播唤醒指 示信息中至少一项;具体包括:所述第二设备根据所述第一网络标识信息或第二网络标识信息,第一设备的第一标识信息或第一设备的第二标识信息,广播唤醒指示信息中的至少一项,判断所述第二设备唤醒所述第二设备的WiFi接口。The WUR wakeup message carries the first network identification information or the second network identification information, the first identification information of the first device or the second device of the first device, in any one of the embodiments 1 to 5. At least one of the identification information and the broadcast wake-up indication information. The method includes: the second device, according to the first network identifier information or the second network identifier information, the first identifier information of the first device or the second device Determining, by the at least one of the identification information, the broadcast wakeup indication information, that the second device wakes up the WiFi interface of the second device.
7、如实施例1至实施例6中的任一实施例,所述WUR唤醒消息携带第一设备的WiFi接口的工作信道中的至少一项;具体包括:所述第二设备根据所述第一设备的WiFi接口的工作信道,所述第二设备唤醒所述第二设备的WiFi接口,并调整所述第二设备的WiFI接口的工作信道为所述第一设备的WiFi接口的工作信道。The WUR wake-up message carries at least one of the working channels of the WiFi interface of the first device, and specifically includes: the second device according to the first a working channel of the WiFi interface of the device, the second device waking up the WiFi interface of the second device, and adjusting a working channel of the WiFI interface of the second device to be a working channel of the WiFi interface of the first device.
8、如实施例1至实施例7中的任一实施例,所述第二设备通过WiFi接口接收所述第一设备发送的WiFI多播消息,所述第二设备根据所述WiFi多播消息中携带的信息,调整所述第二设备记录的BSS参数,WiFi接口通信使用的信息,WUR接口通信使用的信息,时间信息,第一设备的醒来窗口信息,第二设备的WUR醒来窗口信息,网络标识信息,第一设备的地址信息,心跳信息,角色信息,SSID服务集标识信息,服务信息,发送WiFi beacon消息的时间信息,发送WUR同步消息的时间信息,发送WUR beacon消息的时间信息,发送WUR发现消息的时间信息,WUR消息发送target message transmission time目标时间信息,WUR beacon消息target beacon transmission time发送目标时间信息,Target Wake Time目标醒来时间信息,WiFi接口工作信道信息,WUR接口工作信道,发送WUR同步消息的频率信息,发送WiFi beacon消息的频率信息,设备能力信息,支持的传输速率信息,RSN健壮的安全网络参数,关联条件信息,quality of service服务质量参数等其中的至少一项。The second device receives the WiFI multicast message sent by the first device by using a WiFi interface, and the second device is configured according to the WiFi multicast message according to any one of Embodiments 1 to 7. The information carried in the second device, the BSS parameter recorded by the second device, the information used by the WiFi interface communication, the information used by the WUR interface communication, the time information, the wake-up window information of the first device, and the WUR wake-up window of the second device Information, network identification information, address information of the first device, heartbeat information, role information, SSID service set identification information, service information, time information for sending WiFi beacon messages, time information for transmitting WUR synchronization messages, time for transmitting WUR beacon messages Information, time information of sending WUR discovery message, WUR message sending target message transmission time target time information, WUR beacon message target beacon transmission time sending target time information, Target Wake Time target wake time information, WiFi interface working channel information, WUR interface Working channel, sending frequency information of WUR synchronization message, sending WiFi beacon At least one of frequency information of the message, device capability information, supported transmission rate information, RSN robust security network parameters, associated condition information, quality of service quality of service parameters, and the like.
本申请提供了如下1-17任一实施例(本部分提供的各实施例的编号与本文其他部分提供的各实施例的编号并无明确的对应关系,仅为了此部分在表述上的方便)。The present application provides any of the following 1-17 embodiments (the numbers of the embodiments provided in this section have no clear correspondence with the numbers of the embodiments provided in other parts of the present document, and only the convenience of the description in this part) .
1、一种用来唤醒设备的方法,包括:第一设备通过所述第一设备的WiFi接口广播唤醒消息到与所述第一设备在同一网络中的至少两个设备,所述第一设备为所述网络中的接入点AP或组长GO(Group Owner),所述唤醒消息中包括广播唤醒指示信息(或可简单称之为指示信息),所述广播唤醒指示信息用于指示所述唤醒消息为广播的唤醒消息,所述唤醒消息用于指示通过WUR接口接收到所述唤醒消息的设备唤醒自身的WiFi接口,所述至少两个设备的WUR接口处于所述至少两个设备各自的WUR接口的工作窗口,或者,所述至少两个设备的WUR接口处于所述第一设备的WiFi接口的工作窗口,或者,所述至少两个设备的WUR接口处于所述至少两个设备各自的WUR接口和所述第一设备的WiFi接口的重叠的工作窗口,所述工作窗口是指能够发送和/或接收信息的时间区间;所述第一设备在预定时间通过所述第一设备的WiFi接口发送WiFi多播消息到所述至少两个设备。该实施例提供的方法,在唤醒消息中添加了广播唤醒指示信息,接收到唤醒消息的设备可以均唤醒自身的WiFi接口,由于多个设备能几乎同时被唤醒,相比一种可能的实现方式(这种可能的实现方式是:第一设备依次向多个设备发送唤醒消息,以唤醒多个设备,这样便会导致有些设备先被唤醒有些设备后被唤醒,先被唤醒的设备的WiFi接口的工作时间会比后被唤醒的设备的WiFi接口的工作时间长,从而增加了先被唤醒的设备的功耗),能够减少一些设备(如,前述先被唤醒的设备)的WiFi接口的工作时长,降低这些设备的功耗,故而能在配置有WUR接口和WiFi接口的终端设备上进一步减少终端设备的功耗,并且能够减少由于唤醒多个设备(即,终端设备)而产生的信令开销。A method for waking up a device, comprising: a first device broadcasting a wake-up message through a WiFi interface of the first device to at least two devices in a same network as the first device, the first device For the access point AP or the group Owner (GO) in the network, the wakeup message includes broadcast wakeup indication information (or may be simply referred to as indication information), and the broadcast wakeup indication information is used to indicate The wake-up message is a broadcast wake-up message, and the wake-up message is used to indicate that the device that receives the wake-up message through the WUR interface wakes up its own WiFi interface, and the WUR interface of the at least two devices is in the at least two devices. a working window of the WUR interface, or the WUR interface of the at least two devices is in a working window of the WiFi interface of the first device, or the WUR interface of the at least two devices is in the at least two devices An overlapping working window of the WUR interface and the WiFi interface of the first device, the working window refers to a time interval in which information can be transmitted and/or received; the first device is in advance The first time through the WiFi interface device transmits a multicast message to the WiFi at least two devices. The method provided in this embodiment adds a broadcast wakeup indication information to the wakeup message, and the device that receives the wakeup message can all wake up its own WiFi interface, because multiple devices can be awakened almost simultaneously, compared to a possible implementation manner. (This possible implementation manner is: the first device sequentially sends a wake-up message to multiple devices to wake up multiple devices, which causes some devices to be woken up first, and some devices are woken up, the WiFi interface of the device that is first awake. The working time will be longer than the working time of the WiFi interface of the device that wakes up later, thereby increasing the power consumption of the device that is first awake, and can reduce the work of the WiFi interface of some devices (such as the aforementioned device that is first awake). The duration of the device reduces the power consumption of these devices, so that the power consumption of the terminal device can be further reduced on the terminal device configured with the WUR interface and the WiFi interface, and the signaling generated by waking up multiple devices (ie, terminal devices) can be reduced. Overhead.
2、如实施例1,所述唤醒消息中还包括其他信息,所述其他信息为以下信息中的至少 一种:第一指示信息,第二指示信息,所述网络的网络标识信息,所述第一设备的设备标识信息,和所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道;其中,所述第一指示信息用于指示所述第一设备将通过所述第一设备的WiFi接口发送所述WiFi多播消息,或者,所述第一指示信息用于指示接收到所述唤醒消息的设备接收所述第一设备通过所述第一设备的WiFi接口发送的所述WiFi多播消息;所述第二指示信息用于指示所述第一设备将发送更新的BSS参数,或者,所述第二指示信息用于指示所述网络的BSS参数发生了更新。该实施例中,第二设备可以结合唤醒消息中的其他信息确定是否唤醒WiFi接口,考虑了第二设备的需求,增加了第二设备唤醒WiFi接口的灵活性。3、如实施例2,所述其他信息至少包括所述第二指示信息,所述WiFi多播消息中包括更新的所述BSS参数。该实施例中,第二设备可以根据WiFi多播消息中的更新的BSS参数更新BSS参数,以便第二设备更好的使用BSS所提供的服务,接收BSS内设备发送的消息,与第一设备同步等。2. The embodiment, the wake-up message further includes other information, where the other information is at least one of the following information: first indication information, second indication information, network identifier information of the network, The device identification information of the first device, and the working channel used by the WiFi interface of the first device to send the WiFi multicast message; wherein the first indication information is used to indicate that the first device is to pass the The WiFi interface of the first device sends the WiFi multicast message, or the first indication information is used to indicate that the device that receives the wakeup message receives the first device sent by using the WiFi interface of the first device. And the second indication information is used to indicate that the first device is to send the updated BSS parameter, or the second indication information is used to indicate that the BSS parameter of the network is updated. In this embodiment, the second device may determine whether to wake up the WiFi interface according to other information in the wakeup message, and consider the requirement of the second device, which increases the flexibility of the second device to wake up the WiFi interface. 3. As in Embodiment 2, the other information includes at least the second indication information, and the WiFi multicast message includes the updated BSS parameter. In this embodiment, the second device may update the BSS parameter according to the updated BSS parameter in the WiFi multicast message, so that the second device can better use the service provided by the BSS, and receive the message sent by the device in the BSS, and the first device. Synchronization, etc.
4、如实施例1至实施例3中的任一实施例,所述广播唤醒指示信息为所述第一设备的设备标识信息。4. The broadcast wakeup indication information is device identification information of the first device, in any one of the embodiments 1 to 3.
5、如实施例1至实施例4中的任一实施例,所述广播唤醒指示信息位于所述唤醒消息的地址域。该实施例中,广播唤醒指示信息不需要占用唤醒消息中额外的资源,能够节约资源。5. The embodiment of any one of embodiments 1 to 4, wherein the broadcast wakeup indication information is located in an address field of the wakeup message. In this embodiment, the broadcast wakeup indication information does not need to occupy additional resources in the wakeup message, and resources can be saved.
6、如实施例1至实施例5中的任一实施例,所述唤醒消息还包括时间指示信息,所述时间指示信息用于指示所述预定时间。6. The embodiment of any one of embodiments 1 to 5, wherein the wake-up message further includes time indication information, the time indication information being used to indicate the predetermined time.
7、一种用来唤醒设备的方法,包括:第二设备通过所述第二设备的WUR接口接收第一设备通过所述第一设备的WiFi接口广播的唤醒消息,所述第二设备与所述第一设备在同一网络中,所述第一设备为所述网络中的接入点AP或组长GO,所述唤醒消息中包括广播唤醒指示信息,所述广播唤醒指示信息用于指示所述唤醒消息为广播的唤醒消息,所述第二设备的WUR接口处于所述第二设备的WUR接口的工作窗口,或者,所述第二设备的WUR接口处于所述第一设备的WiFi接口的工作窗口,或者,所述第二设备的WUR接口处于所述第二设备的WUR接口和所述第一设备的WiFi接口的重叠的工作窗口,所述工作窗口是指能够发送和/或接收信息的时间区间;所述第二设备根据所述唤醒消息中的广播唤醒指示信息唤醒所述第二设备的WiFi接口;所述第二设备在预定时间通过所述第二设备的WiFi接口接收所述第一设备通过所述第一设备的WiFi接口发送的WiFi多播消息。该实施例提供的方法,在唤醒消息中添加了广播唤醒指示信息,接收到唤醒消息的设备可以均唤醒自身的WiFi接口,由于多个设备能几乎同时被唤醒,相比一种可能的实现方式(这种可能的实现方式是:第一设备依次向多个设备发送唤醒消息,以唤醒多个设备,这样便会导致有些设备先被唤醒有些设备后被唤醒,先被唤醒的设备的WiFi接口的工作时间会比后被唤醒的设备的WiFi接口的工作时间长,从而增加了先被唤醒的设备的功耗),能够减少一些设备(如,前述先被唤醒的设备)的WiFi接口的工作时长,降低这些设备的功耗,故而能在配置有WUR接口和WiFi接口的终端设备上进一步减少终端设备的功耗,并且能够减少由于唤醒多个设备(即,终端设备)而产生的信令开销。A method for waking up a device, comprising: receiving, by a WUR interface of the second device, a wake-up message broadcast by the first device through a WiFi interface of the first device, where the second device The first device is in the same network, the first device is an access point AP or a group length GO in the network, and the wake-up message includes broadcast wake-up indication information, where the broadcast wake-up indication information is used to indicate The wake-up message is a broadcast wake-up message, the WUR interface of the second device is in a working window of the WUR interface of the second device, or the WUR interface of the second device is in the WiFi interface of the first device a working window, or the WUR interface of the second device is in an overlapping working window of the WUR interface of the second device and the WiFi interface of the first device, where the working window refers to being capable of transmitting and/or receiving information Time interval; the second device wakes up the WiFi interface of the second device according to the broadcast wakeup indication information in the wakeup message; the second device passes the second device at a predetermined time The WiFi interface receives a WiFi multicast message sent by the first device through the WiFi interface of the first device. The method provided in this embodiment adds a broadcast wakeup indication information to the wakeup message, and the device that receives the wakeup message can all wake up its own WiFi interface, because multiple devices can be awakened almost simultaneously, compared to a possible implementation manner. (This possible implementation manner is: the first device sequentially sends a wake-up message to multiple devices to wake up multiple devices, which causes some devices to be woken up first, and some devices are woken up, the WiFi interface of the device that is first awake. The working time will be longer than the working time of the WiFi interface of the device that wakes up later, thereby increasing the power consumption of the device that is first awake, and can reduce the work of the WiFi interface of some devices (such as the aforementioned device that is first awake). The duration of the device reduces the power consumption of these devices, so that the power consumption of the terminal device can be further reduced on the terminal device configured with the WUR interface and the WiFi interface, and the signaling generated by waking up multiple devices (ie, terminal devices) can be reduced. Overhead.
8、如实施例7,所述唤醒消息中还包括其他信息,所述其他信息为以下信息中的至少一种:第一指示信息,第二指示信息,所述网络的网络标识信息,所述第一设备的设备 标识信息,所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道;其中,所述第一指示信息用于指示所述第一设备将通过所述第一设备的WiFi接口发送所述WiFi多播消息,或者,所述第一指示信息用于指示接收到所述唤醒消息的设备接收所述第一设备通过所述第一设备的WiFi接口发送的所述WiFi多播消息;所述第二指示信息用于指示所述第一设备将发送更新的BSS参数,或者,所述第二指示信息用于指示所述网络的BSS参数发生了更新;所述第二设备根据所述唤醒消息中的广播唤醒指示信息唤醒所述第二设备的WiFi接口,包括:所述第二设备根据所述唤醒消息中的广播唤醒指示信息和所述唤醒消息中的其他信息唤醒所述第二设备的WiFi接口。该实施例中,第二设备根据更多的条件确定是否唤醒WiFi接口,考虑了第二设备的需求,增加了第二设备唤醒WiFi接口的灵活性。8. The embodiment, the wake-up message further includes other information, where the other information is at least one of the following information: first indication information, second indication information, network identifier information of the network, The device identification information of the first device, where the WiFi interface of the first device sends the working channel used by the WiFi multicast message, where the first indication information is used to indicate that the first device will pass the The WiFi interface of the device sends the WiFi multicast message, or the first indication information is used to indicate that the device that receives the wakeup message receives the location that the first device sends through the WiFi interface of the first device. a WiFi multicast message; the second indication information is used to indicate that the first device is to send an updated BSS parameter, or the second indication information is used to indicate that a BSS parameter of the network is updated; The second device wakes up the WiFi interface of the second device according to the broadcast wakeup indication information in the wakeup message, including: the second device according to the broadcast wakeup indication information in the wakeup message And the other information in the wakeup message wakes up the WiFi interface of the second device. In this embodiment, the second device determines whether to wake up the WiFi interface according to more conditions, and considers the requirement of the second device, which increases the flexibility of the second device to wake up the WiFi interface.
9、如实施例8,所述其他信息至少包括所述第二指示信息,所述WiFi多播消息中包括更新的所述BSS参数。该实施例中,第二设备可以根据WiFi多播消息中的更新的BSS参数更新BSS参数,以便第二设备更好的使用BSS所提供的服务,接收BSS内设备发送的消息,与第一设备同步等。9. According to Embodiment 8, the other information includes at least the second indication information, and the WiFi multicast message includes the updated BSS parameter. In this embodiment, the second device may update the BSS parameter according to the updated BSS parameter in the WiFi multicast message, so that the second device can better use the service provided by the BSS, and receive the message sent by the device in the BSS, and the first device. Synchronization, etc.
10、如实施例7至实施例9中的任一实施例,所述广播唤醒指示信息为所述第一设备的设备标识信息。The broadcast wakeup indication information is device identification information of the first device, in any one of Embodiments 7 to 9.
11、如实施例7至实施例10中的任一实施例,所述广播唤醒指示信息位于所述唤醒消息的地址域。该实施例中,广播唤醒指示信息不需要占用唤醒消息中额外的资源,能够节约资源。11. The embodiment of any one of embodiments 7 to 10, wherein the broadcast wakeup indication information is located in an address field of the wakeup message. In this embodiment, the broadcast wakeup indication information does not need to occupy additional resources in the wakeup message, and resources can be saved.
12、如实施例7至实施例11中的任一实施例,所述唤醒消息还包括时间指示信息,所述时间指示信息用于指示所述预定时间;在所述第二设备在预定时间通过所述第二设备的WiFi接口接收所述第一设备通过所述第一设备的WiFi接口发送的WiFi多播消息之前,该方法还包括:所述第二设备根据所述时间指示信息确定所述预定时间。12. The embodiment of any one of embodiments 7 to 11, wherein the wake-up message further includes time indication information, the time indication information is used to indicate the predetermined time; and the second device passes the predetermined time Before the WiFi interface of the second device receives the WiFi multicast message sent by the first device by using the WiFi interface of the first device, the method further includes: the second device determining, according to the time indication information, scheduled time.
13、如实施例8,所述其他信息至少包括所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道,该方法还包括:所述第二设备调整所述第二设备的WiFi接口的工作信道为所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道。13. The embodiment, the other information includes at least a working channel used by the WiFi interface of the first device to send the WiFi multicast message, the method further comprising: the second device adjusting the second device The working channel of the WiFi interface transmits the working channel used by the WiFi multicast message to the WiFi interface of the first device.
14、一种通信装置,该装置具有实现上述实施例1至实施例13中的任一实施例提供的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元。在一种可能的实施例中,该装置可以为本文中所述的第一设备,该情况下,该装置具有实现上述实施例1至实施例6中的任一实施例提供的方法的功能,进一步的,该装置可以以芯片的产品形态存在于本文中所述的第一设备中,控制所述第一设备实现上述实施例1至实施例6中的任一实施例提供的方法。在另一种可能的实施例中,该装置可以为本文中所述的第二设备,该情况下,该装置具有实现上述实施例7至实施例13中的任一实施例提供的方法的功能,进一步的,该装置可以以芯片的产品形态存在在本文中所述的第二设备中,控制所述第二设备实现上述实施例7至实施例13中的任一实施例提供的方法。14. A communication device having the function of implementing the method provided by any of the above embodiments 1 to 13. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more units corresponding to the functions described above. In a possible embodiment, the device may be the first device described herein, in which case the device has the function of implementing the method provided by any of the above embodiments 1 to 6. Further, the device may be present in the first device described herein in the form of a product of the chip, and the first device is controlled to implement the method provided in any one of the foregoing Embodiments 1 to 6. In another possible embodiment, the device may be a second device as described herein, in which case the device has the functionality to implement the method provided by any of the above embodiments 7 through 13. Further, the device may be present in the second device described herein in the form of a product of the chip, and the second device is controlled to implement the method provided in any of the above embodiments 7 to 13.
15、一种通信装置,该装置包括:存储器,处理器、WiFi接口和WUR接口,存储器用于存储计算机执行指令,处理器与存储器通过通信总线连接,处理器执行存储器存储的计算机执行指令,以使该装置实现实施例1至实施例13中的任一实施例提供 的任意一种方法。在一种可能的实施例中,该装置可以为本文中所述的第一设备,该情况下,该装置具有实现上述实施例1至实施例6中的任一实施例提供的方法的功能,进一步的,该装置可以以芯片的产品形态存在于本文中所述的第一设备中,控制所述第一设备实现上述实施例1至实施例6中的任一实施例提供的方法。在另一种可能的实施例中,该装置可以为本文中所述的第二设备,该情况下,该装置具有实现上述实施例7至实施例13中的任一实施例提供的方法的功能,进一步的,该装置可以以芯片的产品形态存在在本文中所述的第二设备中,控制所述第二设备实现上述实施例7至实施例13中的任一实施例提供的方法。15. A communication device, comprising: a memory, a processor, a WiFi interface, and a WUR interface, the memory for storing computer execution instructions, the processor and the memory being connected by a communication bus, and the processor executing the memory storage computer execution instructions to The apparatus is caused to implement any of the methods provided in any of the embodiments 1 to 13. In a possible embodiment, the device may be the first device described herein, in which case the device has the function of implementing the method provided by any of the above embodiments 1 to 6. Further, the device may be present in the first device described herein in the form of a product of the chip, and the first device is controlled to implement the method provided in any one of the foregoing Embodiments 1 to 6. In another possible embodiment, the device may be a second device as described herein, in which case the device has the functionality to implement the method provided by any of the above embodiments 7 through 13. Further, the device may be present in the second device described herein in the form of a product of the chip, and the second device is controlled to implement the method provided in any of the above embodiments 7 to 13.
16、一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行实施例1至实施例13中的任一实施例提供的任意一种方法。16. A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform any one of the methods provided in any one of embodiments 1 through 13.
17、一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行实施例1至实施例13中的任一实施例提供的任意一种方法。17. A computer program product comprising instructions which, when run on a computer, cause the computer to perform any of the methods provided in any one of embodiments 1 through 13.
实施例14至实施例17中任一实施例的有益效果可以参见实施例1至实施例13中相应的实施例所带来的技术效果,此处不再赘述。For the beneficial effects of any of the embodiments 14 to 17, the technical effects brought about by the corresponding embodiments in the first embodiment to the third embodiment can be referred to, and details are not described herein again.
图1为现有技术中的AP唤醒STA的WiFi接口的示意图;1 is a schematic diagram of a WiFi interface of an AP wake-up STA in the prior art;
图2为本申请实施例提供的一种唤醒帧(或称唤醒包)的组成示意图;FIG. 2 is a schematic diagram of a composition of a wake-up frame (or wake-up packet) according to an embodiment of the present disclosure;
图3为本申请实施例提供的一种接口的醒来窗口的示意图;FIG. 3 is a schematic diagram of a wake-up window of an interface according to an embodiment of the present disclosure;
图4为本申请实施例提供的一种无线设备的组成示意图;4 is a schematic structural diagram of a wireless device according to an embodiment of the present application;
图5为本申请实施例提供的一种用来唤醒设备的方法的交互流程图;FIG. 5 is an interaction flowchart of a method for waking up a device according to an embodiment of the present disclosure;
图6为本申请实施例提供的另一种用来唤醒设备的方法的交互流程图;FIG. 6 is an interaction flowchart of another method for waking up a device according to an embodiment of the present disclosure;
图7为本申请实施例提供的又一种用来唤醒设备的方法的交互流程图;FIG. 7 is an interaction flowchart of still another method for waking up a device according to an embodiment of the present disclosure;
图8为本申请实施例提供的一种通信装置的组成示意图。FIG. 8 is a schematic structural diagram of a communication apparatus according to an embodiment of the present application.
下面将结合附图,对本申请的实施例进行描述。Embodiments of the present application will be described below with reference to the accompanying drawings.
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例中所使用的单数形式的“一种”、“所述”和“该”也可以包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The terms used in the embodiments of the present application are for the purpose of describing particular embodiments only, and are not intended to limit the application. The singular forms "a", "the", "the" and "the" It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. The character "/" in this article generally indicates that the contextual object is an "or" relationship.
应当理解,尽管在本申请实施例中可能采用术语第一、第二、第三等来描述各种消息、请求和终端,但这些消息、请求和终端不应限于这些术语。这些术语仅用来将消息、请求和终端彼此区分开。例如,在不脱离本申请实施例范围的情况下,第一终端也可以被称为第二终端,类似地,第二终端也可以被称为第一终端。同理,下文中的第一设备也可以被称为第二设备,第二设备也可以被称为第一设备。It should be understood that although the terms first, second, third, etc. may be used to describe various messages, requests, and terminals in the embodiments of the present application, these messages, requests, and terminals should not be limited to these terms. These terms are only used to distinguish messages, requests, and terminals from one another. For example, the first terminal may also be referred to as a second terminal without departing from the scope of the embodiments of the present application. Similarly, the second terminal may also be referred to as a first terminal. Similarly, the first device in the following may also be referred to as a second device, and the second device may also be referred to as a first device.
取决于语境,如在此所使用的词语“如果”或“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定(陈述的条件或事件)”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定(陈述的条件或事件)时”或“响应于确定(陈述的条件或事件)”或“当检测(陈述的条件 或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if" or "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting." Similarly, depending on the context, the phrase "if determined (condition or event of presentation)" or "if detected (condition or event of presentation)" can be interpreted as "when determined (condition or event of presentation)" or " In response to determining (stated condition or event) or "when detecting (condition or event stated)" or "in response to detecting (condition or event stated)".
为了更好的理解本申请,以下对与本申请实施例提供的方法相关的内容做简单介绍。For a better understanding of the present application, the following relates to the content related to the method provided by the embodiment of the present application.
参见图1,AP侧在逻辑上实际也包括WiFi接口和WUR接口,但对于当前802.11标准而言,WiFi接口发送的信号常常为正交频分复用(orthogonal frequency-division multiplexing,简称OFDM)的宽带信号,而唤醒信号为窄带信号,出于降低成本和简化结构考虑,可以利用OFDM宽带发射机(位于WiFi接口内)发送唤醒信号。例如,将OFDM信号的部分子载波空置而仅在唤醒信号对应的窄带上发送信号,从而产生窄带信号,这就是利用OFDM宽带发射机产生窄带信号的例子,故图1中AP侧仅包含一个模块。需要特别说明的是,AP侧具体实现中也可将WiFi接口和WUR接口分别进行实现。另外,图1中AP和STA都只有一个天线,这主要是考虑WiFi接口和WUR接口使用相同频段载波(例如,2.4GHz)情况下,可共用同一天线,以节省成本和简化设备结构。但当WiFi接口和WUR接口使用不同频段载波时,两者应配置不同天线。例如,WiFi接口使用5GHz频段,WUR接口使用2.4GHz频段,此时两者应对应不同天线。Referring to FIG. 1 , the AP side logically includes a WiFi interface and a WUR interface. However, for the current 802.11 standard, the signal sent by the WiFi interface is often orthogonal frequency-division multiplexing (OFDM). The wideband signal, while the wake-up signal is a narrowband signal, can be used to transmit wake-up signals using an OFDM wideband transmitter (located within the WiFi interface) for cost reduction and simplified structural considerations. For example, a partial subcarrier of the OFDM signal is vacant and the signal is transmitted only on the narrowband corresponding to the wakeup signal, thereby generating a narrowband signal. This is an example of generating a narrowband signal by using an OFDM wideband transmitter, so that the AP side includes only one module in FIG. . It should be specially noted that the WiFi interface and the WUR interface can also be implemented separately in the specific implementation of the AP side. In addition, in Figure 1, both the AP and the STA have only one antenna. This is mainly considering that the WiFi interface and the WUR interface use the same frequency band carrier (for example, 2.4 GHz), and the same antenna can be shared to save cost and simplify the device structure. However, when the WiFi interface and the WUR interface use different frequency band carriers, the two should be configured with different antennas. For example, the WiFi interface uses the 5 GHz band, and the WUR interface uses the 2.4 GHz band. In this case, the two should correspond to different antennas.
STA采用WUR接口相比直接使用WiFi接口之所以能够降低功耗,主要原因在于唤醒信号通过窄带发送(设备发送信号所用的带宽越窄设备的功耗越小),同时,唤醒信号的接收和译码远比传统802.11帧简单。唤醒信号通常采用易于接收端解调的调制方式,如通断键控(on-off keying,简称OOK)调制。以OOK调制为例,接收端通过接收信号有无能量判断接收信号承载的信息,例如,有能量为1,无能量为0,1和0分别代表一种信息。而传统802.11帧由于在发送端采用OFDM、信息组校验码(block check character,简称BCC)(也可以称为异或校验)、低密度奇偶校验码(low density parity check code,简称LDPC)等进行处理,相应地,接收端需执行快速傅立叶变换(fast fourier transformation,简称FFT)、采用前向纠错码(forward error correction,简称FEC)译码等复杂信号处理操作,这些操作需要耗费大量能量。Compared with the direct use of the WiFi interface, the STA uses the WUR interface to reduce power consumption. The main reason is that the wake-up signal is transmitted through narrowband (the narrower the bandwidth used by the device to transmit the signal, the smaller the power consumption of the device), and the reception and translation of the wake-up signal. The code is much simpler than the traditional 802.11 frame. The wake-up signal is usually modulated by a receiver that is easy to receive, such as on-off keying (OOK) modulation. Taking OOK modulation as an example, the receiving end judges the information carried by the received signal by the presence or absence of energy of the received signal. For example, the energy is 1, the energy is 0, and 1 and 0 respectively represent a kind of information. The traditional 802.11 frame adopts OFDM, block check character (BCC) (also called XOR check), and low density parity check code (LDPC) on the transmitting end. And so on, the receiving end needs to perform fast Fourier transform (FFT), and uses forward error correction (FEC) decoding and other complex signal processing operations, which require costly operations. A lot of energy.
参见图2,示出了一种唤醒包的具体设计。其中,传统的短训练域(legacy short training field,简称L-STF)、传统的长训练域(legacy long training field,简称L-LTF)、传统的信号域(legacy signal field,记为L-SIG)是传统WiFi消息(也可以称为802.11消息)的前导(preamble)部分,在20MHz或20MHz的整数倍带宽上采用OFDM方式发送,用于后向兼容,使得传统WiFi设备(例如,可以为上文中的STA)可据此判断当前包为WiFi数据包,从而选择相应的信道接收判决阈值。唤醒包的载荷(Payload)部分采用易于解调的调制方式,如OOK调制(例如,具体可以为幅移键控(amplitude shift keying,简称ASK)),唤醒包可以在更窄带宽上发送,例如2MHz信道、4MHz信道、5MHz信道等(传统传输WiFi消息的信道所需的最小带宽为20MHz),使得接收端的能耗更小。Referring to Figure 2, a specific design of a wake-up package is shown. Among them, the traditional short training field (L-STF), the traditional long training field (L-LTF), and the legacy signal field (recorded as L-SIG) ) is a preamble portion of a conventional WiFi message (also referred to as an 802.11 message) that is transmitted in an OFDM manner over an integer multiple of 20 MHz or 20 MHz for backward compatibility, such that a conventional WiFi device (eg, can be The STA in the text can determine that the current packet is a WiFi data packet, thereby selecting a corresponding channel reception decision threshold. The Payload portion of the wake-up packet uses an easy-to-demodulate modulation scheme, such as OOK modulation (for example, amplitude shift keying (ASK), for example), and the wake-up packet can be transmitted over a narrower bandwidth, for example, 2MHz channel, 4MHz channel, 5MHz channel, etc. (the minimum bandwidth required for traditional transmission of WiFi message channels is 20MHz), so that the energy consumption at the receiving end is smaller.
唤醒包的载荷包括唤醒前导(wake-up preamble)和媒体访问控制(media access control,简称MAC)部分。前者类似传统WiFi帧的短训练域(short training field,简称STF)和长训练域(long training field,简称LTF),用于同步、自动增益控制(automatic gain control,简称AGC)和信道估计等。后者类似传统WiFi帧的MAC部分,进一步包括MAC头(Header)、帧体(frame body)、帧校验序列(frame check sequence,简称FCS),MAC部分可能采用重复码、扩频码、曼彻斯特码等方式进行简单信道编码,以提高可靠性。唤醒前导中可能包 括一串特定序列,STA的WUR接口可能并不接收前面的传统前导(legacy preamble)部分,而是直接检测该特定序列,从而识别唤醒包的开始。当STA的WUR接口接收到唤醒包,且从唤醒包的MAC部分检测到自己的标识(单播/多播/广播地址),则向WiFi接口发送唤醒信号。出于发送效率的考虑,唤醒包可以不加传统前导,MAC部分也可不使用信道编码。除了OOK,载荷部分也可采用其它易于解调的调制方式,例如频移键控(frequency-shift keying,简称FSK)。The wake-up packet payload includes a wake-up preamble and a media access control (MAC) portion. The former is similar to the short training field (STF) and the long training field (LTF) of the traditional WiFi frame, and is used for synchronization, automatic gain control (AGC) and channel estimation. The latter is similar to the MAC part of the traditional WiFi frame, and further includes a MAC header, a frame body, and a frame check sequence (FCS). The MAC part may use a repetition code, a spreading code, and Manchester. Code and other methods for simple channel coding to improve reliability. The wakeup preamble may include a sequence of specific sequences. The WUR interface of the STA may not receive the previous legacy preamble portion, but directly detects the specific sequence to identify the beginning of the wakeup packet. When the WUR interface of the STA receives the wake-up packet and detects its own identity (unicast/multicast/broadcast address) from the MAC portion of the wake-up packet, a wake-up signal is sent to the WiFi interface. For the sake of transmission efficiency, the wake-up packet can be without the traditional preamble, and the MAC part can also not use the channel coding. In addition to OOK, the payload portion can also adopt other modulation methods that are easy to demodulate, such as frequency-shift keying (FSK).
在本申请的实施例中,WiFi接口可以是由WiFi模块提供的无线接口,WiFi接口也可以称为802.11接口、主通信接口等,WiFi模块也可以称为802.11主模块。WUR接口可以是由WUR模块提供的无线接口,WUR接口也可以称为辅助唤醒接口,WUR模块也可以称为辅助唤醒模块。WUR可以为唤醒无线电或唤醒接收机。主通信接口(如由WiFi模块提供的接口)是相对辅助唤醒接口(如由WUR模块提供的接口)而言的。In the embodiment of the present application, the WiFi interface may be a wireless interface provided by a WiFi module, the WiFi interface may also be referred to as an 802.11 interface, a main communication interface, etc., and the WiFi module may also be referred to as an 802.11 main module. The WUR interface can be a wireless interface provided by the WUR module, the WUR interface can also be referred to as an auxiliary wake-up interface, and the WUR module can also be referred to as an auxiliary wake-up module. WUR can wake up the radio or wake up the receiver. The primary communication interface (such as the interface provided by the WiFi module) is relative to the auxiliary wake-up interface (such as the interface provided by the WUR module).
当唤醒设备(例如,可以为上文中的AP)有数据需要向被唤醒设备(例如,可以为上文中的STA)发送时,唤醒设备在被唤醒设备的WUR接口的醒来窗口内发送唤醒帧(例如,可以为上文中的唤醒信号、唤醒包)给被唤醒设备的WUR接口,从而唤醒被唤醒设备的主通信接口(例如,WiFi接口),被唤醒后的主通信接口处于工作状态。主通信接口被唤醒可以理解为,主通信接口可以接收消息,和/或,发送消息。以唤醒WiFi接口为例,设备的WiFi接口被唤醒后,设备可以接收WiFi消息,和/或,发送WiFi消息。主通信接口被唤醒之前,主通信接口处于休眠状态,该情况下,设备不能通过主通信接口接收消息,也不能通过主通信接口发送消息。以WiFi接口处于休眠状态为例,设备不能通过WiFi接口接收WiFi消息,也不能通过WiFi接口发送WiFi消息。When the awake device (eg, may be the AP above) has data to send to the awake device (eg, may be the STA above), the awake device sends a wake-up frame within the awake window of the WUR interface of the awake device (For example, the wake-up signal, wake-up packet can be the above) to the WUR interface of the wake-up device, thereby waking up the main communication interface (for example, WiFi interface) of the wake-up device, and the wake-up main communication interface is in an active state. The wakeup of the primary communication interface can be understood as the primary communication interface can receive messages and/or send messages. Taking the WiFi interface as an example, after the WiFi interface of the device is woken up, the device can receive the WiFi message and/or send the WiFi message. Before the main communication interface is woken up, the main communication interface is in a sleep state. In this case, the device cannot receive a message through the main communication interface, nor can it send a message through the main communication interface. Taking the WiFi interface in the sleep state as an example, the device cannot receive the WiFi message through the WiFi interface, and cannot send the WiFi message through the WiFi interface.
在本申请实施例中WUR接口处于工作状态表示设备能通过WUR接口接收和/或发送WUR消息。WiFi接口处于工作状态表示设备能通过WiFi接口接收和/或发送WiFi消息。In the embodiment of the present application, the WUR interface is in a working state, indicating that the device can receive and/or send a WUR message through the WUR interface. The fact that the WiFi interface is in working state means that the device can receive and/or send WiFi messages through the WiFi interface.
接口处于工作状态可以称为接口处于醒来窗口,接口处于工作状态的时间长度即接口的醒来窗口的长度。醒来窗口也可以称为工作窗口。本申请实施例中的接口也可以称为通信接口。具体的,WUR接口的醒来窗口是指设备的WUR接口处于工作状态的时间,WiFi接口的醒来窗口是指设备的WiFi接口处于工作状态的时间。The working state of an interface can be called the interface is in the wake-up window, and the length of time that the interface is in the working state is the length of the wake-up window of the interface. Wake up windows can also be called work windows. The interface in the embodiment of the present application may also be referred to as a communication interface. Specifically, the wake-up window of the WUR interface refers to the time when the WUR interface of the device is in a working state, and the wake-up window of the WiFi interface refers to the time when the WiFi interface of the device is in a working state.
在本申请实施例的描述中,“第一设备的醒来窗口”可以为第一设备的WUR接口和/或第一设备的WiFi接口处于工作状态的时间。第一设备可能在第一设备的醒来窗口内,通过WiFi接口(此时,WiFi接口处于醒来窗口)或WUR接口(此时,WUR接口处于醒来窗口)发送WUR消息到第二设备。In the description of the embodiment of the present application, the “waking window of the first device” may be the time when the WUR interface of the first device and/or the WiFi interface of the first device is in an active state. The first device may send a WUR message to the second device through the WiFi interface (at this time, the WiFi interface is in the wake-up window) or the WUR interface (when the WUR interface is in the wake-up window) in the wake-up window of the first device.
“第二设备的醒来窗口”可以为第二设备的WUR接口处于工作状态的时间。第一设备可能在第二设备的WUR接口的醒来窗口内,通过第一设备的WiFi接口或WUR接口发送WUR消息到第二设备。The "waking up window of the second device" may be the time when the WUR interface of the second device is in the working state. The first device may send a WUR message to the second device through the WiFi interface or the WUR interface of the first device in the wake-up window of the WUR interface of the second device.
在一种可能的设计中,“第一设备的醒来窗口”和“第二设备的醒来窗口”还可以为组(group)醒来窗口,组是指包括第一设备和第二设备在内的通信组,组中的设备可以有统一的醒来窗口。第一设备和第二设备使用相同的组醒来窗口。组醒来窗口为第一设备所属的网络(该网络可以为包括第一设备和第二设备在内的多个设备组成的组)中的设备共同使用的醒来窗口。组醒来窗口可以是第一设备与第二设备协商的或预定的。In a possible design, the "waking window of the first device" and the "waking window of the second device" may also wake up the window for the group, the group means that the first device and the second device are included. Within the communication group, devices in the group can have a unified wake-up window. The first device and the second device use the same group to wake up the window. The group wake-up window is a wake-up window commonly used by devices in the network to which the first device belongs (the network may be a group consisting of a plurality of devices including the first device and the second device). The group wake up window may be negotiated or predetermined by the first device with the second device.
第二设备可以是接收第一设备发送的WUR消息的设备(具体可以为接收第一设备在第 二设备的醒来窗口或在第一设备的醒来窗口或组醒来窗口发送WUR消息的设备),或,与第一设备进行WUR通信的设备,或,与第一设备建立连接的设备。The second device may be a device that receives the WUR message sent by the first device (specifically, may be a device that receives the first device in the wake-up window of the second device or sends a WUR message in the wake-up window or the group wake-up window of the first device) And, or a device that performs WUR communication with the first device, or a device that establishes a connection with the first device.
在一种可能的设计中,第一设备的醒来窗口与第二设备的醒来窗口具有重叠或部分重叠或完全不重叠的时间。In one possible design, the awake window of the first device has a time of overlapping or partially overlapping or not overlapping at all with the awake window of the second device.
在该种可能的设计中,一种情况下,第一设备的WiFi接口的一个醒来窗口和第二设备的WUR接口的一个醒来窗口具有重叠或部分重叠或完全不重叠的时间。另一种情况下,第一设备的WUR接口一个醒来窗口和第二设备的WUR接口的一个醒来窗口具有重叠或部分重叠或完全不重叠的时间。In this possible design, in one case, a wake-up window of the WiFi interface of the first device and a wake-up window of the WUR interface of the second device have overlapping or partially overlapping or not overlapping time at all. In another case, a wake-up window of the WUR interface of the first device and a wake-up window of the WUR interface of the second device have overlapping or partially overlapping or not overlapping time at all.
示例性的,第一设备的醒来窗口为第一设备的WiFi接口的醒来窗口,第二设备的醒来窗口为第二设备的WUR接口的醒来窗口。若第二设备的WUR接口的醒来窗口的开始时间为A,结束时间为B,醒来的持续时间为C,第一设备的WiFi接口的醒来窗口的开始时间为D,结束时间为E,醒来的持续时间为F。第二设备的WUR接口和第一设备的WiFi接口的醒来窗口完全不重叠表示:第二设备的WUR接口的开始时间A在第一设备的WiFi接口的结束时间E之后,或,第二设备的WUR接口的结束时间B在第一设备的WiFi接口开始时间D之前。第二设备的WUR接口和第一设备的WiFi接口的醒来窗口部分重叠表示:第二设备的WUR接口的开始时间A在第一设备的WiFi接口的开始时间D之后并在第一设备的WiFi接口的结束时间E之前,或,第一设备的WiFi接口的开始时间D在第二设备的WUR接口的开始时间A之后并在第二设备的WUR接口的结束时间B之前。Exemplarily, the wake-up window of the first device is a wake-up window of the WiFi interface of the first device, and the wake-up window of the second device is a wake-up window of the WUR interface of the second device. If the wake-up window of the WUR interface of the second device starts at A, the end time is B, and the wake-up duration is C, the start time of the wake-up window of the WiFi interface of the first device is D, and the end time is E. The duration of waking is F. The wake-up window of the WUR interface of the second device and the WiFi interface of the first device does not overlap at all: the start time A of the WUR interface of the second device is after the end time E of the WiFi interface of the first device, or the second device The end time B of the WUR interface is before the WiFi interface start time D of the first device. The WUR interface of the second device partially overlaps with the awake window of the WiFi interface of the first device: the start time A of the WUR interface of the second device is after the start time D of the WiFi interface of the first device and the WiFi of the first device Before the end time E of the interface, or the start time D of the WiFi interface of the first device is after the start time A of the WUR interface of the second device and before the end time B of the WUR interface of the second device.
接口的醒来窗口可以是连续性的,即接口一直处于工作状态,或,一段时间内接口一直处于工作状态。比如:WUR接口或WiFi接口一直处于工作状态。接口处于工作状态也可以描述为接口不进行休眠。The awake window of the interface can be continuous, that is, the interface is always working, or the interface is always working for a period of time. For example: WUR interface or WiFi interface is always working. The interface is in working state and can also be described as the interface does not sleep.
接口的醒来窗口可以是间歇性的,即接口有时处于工作状态,有时处于非工作状态。比如:WUR接口或WiFi接口有时处于工作状态,有时处于非工作状态。The wakeup window of the interface can be intermittent, that is, the interface is sometimes in a working state and sometimes in a non-working state. For example, the WUR interface or the WiFi interface is sometimes in a working state and sometimes in a non-working state.
接口的醒来窗口可以是周期性的,即接口周期性的处于工作状态。比如:WUR接口或WiFi接口周期性的处于工作状态。The awake window of the interface can be periodic, that is, the interface is periodically working. For example, the WUR interface or the WiFi interface is periodically working.
接口的醒来窗口可以是非周期性的,即接口非周期性的处于工作状态。比如:WUR接口或WiFi接口非周期性的处于工作状态。The awake window of the interface can be aperiodic, that is, the interface is non-periodic and in working state. For example, the WUR interface or the WiFi interface is in a non-periodic working state.
示例性的,如图3所示,WUR接口可启用工作循环(duty-cycling),即WUR接口周期性的,有规律的“醒来-休眠”。WUR接口周期性的醒来(即WUR接口处于工作状态,能接收唤醒信号,工作状态也可以称为接收状态,激活状态,醒来状态,发送状态),等待接收唤醒信号。WUR接口的醒来窗口长度(wake window)由参数W决定,例如,W=2ms(毫秒)。WUR接口的工作循环的周期由参数T决定,例如,T=100ms。WUR接口在醒来窗口处于工作状态,WUR接口在醒来窗口以外的时间里都处于休眠状态(即WUR接口处于非接收状态,或,非激活状态,不能接收唤醒信号),是一种超低功耗的深度休眠状态(功耗接近零),所以启用工作循环可以显著降低WUR接口的平均功耗。Exemplarily, as shown in FIG. 3, the WUR interface can enable duty-cycling, that is, the periodic, regular "wake-sleep" of the WUR interface. The WUR interface wakes up periodically (that is, the WUR interface is in working state, can receive the wake-up signal, and the working state can also be called the receiving state, the active state, the awake state, and the transmitting state), and waits for receiving the wake-up signal. The wake window length of the WUR interface is determined by the parameter W, for example, W = 2 ms (milliseconds). The period of the duty cycle of the WUR interface is determined by the parameter T, for example, T = 100 ms. The WUR interface is in the waking window, and the WUR interface is in a sleep state outside the waking window (that is, the WUR interface is in the non-receiving state, or inactive, and cannot receive the wake-up signal), which is an ultra-low The deep sleep state of power consumption (power consumption is close to zero), so enabling the duty cycle can significantly reduce the average power consumption of the WUR interface.
本申请实施例的描述中,WUR可以称之为唤醒无线电或唤醒接收机,由其提供的通信接口可以称之为WUR接口,为了方便说明,全文中统一用WUR接口进行相关描述。其中,WUR接口也可以直接用来指代唤醒无线电或唤醒接收机,在此进行统一说明,以下不再赘述。WUR有时也可称之为LP-WUR。In the description of the embodiment of the present application, the WUR may be referred to as a wake-up radio or a wake-up receiver, and the communication interface provided by the WUR may be referred to as a WUR interface. For convenience of description, the WUR interface is uniformly described in the full text. The WUR interface can also be directly used to refer to the wake-up radio or the wake-up receiver, which is uniformly described herein, and will not be described below. WUR can sometimes be called LP-WUR.
在本申请实施例的一些描述中,传输可以包括:发送,或,接收,或,发送和接收。In some descriptions of embodiments of the present application, the transmission may include: transmitting, or receiving, or transmitting and receiving.
比如第一设备传输WUR消息,具体可以包括,第一设备发送WUR消息,或,第一设备接收WUR消息,或,第一设备发送WUR消息和接收WUR消息。For example, the first device transmits the WUR message, and specifically includes: the first device sends the WUR message, or the first device receives the WUR message, or the first device sends the WUR message and receives the WUR message.
比如第一设备传输WiFi消息,具体可以包括:第一设备发送WiFi消息,或,第一设备接收WiFi消息,或,第一设备发送WiFi消息和接收WiFi消息。For example, the first device transmits the WiFi message, which may include: the first device sends a WiFi message, or the first device receives the WiFi message, or the first device sends the WiFi message and receives the WiFi message.
比如第二设备传输WUR消息,具体可以包括:第二设备接收WUR消息,或,第二设备发送WUR消息,或,第二设备接收WUR消息和发送WUR消息。For example, the second device transmits the WUR message, and specifically includes: the second device receives the WUR message, or the second device sends the WUR message, or the second device receives the WUR message and sends the WUR message.
比如第二设备传输WiFi消息,具体可以包括:第二设备接收WiFi消息,或,第二设备发送WiFi消息,或,第二设备接收WiFi消息和发送WiFi消息。For example, the second device transmits the WiFi message, which may include: the second device receives the WiFi message, or the second device sends the WiFi message, or the second device receives the WiFi message and sends the WiFi message.
本申请实施例提供了一种无线设备40,其可以实现本申请提供的任一方法实施例。该无线设备40为第一设备(即唤醒设备,如AP)时,其可以实现本申请实施例中的第一设备执行的动作。该无线设备40为第二设备(即被唤醒设备,如STA)时,其可以实现本申请实施例中的第二设备执行的动作。无线设备40其具体结构可以参见图4,对于无线设备40,其包括但不限于辅助唤醒接口401、主通信接口402、处理器403、存储器404和天线模块405。辅助唤醒接口401可以为上文中的WUR接口,主通信接口402可以为上文中的WiFi接口。辅助唤醒接口401可以用于接收其它无线设备发送的唤醒信号和/或向其它无线设备发送唤醒信号,并在收到唤醒信号后向主通信接口402发送唤醒信号,以唤醒主通信接口402。主通信接口402可以用于接收辅助唤醒接口401发送的唤醒信号以及发送和接收其他消息,如WiFi帧。处理器403可以有一个或多个,用于实现前述唤醒前导的生成和设置,以及唤醒信号的生成。存储器404可以有一个或多个。处理器403和存储器404可以为辅助唤醒接口401和主通信接口402所共享。参见图4,辅助唤醒接口401和主通信接口402可以共享同一天线模块105,主要出于降低设备硬件成本和实现简单的考虑。辅助唤醒接口401和主通信接口402也可以对应不同的天线模块,特别是当两者工作在不同的频段上时。在实际产品中,无线设备40可以由一个片上系统(system-on-a-chip,简称SoC)实现或者通过集成电路实现或者通过两个硬件模块联合实现。无线设备40可以通过辅助唤醒接口401和主通信接口402执行本申请实施例提供的任意一种方法。The embodiment of the present application provides a wireless device 40, which can implement any method embodiment provided by the present application. When the wireless device 40 is a first device (ie, a wake-up device, such as an AP), it can implement the actions performed by the first device in the embodiment of the present application. When the wireless device 40 is a second device (ie, a wake-up device, such as a STA), it can implement the actions performed by the second device in the embodiment of the present application. The specific structure of the wireless device 40 can be seen in FIG. 4. For the wireless device 40, it includes, but is not limited to, an auxiliary wake-up interface 401, a main communication interface 402, a processor 403, a memory 404, and an antenna module 405. The auxiliary wakeup interface 401 can be the WUR interface above, and the primary communication interface 402 can be the WiFi interface above. The auxiliary wake-up interface 401 can be configured to receive a wake-up signal sent by other wireless devices and/or send a wake-up signal to other wireless devices, and send a wake-up signal to the main communication interface 402 after receiving the wake-up signal to wake up the main communication interface 402. The primary communication interface 402 can be used to receive wake-up signals transmitted by the auxiliary wake-up interface 401 and to send and receive other messages, such as WiFi frames. The processor 403 may have one or more for implementing the generation and setting of the aforementioned wake-up preamble, and the generation of the wake-up signal. Memory 404 can have one or more. Processor 403 and memory 404 may be shared by auxiliary wakeup interface 401 and primary communication interface 402. Referring to FIG. 4, the auxiliary wake-up interface 401 and the main communication interface 402 can share the same antenna module 105, mainly for reducing equipment hardware cost and implementing simple considerations. The auxiliary wake-up interface 401 and the primary communication interface 402 may also correspond to different antenna modules, particularly when the two operate in different frequency bands. In an actual product, the wireless device 40 can be implemented by a system-on-a-chip (SoC) or by an integrated circuit or by two hardware modules. The wireless device 40 can perform any of the methods provided by the embodiments of the present application by using the auxiliary wake-up interface 401 and the main communication interface 402.
本申请实施例提供的方法可以用于但是不限于以下场景:基于WiFi的IoT和可穿戴式WiFi网络(即手机作为虚拟接入点和所关联的可穿戴设备组成的WiFi网络)。物联网设备和可穿戴式WiFi网络设备是由小容量电池供电,并且有超低功耗和长时间续航需求的设备。The method provided by the embodiments of the present application may be used for, but not limited to, the following scenarios: a WiFi-based IoT and a wearable WiFi network (ie, a mobile phone as a virtual access point and a WiFi network composed of associated wearable devices). IoT devices and wearable WiFi network devices are devices that are powered by small-capacity batteries and have ultra-low power consumption and long-term endurance requirements.
本申请实施例主要通过使得发送WUR发现消息的第一设备在WUR发现消息中携带WiFi发送指示信息,WiFi发送指示信息用于指示第一设备后面要发送WiFi发现消息,第二设备在接收到WUR发现消息之后,根据WiFi发送指示信息确定第一设备后面要发送WiFi发现消息,则等待接收第一设备发送的WiFi发现消息,而不是第二设备通过WiFi接口主动发送探测请求(probe request)消息,从而减少WiFi接口发送的消息个数,降低第二设备的功耗。本申请实施例中的WUR发现消息也可以称为WUR信标消息(WUR beacon消息),WiFi发现消息也可以称为WiFi信标消息(WiFi beacon消息)。信标消息一般是广播发送的。The first embodiment of the present application is configured to enable the first device that sends the WUR discovery message to carry the WiFi sending indication information in the WUR discovery message, where the WiFi sending indication information is used to indicate that the first device is to send a WiFi discovery message, and the second device receives the WUR. After the message is found, it is determined that the first device is to send a WiFi discovery message according to the WiFi sending indication information, and then waits to receive the WiFi discovery message sent by the first device, instead of the second device actively sending a probe request message through the WiFi interface. Thereby reducing the number of messages sent by the WiFi interface and reducing the power consumption of the second device. The WUR discovery message in the embodiment of the present application may also be referred to as a WUR beacon message (WUR beacon message), and the WiFi discovery message may also be referred to as a WiFi beacon message (WiFi beacon message). Beacon messages are generally sent by broadcast.
未与AP建立连接的STA设备(例如,可以为手机)通过WUR接口去发现合适的AP热点,然后和AP进行连接(具体可以为通过接收WUR发现消息获取AP的信息后与AP建立连接),本申请实施例提供的方案的目的是为了减少STA设备的耗电量。The STA device that is not connected to the AP (for example, the mobile phone) can find the appropriate AP hotspot through the WUR interface, and then connect to the AP. Specifically, the AP can obtain the AP information by receiving the WUR discovery message and establish a connection with the AP. The purpose of the solution provided by the embodiment of the present application is to reduce the power consumption of the STA device.
另外,已经与AP建立连接的STA设备,或称为与AP在同一基本服务集(basic service set,简称BSS)内的STA设备,需要获得AP发送的更新的管理参数信息(更新密钥,信道,工作的时间等参数),当前AP的状态信息等,如果通过WUR接口接收WUR发现消息后获得WiFi发送指示信息,STA设备可以在需要听取AP发送的WiFi发现消息时,灵活的判断是否醒来接收AP发送的WiFi发现消息,从WiFi发现消息获得更新的管理参数信息,当前AP的状态信息等。省去了STA设备通过WiFi接口去请求更新的管理参数信息以及当前AP的状态信息等过程,可以降低STA设备的功耗。In addition, the STA device that has established a connection with the AP, or the STA device that is in the same basic service set (BSS) as the AP, needs to obtain updated management parameter information (update key, channel) sent by the AP. If the WUR interface receives the WUR discovery message and obtains the WiFi transmission indication information, the STA device can flexibly determine whether to wake up when it needs to listen to the WiFi discovery message sent by the AP. Receiving a WiFi discovery message sent by the AP, obtaining updated management parameter information, status information of the current AP, and the like from the WiFi discovery message. The process of the STA device requesting the updated management parameter information and the status information of the current AP through the WiFi interface is omitted, and the power consumption of the STA device can be reduced.
以生成WUR发现消息并发送WUR发现消息的设备为第一设备为例,以接收WUR发现消息的设备为第二设备为例,第二设备可以为未与第一设备建立连接的设备(或称为不与第一设备在同一BSS内的设备),已经与第一设备建立连接的设备(或称为与第一设备在同一BSS内的设备),获知第一设备的醒来窗口的设备(示例性的,已经与第一设备建立连接的设备可以获知第一设备在哪个醒来窗口内发送WUR发现消息,则获知第一设备的醒来窗口的设备可以为与第一设备建立连接的设备,当然也可以为其他设备,本申请实施例对此不作具体限定)。The device that generates the WUR discovery message and sends the WUR discovery message is the first device, and the device that receives the WUR discovery message is the second device. The second device may be a device that does not establish a connection with the first device. For a device that is not in the same BSS as the first device, a device that has established a connection with the first device (or a device that is in the same BSS as the first device), and the device that knows the wake-up window of the first device ( Exemplarily, the device that has established a connection with the first device can know which waking window the first device sends the WUR discovery message, and the device that knows the awake window of the first device can be the device that establishes the connection with the first device. For example, the device may be other devices, which is not specifically limited in this embodiment.
本申请实施例中的WUR发现消息也可以称之为WUR同步消息、WUR唤醒消息,这些消息均可以为WUR广播(或多播,或单播)消息(即,广播(或多播,或单播)的WUR消息,该WUR消息中可以包括广播(或多播,或单播)的WUR消息的接收地址)。The WUR discovery message in the embodiment of the present application may also be referred to as a WUR synchronization message or a WUR wakeup message, and these messages may all be WUR broadcast (or multicast, or unicast) messages (ie, broadcast (or multicast, or single). The WUR message of the broadcast, which may include the broadcast address of the broadcast (or multicast, or unicast) WUR message).
本申请实施例中的WiFi发现消息也可以称之为WiFi数据(data)消息,这些消息均可以为WiFi广播(或多播,或单播)消息(即,广播(或多播,或单播)的WiFi消息,该WiFi消息中可以包括广播(或多播,或单播)的接收地址)。The WiFi discovery message in the embodiment of the present application may also be referred to as a WiFi data (data) message, and these messages may all be WiFi broadcast (or multicast, or unicast) messages (ie, broadcast (or multicast, or unicast). a WiFi message, which may include a broadcast (or multicast, or unicast) receiving address).
需要说明的是,WUR消息,WUR唤醒消息,WUR同步消息,WUR发现消息,WUR广播(或多播,或单播)消息均是符合WUR的信号特征的消息(即WUR接收机能够解析的消息),还可以是唤醒包。It should be noted that the WUR message, the WUR wakeup message, the WUR synchronization message, the WUR discovery message, the WUR broadcast (or multicast, or unicast) message are all messages conforming to the WUR signal characteristics (ie, the message that the WUR receiver can parse) ), it can also be a wake-up package.
本申请实施例提供了一种用来唤醒设备的方法,如图5或图6所示。参见图5,该通信方法包括:The embodiment of the present application provides a method for waking up a device, as shown in FIG. 5 or FIG. 6. Referring to FIG. 5, the communication method includes:
501、第一设备生成WUR发现消息。501. The first device generates a WUR discovery message.
WUR发现消息中携带WiFi发送指示信息,WiFi发送指示信息用于指示第一设备通过第一设备的WiFi接口发送WiFi发现消息,或,WiFi发送指示信息用于指示接收到WUR发现消息并且与第一设备建立连接的设备或与第一设备在同一BSS中的设备唤醒WiFi接口,并接收第一设备通过WiFi接口发送的WiFi发现消息。The WUR discovery message carries the WiFi sending indication information, where the WiFi sending indication information is used to indicate that the first device sends the WiFi discovery message through the WiFi interface of the first device, or the WiFi sending indication information is used to indicate that the WUR discovery message is received and the first The device that establishes the connection or the device in the same BSS as the first device wakes up the WiFi interface, and receives the WiFi discovery message sent by the first device through the WiFi interface.
502、第一设备通过第一设备的WUR接口或WiFi接口发送WUR发现消息到包括第二设备在内的至少一个设备的WUR接口。502. The first device sends a WUR discovery message to the WUR interface of the at least one device including the second device by using the WUR interface or the WiFi interface of the first device.
其中,当第一设备通过第一设备的WUR接口发送WUR发现消息时,第二设备的WUR接口当前处于第一醒来窗口,第一醒来窗口为第二设备的WUR接口的一个醒来窗口,或,第一醒来窗口为第一设备的WUR接口的一个醒来窗口,或,第一醒来窗口为第一设备的WUR接口的一个醒来窗口和第二设备的WUR接口的一个醒来窗口相重叠的醒来窗口。When the first device sends the WUR discovery message through the WUR interface of the first device, the WUR interface of the second device is currently in the first wake-up window, and the first wake-up window is a wake-up window of the WUR interface of the second device. Or, the first wake-up window is a wake-up window of the WUR interface of the first device, or, the first wake-up window is a wake-up window of the WUR interface of the first device and a wake-up window of the WUR interface of the second device Wake up windows that overlap windows.
当第一设备通过第一设备的WiFi接口发送WUR发现消息时,第二设备的WUR接口当前处于第二醒来窗口,第二醒来窗口为第二设备的WUR接口的一个醒来窗口, 或,第二醒来窗口为第一设备的WiFi接口的一个醒来窗口,或,第二醒来窗口为第一设备的WiFi接口的一个醒来窗口和第二设备的WUR接口的一个醒来窗口相重叠的醒来窗口。When the first device sends the WUR discovery message through the WiFi interface of the first device, the WUR interface of the second device is currently in the second wake-up window, and the second wake-up window is a wake-up window of the WUR interface of the second device, or The second wake-up window is a wake-up window of the WiFi interface of the first device, or, the second wake-up window is a wake-up window of the WiFi interface of the first device and a wake-up window of the WUR interface of the second device Overlapping wake up windows.
503、第一设备在预定时间发送WiFi发现消息。503. The first device sends a WiFi discovery message at a predetermined time.
504、第二设备接收第一设备发送的WUR发现消息。504. The second device receives the WUR discovery message sent by the first device.
其中,步骤503和步骤504的执行顺序不分先后。The execution order of step 503 and step 504 is in no particular order.
505、第二设备根据WUR发现消息中包括的WiFi发送指示信息,唤醒第二设备的WiFi接口。505. The second device wakes up the WiFi interface of the second device according to the WiFi sending indication information included in the WUR discovery message.
506、第二设备在预定时间通过第二设备的WiFi接口接收第一设备发送的WiFi发现消息。506. The second device receives the WiFi discovery message sent by the first device by using a WiFi interface of the second device at a predetermined time.
其中,WiFi发送指示信息也可以称之为广播消息发送指示信息,广播消息发送指示信息用于指示第一设备发送的WUR发现消息为广播消息,该情况下,步骤505在具体实现时,第二设备根据WUR发现消息中包括的广播消息发送指示信息唤醒第二设备的WiFi接口。The WiFi sending indication information may also be referred to as a broadcast message sending indication information, where the broadcast message sending indication information is used to indicate that the WUR discovery message sent by the first device is a broadcast message. In this case, in step 505, in the specific implementation, the second The device wakes up the WiFi interface of the second device according to the broadcast message sending indication information included in the WUR discovery message.
其中,WiFi发送指示信息还可以为唤醒指示信息或广播唤醒指示信息,唤醒指示信息用于接收到唤醒指示信息的全部设备唤醒WiFi接口,广播唤醒指示信息用于接收到广播唤醒指示信息的全部设备唤醒WiFi接口,全部设备至少包含第二设备,全部设备可以是和第一设备建立连接的设备,或,与第一设备在同一BSS内的设备,或,在WUR接口的醒来窗口中接收第一设备发送WUR发现消息的设备。唤醒指示信息或广播唤醒指示信息还可以用于指示第一设备通过第一设备的WiFi接口发送WiFi发现消息。该情况下,步骤505在具体实现时,第二设备根据WUR发现消息中包括的唤醒指示信息或广播唤醒指示信息唤醒第二设备的WiFi接口。The WiFi sending indication information may also be the wakeup indication information or the broadcast wakeup indication information, and the wakeup indication information is used by all the devices that receive the wakeup indication information to wake up the WiFi interface, and the broadcast wakeup indication information is used to receive all the devices of the broadcast wakeup indication information. Wake up the WiFi interface, all devices include at least a second device, all devices may be devices that establish a connection with the first device, or devices in the same BSS as the first device, or receive the first in the wake-up window of the WUR interface A device that sends a WUR discovery message to a device. The wakeup indication information or the broadcast wakeup indication information may also be used to instruct the first device to send the WiFi discovery message through the WiFi interface of the first device. In this case, when the step 505 is specifically implemented, the second device wakes up the WiFi interface of the second device according to the wakeup indication information or the broadcast wakeup indication information included in the WUR discovery message.
第二设备根据WiFi发送指示信息,唤醒第二设备的WiFi接口后不发送或取消发送探测请求消息,第二设备等待接收第一设备发送的WiFi发现消息。The second device does not send or cancel the sending of the probe request message after waking up the WiFi interface of the second device according to the WiFi sending indication information, and the second device waits to receive the WiFi discovery message sent by the first device.
第二设备根据WiFi发送指示信息,唤醒第二设备的WiFi接口后不发送或取消发送获取信息请求消息,第二设备等待接收第一设备发送的WiFi发现消息,获取信息请求消息为第二设备需要从第一设备侧获取自己需要的信息时向第一设备发送的消息。The second device does not send or cancel the sending of the information request message after waking up the WiFi interface of the second device according to the WiFi sending indication information, and the second device waits to receive the WiFi discovery message sent by the first device, and the information request message is required by the second device. A message sent to the first device when the first device side obtains the information it needs.
参见图6,该通信方法包括:Referring to FIG. 6, the communication method includes:
601、第一设备生成WUR发现消息。601. The first device generates a WUR discovery message.
602、第一设备通过第一设备的WUR接口或WiFi接口发送WUR发现消息到包括第二设备在内的至少一个设备的WUR接口。602. The first device sends a WUR discovery message to the WUR interface of the at least one device including the second device by using the WUR interface or the WiFi interface of the first device.
其中,当第一设备通过第一设备的WUR接口发送WUR发现消息时,第二设备的WUR接口当前处于第一醒来窗口,第一醒来窗口为第二设备的WUR接口的一个醒来窗口,或,第一醒来窗口为第一设备的WUR接口的一个醒来窗口,或,第一醒来窗口为第一设备的WUR接口的一个醒来窗口和第二设备的WUR接口的一个醒来窗口相重叠的醒来窗口。When the first device sends the WUR discovery message through the WUR interface of the first device, the WUR interface of the second device is currently in the first wake-up window, and the first wake-up window is a wake-up window of the WUR interface of the second device. Or, the first wake-up window is a wake-up window of the WUR interface of the first device, or, the first wake-up window is a wake-up window of the WUR interface of the first device and a wake-up window of the WUR interface of the second device Wake up windows that overlap windows.
当第一设备通过第一设备的WiFi接口发送WUR发现消息时,第二设备的WUR接口当前处于第二醒来窗口,第二醒来窗口为第二设备的WUR接口的一个醒来窗口,或,第二醒来窗口为第一设备的WiFi接口的一个醒来窗口,或,第二醒来窗口为第一 设备的WiFi接口的一个醒来窗口和第二设备的WUR接口的一个醒来窗口相重叠的醒来窗口。When the first device sends the WUR discovery message through the WiFi interface of the first device, the WUR interface of the second device is currently in the second wake-up window, and the second wake-up window is a wake-up window of the WUR interface of the second device, or The second wake-up window is a wake-up window of the WiFi interface of the first device, or, the second wake-up window is a wake-up window of the WiFi interface of the first device and a wake-up window of the WUR interface of the second device Overlapping wake up windows.
603、第一设备在发送WUR发现消息后的预定时间发送WiFi发现消息,预定时间为第一设备和第二设备根据预设规则确定的传输WiFi发现消息的时间。603. The first device sends a WiFi discovery message at a predetermined time after sending the WUR discovery message, where the predetermined time is a time for transmitting the WiFi discovery message determined by the first device and the second device according to the preset rule.
604、第二设备接收第一设备发送的WUR发现消息。604. The second device receives the WUR discovery message sent by the first device.
605、第二设备根据WUR发现消息唤醒第二设备的WiFi接口。605. The second device wakes up the WiFi interface of the second device according to the WUR discovery message.
606、第二设备在接收WUR发现消息后的预定时间通过第二设备的WiFi接口接收第一设备发送的WiFi发现消息。606. The second device receives the WiFi discovery message sent by the first device by using a WiFi interface of the second device at a predetermined time after receiving the WUR discovery message.
第一设备可以为网络设备,例如,第一设备可以为AP,AP具体可以为基站、中继等。WUR发现消息中还可以包括网络信息,该网络信息用于其他设备与第一设备建立连接。第二设备可以为终端,例如,上文中的STA,STA具体可以为手机、电表、水表等。The first device may be a network device. For example, the first device may be an AP, and the AP may be a base station, a relay, or the like. The WUR discovery message may further include network information for other devices to establish a connection with the first device. The second device may be a terminal, for example, the STA in the above, and the STA may specifically be a mobile phone, an electric meter, a water meter, or the like.
具体的,在图6所示的方法中,第一设备与第二设备可以提前预定WiFi发现消息的发送规则,或者,第一设备固定执行WiFi发现消息发送规则,或,标准规定第一设备执行WiFi发现消息发送规则,WiFi发现消息发送规则如下:第一设备在发送WUR发现消息后的预定时间发送WiFi发现消息。Specifically, in the method shown in FIG. 6, the first device and the second device may pre-determine a sending rule of the WiFi discovery message, or the first device may perform the WiFi discovery message sending rule fixedly, or the standard specifies that the first device performs the The WiFi discovery message sending rule is as follows: The first device sends a WiFi discovery message at a predetermined time after transmitting the WUR discovery message.
图6所示的方法与图5所示的方法的区别之处主要有:第一设备与第二设备提前预定规则,第一设备在发送WUR发现消息后的预定时间发送WiFi发现消息,不需要第一设备在WUR发现消息中增加WiFi发送指示信息,即不需要占用消息中的bit来对WiFi发现消息的发送进行指示。The method shown in FIG. 6 differs from the method shown in FIG. 5 mainly in that the first device and the second device advance a predetermined rule, and the first device sends a WiFi discovery message at a predetermined time after transmitting the WUR discovery message, and does not need to be performed. The first device adds the WiFi sending indication information to the WUR discovery message, that is, does not need to occupy the bit in the message to indicate the sending of the WiFi discovery message.
第二设备唤醒第二设备的WiFi接口后不发送或取消发送探测请求消息,第二设备等待接收第一设备发送的WiFi发现消息。After the second device wakes up the WiFi interface of the second device, the probe request message is not sent or cancelled, and the second device waits to receive the WiFi discovery message sent by the first device.
第二设备唤醒第二设备的WiFi接口后不发送或取消发送获取信息请求消息,第二设备等待接收第一设备发送的WiFi发现消息,获取信息请求消息为第二设备需要从第一设备侧获取自己需要的信息时向第一设备发送的消息。After the second device wakes up the WiFi interface of the second device, the second device waits to receive the WiFi discovery message sent by the first device, and the second device needs to obtain the information request message from the first device. A message sent to the first device when the information is needed.
上述实施例中,WUR发现消息,可以采用如图2所示的帧格式,也可以采用其他新定义的动作(action)消息的帧格式,还可以采用根据现有的消息的帧格式修改得到的帧格式,本申请实施例对此不作具体限定。In the foregoing embodiment, the WUR discovery message may adopt a frame format as shown in FIG. 2, or may adopt a frame format of other newly defined action messages, or may be modified according to a frame format of an existing message. The frame format is not specifically limited in this embodiment of the present application.
可选的,第二设备在接收到第一设备发送的WiFi发现消息之后,与第二设备建立WiFi接口上的通信连接。需要说明的是,第二设备即使在未与第一设备建立WiFi接口上的通信连接之前,仍然是可以接收到WiFi消息的(例如,通过扫描信道获取WiFi消息)。第二设备在与第一设备建立WiFi接口上的通信连接之后,能够更加快速准确的获取到WiFi消息(例如,可以直接在承载WiFi消息的信道上获取WiFi消息,而不用再扫描全部信道)。Optionally, after receiving the WiFi discovery message sent by the first device, the second device establishes a communication connection with the second device on the WiFi interface. It should be noted that the second device can receive the WiFi message even before the communication connection on the WiFi interface is established with the first device (for example, obtaining a WiFi message through the scan channel). After the second device establishes a communication connection on the WiFi interface with the first device, the WiFi message can be acquired more quickly and accurately (for example, the WiFi message can be obtained directly on the channel carrying the WiFi message without scanning all channels).
第二设备可以唤醒第二设备的WiFi接口,在预定时间之前等待接收第一设备发送的WiFi发现消息。The second device may wake up the WiFi interface of the second device and wait to receive the WiFi discovery message sent by the first device before the predetermined time.
上述实施例中,WUR发现消息还可以携带以下信息中的至少一种信息。In the foregoing embodiment, the WUR discovery message may further carry at least one of the following information.
信息1、安全指示信息,安全指示信息用于指示第一设备是否支持安全验证。比如,安全指示信息占用的bit的值为1时表示第一设备支持安全验证,bit值为0时表示第一设备不支持安全验证。Information 1, security indication information, security indication information is used to indicate whether the first device supports security verification. For example, if the value of the bit occupied by the security indication information is 1, the first device supports security verification. When the bit value is 0, the first device does not support security verification.
当第一设备支持安全验证时,第二设备在与第一设备建立安全连接时,第一设备与第二设备需要执行验证过程。When the first device supports security verification, when the second device establishes a secure connection with the first device, the first device and the second device need to perform an authentication process.
当第一设备不支持安全验证时,第二设备在与第一设备建立安全连接时,第一设备与第二设备不需要执行验证过程。When the first device does not support the security verification, when the second device establishes a secure connection with the first device, the first device and the second device do not need to perform the verification process.
进一步的,第二设备可以根据WUR发现消息中携带的安全指示信息决定是否去接收WiFi发现消息。若决定去接收WiFi发现消息,则唤醒第二设备的WiFi接口,否则,不唤醒第二设备的WiFi接口。示例性的,若第二设备需要进行安全验证、且第二设备接收的WUR发现消息中的安全指示信息为支持安全认证,或者,第二设备不需要进行安全验证,第二设备唤醒第二设备的WiFi接口,并通过第二设备的WiFi接口接收第一设备发送的WiFi发现消息。否则,第二设备不唤醒WiFi接口去接收WiFi发现消息。Further, the second device may determine, according to the security indication information carried in the WUR discovery message, whether to receive the WiFi discovery message. If it is decided to receive the WiFi discovery message, the WiFi interface of the second device is awake, otherwise, the WiFi interface of the second device is not awake. Exemplarily, if the second device needs to perform security verification, and the security indication information in the WUR discovery message received by the second device is to support security authentication, or the second device does not need to perform security verification, the second device wakes up the second device. The WiFi interface receives the WiFi discovery message sent by the first device through the WiFi interface of the second device. Otherwise, the second device does not wake up the WiFi interface to receive the WiFi discovery message.
信息2、网络标识信息,网络标识信息用于指示第一设备所属的网络。Information 2, network identification information, and network identification information is used to indicate the network to which the first device belongs.
当第一设备和第二设备在内的多个设备组成一个网络组时,网络标识信息可以是组标识(group ID)。另外,当第一设备和第二设备在同一个BSS内时,网络标识信息还可以为BSS颜色(color),服务集标识(service set identifier,简称SSID)信息中的一种。当组内或BSS内的设备之间通过WUR接口通信时,该组或BSS也可以称为WUR网络。当组内或BSS内的设备之间通过WiFi接口通信时,该组或BSS也可以称为WiFi网络。WUR网络可以通过WUR网络的ID或名称标识,WiFi网络可以通过WiFi网络的ID或名称标识。When multiple devices including the first device and the second device form a network group, the network identification information may be a group ID. In addition, when the first device and the second device are in the same BSS, the network identifier information may also be one of a BSS color and a service set identifier (SSID) information. When a device within a group or within a BSS communicates through a WUR interface, the group or BSS may also be referred to as a WUR network. When a device within a group or within a BSS communicates over a WiFi interface, the group or BSS may also be referred to as a WiFi network. The WUR network can be identified by the ID or name of the WUR network, and the WiFi network can be identified by the ID or name of the WiFi network.
示例性的,网络标识可以为下文中的第一标识或第二标识,第一标识和第二标识的相关描述可参见下文中的相应部分的描述。Exemplarily, the network identifier may be the first identifier or the second identifier in the following, and the related descriptions of the first identifier and the second identifier may be described in the corresponding portions in the following.
第二设备可以根据WUR发现消息中携带的网络标识信息决定是否去接收WiFi发现消息。若决定去接收WiFi发现消息,则唤醒第二设备的WiFi接口,否则,不唤醒第二设备的WiFi接口。The second device may determine, according to the network identifier information carried in the WUR discovery message, whether to receive the WiFi discovery message. If it is decided to receive the WiFi discovery message, the WiFi interface of the second device is awake, otherwise, the WiFi interface of the second device is not awake.
一种可实现的方式,第二设备可以通过判断WUR发现消息中的网络标识信息与所需要网络标识信息是否匹配决定是否去接收WiFi发现消息。比如,第二设备可以在确定WUR发现消息中的网络标识信息与所需要网络标识信息匹配时去接收WiFi发现消息,否则,不接收WiFi发现消息。本申请实施例中描述的“所需要的”也可以描述为“所记录的”。In an implementation manner, the second device may determine whether to receive the WiFi discovery message by determining whether the network identification information in the WUR discovery message matches the required network identification information. For example, the second device may receive the WiFi discovery message when determining that the network identification information in the WUR discovery message matches the required network identification information; otherwise, the WiFi discovery message is not received. The "required" described in the embodiments of the present application can also be described as "recorded".
示例性的,第二设备接收的WUR发现消息中的网络标识信息为SSID,若第二设备需要的SSID与WUR发现消息中的SSID不匹配,则第二设备不唤醒第二设备的WiFi接口去接收WiFi发现消息,若匹配,则第二设备唤醒第二设备的WiFi接口,并通过第二设备的WiFi接口接收第一设备发送的WiFi发现消息。Exemplarily, the network identifier information in the WUR discovery message received by the second device is an SSID. If the SSID required by the second device does not match the SSID in the WUR discovery message, the second device does not wake up the WiFi interface of the second device. Receiving the WiFi discovery message, if the packet is matched, the second device wakes up the WiFi interface of the second device, and receives the WiFi discovery message sent by the first device by using the WiFi interface of the second device.
示例性的,第二设备接收的WUR发现消息中的网络标识信息为WUR网络标识,若第二设备需要的WUR网络标识与WUR发现消息中的WUR网络标识不匹配,第二设备不唤醒第二设备的WiFi接口去接收WiFi发现消息,若匹配,第二设备唤醒第二设备的WiFi接口,并通过第二设备的WiFi接口接收第一设备发送的WiFi发现消息。Exemplarily, the network identifier information in the WUR discovery message received by the second device is a WUR network identifier. If the WUR network identifier required by the second device does not match the WUR network identifier in the WUR discovery message, the second device does not wake up the second. The WiFi interface of the device receives the WiFi discovery message. If the device matches, the second device wakes up the WiFi interface of the second device, and receives the WiFi discovery message sent by the first device through the WiFi interface of the second device.
信息3、服务标识信息,服务标识信息用于指示第一设备支持的服务,或,第一设备所属的网络支持的服务,服务标识信息可以是服务名称(service name),服务标识(service ID),服务哈希值(service hash,基于服务信息进行哈希运算生成的值)等等。The information 3, the service identification information, the service identification information is used to indicate the service supported by the first device, or the service supported by the network to which the first device belongs, and the service identification information may be a service name (service name), a service identifier (service ID) , service hash (service hash, value generated based on hashing of service information), and so on.
第二设备可以根据WUR发现消息中携带的服务标识信息决定是否去接收WiFi发现消息。若决定去接收WiFi发现消息,则唤醒第二设备的WiFi接口,否则,不唤醒第二设备的 WiFi接口。The second device may determine, according to the service identifier information carried in the WUR discovery message, whether to receive the WiFi discovery message. If it is decided to receive the WiFi discovery message, the WiFi interface of the second device is awake, otherwise, the WiFi interface of the second device is not awake.
一种可实现的方式,第二设备可以通过判断WUR发现消息中携带的服务标识信息与所需要的服务标识信息是否匹配决定是否去接收WiFi发现消息。比如,第二设备可以在确定WUR发现消息中携带的服务标识信息与所需要服务标识信息匹配时去接收WiFi发现消息,否则,不接收WiFi发现消息。In an achievable manner, the second device may determine whether to receive the WiFi discovery message by determining whether the service identification information carried in the WUR discovery message matches the required service identification information. For example, the second device may receive the WiFi discovery message when determining that the service identification information carried in the WUR discovery message matches the required service identification information; otherwise, the WiFi discovery message is not received.
示例性的,第二设备接收的WUR发现消息中的服务标识信息为服务1的标识信息,若第二设备需要的服务为服务2(即第二设备需要的服务标识信息为服务2的标识信息),则第二设备确定WUR发现消息中携带的服务标识信息与所需要的服务标识信息不匹配,则第二设备不唤醒第二设备的WiFi接口去接收WiFi发现消息。Exemplarily, the service identification information in the WUR discovery message received by the second device is the identification information of the service 1, and the service required by the second device is the service 2 (that is, the service identification information required by the second device is the identification information of the service 2) The second device determines that the service identifier information carried in the WUR discovery message does not match the required service identifier information, and the second device does not wake up the WiFi interface of the second device to receive the WiFi discovery message.
信息4、时间信息,时间信息用于指示第一设备发送WiFi发现消息的时间,即时间信息指示了预定时间,第一设备在预定时间发送WiFi发现消息,第二设备在时间信息指示的时间(即预定时间)从第一设备接收WiFi发现消息。The information 4, the time information, the time information is used to indicate the time when the first device sends the WiFi discovery message, that is, the time information indicates the predetermined time, the first device sends the WiFi discovery message at the predetermined time, and the second device indicates the time indicated by the time information ( That is, the predetermined time) receiving a WiFi discovery message from the first device.
时间信息具体可以为以下信息中的至少一种:The time information may specifically be at least one of the following information:
(1)发送WiFi发现消息的目标时间(比如,目标发现发送时间(target beacon transmit time,简称TBTT))。例如,若20:00发送WiFi发现消息,则目标时间即为20:00。(1) The target time for sending a WiFi discovery message (for example, target beacon transmit time (TBTT)). For example, if a WiFi discovery message is sent at 20:00, the target time is 20:00.
该情况下,第二设备在目标时间接收第一设备发送的WiFi发现消息。In this case, the second device receives the WiFi discovery message sent by the first device at the target time.
(2)距离发送WiFi发现消息的间隔时间(表示第一设备在等待间隔时间后发送WiFi发现消息,间隔时间也可以称为偏移(offset)时间)。(2) The interval between sending the WiFi discovery message (indicating that the first device sends a WiFi discovery message after waiting for the interval, and the interval time may also be referred to as an offset time).
该情况下,第二设备等待间隔时间接收第一设备发送的WiFi发现消息。In this case, the second device waits for an interval to receive the WiFi discovery message sent by the first device.
具体的,间隔时间即发送某个消息的时间点与发送WiFi发现消息的时间点之间的间隔时间,即第一设备在发送某个消息的时间点的间隔时间之后发送WiFi发现消息。示例性的,间隔时间可以为发送WUR发现消息的时间点与发送WiFi发现消息的时间点之间的时间间隔。Specifically, the interval time is an interval between a time point at which a certain message is sent and a time point at which the WiFi discovery message is sent, that is, the first device sends a WiFi discovery message after an interval time of sending a certain message. Exemplarily, the interval time may be a time interval between a time point when the WUR discovery message is sent and a time point when the WiFi discovery message is sent.
(3)时间同步功能(time synchronization function,简称TSF)时间(或称为,TSF时间值(time value))信息,TSF时间信息可以取TSF时间或时间戳(Timestamp)的全部或部分信息,第一设备在TSF时间信息指示的时间发送WiFi发现消息。示例性的,第一设备利用TSF时间取模运算,当运算结果为0的时候第一设备在TSF时间发送WiFi发现消息,如果运算结果不为0,第一设备在TSF时间不发送WiFi发现消息,第一设备可以根据TSF时间信息确定出发送WiFi发现消息的时间。(3) time synchronization function (TSF) time (or TSF time value) information, TSF time information can take all or part of the TSF time or timestamp (Timestamp), A device sends a WiFi discovery message at the time indicated by the TSF time information. Exemplarily, the first device uses the TSF time modulo operation. When the operation result is 0, the first device sends a WiFi discovery message at the TSF time. If the operation result is not 0, the first device does not send the WiFi discovery message at the TSF time. The first device may determine, according to the TSF time information, a time when the WiFi discovery message is sent.
该情况下,第二设备在TSF时间信息指示的时间接收第一设备发送的WiFi发现消息,第二设备可以根据TSF时间信息确定出第一设备发送WiFi发现消息的时间。同理,第二设备利用TSF时间取模运算,当运算结果为0的时候TSF时间即为第一设备发送WiFi发现消息的发送时刻,如果运算结果不为0,则TSF时间不为第一设备发送WiFi发现消息的发送时刻,第二设备可以根据TSF时间信息确定出接收WiFi发现消息的时刻。In this case, the second device receives the WiFi discovery message sent by the first device at the time indicated by the TSF time information, and the second device may determine, according to the TSF time information, the time when the first device sends the WiFi discovery message. Similarly, the second device uses the TSF time modulo operation. When the operation result is 0, the TSF time is the sending time of the first device to send the WiFi discovery message. If the operation result is not 0, the TSF time is not the first device. When the sending time of the WiFi discovery message is sent, the second device may determine the time at which the WiFi discovery message is received according to the TSF time information.
(4)复位(reset)时间信息,复位时间信息表示第一设备重新开始记时的时间,WiFi发现消息可以在复位时间(或复位时间之后的固定时间)发送等。(4) Reset time information, the reset time information indicates the time when the first device restarts recording, and the WiFi discovery message can be sent at the reset time (or a fixed time after the reset time).
该情况下,第二设备在复位时间(或复位时间之后的固定时间)接收第一设备发送的WiFi发现消息。In this case, the second device receives the WiFi discovery message sent by the first device at the reset time (or a fixed time after the reset time).
需要说明的是,预定时间除了可以是WUR发现消息中的时间信息指示的时间之外,还 可以是:第一设备发送WUR发现消息后的固定时间,或,第一设备和第二设备提前约定的时间,或,第二设备唤醒WiFi接口需要的时间,或,标准规定的时间,或,某固定的时间,或,第二设备等待WiFi消息(例如,WiFi发现消息)超时的时间中的一种。It should be noted that, in addition to the time indicated by the time information in the WUR discovery message, the predetermined time may be: a fixed time after the first device sends the WUR discovery message, or the first device and the second device agree in advance. Time, or the time required for the second device to wake up the WiFi interface, or, the time specified by the standard, or, a fixed time, or one of the times when the second device waits for a WiFi message (eg, WiFi discovery message) to time out Kind.
信息5、第一设备的标识信息,用以标识发送WUR发现消息的设备,第一设备的标识信息可以是:第一设备的ID,第一设备的MAC地址,第一设备的WUR接口地址(或称为第一设备的WUR ID),关联标识(association identifier,简称AID)(一种第一设备给第二设备分配的标识),传输指示地图(traffic indication map,简称TIM)等。示例性的,第一设备的标识可以为下文中的第三标识或第四标识,第三标识和第四标识的相关描述可参见下文中的相应部分的描述。The information of the first device is used to identify the device that sends the WUR discovery message. The identifier of the first device may be: the ID of the first device, the MAC address of the first device, and the WUR interface address of the first device. Or a WUR ID of the first device, an association identifier (AID) (an identifier assigned by the first device to the second device), a traffic indication map (TIM), and the like. Exemplarily, the identifier of the first device may be the third identifier or the fourth identifier in the following, and the related descriptions of the third identifier and the fourth identifier may be referred to the description of the corresponding part in the following.
该情况下,第二设备根据第一设备的标识信息判断是否接收WiFi发现消息。若决定去接收WiFi发现消息,则唤醒第二设备的WiFi接口,否则,不唤醒第二设备的WiFi接口。In this case, the second device determines whether to receive the WiFi discovery message according to the identification information of the first device. If it is decided to receive the WiFi discovery message, the WiFi interface of the second device is awake, otherwise, the WiFi interface of the second device is not awake.
一种可实现的方式,第二设备可以通过判断WUR发现消息中的设备的标识信息与第一设备的标识信息是否匹配决定是否去接收WiFi发现消息。比如,第二设备可以在确定WUR发现消息中的设备的标识信息与第一设备的标识信息匹配时去接收WiFi发现消息,否则,不接收WiFi发现消息。In an implementation manner, the second device may determine whether to receive the WiFi discovery message by determining whether the identifier information of the device in the WUR discovery message matches the identifier information of the first device. For example, the second device may receive the WiFi discovery message when determining that the identification information of the device in the WUR discovery message matches the identification information of the first device, otherwise, the WiFi discovery message is not received.
示例性的,若第二设备接收的WUR发现消息中的设备的标识信息与第一设备的标识信息不匹配,第二设备不唤醒WiFi接口。For example, if the identifier information of the device in the WUR discovery message received by the second device does not match the identifier information of the first device, the second device does not wake up the WiFi interface.
信息6、接收WiFi发现消息的设备的标识信息,设备的标识信息可以是:设备的ID,设备的MAC地址,设备的WUR接口地址,AID,TIM,广播的地址信息等。The information of the device that receives the WiFi discovery message may be: the ID of the device, the MAC address of the device, the WUR interface address of the device, the AID, the TIM, and the broadcast address information.
该情况下,若第二设备接收到的WUR发现消息中携带第二设备的标识信息,第二设备唤醒第二设备的WiFi接口等待接收第一设备发送的WiFi发现消息,若第二设备接收到的WUR发现消息中不包含第二设备的标识信息,第二设备不去接收第一设备发送的WiFi发现消息。In this case, if the WUR discovery message received by the second device carries the identifier information of the second device, the second device wakes up the WiFi interface of the second device and waits to receive the WiFi discovery message sent by the first device, if the second device receives the The WUR discovery message does not include the identification information of the second device, and the second device does not receive the WiFi discovery message sent by the first device.
信息7、第一设备所在WUR网络的信息,用于第二设备获取第一设备所在的WUR网络的更多信息,由于第一设备和第二设备在同一网络中,第二设备会根据第一设备发送的WUR网络的信息调整或记录第二设备的网络信息。The information about the WUR network where the first device is located is used by the second device to obtain more information about the WUR network where the first device is located. Because the first device and the second device are in the same network, the second device is based on the first device. The information of the WUR network sent by the device adjusts or records the network information of the second device.
WUR网络信息至少包括:用于WUR网络内的设备进行同步的时间信息,第一设备的WUR接口的醒来窗口信息,WUR网络的网络标识信息(具体解释可参见上文),第一设备的地址信息,心跳信息(即第一设备周期性发送的标识第一设备处于工作状态的信号),第一设备在网络中的角色的角色信息,WUR网络能够提供的服务信息(比如,打印,上网,语音,视频等),第一设备的WUR接口的工作信道信息等其中的至少一项。The WUR network information includes at least: time information for synchronizing devices in the WUR network, wake-up window information of the WUR interface of the first device, and network identification information of the WUR network (for details, see above), the first device Address information, heartbeat information (that is, a signal periodically sent by the first device to identify that the first device is in a working state), role information of a role of the first device in the network, and service information that the WUR network can provide (for example, printing, surfing the Internet) At least one of the working channel information of the WUR interface of the first device, voice, video, etc.).
第二设备根据接收到的第一设备发送的WUR发现消息调整设备的信息,调整设备的信息包括:调整时间信息以与第一设备同步,调整第二设备的WUR接口的醒来窗口以与第一设备的WUR接口的醒来窗口一致,调整第二设备记录的网络标识信息为WUR发现消息中携带的WUR网络的网络标识信息,调整第二设备的WUR接口的工作信道为第一设备的WUR接口工作信道等其中的至少一项。The second device adjusts the information of the device according to the received WUR discovery message sent by the first device, and the adjusting the information of the device includes: adjusting the time information to synchronize with the first device, and adjusting the wakeup window of the WUR interface of the second device to The waking window of the WUR interface of the device is the same, and the network identifier information recorded by the second device is adjusted to be the network identifier information of the WUR network carried in the WUR discovery message, and the working channel of the WUR interface of the second device is adjusted to be the WUR of the first device. At least one of an interface working channel and the like.
第二设备根据心跳信息确定第一设备处于工作状态,第二设备记录第一设备的地址信息,第一设备在WUR网络中的角色的角色信息,WUR网络能够提供的服务信息等。The second device determines that the first device is in the working state according to the heartbeat information, and the second device records the address information of the first device, the role information of the role of the first device in the WUR network, the service information that the WUR network can provide, and the like.
需要说明的是,第二设备可以根据WUR发现消息中的上述一个信息唤醒WiFi接口,也 可以根据WUR发现消息中的上述信息中的多个信息唤醒WiFi接口,本申请实施例对此不作具体限定。It should be noted that the second device may wake up the WiFi interface according to the foregoing information in the WUR discovery message, and may also wake up the WiFi interface according to the multiple information in the information in the WUR discovery message, which is not specifically limited in this embodiment of the present application. .
其中,WiFi发现消息中可以包括第一设备所在的WiFi网络的信息,用于第二设备获取第一设备所在的WiFi网络的更多信息。WiFi网络信息至少包括:用于WiFi网络内的设备进行同步的时间信息,第一设备的WiFi接口的醒来窗口信息,WiFi网络的网络标识信息(比如,WiFi网络的ID,或,WiFi网络的名称,或,BSS颜色,或,组标识),第一设备的地址信息,心跳信息,第一设备在WiFi网络中的角色的角色信息,WiFi网络能够提供的服务信息,WiFi接口工作信道信息,WiFi网络的能力(capability)信息,WiFi网络支持的传输速率信息,WiFi网络的安全(例如,健壮的安全网络(robust security network,简称RSN)参数等其中的至少一项。The WiFi discovery message may include information about the WiFi network where the first device is located, and the second device acquires more information about the WiFi network where the first device is located. The WiFi network information includes at least: time information for synchronizing devices in the WiFi network, wake-up window information of the WiFi interface of the first device, network identification information of the WiFi network (for example, ID of the WiFi network, or WiFi network Name, or, BSS color, or group identification), address information of the first device, heartbeat information, role information of the role of the first device in the WiFi network, service information that the WiFi network can provide, WiFi channel working channel information, Capability information of the WiFi network, transmission rate information supported by the WiFi network, security of the WiFi network (for example, a robust security network (RSN) parameter, etc.).
第二设备根据接收到的第一设备发送的WiFi发现消息,第二设备调整设备的信息,调整设备的信息包括:调整时间信息以与第一设备同步,调整第二设备的WiFi接口的醒来窗口以与第一设备的WiFi接口的醒来窗口一致,调整第二设备记录的网络标识信息为WiFi发现消息中携带的WiFi网络的网络标识信息,调整第二设备的WiFi接口的工作信道信息为第一设备的WiFi接口工作信道等其中的至少一项。The second device adjusts the information of the device according to the received WiFi discovery message sent by the first device, and the information of the device is adjusted: the time information is adjusted to synchronize with the first device, and the WiFi interface of the second device is adjusted to wake up. The window is consistent with the awake window of the WiFi interface of the first device, and the network identifier information recorded by the second device is adjusted to be the network identifier information of the WiFi network carried in the WiFi discovery message, and the working channel information of the WiFi interface of the second device is adjusted. At least one of a WiFi interface working channel of the first device, and the like.
第二设备根据心跳信息确定第一设备处于工作状态,第二设备记录第一设备的地址信息,第一设备在WiFi网络中的角色的角色信息,WiFi网络能够提供的服务信息,WiFi网络的能力信息,WiFi网络支持的传输速率信息,WiFi网络的安全参数等。The second device determines that the first device is in the working state according to the heartbeat information, the second device records the address information of the first device, the role information of the role of the first device in the WiFi network, the service information that the WiFi network can provide, and the capability of the WiFi network. Information, transmission rate information supported by the WiFi network, security parameters of the WiFi network, etc.
第二设备根据接收的WiFi发现消息与第一设备同步(具体的,第二设备可以根据WUR发现消息中的信息与第一设备进行粗同步,根据WiFi发现消息中的信息与第一设备进行精确同步)。具体的,第二设备接受(accept,或,adopt)WiFi发现消息中的时间信息,并根据WiFi发现消息中的时间信息调整(adjust)第二设备的时间或TSF时间(timer)或TSF时间(time)或TSF时间值(time value)。The second device synchronizes with the first device according to the received WiFi discovery message. Specifically, the second device may perform coarse synchronization with the first device according to the information in the WUR discovery message, and perform accurate with the first device according to the information in the WiFi discovery message. Synchronize). Specifically, the second device accepts (accept, or, adopts) the time information in the WiFi discovery message, and adjusts the time of the second device or the TSF time or TSF time according to the time information in the WiFi discovery message ( Time) or TSF time value.
第二设备根据WUR发现消息中包括的第一设备的WUR接口的醒来窗口信息调整第二设备的WUR接口的醒来窗口,或,第二设备采用第一设备的WUR的醒来窗口,或,第二设备与第一设备确定新的醒来窗口。The second device adjusts the wakeup window of the WUR interface of the second device according to the wakeup window information of the WUR interface of the first device included in the WUR discovery message, or the second device uses the wakeup window of the WUR of the first device, or The second device and the first device determine a new wake-up window.
当WUR发现消息为WUR唤醒消息时,第二设备在调整后的醒来窗口内接收第一设备发送的WUR唤醒消息,WUR唤醒消息用于唤醒包括第二设备在内的至少一个设备的WiFi接口。或者,包括第二设备在内的至少一个设备在第一醒来窗口内接收第一设备发送的WUR唤醒消息,WUR唤醒消息用于唤醒包括第二设备在内的至少一个设备的WiFi接口。When the WUR discovery message is a WUR wakeup message, the second device receives the WUR wakeup message sent by the first device in the adjusted wakeup window, and the WUR wakeup message is used to wake up the WiFi interface of the at least one device including the second device. . Alternatively, the at least one device including the second device receives the WUR wakeup message sent by the first device in the first awake window, and the WUR wakeup message is used to wake up the WiFi interface of the at least one device including the second device.
第一设备在发送的WUR发现消息中携带WiFi发送指示信息时,第一设备可以减少在WUR发现消息中携带的信息,比如:可以不携带用于同步的时间信息。因为第二设备可以去接收WiFi发现消息,WiFi发现消息可以携带很多详细的网络信息。When the first device sends the WiFi transmission indication information in the sent WUR discovery message, the first device may reduce the information carried in the WUR discovery message, for example, may not carry time information for synchronization. Since the second device can receive the WiFi discovery message, the WiFi discovery message can carry a lot of detailed network information.
在本申请实施例中,WiFi发送指示信息可以携带在WUR发现消息的控制域,或,类型域,或,地址域,或前导(preamble)域,或,信号(SIG)域的一个或多个中,具体可以用1个bit位来表示。第二设备接收WUR发现消息后根据控制域,或,类型域,或,地址域,或前导域,或,信号域的一个或多个获得WiFi发送指示信息。In the embodiment of the present application, the WiFi sending indication information may be carried in a control domain of a WUR discovery message, or a type field, or an address domain, or a preamble domain, or one or more of a signal (SIG) domain. In particular, it can be represented by 1 bit. After receiving the WUR discovery message, the second device obtains the WiFi transmission indication information according to one or more of the control domain, or the type domain, or the address domain, or the preamble domain, or the signal domain.
示例性的,如果WiFi发送指示信息携带在控制域(还可以是类型域,或,地址域,或前导域,或,信号域)中,第二设备根据接收到的WUR发现消息的控制域(还可以是类型 域,或,地址域,或前导域,或,信号域)即可获得WiFi发送指示信息。Exemplarily, if the WiFi transmission indication information is carried in the control domain (which may also be a type domain, or an address domain, or a preamble domain, or a signal domain), the second device according to the control domain of the received WUR discovery message ( It can also be a type field, or an address field, or a preamble field, or a signal field, to obtain a WiFi transmission indication information.
在第二设备获取到WiFi发送指示信息后,第二设备可以根据条件判断是否唤醒WiFi接口,具体的判断条件可以参见上文。After the second device obtains the WiFi sending indication information, the second device may determine whether to wake up the WiFi interface according to the condition. For specific determination conditions, refer to the above.
一种可能的实现方式,WiFi发送指示信息还可以通过预先规定的WUR发现消息格式表示,即一种隐式的表示方式,不需要占用WUR发现消息中的bit位来指示。可以是通过WUR发现消息中符号旋转角度来表示,或,通过WUR发现消息中预先规定的符号来表示,或,WUR发现消息中预先规定的序列来表示,或,WUR发现消息中的预先规定的训练序列来表示,或,WUR发现消息中不同的长度(length)来表示,或,WUR发现消息中预先规定的ID信息,或,颜色(color)信息,或,上行,或,下行指示来表示。第二设备接收WUR发现消息后根据预先规定的消息的格式获得WiFi发送指示信息。In a possible implementation manner, the WiFi sending indication information may also be represented by a pre-defined WUR discovery message format, that is, an implicit representation manner, and does not need to occupy the bit in the WUR discovery message to indicate. This may be represented by the angle of rotation of the symbol in the WUR discovery message, or by a pre-specified symbol in the WUR discovery message, or by a pre-specified sequence in the WUR discovery message, or by a predetermined provision in the WUR discovery message. The training sequence is represented, or, the WUR finds a different length in the message to represent, or, the WUR discovery message pre-specified ID information, or color information, or, up, or, down indication . After receiving the WUR discovery message, the second device obtains the WiFi transmission indication information according to the format of the predetermined message.
一种可能的实现方式中,多个AP会发送WUR发现消息,STA在接收到多个AP发送的WUR发现消息后,会在多个信道上向多个AP发送探测请求消息,请求AP的详细信息,并且在多个信道上等待不同的AP反馈响应消息。本申请实施例中,第二设备根据WUR发现消息中的WiFi发送指示信息在预定时间去接收第一设备发送的WiFi发现消息,或者,第二设备直接在接收到WUR发现消息后的固定时间(即预定时间)去接收第一设备发送的WiFi发现消息,能够减少第二设备发送探测请求消息,有利于第二设备的WiFi接口省电。同时,减少WiFi消息的发送,节省对空口资源占用,提升了无线空口利用率。In a possible implementation manner, multiple APs send a WUR discovery message, and after receiving the WUR discovery message sent by multiple APs, the STA sends a probe request message to multiple APs on multiple channels, requesting the details of the AP. Information and waiting for different AP feedback response messages on multiple channels. In the embodiment of the present application, the second device receives the WiFi discovery message sent by the first device according to the WiFi sending indication information in the WUR discovery message, or the fixed time of the second device directly after receiving the WUR discovery message. That is, the predetermined time) to receive the WiFi discovery message sent by the first device, which can reduce the second device to send the probe request message, which is beneficial to the WiFi interface of the second device to save power. At the same time, the transmission of WiFi messages is reduced, the utilization of air interface resources is saved, and the utilization of wireless air interfaces is improved.
本申请实施例还提供了一种用来唤醒设备的方法,该实施例中与上文中相关内容的解释可以参见上文,在此不再赘述。如图7所示(图7中以第二设备代表全部的下述至少两个设备),该方法包括:The embodiment of the present application further provides a method for waking up the device, and an explanation of the related content in the embodiment may be referred to above, and details are not described herein again. As shown in FIG. 7 (the second device in FIG. 7 represents all of the following at least two devices), the method includes:
701、第一设备通过第一设备的WiFi接口广播唤醒消息到与第一设备在同一网络中的至少两个设备。701. The first device broadcasts the wakeup message to the at least two devices in the same network as the first device by using the WiFi interface of the first device.
其中,第一设备为网络中的AP或组长(group owner,简称GO)。当第一设备为网络中的AP时,上述至少两个设备可以为STA。AP具体可以为基站、中继等。STA具体可以为手机、电表、水表等。当第一设备为网络中的GO时,该网络可以为由包括第一设备和上述至少两个设备在内的一组设备组成的网络,上述至少两个设备可以为组员。具体的,第一设备与至少两个设备在同一网络时,至少两个设备与第一设备建立了连接。“至少两个设备与第一设备建立了连接”也可以描述为“第一设备和至少两个设备在同一个BSS内”。The first device is an AP or a group owner (GO) in the network. When the first device is an AP in the network, the at least two devices may be STAs. The AP may be a base station, a relay, or the like. The STA can be specifically a mobile phone, an electric meter, a water meter, or the like. When the first device is a GO in the network, the network may be a network composed of a group of devices including the first device and the at least two devices, and the at least two devices may be group members. Specifically, when the first device and the at least two devices are in the same network, at least two devices establish a connection with the first device. "At least two devices are connected to the first device" may also be described as "the first device and at least two devices are in the same BSS".
唤醒消息中包括广播唤醒指示信息,广播唤醒指示信息用于指示唤醒消息为广播的唤醒消息,唤醒消息用于指示通过WUR接口接收到唤醒消息的设备唤醒自身的WiFi接口,至少两个设备的WUR接口处于至少两个设备各自的WUR接口的工作窗口,或者,至少两个设备的WUR接口处于第一设备的WiFi接口的工作窗口,或者,至少两个设备的WUR接口处于至少两个设备各自的WUR接口和第一设备的WiFi接口的重叠的工作窗口,工作窗口是指能够发送和/或接收信息的时间区间。The wake-up message includes broadcast wake-up indication information, the broadcast wake-up indication information is used to indicate that the wake-up message is a broadcast wake-up message, and the wake-up message is used to indicate that the device that receives the wake-up message through the WUR interface wakes up its own WiFi interface, and the WUR of at least two devices. The interface is in the working window of the WUR interface of the at least two devices, or the WUR interface of the at least two devices is in the working window of the WiFi interface of the first device, or the WUR interface of at least two devices is in the at least two devices. An overlapping working window of the WUR interface and the WiFi interface of the first device, the working window refers to a time interval in which information can be transmitted and/or received.
唤醒消息用于唤醒与第一设备建立连接的所有设备的WiFi接口,或者,也可以描述为唤醒消息用于唤醒与第一设备在一个BSS中的所有设备的WiFi接口。The wake-up message is used to wake up the WiFi interface of all devices that establish a connection with the first device, or may also be described as a wake-up message for waking up the WiFi interface of all devices in the same BSS with the first device.
其中,至少两个设备的WUR接口的工作窗口可以是相同的,也可以是不同的。一种 情况下,处于工作窗口的WUR接口仅能够接收信息,另一种情况下,处于工作窗口的WUR接口既能发送信息,也能接收信息。一般情况下,处于工作窗口的WiFi接口既能接收信息,也能发送信息。The working windows of the WUR interfaces of at least two devices may be the same or different. In one case, the WUR interface in the working window can only receive information. In another case, the WUR interface in the working window can both send information and receive information. In general, the WiFi interface in the working window can receive information as well as send information.
在处于工作窗口的WUR接口既能发送信息,也能接收信息的情况下,第一设备还可以不采用WiFi接口广播唤醒消息,而采用WUR接口广播唤醒消息。此时,至少两个设备的WUR接口处于至少两个设备各自的WUR接口的工作窗口,或者,至少两个设备的WUR接口处于第一设备的WUR接口的工作窗口,或者,至少两个设备的WUR接口处于至少两个设备各自的WUR接口和第一设备的WUR接口的重叠的工作窗口,工作窗口是指能够发送和/或接收信息的时间区间。In the case that the WUR interface in the working window can both transmit information and receive information, the first device can also broadcast the wake-up message by using the WUR interface instead of using the WiFi interface to broadcast the wake-up message. At this time, the WUR interface of at least two devices is in the working window of the WUR interface of at least two devices, or the WUR interface of at least two devices is in the working window of the WUR interface of the first device, or at least two devices The WUR interface is an overlapping working window of the WUR interface of at least two devices and the WUR interface of the first device, and the working window refers to a time interval in which information can be transmitted and/or received.
在步骤701之前,该方法还可以包括:第一设备生成唤醒消息。Before the step 701, the method may further include: the first device generates a wakeup message.
可选的,所述广播唤醒指示信息可以为所述第一设备的设备标识信息。关于第一设备的设备标识信息的描述可参见下文。Optionally, the broadcast wakeup indication information may be device identifier information of the first device. A description of the device identification information of the first device can be found below.
可选的,所述广播唤醒指示信息可以位于所述唤醒消息的地址域。该情况下,可以通过地址域指示唤醒消息为广播唤醒消息。示例性的,若广播唤醒指示信息为第一设备的设备标识信息,若唤醒消息的地址域放的是第一设备的设备标识信息,表示唤醒消息为广播唤醒消息。该情况下,广播唤醒指示信息不需要占用唤醒消息中额外的资源,能够节约资源。Optionally, the broadcast wakeup indication information may be located in an address field of the wakeup message. In this case, the wakeup message may be indicated by the address field as a broadcast wakeup message. For example, if the broadcast wakeup indication information is the device identifier information of the first device, if the address field of the wakeup message is the device identifier information of the first device, the wakeup message is a broadcast wakeup message. In this case, the broadcast wakeup indication information does not need to occupy additional resources in the wakeup message, and resources can be saved.
702、所述第一设备在预定时间通过所述第一设备的WiFi接口发送WiFi多播消息到所述至少两个设备。702. The first device sends a WiFi multicast message to the at least two devices by using a WiFi interface of the first device at a predetermined time.
多播消息可以为广播(broadcast)消息或组播(group)消息。WiFi多播消息具体可以为数据消息、管理消息或控制消息等。The multicast message can be a broadcast message or a group message. The WiFi multicast message may specifically be a data message, a management message, or a control message.
其中,预定时间为第一设备和所述至少两个设备都可以确定的时间。预定时间可以为第一设备发送唤醒消息后的固定时间,或,第一设备和第二设备提前约定的时间,或,第二设备唤醒WiFi接口需要的时间,或,标准规定的时间,或,某固定的时间,或,第二设备等待WiFi消息(例如,WiFi多播消息)超时的时间中的一种。The predetermined time is a time that the first device and the at least two devices can determine. The predetermined time may be a fixed time after the first device sends the wake-up message, or the time agreed by the first device and the second device in advance, or the time required for the second device to wake up the WiFi interface, or the time specified by the standard, or, At a fixed time, or one of the times when the second device waits for a WiFi message (eg, a WiFi multicast message) to time out.
预定时间也可以在唤醒消息中指示。例如,唤醒消息还可以包括时间指示信息,所述时间指示信息用于指示所述预定时间。The predetermined time can also be indicated in the wake up message. For example, the wakeup message may further include time indication information for indicating the predetermined time.
703、第二设备通过所述第二设备的WUR接口接收第一设备通过所述第一设备的WiFi接口广播的唤醒消息。703. The second device receives, by using the WUR interface of the second device, a wakeup message that is sent by the first device by using the WiFi interface of the first device.
第二设备可以为上述至少两个设备中的任意一个设备,则所述第二设备与所述第一设备在同一网络中。The second device may be any one of the at least two devices, and the second device is in the same network as the first device.
其中,步骤702和步骤703的执行顺序不分先后。The execution order of step 702 and step 703 is in no particular order.
704、所述第二设备根据所述唤醒消息中的广播唤醒指示信息唤醒所述第二设备的WiFi接口。704. The second device wakes up the WiFi interface of the second device according to the broadcast wakeup indication information in the wakeup message.
一般情况下,为了降低设备的功耗,设备中的WiFi接口处于休眠状态,WUR接口周期性的处于工作窗口。当WUR接口接收到唤醒消息时,向WiFi接口发送唤醒信号,WiFi接口才会被唤醒,从而处于工作窗口。In general, in order to reduce the power consumption of the device, the WiFi interface in the device is in a sleep state, and the WUR interface is periodically in the working window. When the WUR interface receives the wake-up message, it sends a wake-up signal to the WiFi interface, and the WiFi interface is woken up, so that it is in the working window.
步骤704在具体实现时,第二设备根据广播唤醒指示信息确定唤醒消息为一个广播的唤醒消息时,则唤醒第二设备的WiFi接口。In step 704, when the second device determines that the wake-up message is a broadcast wake-up message according to the broadcast wake-up indication information, the second device wakes up the WiFi interface of the second device.
705、所述第二设备在预定时间通过所述第二设备的WiFi接口接收所述第一设备通过所述第一设备的WiFi接口发送的WiFi多播消息。705. The second device receives, by using a WiFi interface of the second device, a WiFi multicast message sent by the first device by using a WiFi interface of the first device.
在所述唤醒消息还包括时间指示信息的情况下,在步骤705之前,该方法还可以包括:所述第二设备根据所述时间指示信息确定所述预定时间。In the case that the wakeup message further includes time indication information, before step 705, the method may further include: the second device determining the predetermined time according to the time indication information.
第一设备要向多个设备广播WiFi消息时,一种可能的实现方式是:第一设备需要先依次向多个设备发送唤醒消息,唤醒多个设备,这样便会导致有些设备先被唤醒有些设备后被唤醒,先被唤醒的设备的WiFi接口的工作时间会比后被唤醒的设备的WiFi接口的工作时间长,从而增加了先被唤醒的设备的功耗。When the first device is to broadcast a WiFi message to multiple devices, a possible implementation manner is as follows: the first device needs to send a wake-up message to multiple devices in turn to wake up multiple devices, which may cause some devices to be woken up first. After the device is woken up, the working time of the WiFi interface of the device that is first awake will be longer than the working time of the WiFi interface of the device that is awake later, thereby increasing the power consumption of the device that is first awake.
本申请实施例提供的方法,在唤醒消息中添加了广播唤醒指示信息,接收到唤醒消息的设备均唤醒自身的WiFi接口,由于多个设备几乎同时被唤醒,与上述那种可能的实现方式相比,能够减少一些设备(即前述先被唤醒的设备)的WiFi接口的工作时长,降低这些设备的功耗,并且能够减少由于唤醒多个设备而产生的信令开销。The method provided by the embodiment of the present application adds a broadcast wakeup indication information to the wakeup message, and the device that receives the wakeup message wakes up its own WiFi interface. Since multiple devices are awakened at the same time, the possible implementation manner is as described above. In comparison, it is possible to reduce the working hours of the WiFi interfaces of some devices (ie, the aforementioned devices that are awakened first), reduce the power consumption of these devices, and reduce the signaling overhead caused by waking up multiple devices.
可选的,所述唤醒消息中还包括其他信息,所述其他信息为以下信息中的至少一种:第一指示信息,第二指示信息,所述网络的网络标识信息,所述第一设备的设备标识信息,所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道;Optionally, the awake message further includes other information, where the other information is at least one of the following information: first indication information, second indication information, network identifier information of the network, and the first device. Device identification information, the working channel used by the WiFi interface of the first device to send the WiFi multicast message;
其中,所述第一指示信息用于指示所述第一设备将通过所述第一设备的WiFi接口发送所述WiFi多播消息,或者,所述第一指示信息用于指示接收到所述唤醒消息的设备接收所述第一设备通过所述第一设备的WiFi接口发送的所述WiFi多播消息;所述第二指示信息用于指示所述第一设备将发送更新的BSS参数,或者,所述第二指示信息用于指示所述网络的BSS参数发生了更新。The first indication information is used to indicate that the first device sends the WiFi multicast message through the WiFi interface of the first device, or the first indication information is used to indicate that the wakeup is received. The device of the message receives the WiFi multicast message sent by the first device by using the WiFi interface of the first device; the second indication information is used to indicate that the first device will send the updated BSS parameter, or The second indication information is used to indicate that the BSS parameter of the network is updated.
该情况下,步骤704在具体实现时可以包括:所述第二设备根据所述唤醒消息中的广播唤醒指示信息和所述唤醒消息中的其他信息唤醒所述第二设备的WiFi接口。In this case, the step 704 may include: the second device waking up the WiFi interface of the second device according to the broadcast wakeup indication information in the wakeup message and other information in the wakeup message.
当第一设备和第二设备在内的多个设备组成一个网络组时,网络标识信息可以是组标识。另外,当第一设备和第二设备在同一个BSS内时,网络标识信息还可以为BSS颜色,SSID信息中的一种。当组内或BSS内的设备之间通过WUR接口通信时,该组或BSS也可以称为WUR网络。当组内或BSS内的设备之间通过WiFi接口通信时,该组或BSS也可以称为WiFi网络。WUR网络可以通过WUR网络的ID或名称标识,WiFi网络可以通过WiFi网络的ID或名称标识。When multiple devices including the first device and the second device form a network group, the network identification information may be a group identifier. In addition, when the first device and the second device are in the same BSS, the network identification information may also be one of BSS color and SSID information. When a device within a group or within a BSS communicates through a WUR interface, the group or BSS may also be referred to as a WUR network. When a device within a group or within a BSS communicates over a WiFi interface, the group or BSS may also be referred to as a WiFi network. The WUR network can be identified by the ID or name of the WUR network, and the WiFi network can be identified by the ID or name of the WiFi network.
第一设备的设备标识信息可以为第一设备的ID、第一设备的MAC地址、第一设备的WUR接口地址,AID,TIM等。The device identification information of the first device may be an ID of the first device, a MAC address of the first device, a WUR interface address of the first device, an AID, a TIM, and the like.
所述网络标识信息为第一标识或第二标识,所述第二标识为根据所述第一标识生成的标识、且所述第二标识占用的比特数小于所述第一标识占用的比特数。第二标识可以基于第一标识的部分或全部信息生成。示例性的,第一标识为SSID时,第二标识可以为SSID的部分值,或,基于SSID执行哈希运算的哈希值。该情况下,在唤醒消息中采用第二标识与采用第一标识相比,能够节约传输资源。The network identifier information is a first identifier or a second identifier, where the second identifier is an identifier generated according to the first identifier, and the number of bits occupied by the second identifier is smaller than the number of bits occupied by the first identifier. . The second identification may be generated based on part or all of the information of the first identification. Exemplarily, when the first identifier is an SSID, the second identifier may be a partial value of the SSID, or a hash value that performs a hash operation based on the SSID. In this case, using the second identifier in the wake-up message can save transmission resources compared to using the first identifier.
所述第一设备的设备标识信息为第三标识或第四标识,所述第四标识为根据所述第三标识生成的标识、且所述第四标识占用的比特数小于所述第三标识占用的比特数。第四标识可以基于第三标识的部分或全部信息生成示例性的,第三标识为MAC地址时,第四标识可以为MAC地址的部分值,或,基于MAC地址执行哈希运算的哈希值。 该情况下,在唤醒消息中采用第四标识与采用第三标识相比,能够节约传输资源。The device identifier information of the first device is a third identifier or a fourth identifier, where the fourth identifier is an identifier generated according to the third identifier, and the number of bits occupied by the fourth identifier is smaller than the third identifier. The number of bits occupied. The fourth identifier may be generated based on part or all of the information of the third identifier. When the third identifier is a MAC address, the fourth identifier may be a partial value of the MAC address, or a hash value of performing a hash operation based on the MAC address. . In this case, using the fourth identifier in the wake-up message can save transmission resources compared to using the third identifier.
具体的,在第二设备确定唤醒消息为广播的唤醒消息的前提下,当其他信息至少包括网络的网络标识信息时,若唤醒消息中包括的网络标识信息与第二设备记录的网络标识信息匹配时,第二设备和发送唤醒消息的设备在同一网络中,第二设备唤醒第二设备的WiFi接口,否则,第二设备不唤醒第二设备的WiFi接口。Specifically, if the second device determines that the wakeup message is a broadcast wakeup message, if the other information includes at least the network identifier information of the network, if the network identifier information included in the wakeup message matches the network identifier information recorded by the second device, The second device and the device that sends the wake-up message are in the same network, and the second device wakes up the WiFi interface of the second device. Otherwise, the second device does not wake up the WiFi interface of the second device.
在第二设备确定唤醒消息为广播的唤醒消息的前提下,当其他信息至少包括第一设备的设备标识信息时,若唤醒消息中包括的第一设备的设备标识信息与第二设备记录的发送唤醒消息或WiFi多播消息的设备标识信息匹配时,第二设备唤醒第二设备的WiFi接口,否则,第二设备不唤醒第二设备的WiFi接口。示例性的,当第二设备为STA时,第二设备记录的设备标识信息可以为第二设备接入的AP的标识信息。On the premise that the second device determines that the wakeup message is a broadcast wakeup message, if the other information includes at least the device identifier information of the first device, if the device identifier information of the first device included in the wakeup message is sent and the second device records the transmission When the device identification information of the wake-up message or the WiFi multicast message matches, the second device wakes up the WiFi interface of the second device, otherwise, the second device does not wake up the WiFi interface of the second device. Exemplarily, when the second device is a STA, the device identification information recorded by the second device may be the identification information of the AP accessed by the second device.
上述示例性的示出了第二设备如何判断是否唤醒第二设备的WiFi接口的两种方式,第二设备也可以根据广播唤醒指示信息和其他信息中的多个信息共同判断是否要唤醒第二设备的WiFi接口,本申请实施例中不再一一说明。The above exemplarily shows two ways of determining whether the second device wakes up the WiFi interface of the second device, and the second device can also determine whether to wake up the second according to the broadcast wakeup indication information and the plurality of other information. The WiFi interface of the device is not described in the embodiment of the present application.
可选的,所述其他信息至少包括所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道,所述方法还包括:所述第二设备调整所述第二设备的WiFi接口的工作信道为所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道,以便第二设备成功接收到WiFi多播消息。Optionally, the other information includes at least a working channel used by the WiFi interface of the first device to send the WiFi multicast message, where the method further includes: adjusting, by the second device, the WiFi of the second device The working channel of the interface sends the working channel used by the WiFi multicast message to the WiFi interface of the first device, so that the second device successfully receives the WiFi multicast message.
可选的,所述其他信息至少包括所述第二指示信息,所述WiFi多播消息中包括更新的所述BSS参数。该情况下,第二设备在接收到WiFi多播消息后,根据WiFi多播消息中包括的更新的BSS参数更新BSS参数。第二设备可以根据WiFi多播消息中的更新的BSS参数更新BSS参数,以便第二设备更好的使用BSS所提供的服务,接收BSS内设备发送的消息,与第一设备同步等。Optionally, the other information includes at least the second indication information, where the WiFi multicast message includes the updated BSS parameter. In this case, after receiving the WiFi multicast message, the second device updates the BSS parameter according to the updated BSS parameter included in the WiFi multicast message. The second device may update the BSS parameters according to the updated BSS parameters in the WiFi multicast message, so that the second device can better use the service provided by the BSS, receive the message sent by the device in the BSS, synchronize with the first device, and the like.
更新的BSS参数包括以下信息中的至少一种信息:更新的用于BSS内的设备进行同步的时间信息,更新的第一设备的WUR接口和/或WiFi接口的醒来窗口信息,更新的第二设备的WUR接口和/或WiFi接口的醒来窗口信息,更新的BSS的网络标识信息,更新的第一设备的地址信息,更新的心跳信息,更新的第一设备在BSS中的角色的角色信息,更新的BSS能够提供的服务信息,更新的第一设备的WiFi接口的工作信道信息,更新的第一设备的WUR接口的工作信道信息,更新的第一设备的能力(capability)信息,更新的BSS支持的传输速率信息,更新的BSS的安全(RSN,robust security Network,健壮的安全网络)参数,等其中的至少一项。The updated BSS parameters include at least one of the following information: updated time information for synchronization of devices within the BSS, updated WUR interface of the first device, and/or wake window information of the WiFi interface, updated The wake-up window information of the WUR interface and/or the WiFi interface of the second device, the network identification information of the updated BSS, the updated address information of the first device, the updated heartbeat information, and the role of the updated role of the first device in the BSS Information, updated service information that the BSS can provide, updated working channel information of the WiFi interface of the first device, updated working channel information of the WUR interface of the first device, updated capability information of the first device, updated The BSS supports transmission rate information, updated BSS security (RSN, robust security network, robust security network) parameters, and the like.
上述实施例中的WiFi多播消息中可以携带以下信息中的至少一种信息:BSS参数,服务质量(quality of service,简称QoS),更新的BSS参数,更新的QoS参数等其中的至少一项。The WiFi multicast message in the foregoing embodiment may carry at least one of the following information: at least one of a BSS parameter, a quality of service (QoS), an updated BSS parameter, and an updated QoS parameter. .
第二设备通过WiFi接口接收第一设备发送的WiFi多播消息,根据WiFi多播消息中携带的信息,调整或记录第二设备相应的BSS参数(该部分可参见上文,在此不再赘述),QoS等其中的至少一项。The second device receives the WiFi multicast message sent by the first device through the WiFi interface, and adjusts or records the corresponding BSS parameter of the second device according to the information carried in the WiFi multicast message (this part can be referred to above, and details are not described herein again. ), QoS, etc. at least one of them.
上述各实施例之间尽管有些消息的名称可能不同,但消息的名称只是一种对对象的指代,可以采用各种不同的名称来指代同一作用的对象,故只要消息的作用相同或相似,即可相互参考理解。Although the names of some messages may be different between the above embodiments, the name of the message is only a reference to the object, and various names may be used to refer to the same object, so that the messages have the same or similar functions. , you can understand each other.
上述主要从方法角度对本申请实施例提供的方案进行了介绍。可以理解的是,通信装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing provides a description of the solution provided by the embodiment of the present application from a method perspective. It can be understood that the communication device includes corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above functions. Those skilled in the art will readily appreciate that the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples 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 to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
本申请实施例可以根据上述方法示例对通信装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the function module into the communication device according to the foregoing method example. For 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 application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
比如,在采用集成的功能模块的情况下,图8示出了上述实施例中所涉及的装置的一种可能的结构示意图,该装置80可以为上述第一设备或第二设备,参见图8,装置80可以包括:处理单元801、WiFi单元802和WUR单元803,还可以包括存储单元804。For example, in the case of using an integrated functional module, FIG. 8 shows a possible structural diagram of the device involved in the above embodiment, and the device 80 may be the first device or the second device, see FIG. The device 80 may include a processing unit 801, a WiFi unit 802, and a WUR unit 803, and may further include a storage unit 804.
当装置80为第一设备时,处理单元801用于对第一设备的动作进行控制管理,例如,处理单元801用于支持第一设备执行图5中的步骤501-503,或,图6中的步骤601-603,或,图7中的步骤701-702,和/或本申请实施例中所描述的其他过程中的第一设备执行的动作。WiFi单元802和WUR单元803用于支持第一设备与其他网络设备通信,例如,与图5、图6或图7中的第二设备通信。存储单元804用于存储第一设备的程序代码和数据。When the device 80 is the first device, the processing unit 801 is configured to perform control management on the action of the first device. For example, the processing unit 801 is configured to support the first device to perform steps 501-503 in FIG. 5, or in FIG. Steps 601-603, or steps 701-702 in FIG. 7, and/or actions performed by the first device in other processes described in the embodiments of the present application. The WiFi unit 802 and the WUR unit 803 are configured to support communication of the first device with other network devices, for example, with the second device of FIG. 5, FIG. 6, or FIG. The storage unit 804 is configured to store program codes and data of the first device.
当装置80为第二设备时,处理单元801用于对第二设备的动作进行控制管理,例如,处理单元801用于支持第二设备执行图5中的步骤504-506,或,图6中的步骤604-606,或,图7中的步骤703-705,和/或本申请实施例中所描述的其他过程中的第二设备执行的动作。WiFi单元802和WUR单元803用于支持第二设备与其他网络设备通信,例如,与图5、图6或图7中的第一设备通信。存储单元804用于存储第二设备的程序代码和数据。When the device 80 is the second device, the processing unit 801 is configured to perform control management on the action of the second device. For example, the processing unit 801 is configured to support the second device to perform steps 504-506 in FIG. 5, or in FIG. Steps 604-606, or steps 703-705 in FIG. 7, and/or actions performed by the second device in other processes described in the embodiments of the present application. The WiFi unit 802 and the WUR unit 803 are configured to support the second device to communicate with other network devices, for example, with the first device of FIG. 5, FIG. 6, or FIG. The storage unit 804 is configured to store program codes and data of the second device.
其中,处理单元801可以是处理器或控制器,WiFi单元802可以是主通信接口,主通信接口为WiFi接口,WUR单元803可以是辅助唤醒接口,辅助唤醒接口为WUR接口。存储单元804可以是存储器。当处理单元801为处理器,WiFi单元802为主通信接口,WUR单元803为辅助唤醒接口,存储单元804为存储器时,本申请实施例所涉及的装置可以为图4所示的装置。The processing unit 801 can be a processor or a controller, the WiFi unit 802 can be a main communication interface, the main communication interface is a WiFi interface, the WUR unit 803 can be an auxiliary wake-up interface, and the auxiliary wake-up interface is a WUR interface. Storage unit 804 can be a memory. When the processing unit 801 is a processor, the WiFi unit 802 is a main communication interface, the WUR unit 803 is an auxiliary wake-up interface, and the storage unit 804 is a memory, the device involved in the embodiment of the present application may be the device shown in FIG.
当图4所示的装置为第一设备时,处理器403用于对第一设备的动作进行控制管理,例如,处理器403用于支持第一设备执行图5中的步骤501-503,或,图6中的步骤601-603,或,图7中的步骤701-702,和/或本申请实施例中所描述的其他过程中的第一设备执行的动作。主通信接口402和辅助唤醒接口401用于支持第一设备与其他网络设备通信,例如,与图5、图6或图7中的第二设备通信。存储器404用于存储 第一设备的程序代码和数据。When the device shown in FIG. 4 is the first device, the processor 403 is configured to perform control management on the action of the first device. For example, the processor 403 is configured to support the first device to perform steps 501-503 in FIG. 5, or Steps 601-603 in FIG. 6, or steps 701-702 in FIG. 7, and/or actions performed by the first device in other processes described in the embodiments of the present application. The primary communication interface 402 and the secondary wakeup interface 401 are used to support communication of the first device with other network devices, for example, with the second device of FIG. 5, FIG. 6, or FIG. The memory 404 is used to store program codes and data of the first device.
当图4所示的装置为第二设备时,处理器403用于对第二设备的动作进行控制管理,例如,处理器403用于支持第二设备执行图5中的步骤504-506,或,图6中的步骤604-606,或,图7中的步骤703-705,和/或本申请实施例中所描述的其他过程中的第二设备执行的动作。主通信接口402和辅助唤醒接口401用于支持第二设备与其他网络设备通信,例如,与图5、图6或图7中的第一设备通信。存储器404用于存储第二设备的程序代码和数据。When the device shown in FIG. 4 is the second device, the processor 403 is configured to perform control management on the action of the second device. For example, the processor 403 is configured to support the second device to perform steps 504-506 in FIG. 5, or Steps 604-606 in FIG. 6, or steps 703-705 in FIG. 7, and/or actions performed by the second device in other processes described in the embodiments of the present application. The primary communication interface 402 and the secondary wakeup interface 401 are configured to support communication of the second device with other network devices, for example, with the first device of FIG. 5, FIG. 6, or FIG. The memory 404 is used to store program codes and data of the second device.
本文中所涉及的通信装置的处理单元或处理器根据所述唤醒消息中的广播唤醒指示信息唤醒所述通信装置的WiFi单元或WiFi接口,可以是通信装置的处理单元或处理器直接或间接(如可以是通过该通信装置的WUR单元或WUR接口)地唤醒所述通信装置的WiFi单元或WiFi接口。The processing unit or processor of the communication device involved herein wakes up the WiFi unit or the WiFi interface of the communication device according to the broadcast wakeup indication information in the wakeup message, which may be the processing unit or the processor of the communication device directly or indirectly ( The WiFi unit or the WiFi interface of the communication device can be awake as if it were through the WUR unit or WUR interface of the communication device.
本申请实施例还提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述任一方法。The embodiment of the present application also provides a computer readable storage medium, including instructions, when executed on a computer, causing the computer to perform any of the above methods.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一方法。The embodiment of the present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform any of the above methods.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,简称DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,简称SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
本申请中,“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。In the present application, “and/or” describes the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, A and B exist at the same time, and B exists separately. , where A, B can be singular or plural. The character "/" generally indicates that the contextual object is an "or" relationship.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,“a,b,或c中的至少一项(个)”,或,“a,b,和c中的至少一项(个)”,均可以表示:a,b,c,a-b(即a和b),a-c,b-c,或a-b-c,其中a,b,c分别可以是单个,也可以是多个。In the present application, "at least one" means one or more, and "a plurality" means two or more. "At least one of the following" or a similar expression thereof refers to any combination of these items, including any combination of a single item or a plurality of items. For example, "at least one of "a, b, or c", or "at least one of "a, b, and c"" may mean: a, b, c, ab ( That is, a and b), ac, bc, or abc, wherein a, b, and c may be single or plural.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,部分或全部步骤可以并行执行或先后执行,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the serial numbers of the above processes does not mean the order of execution, and some or all of the steps may be performed in parallel or sequentially, and the execution order of each process shall be The intrinsic logic is determined without any limitation on the implementation process of the embodiments of the present application.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present application has been described herein in connection with the various embodiments, those skilled in the art can Other variations of the disclosed embodiments are achieved. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill several of the functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean that the measures are not combined to produce a good effect.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。While the present invention has been described in connection with the specific embodiments and embodiments thereof, various modifications and combinations can be made without departing from the spirit and scope of the application. Accordingly, the description and drawings are to be regarded as It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.
Claims (39)
- 一种用来唤醒设备的方法,其特征在于,包括:A method for waking up a device, comprising:第一设备通过所述第一设备的无线保真WiFi接口广播唤醒消息到与所述第一设备在同一网络中的至少两个设备,所述第一设备为所述网络中的接入点AP或组长GO,所述唤醒消息中包括广播唤醒指示信息,所述广播唤醒指示信息用于指示所述唤醒消息为广播的唤醒消息,所述唤醒消息用于指示通过唤醒无线电/唤醒接收机WUR接口接收到所述唤醒消息的设备唤醒自身的WiFi接口,所述至少两个设备的WUR接口处于所述至少两个设备各自的WUR接口的工作窗口,或者,所述至少两个设备的WUR接口处于所述第一设备的WiFi接口的工作窗口,或者,所述至少两个设备的WUR接口处于所述至少两个设备各自的WUR接口和所述第一设备的WiFi接口的重叠的工作窗口,所述工作窗口是指能够发送和/或接收信息的时间区间;The first device broadcasts a wakeup message to the at least two devices in the same network as the first device by using the wireless fidelity WiFi interface of the first device, where the first device is an access point AP in the network Or the group leader GO, the wake-up message includes broadcast wake-up indication information, the broadcast wake-up indication information is used to indicate that the wake-up message is a broadcast wake-up message, and the wake-up message is used to indicate that the wake-up radio/wake-up receiver WUR The device receiving the wake-up message wakes up the WiFi interface of the interface, the WUR interface of the at least two devices is in the working window of the WUR interface of the at least two devices, or the WUR interface of the at least two devices The working window of the WiFi interface of the first device, or the WUR interface of the at least two devices is in an overlapping working window of the WUR interface of the at least two devices and the WiFi interface of the first device, The working window refers to a time interval in which information can be transmitted and/or received;所述第一设备在预定时间通过所述第一设备的WiFi接口发送WiFi多播消息到所述至少两个设备。The first device sends a WiFi multicast message to the at least two devices through a WiFi interface of the first device at a predetermined time.
- 根据权利要求1所述的方法,其特征在于,所述唤醒消息中还包括其他信息,所述其他信息为以下信息中的至少一种:第一指示信息,第二指示信息,所述网络的网络标识信息,所述第一设备的设备标识信息,和所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道;The method according to claim 1, wherein the wake-up message further includes other information, and the other information is at least one of the following: first indication information, second indication information, and network Network identification information, device identification information of the first device, and a working channel used by the WiFi interface of the first device to send the WiFi multicast message;其中,所述第一指示信息用于指示所述第一设备将通过所述第一设备的WiFi接口发送所述WiFi多播消息;所述第二指示信息用于指示所述第一设备将发送更新的BSS参数,或者,所述第二指示信息用于指示所述网络的BSS参数发生了更新。The first indication information is used to indicate that the first device sends the WiFi multicast message through the WiFi interface of the first device, and the second indication information is used to indicate that the first device sends The updated BSS parameter, or the second indication information is used to indicate that the BSS parameter of the network is updated.
- 根据权利要求2所述的方法,其特征在于,所述其他信息至少包括所述第二指示信息,所述WiFi多播消息中包括更新的所述BSS参数。The method according to claim 2, wherein the other information comprises at least the second indication information, and the WiFi multicast message includes the updated BSS parameter.
- 根据权利要求1-3任一项所述的方法,其特征在于,所述广播唤醒指示信息为所述第一设备的设备标识信息。The method according to any one of claims 1-3, wherein the broadcast wakeup indication information is device identification information of the first device.
- 根据权利要求1-4任一项所述的方法,其特征在于,所述广播唤醒指示信息位于所述唤醒消息的地址域。The method according to any one of claims 1 to 4, wherein the broadcast wakeup indication information is located in an address field of the wakeup message.
- 根据权利要求1-5任一项所述的方法,其特征在于,所述唤醒消息还包括时间指示信息,所述时间指示信息用于指示所述预定时间。The method according to any one of claims 1 to 5, wherein the wakeup message further comprises time indication information, the time indication information being used to indicate the predetermined time.
- 一种用来唤醒设备的方法,其特征在于,包括:A method for waking up a device, comprising:第二设备通过所述第二设备的唤醒无线电/唤醒接收机WUR接口接收第一设备通过所述第一设备的无线保真WiFi接口广播的唤醒消息,所述第二设备与所述第一设备在同一网络中,所述第一设备为所述网络中的接入点AP或组长GO,所述唤醒消息中包括广播唤醒指示信息,所述广播唤醒指示信息用于指示所述唤醒消息为广播的唤醒消息,所述第二设备的WUR接口处于所述第二设备的WUR接口的工作窗口,或者,所述第二设备的WUR接口处于所述第一设备的WiFi接口的工作窗口,或者,所述第二设备的WUR接口处于所述第二设备的WUR接口和所述第一设备的WiFi接口的重叠的工作窗口,所述工作窗口是指能够发送和/或接收信息的时间区间;Receiving, by the second device, a wake-up message broadcast by the first device through the wireless fidelity WiFi interface of the first device by using a wake-up radio/wake-up receiver WUR interface of the second device, the second device and the first device In the same network, the first device is an access point AP or a group length GO in the network, and the wake-up message includes broadcast wake-up indication information, where the broadcast wake-up indication information is used to indicate that the wake-up message is a wake-up message of the broadcast, the WUR interface of the second device is in a working window of the WUR interface of the second device, or the WUR interface of the second device is in a working window of the WiFi interface of the first device, or The WUR interface of the second device is in an overlapping working window of the WUR interface of the second device and the WiFi interface of the first device, where the working window refers to a time interval capable of transmitting and/or receiving information;所述第二设备根据所述唤醒消息中的广播唤醒指示信息唤醒所述第二设备的WiFi接口;The second device wakes up the WiFi interface of the second device according to the broadcast wakeup indication information in the wakeup message;所述第二设备在预定时间通过所述第二设备的WiFi接口接收所述第一设备通过所述第一设备的WiFi接口发送的WiFi多播消息。The second device receives, by using a WiFi interface of the second device, a WiFi multicast message sent by the first device by using a WiFi interface of the first device.
- 根据权利要求7所述的方法,其特征在于,所述唤醒消息中还包括其他信息,所述其他信息为以下信息中的至少一种:第一指示信息,第二指示信息,所述网络的网络标识信息,所述第一设备的设备标识信息,所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道;其中,所述第一指示信息用于指示所述第一设备将通过所述第一设备的WiFi接口发送所述WiFi多播消息;所述第二指示信息用于指示所述第一设备将发送更新的BSS参数,或者,所述第二指示信息用于指示所述网络的BSS参数发生了更新;The method according to claim 7, wherein the wake-up message further includes other information, and the other information is at least one of the following: first indication information, second indication information, and network Network identification information, the device identification information of the first device, the working channel used by the WiFi interface of the first device to send the WiFi multicast message, where the first indication information is used to indicate the first The device sends the WiFi multicast message through the WiFi interface of the first device; the second indication information is used to indicate that the first device will send updated BSS parameters, or the second indication information is used for Instructing that the BSS parameters of the network are updated;所述第二设备根据所述唤醒消息中的广播唤醒指示信息唤醒所述第二设备的WiFi接口,包括:The waking up the WiFi interface of the second device by the second device according to the broadcast wakeup indication information in the wakeup message, including:所述第二设备根据所述唤醒消息中的广播唤醒指示信息和所述唤醒消息中的其他信息唤醒所述第二设备的WiFi接口。The second device wakes up the WiFi interface of the second device according to the broadcast wakeup indication information in the wakeup message and other information in the wakeup message.
- 根据权利要求8所述的方法,其特征在于,所述其他信息至少包括所述第二指示信息,所述WiFi多播消息中包括更新的所述BSS参数。The method according to claim 8, wherein the other information comprises at least the second indication information, and the WiFi multicast message includes the updated BSS parameter.
- 根据权利要求7-9任一项所述的方法,其特征在于,所述广播唤醒指示信息为所述第一设备的设备标识信息。The method according to any one of claims 7-9, wherein the broadcast wakeup indication information is device identification information of the first device.
- 根据权利要求7-10任一项所述的方法,其特征在于,所述广播唤醒指示信息位于所述唤醒消息的地址域。The method according to any one of claims 7 to 10, wherein the broadcast wakeup indication information is located in an address field of the wakeup message.
- 根据权利要求7-11任一项所述的方法,其特征在于,所述唤醒消息还包括时间指示信息,所述时间指示信息用于指示所述预定时间;在所述第二设备在预定时间通过所述第二设备的WiFi接口接收所述第一设备通过所述第一设备的WiFi接口发送的WiFi多播消息之前,所述方法还包括:The method according to any one of claims 7 to 11, wherein the wake-up message further includes time indication information, the time indication information is used to indicate the predetermined time; and the second device is at a predetermined time Before the receiving, by the WiFi interface of the second device, the WiFi multicast message sent by the first device by using the WiFi interface of the first device, the method further includes:所述第二设备根据所述时间指示信息确定所述预定时间。The second device determines the predetermined time according to the time indication information.
- 根据权利要求8所述的方法,其特征在于,所述其他信息至少包括所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道,所述方法还包括:The method according to claim 8, wherein the other information includes at least a working channel used by the WiFi interface of the first device to send the WiFi multicast message, the method further comprising:所述第二设备调整所述第二设备的WiFi接口的工作信道为所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道。The second device adjusts a working channel of the WiFi interface of the second device to use a working channel used by the WiFi interface of the first device to send the WiFi multicast message.
- 一种通信装置,其特征在于,包括:处理单元和无线保真WiFi单元;A communication device, comprising: a processing unit and a wireless fidelity WiFi unit;所述处理单元,用于通过所述通信装置的WiFi单元广播唤醒消息到与所述通信装置在同一网络中的至少两个设备,所述通信装置为所述网络中的接入点AP或组长GO,所述唤醒消息中包括广播唤醒指示信息,所述广播唤醒指示信息用于指示所述唤醒消息为广播的唤醒消息,所述唤醒消息用于指示通过唤醒无线电/唤醒接收机WUR单元接收到所述唤醒消息的设备唤醒自身的WiFi单元,所述至少两个设备的WUR单元处于所述至少两个设备各自的WUR单元的工作窗口,或者,所述至少两个设备的WUR单元处于所述通信装置的WiFi单元的工作窗口,或者,所述至少两个设备的WUR单元处于所述至少两个设备各自的WUR单元和所述通信装置的WiFi单元的重叠的工作窗口,所述工作窗口是指能够发送和/或接收信息的时间区间;The processing unit is configured to broadcast, by using a WiFi unit of the communication device, a wake-up message to at least two devices in the same network as the communication device, where the communication device is an access point AP or group in the network a long GO, the wake-up message includes broadcast wake-up indication information, the broadcast wake-up indication information is used to indicate that the wake-up message is a broadcast wake-up message, and the wake-up message is used to indicate that the wake-up radio/wake-up receiver WUR unit receives The device to the wake-up message wakes up its own WiFi unit, the WUR unit of the at least two devices is in the working window of the WUR unit of the at least two devices, or the WUR unit of the at least two devices is in the a working window of a WiFi unit of the communication device, or the WUR unit of the at least two devices is in an overlapping working window of a WUR unit of the at least two devices and a WiFi unit of the communication device, the working window Means the time interval during which information can be sent and/or received;所述处理单元,还用于在预定时间通过所述通信装置的WiFi单元发送WiFi多播消息 到所述至少两个设备。The processing unit is further configured to send a WiFi multicast message to the at least two devices by using a WiFi unit of the communication device at a predetermined time.
- 根据权利要求14所述的装置,其特征在于,所述唤醒消息中还包括其他信息,所述其他信息为以下信息中的至少一种:第一指示信息,第二指示信息,所述网络的网络标识信息,所述通信装置的设备标识信息,所述通信装置的WiFi单元发送所述WiFi多播消息所使用的工作信道;The device according to claim 14, wherein the wake-up message further includes other information, and the other information is at least one of the following: first indication information, second indication information, and information of the network. Network identification information, device identification information of the communication device, a working channel used by the WiFi unit of the communication device to send the WiFi multicast message;其中,所述第一指示信息用于指示所述通信装置将通过所述通信装置的WiFi单元发送所述WiFi多播消息;所述第二指示信息用于指示所述通信装置将发送更新的BSS参数,或者,所述第二指示信息用于指示所述网络的BSS参数发生了更新。The first indication information is used to indicate that the communication device will send the WiFi multicast message through a WiFi unit of the communication device; the second indication information is used to indicate that the communication device will send an updated BSS The parameter, or the second indication information is used to indicate that the BSS parameter of the network is updated.
- 根据权利要求15所述的装置,其特征在于,所述其他信息至少包括所述第二指示信息,所述WiFi多播消息中包括更新的所述BSS参数。The apparatus according to claim 15, wherein said other information comprises at least said second indication information, and said WiFi multicast message includes said updated BSS parameters.
- 根据权利要求14-16任一项所述的装置,其特征在于,所述广播唤醒指示信息为所述通信装置的设备标识信息。The apparatus according to any one of claims 14-16, wherein the broadcast wakeup indication information is device identification information of the communication device.
- 根据权利要求14-17任一项所述的装置,其特征在于,所述广播唤醒指示信息位于所述唤醒消息的地址域。The apparatus according to any one of claims 14-17, wherein the broadcast wakeup indication information is located in an address field of the wakeup message.
- 根据权利要求14-18任一项所述的装置,其特征在于,所述唤醒消息还包括时间指示信息,所述时间指示信息用于指示所述预定时间。The apparatus according to any one of claims 14-18, wherein the wake-up message further comprises time indication information, the time indication information being used to indicate the predetermined time.
- 一种通信装置,其特征在于,包括:处理单元,唤醒无线电/唤醒接收机WUR单元和无线保真WiFi单元;A communication device, comprising: a processing unit, a wake-up radio/wake-up receiver WUR unit and a wireless fidelity WiFi unit;所述处理单元,用于通过所述通信装置的WUR单元接收第一设备通过所述第一设备的WiFi单元广播的唤醒消息,所述通信装置与所述第一设备在同一网络中,所述第一设备为所述网络中的接入点AP或组长GO,所述唤醒消息中包括广播唤醒指示信息,所述广播唤醒指示信息用于指示所述唤醒消息为广播的唤醒消息,所述通信装置的WUR单元处于所述通信装置的WUR单元的工作窗口,或者,所述通信装置的WUR单元处于所述第一设备的WiFi单元的工作窗口,或者,所述通信装置的WUR单元处于所述通信装置的WUR单元和所述第一设备的WiFi单元的重叠的工作窗口,所述工作窗口是指能够发送和/或接收信息的时间区间;The processing unit is configured to receive, by using a WUR unit of the communication device, a wake-up message broadcast by the first device by using a WiFi unit of the first device, where the communication device is in the same network as the first device, The first device is an access point AP or a group length GO in the network, and the wake-up message includes broadcast wake-up indication information, where the broadcast wake-up indication information is used to indicate that the wake-up message is a broadcast wake-up message, The WUR unit of the communication device is in the working window of the WUR unit of the communication device, or the WUR unit of the communication device is in the working window of the WiFi unit of the first device, or the WUR unit of the communication device is in the An overlapping working window of a WUR unit of the communication device and a WiFi unit of the first device, the working window being a time interval capable of transmitting and/or receiving information;所述处理单元,还用于根据所述唤醒消息中的广播唤醒指示信息唤醒所述通信装置的WiFi单元;The processing unit is further configured to wake up the WiFi unit of the communication device according to the broadcast wakeup indication information in the wakeup message;所述处理单元,还用于在预定时间通过所述通信装置的WiFi单元接收所述第一设备通过所述第一设备的WiFi单元发送的WiFi多播消息。The processing unit is further configured to receive, by using a WiFi unit of the communication device, a WiFi multicast message sent by the first device by using a WiFi unit of the first device at a predetermined time.
- 根据权利要求20所述的装置,其特征在于,所述唤醒消息中还包括其他信息,所述其他信息为以下信息中的至少一种:第一指示信息,第二指示信息,所述网络的网络标识信息,所述第一设备的设备标识信息,和所述第一设备的WiFi单元发送所述WiFi多播消息所使用的工作信道;其中,所述第一指示信息用于指示所述第一设备将通过所述第一设备的WiFi单元发送所述WiFi多播消息;所述第二指示信息用于指示所述第一设备将发送更新的BSS参数,或者,所述第二指示信息用于指示所述网络的BSS参数发生了更新;The device according to claim 20, wherein the wake-up message further includes other information, and the other information is at least one of the following: first indication information, second indication information, and information of the network. Network identification information, device identification information of the first device, and a working channel used by the WiFi unit of the first device to send the WiFi multicast message; wherein the first indication information is used to indicate the first The device may send the WiFi multicast message by using a WiFi unit of the first device; the second indication information is used to indicate that the first device will send updated BSS parameters, or the second indication information is used by Instructing the BSS parameter of the network to be updated;所述处理单元,具体用于根据所述唤醒消息中的广播唤醒指示信息和所述唤醒消息中的其他信息唤醒所述通信装置的WiFi单元。The processing unit is specifically configured to wake up the WiFi unit of the communication device according to the broadcast wakeup indication information in the wakeup message and other information in the wakeup message.
- 根据权利要求21所述的装置,其特征在于,所述其他信息至少包括所述第二指示信息,所述WiFi多播消息中包括更新的所述BSS参数。The apparatus according to claim 21, wherein said other information comprises at least said second indication information, and said WiFi multicast message includes said updated BSS parameters.
- 根据权利要求20-22任一项所述的装置,其特征在于,所述广播唤醒指示信息为所述第一设备的设备标识信息。The device according to any one of claims 20 to 22, wherein the broadcast wakeup indication information is device identification information of the first device.
- 根据权利要求20-23任一项所述的装置,其特征在于,所述广播唤醒指示信息位于所述唤醒消息的地址域。The apparatus according to any one of claims 20 to 23, wherein the broadcast wakeup indication information is located in an address field of the wakeup message.
- 根据权利要求20-24任一项所述的装置,其特征在于,所述唤醒消息还包括时间指示信息,所述时间指示信息用于指示所述预定时间;The device according to any one of claims 20 to 24, wherein the wake-up message further includes time indication information, the time indication information is used to indicate the predetermined time;所述处理单元,还用于根据所述时间指示信息确定所述预定时间。The processing unit is further configured to determine the predetermined time according to the time indication information.
- 根据权利要求21所述的装置,其特征在于,所述其他信息至少包括所述第一设备的WiFi单元发送所述WiFi多播消息所使用的工作信道;The device according to claim 21, wherein the other information comprises at least a working channel used by a WiFi unit of the first device to send the WiFi multicast message;所述处理单元,还用于调整所述通信装置的WiFi单元的工作信道为所述第一设备的WiFi单元发送所述WiFi多播消息所使用的工作信道。The processing unit is further configured to adjust a working channel of the WiFi unit of the communication device to use a working channel used by the WiFi unit of the first device to send the WiFi multicast message.
- 一种通信装置,其特征在于,包括:处理器和无线保真WiFi接口;A communication device, comprising: a processor and a wireless fidelity WiFi interface;所述处理器,用于通过所述通信装置的WiFi接口广播唤醒消息到与所述通信装置在同一网络中的至少两个设备,所述通信装置为所述网络中的接入点AP或组长GO,所述唤醒消息中包括广播唤醒指示信息,所述广播唤醒指示信息用于指示所述唤醒消息为广播的唤醒消息,所述唤醒消息用于指示通过WUR接口接收到所述唤醒消息的设备唤醒自身的WiFi接口,所述至少两个设备的WUR接口处于所述至少两个设备各自的WUR接口的工作窗口,或者,所述至少两个设备的WUR接口处于所述通信装置的WiFi接口的工作窗口,或者,所述至少两个设备的WUR接口处于所述至少两个设备各自的WUR接口和所述通信装置的WiFi接口的重叠的工作窗口,所述工作窗口是指能够发送和/或接收信息的时间区间;The processor, configured to broadcast, by using a WiFi interface of the communication device, a wake-up message to at least two devices in the same network as the communication device, where the communication device is an access point AP or group in the network a long GO, the wake-up message includes broadcast wake-up indication information, the broadcast wake-up indication information is used to indicate that the wake-up message is a broadcast wake-up message, and the wake-up message is used to indicate that the wake-up message is received through the WUR interface. The device wakes up its own WiFi interface, the WUR interface of the at least two devices is in a working window of the WUR interface of the at least two devices, or the WUR interface of the at least two devices is in the WiFi interface of the communication device Working window, or the WUR interface of the at least two devices is in an overlapping working window of a respective WUR interface of the at least two devices and a WiFi interface of the communication device, the working window being capable of transmitting and/or Or the time interval in which the information is received;所述处理器,还用于在预定时间通过所述通信装置的WiFi接口发送WiFi多播消息到所述至少两个设备。The processor is further configured to send a WiFi multicast message to the at least two devices through a WiFi interface of the communication device at a predetermined time.
- 根据权利要求27所述的装置,其特征在于,所述唤醒消息中还包括其他信息,所述其他信息为以下信息中的至少一种:第一指示信息,第二指示信息,所述网络的网络标识信息,所述通信装置的设备标识信息,所述通信装置的WiFi接口发送所述WiFi多播消息所使用的工作信道;The device according to claim 27, wherein the wake-up message further includes other information, and the other information is at least one of the following: first indication information, second indication information, and information of the network. Network identification information, device identification information of the communication device, a working channel used by the WiFi interface of the communication device to send the WiFi multicast message;其中,所述第一指示信息用于指示所述通信装置将通过所述通信装置的WiFi接口发送所述WiFi多播消息;所述第二指示信息用于指示所述通信装置将发送更新的BSS参数,或者,所述第二指示信息用于指示所述网络的BSS参数发生了更新。The first indication information is used to indicate that the communication device will send the WiFi multicast message through a WiFi interface of the communication device; the second indication information is used to indicate that the communication device will send an updated BSS The parameter, or the second indication information is used to indicate that the BSS parameter of the network is updated.
- 根据权利要求28所述的装置,其特征在于,所述其他信息至少包括所述第二指示信息,所述WiFi多播消息中包括更新的所述BSS参数。The apparatus according to claim 28, wherein said other information comprises at least said second indication information, and said WiFi multicast message includes said updated BSS parameters.
- 根据权利要求27-29任一项所述的装置,其特征在于,所述广播唤醒指示信息为所述通信装置的设备标识信息。The apparatus according to any one of claims 27-29, wherein the broadcast wakeup indication information is device identification information of the communication device.
- 根据权利要求27-30任一项所述的装置,其特征在于,所述广播唤醒指示信息位于所述唤醒消息的地址域。The apparatus according to any one of claims 27-30, wherein the broadcast wakeup indication information is located in an address field of the wakeup message.
- 根据权利要求27-31任一项所述的装置,其特征在于,所述唤醒消息还包括时间 指示信息,所述时间指示信息用于指示所述预定时间。The apparatus according to any one of claims 27-31, wherein the wake-up message further comprises time indication information, the time indication information being used to indicate the predetermined time.
- 一种通信装置,其特征在于,包括:处理器、无线保真WiFi接口和唤醒无线电/唤醒接收机WUR接口;A communication device, comprising: a processor, a wireless fidelity WiFi interface, and a wake-up radio/wake-up receiver WUR interface;所述处理器,用于通过所述通信装置的WUR接口接收第一设备通过所述第一设备的WiFi接口广播的唤醒消息,所述通信装置与所述第一设备在同一网络中,所述第一设备为所述网络中的接入点AP或组长GO,所述唤醒消息中包括广播唤醒指示信息,所述广播唤醒指示信息用于指示所述唤醒消息为广播的唤醒消息,所述通信装置的WUR接口处于所述通信装置的WUR接口的工作窗口,或者,所述通信装置的WUR接口处于所述第一设备的WiFi接口的工作窗口,或者,所述通信装置的WUR接口处于所述通信装置的WUR接口和所述第一设备的WiFi接口的重叠的工作窗口,所述工作窗口是指能够发送和/或接收信息的时间区间;The processor is configured to receive, by using a WUR interface of the communication device, a wake-up message broadcast by the first device by using a WiFi interface of the first device, where the communication device is in the same network as the first device, The first device is an access point AP or a group length GO in the network, and the wake-up message includes broadcast wake-up indication information, where the broadcast wake-up indication information is used to indicate that the wake-up message is a broadcast wake-up message, The WUR interface of the communication device is in the working window of the WUR interface of the communication device, or the WUR interface of the communication device is in the working window of the WiFi interface of the first device, or the WUR interface of the communication device is in the An overlapping working window of a WUR interface of the communication device and a WiFi interface of the first device, the working window being a time interval capable of transmitting and/or receiving information;所述处理器,还用于根据所述唤醒消息中的广播唤醒指示信息唤醒所述通信装置的WiFi接口;The processor is further configured to wake up a WiFi interface of the communication device according to the broadcast wakeup indication information in the wakeup message;所述处理器,还用于在预定时间通过所述通信装置的WiFi接口接收所述第一设备通过所述第一设备的WiFi接口发送的WiFi多播消息。The processor is further configured to receive, by using a WiFi interface of the communication device, a WiFi multicast message sent by the first device by using a WiFi interface of the first device at a predetermined time.
- 根据权利要求33所述的装置,其特征在于,所述唤醒消息中还包括其他信息,所述其他信息为以下信息中的至少一种:第一指示信息,第二指示信息,所述网络的网络标识信息,所述第一设备的设备标识信息,所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道;其中,所述第一指示信息用于指示所述第一设备将通过所述第一设备的WiFi接口发送所述WiFi多播消息;所述第二指示信息用于指示所述第一设备将发送更新的BSS参数,或者,所述第二指示信息用于指示所述网络的BSS参数发生了更新;The device according to claim 33, wherein the wakeup message further includes other information, wherein the other information is at least one of the following: first indication information, second indication information, and network Network identification information, the device identification information of the first device, the working channel used by the WiFi interface of the first device to send the WiFi multicast message, where the first indication information is used to indicate the first The device sends the WiFi multicast message through the WiFi interface of the first device; the second indication information is used to indicate that the first device will send updated BSS parameters, or the second indication information is used for Instructing that the BSS parameters of the network are updated;所述处理器,具体用于根据所述唤醒消息中的广播唤醒指示信息和所述唤醒消息中的其他信息唤醒所述通信装置的WiFi接口。The processor is specifically configured to wake up a WiFi interface of the communication device according to the broadcast wakeup indication information in the wakeup message and other information in the wakeup message.
- 根据权利要求34所述的装置,其特征在于,所述其他信息至少包括所述第二指示信息,所述WiFi多播消息中包括更新的所述BSS参数。The apparatus according to claim 34, wherein said other information comprises at least said second indication information, and said WiFi multicast message includes said updated BSS parameters.
- 根据权利要求33-35任一项所述的装置,其特征在于,所述广播唤醒指示信息为所述第一设备的设备标识信息。The device according to any one of claims 33 to 35, wherein the broadcast wakeup indication information is device identification information of the first device.
- 根据权利要求33-36任一项所述的装置,其特征在于,所述广播唤醒指示信息位于所述唤醒消息的地址域。The apparatus according to any one of claims 33-36, wherein the broadcast wakeup indication information is located in an address field of the wakeup message.
- 根据权利要求33-37任一项所述的装置,其特征在于,所述唤醒消息还包括时间指示信息,所述时间指示信息用于指示所述预定时间;The device according to any one of claims 33 to 37, wherein the wake-up message further includes time indication information, the time indication information is used to indicate the predetermined time;所述处理器,还用于根据所述时间指示信息确定所述预定时间。The processor is further configured to determine the predetermined time according to the time indication information.
- 根据权利要求34所述的装置,其特征在于,所述其他信息至少包括所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道;The device according to claim 34, wherein the other information comprises at least a working channel used by the WiFi interface of the first device to send the WiFi multicast message;所述处理器,还用于调整所述通信装置的WiFi接口的工作信道为所述第一设备的WiFi接口发送所述WiFi多播消息所使用的工作信道。The processor is further configured to adjust a working channel used by the working channel of the WiFi interface of the communication device to send the WiFi multicast message to a WiFi interface of the first device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201880003101.0A CN109565751B (en) | 2017-03-20 | 2018-03-20 | Method and device for waking up equipment |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710166585.8 | 2017-03-20 | ||
CN201710166585 | 2017-03-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018171591A1 true WO2018171591A1 (en) | 2018-09-27 |
Family
ID=63584175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/079671 WO2018171591A1 (en) | 2017-03-20 | 2018-03-20 | Method and apparatus for waking up device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109565751B (en) |
WO (1) | WO2018171591A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023216985A1 (en) * | 2022-05-09 | 2023-11-16 | 维沃移动通信有限公司 | Signal monitoring method, configuration method, signal monitoring apparatus, terminal and network side device |
WO2024140382A1 (en) * | 2022-12-28 | 2024-07-04 | 维沃移动通信有限公司 | Communication operation execution method and apparatus, and terminal |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112383953B (en) * | 2020-12-08 | 2024-07-30 | 北京必创科技股份有限公司 | Portable networking assisting device and wireless sensor networking system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104322006A (en) * | 2012-03-27 | 2015-01-28 | 英特尔公司 | Wireless wake-up device for cellular module |
CN105813179A (en) * | 2014-12-31 | 2016-07-27 | 华为技术有限公司 | Method, device and equipment of batch wake-up equipment |
WO2016186738A1 (en) * | 2015-05-17 | 2016-11-24 | Intel Corporation | Apparatus, system and method of communicating a wakeup packet |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8811247B2 (en) * | 2010-06-25 | 2014-08-19 | Cisco Technology, Inc. | Automating radio enablement to facilitate power saving |
US9317105B2 (en) * | 2013-01-09 | 2016-04-19 | Htc Corporation | Method for performing application wake-up management for a portable device by classifying one application wake-up event of a plurality of application wake-up events as a triggering event for the other application wake-up events |
CN103974391A (en) * | 2013-02-04 | 2014-08-06 | 华为终端有限公司 | Device wake-up method and device |
US9736779B2 (en) * | 2015-06-26 | 2017-08-15 | Intel Corporation | Techniques for mobile platform power management using low-power wake-up signals |
-
2018
- 2018-03-20 CN CN201880003101.0A patent/CN109565751B/en active Active
- 2018-03-20 WO PCT/CN2018/079671 patent/WO2018171591A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104322006A (en) * | 2012-03-27 | 2015-01-28 | 英特尔公司 | Wireless wake-up device for cellular module |
CN105813179A (en) * | 2014-12-31 | 2016-07-27 | 华为技术有限公司 | Method, device and equipment of batch wake-up equipment |
WO2016186738A1 (en) * | 2015-05-17 | 2016-11-24 | Intel Corporation | Apparatus, system and method of communicating a wakeup packet |
Non-Patent Citations (1)
Title |
---|
KAMALINEJAD, P. ET AL.: "Wireless Energy Harvesting for the Internet of Things", IEEE COMMUNICATIONS MAGAZINE, vol. 53, no. 6, 30 June 2015 (2015-06-30), pages 102 - 108, XP011583768 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023216985A1 (en) * | 2022-05-09 | 2023-11-16 | 维沃移动通信有限公司 | Signal monitoring method, configuration method, signal monitoring apparatus, terminal and network side device |
WO2024140382A1 (en) * | 2022-12-28 | 2024-07-04 | 维沃移动通信有限公司 | Communication operation execution method and apparatus, and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109565751A (en) | 2019-04-02 |
CN109565751B (en) | 2021-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11252667B2 (en) | Control information transmission method and apparatus | |
EP3566341B1 (en) | Waking up a dozing wireless device | |
CN107454665B (en) | Methods and apparatus for low power wake-up signal and operation for WLAN | |
US10609644B2 (en) | Low power receiver for wireless communication | |
US10104617B2 (en) | Power save mode-based operating method and device in WLAN | |
US10986572B2 (en) | Device and method of transmitting wake-up frames | |
CN107820305B (en) | Method and device for transmitting WUR message | |
WO2018171591A1 (en) | Method and apparatus for waking up device | |
CN109565749B (en) | Determination method, device and equipment of dormancy mechanism | |
WO2019192456A1 (en) | Configuration information indication method and communication device | |
WO2018177266A1 (en) | Data transmission method and apparatus | |
US11582692B2 (en) | Method for communication in wireless LAN system and wireless terminal using same | |
US11172445B2 (en) | Method for transmitting wake-up packet using identification change process in wireless LAN system and apparatus therefor | |
CN109526254B (en) | Method and equipment for transmitting WiFi information and WUR information | |
US20200351773A1 (en) | Method for communicating in wireless lan system and wireless terminal using same | |
WO2018094942A1 (en) | Information transmission method and station and access point | |
WO2018171087A1 (en) | Wireless wake up method, control device and station device | |
KR20190117401A (en) | Device and method for bloom filter aided wake up radio multicasting | |
WO2018094921A1 (en) | Message processing method and apparatus | |
WO2024169801A1 (en) | Signal transmission method and communication apparatus | |
CN109246729B (en) | Communication method and communication device, access point equipment and station equipment | |
WO2018090741A1 (en) | Signal processing method and device | |
WO2018086387A1 (en) | Communication method and wireless device |
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: 18772357 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: 18772357 Country of ref document: EP Kind code of ref document: A1 |