WO2018157437A1 - Method and device for waking up wireless device - Google Patents
Method and device for waking up wireless device Download PDFInfo
- Publication number
- WO2018157437A1 WO2018157437A1 PCT/CN2017/079385 CN2017079385W WO2018157437A1 WO 2018157437 A1 WO2018157437 A1 WO 2018157437A1 CN 2017079385 W CN2017079385 W CN 2017079385W WO 2018157437 A1 WO2018157437 A1 WO 2018157437A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wireless device
- information
- wake
- message
- communication interface
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving 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/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 power saving command
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
-
- 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 device for waking up a wireless device.
- Wi-Fi Wireless Fidelity
- the IEEE 802.11 standard organization proposes an ultra-low power wake-up radio/receiver (Wake- that can reduce the average power consumption of Wi-Fi communication technology while realizing on-demand real-time data transmission (Wake- Up Radio/Receiver, WUR) technology.
- WUR Wi- Up Radio/Receiver
- the WUR technology refers to adding a WUR module to the device.
- the device's main communication module for example, a Wi-Fi module
- the WUR module is turned on for ultra low power detection. listen.
- an access point is a wake-up device
- a station Station, STA
- the WUR module of the STA is in a working state
- the WUR message sent by the AP can be monitored, and the STA's main communication module is (such as Wi-Fi module) is in a sleep state.
- the AP may first send a WUR message to the WUR module of the STA. After the WUR module of the STA receives the WUR message, if the WUR message is determined.
- the receiver address matches the address of the WUR of the STA, and the WUR message is correct and true, and a wake-up signal can be sent to the STA's main communication module to wake up the STA's main communication module.
- the AP may send a WUR message carrying bitmap information to the WUR module of the multiple STAs.
- Each bit in the picture information corresponds to one STA; after receiving the WUP carrying the bitmap information, the STA can determine whether the value of the bit corresponding to the STA in the bitmap information is a preset value (eg, Whether the bit corresponding to the STA is set to "1"), if the STA determines that the value of the bit corresponding to the STA is a preset value (such as a bit position "1" corresponding to the STA), a wake-up signal may be sent to The STA's main communication module to wake up the STA's main communication module.
- some malicious devices may be masquerading as APs, and the simulated AP sends a WUR message carrying bitmap information to multiple STAs, and may simply or partially set the bits of the bitmap information. "1", so that the main communication module of a large number of STAs can be easily awake at the same time, which causes a large number of STAs to be maliciously awake by the malicious device, resulting in an increase in the wake-up device STA. Unnecessary waste of power consumption reduces the battery life of the device being woken up. Moreover, after the main communication module of a large number of STAs is awake maliciously, the STAs will compete to send uplink messages on the air interface, causing congestion of the air interface and waste of air interface resources.
- the present application provides a method and a device for waking up a wireless device, which can improve the security of the STA being awake by the AP, and prevent the STA from being maliciously awake by the malicious device and consuming unnecessary power consumption.
- the present application provides a method for waking up a wireless device, including: transmitting, by a first wireless device, a first wake-up message carrying first identification information to a first communication interface of multiple devices in a broadcast manner or a multicast manner,
- the first identification information is used to identify at least one of the plurality of devices, including the second wireless device, where the first wake-up message is used to indicate that the first communication interface of the device identified by the first identification information needs to be located a working state to receive a second wake-up message sent by the first wireless device;
- the first wireless device after transmitting the first wake-up message, to at least one device of the at least one device including the second wireless device
- the first communication interface sends a second wake-up message carrying the second identifier information, where the second identifier information is used to identify the device that the first wireless device is to wake up, and the device that the first wireless device is to wake up includes the second wireless device.
- the second wake-up message is used to indicate that the device identified by the second identifier information
- the first wireless device (such as an AP) may use the first wake-up message and the second wake-up message to indicate that multiple devices including the second wireless device (such as STA) wake up their second communication interface.
- the second wireless device after receiving the first wake-up message, the second wireless device cannot determine whether to wake up the second communication interface of the second wireless device, wait for receiving the second wake-up message, and then according to the received second wake-up message. Determining whether to wake up the second communication interface of the second wireless device; instead of directly waking up the second wireless device according to the value of the corresponding bit in the bitmap information carried by the wake-up message after receiving a wake-up message The second communication interface.
- Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
- the first identifier information includes first bitmap information, where the first bitmap information includes at least two bits, and at least the first bitmap information Two bits are in one-to-one correspondence with each of the at least two groups of the plurality of devices, each of the at least two groups of devices includes at least one device, and the first identification information is used to identify
- the device in the first bitmap information is a device group corresponding to the first preset value
- the second wireless device is a device corresponding to the first preset value in the first bitmap information.
- the second identifier information includes second bitmap information, where the second bitmap information includes at least two bits, and at least two of the second bitmap information and the first bitmap information have a value of the first value.
- the devices in the device group corresponding to the preset value bits are in one-to-one correspondence, and the second identifier information is used to identify the device corresponding to the second preset value in the second bitmap information.
- each bit in the first bitmap information may correspond to a group of devices.
- the first wireless device such as an AP
- the second wake-up device can reduce the amount of data carried in the first wake-up message without carrying more identification information in the first wake-up message.
- the first wake-up message can be transmitted to the second wireless device (such as STA) faster, and the second wireless device can control the first communication earlier.
- the interface remains active or switched from active to sleep.
- each bit in the second bitmap information may correspond to one device in the device group.
- the first wireless device such as an AP
- the second wake-up message needs to carry more identifier information, which can reduce the amount of data carried in the second wake-up message.
- the second wake-up message can be transmitted to the second wireless device faster, and the STA can wake up its second communication interface earlier.
- the foregoing first identifier information includes group address information of a device group where the second wireless device is located.
- the second identifier information includes third bitmap information, where the third bitmap information includes at least two bits, and at least two bits in the third bitmap information are in the device group in which the second wireless device is located.
- the second identification information is used to identify the device corresponding to the second preset value in the third bitmap information.
- the first wireless device when the first wireless device (such as an AP) wants to wake up multiple devices (such as STAs) in a device group, the first wireless device may send the device to the multiple devices including the device group.
- the first wake-up message of the group's group address information Since the group address information of one device group is smaller than the identification information of multiple devices in the device group (such as the device identifier of the STA or the interface identifier of the WUR interface of the STA); therefore, the first wireless device is directed to one device.
- a plurality of devices in the group send the first wake-up message carrying the group address information of the device group, which not only identifies the device group, but also reduces the amount of data carried in the first wake-up message.
- the first wake-up message can be transmitted to the second wireless device faster, and the second wireless device can control the first communication interface to remain working earlier.
- the state is switched from the working state to the sleep state.
- the technical effect of the first wireless device indicating that the second wireless device wakes up its second communication interface by carrying the third bitmap information in the second wake-up message may refer to “the first wireless device passes the second identification information. A detailed description of the manner in which the second bitmap information is instructed by the second wireless device to wake up its second communication interface is not described herein.
- the foregoing first identifier information includes fourth bitmap information, where the fourth bitmap information includes at least two bits, and at least the fourth bitmap information The two bits are in one-to-one correspondence with the plurality of devices, and the first identifier information is used to identify a device corresponding to the bit of the fourth bitmap information whose value is the first preset value.
- the first wireless device (such as an AP) sets each of the fourth bitmap information by setting The value of the bit can indicate that the device corresponding to each bit controls its first communication interface In the working state or the dormant state; without carrying more identification information in the first wake-up message, the amount of data carried in the first wake-up message can be reduced.
- the first wake-up message can be transmitted to the second wireless device faster, and the second wireless device can be in a working state or a sleep state earlier than the WUR interface. .
- the first identifier information includes an interface identifier of the first communications interface of the at least one device including the second wireless device, or includes The device identifier of at least one device including the foregoing second wireless device among the plurality of devices.
- the foregoing second identifier information includes the device that the first wireless device is to wake up The device identifier or the interface identifier of the first communication interface of the device to be woken up by the first wireless device.
- the first wake-up message further includes first indication information, where the first indication information is used to indicate the first wireless device. The time when the second wake-up message is sent.
- the second wireless device may first switch the first communication interface of the second wireless device from the working state to the sleep state when receiving the first wake-up message, and then, at the time indicated by the first indication information, The first communication interface is switched from the sleep state to the active state to receive the second wake-up message sent by the first wireless device. In this way, unnecessary waste of power consumption can be avoided.
- the first wake-up message further carries second indication information, where the second indication information is used to notify the second wireless device.
- the first wireless device instructs the second wireless device to wake up the second communication interface of the second wireless device by using the first wakeup message and the second wakeup message.
- the first wireless device in order to prevent the malicious device from disguising as the first wireless device (such as an AP), the first wireless device is impersonated to multiple devices (such as Sending the foregoing first wake-up message and the second wake-up message, causing unnecessary waste of increasing power consumption of the device to be woken, the first wireless device and the second wireless device may dynamically negotiate that the first wireless device wakes up the next time The first identification information and the second identification information used when the second communication interface of the wireless device is used.
- the method of the present application may further include: receiving, by the first wireless device, a wakeup response message sent by the second wireless device by using the second communications interface of the second wireless device, where the wakeup response message is used to indicate that the second communications interface of the second wireless device is a working status; the first wireless device and the second wireless device negotiate first identification information and second identification information used when the second communication interface of the second wireless device is awake.
- the application provides a wireless device, where the wireless device is a first wireless device, and the wireless device includes: a communication interface and a processor.
- the processor is configured to generate a first wakeup message, where the first identifier information is used to identify at least one of the plurality of devices, including the second wireless device, where the first wakeup message is used by the first wakeup message. Instructing the first identification information to be identified
- the first communication interface of the device needs to be in an active state to receive a second wake-up message sent by the first wireless device; the communication interface is configured to send the foregoing to the first communication interface of the multiple devices in a broadcast manner or a multicast manner.
- the processor may be further configured to generate a second wake-up message carrying the second identifier information, where the second identifier information is used to identify the device to be woken by the first wireless device, where the first wireless device is to be The device that is awake includes the second wireless device, the second wake-up message is used to indicate that the device identified by the second identifier information wakes up the second communication interface of the device, and the communication interface is further configured to send the first wake-up After the message, the second wake-up message generated by the processor is sent to the first communication interface of the at least one device including the second wireless device.
- the communication interface in the wireless device may include a first communication interface and a second communication interface.
- the wireless device may send a first wake-up message to the first communication interface of the second wireless device through its first communication interface or the second communication interface, and the wireless device may also go to the second through its first communication interface or the second communication interface.
- the first communication interface of the wireless device transmits a second wake-up message.
- the foregoing communication interface may be further configured to: after sending the second wake-up message, receive a wake-up response message sent by the second wireless device by using the second communications interface, where The wakeup response message is used to indicate that the second communication interface of the second wireless device is in an active state.
- the processor may be further configured to negotiate, by the second wireless device, the first identifier information and the second identifier information used when the second communication interface of the second wireless device is awake.
- the content carried in the first wake-up message, the first identifier information, the second identifier information, the first bitmap information, the second bitmap information, the third bitmap information, and the fourth bitmap information indicate the first
- the first communication interface, the second communication interface, the device identifier of the second wireless device, the interface identifier of the first communication interface of the second wireless device, the first indication information, the second indication information, and the first wakeup message indicate the first
- the application provides a computer storage medium, where the computer program code is stored, where the first wireless device executes when the processor of the first wireless device in the second aspect executes the computer program code A method of waking up a wireless device as described in the first aspect and the various alternatives of the first aspect.
- the present application provides a method for waking up a wireless device, including: receiving, by a second wireless device, a first wireless device by using a first communication interface of the second wireless device, carrying the first wireless device in a multicast manner or a broadcast manner a first wake-up message of the identifier information, the first identifier information is used to identify at least one of the plurality of devices that receive the first wake-up message, where the first wake-up message is used to indicate the device identified by the first identifier information
- the first communication interface needs to be in an active state to receive a second wake-up message sent by the first wireless device; if the second wireless device determines the second wireless device One of the devices identified by the first identifier information, the second wireless device maintaining the first communication interface of the second wireless device in the working state; and the second wireless device passing the second wireless device a communication interface receives the second wake-up message that is sent by the first wireless device and carries the second identifier information, where the second identifier information is used to identify that the first
- the second wake-up message is used to indicate that the device identified by the second identifier information wakes up the second communication interface of the device; and if the second wireless device determines that the second wireless device is the device identified by the second identifier information One of the devices, the second wireless device waking up the second communication interface of the second wireless device.
- the second wireless device after receiving the first wake-up message, the second wireless device (such as the STA) cannot determine whether to wake up the second communication interface of the second wireless device, and needs to wait for receiving the second wake-up message. And determining, according to the received second wake-up message, whether to wake up the second communication interface of the second wireless device; instead of receiving a wake-up message, according to the correspondence in the bitmap information carried by the wake-up message The value of the bit directly wakes up the second communication interface of the second wireless device.
- Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
- the foregoing first identifier information includes first bitmap information, and the first bitmap information may refer to the first possible implementation manner of the first aspect.
- the second identifier information includes second bitmap information, and the second bitmap information may refer to the detailed description of the second bitmap information in the first possible implementation manner of the first aspect.
- the method for the second wireless device to determine that the second wireless device is the device that is identified by the first identifier information may include: if the first bitmap information and the second The value of the bit corresponding to the group in which the wireless device is located is the first preset value, and the second wireless device determines that the second wireless device is one of the devices identified by the first identification information.
- the method for the second wireless device to determine that the second wireless device is the device identified by the second identifier information may include: if the value of the bit corresponding to the second wireless device in the second bitmap information is the second The preset value, the second wireless device determines that the second wireless device is one of the devices identified by the second identification information.
- the foregoing second identifier information includes third bitmap information, where the third bitmap information may refer to the second possible implementation manner of the first aspect. A detailed description of the three-bit map information.
- the method for the second wireless device to determine that the second wireless device is the device that is identified by the first identifier information may include: if the first identifier information includes the first The group address information of the device group in which the wireless device is located, and the second wireless device determines that the second wireless device is one of the devices identified by the first identifier information.
- the method for the second wireless device to determine that the second wireless device is the device identified by the second identifier information may include: if the value of the bit corresponding to the second wireless device in the third bitmap information is the second pre- Setting a value, the second wireless device determines that the second wireless device is marked by the second identifier information One of the devices in the device.
- the foregoing first identifier information includes fourth bitmap information, where the fourth bitmap information may refer to the first possible implementation manner of the first aspect.
- the method for the second wireless device to determine that the second wireless device is the device identified by the first identifier information may be: if the value of the bit corresponding to the second wireless device in the fourth bitmap information is the first preset And the second wireless device determines that the second wireless device is one of the devices identified by the first identification information.
- the method that the second wireless device determines that the second wireless device is the device that is identified by the first identifier information may include: if the first identifier information includes the An interface identifier of the first communication interface of the second wireless device, or a device identifier of the second wireless device, where the second wireless device determines that the second wireless device is one of the devices identified by the first identification information .
- the second wireless device determines that the second wireless device is the second The method for identifying the device identified by the information may include: if the second identifier information includes the device identifier of the second wireless device or the interface identifier of the first communication interface of the second wireless device, the second wireless device determines The second wireless device is one of the devices identified by the second identification information.
- the first wake-up message further includes first indication information, where the first indication information is used to indicate the first wireless device The time when the second wake-up message is sent. After the second wireless device receives the first wake-up message sent by the first wireless device by using the first communications interface of the second wireless device, the second wireless device keeps the first communications interface of the second wireless device in the foregoing work. Before the state, the method of the present application may further include: the second wireless device switching the first communication interface of the second wireless device from the working state to the sleep state.
- the method may include: Determining, by the second wireless device, that the second wireless device is one of the devices identified by the first identification information, and the second wireless device is the second wireless device at the time indicated by the first indication information A communication interface is switched from the sleep state to the above working state.
- a wireless device being a second wireless device, the wireless device comprising: a first communication interface, a processor, and a second communication interface.
- the first communication interface is configured to receive a first wake-up message that is sent by the first wireless device in a multicast manner or a broadcast manner and that carries the first identifier information, where the processor is configured to determine that the second wireless device is the After the device identified by the first identifier information, the first communication interface is kept in the working state; the first communication interface is further configured to receive the second wake-up message that is sent by the first wireless device and that carries the second identifier information;
- the processor is further configured to wake up the second communication interface of the second wireless device after determining that the second wireless device is the device identified by the second identification information.
- the foregoing first identifier information includes a piece of map information; the second identifier information includes second bitmap information.
- the first bitmap information, the second bitmap information, the first identifier information, and the second identifier information may refer to the detailed description in the first possible implementation manner of the first aspect, and details are not described herein again.
- the processor is configured to determine that the second wireless device is one of the devices identified by the first identifier information, and the processor is configured to: if the processor is configured to use a bit corresponding to the group of the second wireless device in the first bitmap information The value of the bit is the first preset value, and determining that the second wireless device is one of the devices identified by the first identification information.
- the processor is configured to determine, by the second wireless device, one of the devices identified by the second identifier information, where the processor is configured to: if the second bitmap information is in a bit corresponding to the second wireless device, The value is the second preset value, determining that the second wireless device is one of the devices identified by the second identification information.
- the foregoing second identifier information includes third bitmap information.
- the processor is configured to determine that the second wireless device is a device of the device that is identified by the first identifier information, and the processor is configured to: if the first identifier information includes the group address information of the device group where the second wireless device is located, Determining that the second wireless device is one of the devices identified by the first identification information.
- the processor is configured to determine that the second wireless device is one of the devices identified by the second identifier, and the processor is configured to: if the value of the bit corresponding to the second wireless device in the third bitmap information is The second preset value determines that the second wireless device is one of the devices identified by the second identifier information.
- the foregoing first identifier information includes fourth bitmap information.
- the processor is configured to determine, by the second wireless device, one of the devices identified by the first identifier information, where the processor is configured to: if the processor uses the value of the bit corresponding to the second wireless device in the fourth bitmap information And determining, by the first preset value, the second wireless device is one of the devices identified by the first identifier information.
- the determining, by the processor, the second wireless device is one of the devices identified by the first identifier information, And determining, by the interface identifier of the first communication interface of the second wireless device, or the device identifier of the second wireless device, determining that the second wireless device is one of the devices identified by the first identifier information.
- the processor is configured to determine, by the second wireless device, one of the devices identified by the second identifier information, including: processing Determining, if the second identification information includes the device identifier of the second wireless device or the interface identifier of the first communication interface of the second wireless device, determining that the second wireless device is one of the devices identified by the second identification information .
- the first wake-up message further carries the first indication information.
- the processor is further configured to: after the first communication interface receives the first wake-up message sent by the first wireless device, before the first communication interface is in the working state, switch the first communication interface of the second wireless device from the working state to the sleep state status.
- the processor is configured to: if the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, maintaining the first communication interface of the second wireless device in an active state, including: a processor And if it is determined that the second wireless device is one of the devices identified by the first identification information, switching the first communication interface from the sleep state to the working state at a time indicated by the first indication information.
- the foregoing processor may be further configured to determine the first wakeup before maintaining the first communication interface in an active state
- the message also carries the second indication information.
- the processor is further configured to: if the first wakeup message does not carry the second indication information, Wake up the second communication interface of the second wireless device.
- the processor is further configured to receive, by the first communications interface, the first wireless device to perform multicast After the first wake-up message sent by the mode or the broadcast mode, if it is determined that the second wireless device is not the device identified by the first identifier information, the first communication interface is switched from the working state to the sleep state. status.
- the processor is further configured to receive, by using the first communications interface, the first wireless device After the second wake-up message is determined, if it is determined that the second wireless device is not the device identified by the second identifier information, the first communication interface of the second wireless device is switched from the working state to the sleep state.
- the second communications interface is further configured to: after the processor wakes up the second communications interface, Sending a wakeup response message to the first wireless device.
- the processor is further configured to, by using the second communication interface, negotiate with the first wireless device, the first identifier information and the second identifier information used when the second communication interface of the second wireless device is awake for the next time .
- the application provides a computer storage medium, where the computer program code stores a computer program code, when the processor of the second wireless device in the fifth aspect executes the computer program code, the second wireless device executes A method of waking up a wireless device as described in the fourth aspect and the various alternatives of the fourth aspect.
- the present application provides a method for waking up a wireless device, where the first wireless device sends a first wake-up message carrying the first identification information to the first communication interface of the multiple devices in a broadcast manner or a multicast manner.
- the first identifier information is used to identify at least one of the plurality of devices, including the second wireless device, where the first wakeup message is used to indicate that the device identified by the first identifier information needs to wake up a second communication interface of the device to receive a second wake-up message sent by the first wireless device;
- the first wireless device after sending the first wake-up message, includes the first
- the second communication interface of the at least one device of the second wireless device sends a second wake-up message carrying the second identifier information, where the second identifier information is used to identify the location
- the device to be awake by the first wireless device, the device to be awake by the first wireless device includes the second wireless device, and the second wake-up message is used to indicate the second device of the device identified by the second identifier information
- the first wireless device may use the first wakeup message and the second wakeup message to indicate that at least one device of multiple devices (eg, multiple STAs) including the second wireless device wakes up its second communication interface (such as Wi-Fi).
- the at least one device may wake up its second communication interface to wait to receive the second wake-up message or keep its second communication interface in a sleep state; however, the device that wakes up the second communication interface
- the second communication interface is not always in working state, but requires the device to determine whether the second communication interface of the device is in a working state after receiving the second wake-up message; instead of receiving a wake-up After the message, the second communication interface interface of the STA is awake according to the value of the corresponding bit in the bitmap information carried by the wake-up message, and the Wi-Fi interface of the STA is kept in the working state.
- Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
- the second wake-up message is further used to indicate that the second communications interface of the device that is not identified by the second identifier information is switched from an active state to a dormant state. If the device receiving the second wake-up message determines that the second identification information does not identify the device, the device may switch its second communication interface from the working state to the sleep state to reduce power consumption of the device.
- the first wireless device in order to prevent the malicious device from disguising as the first wireless device (such as an AP), the first wireless device is impersonated to multiple The device (such as a STA) sends the foregoing first wake-up message and the second wake-up message, causing unnecessary waste of increasing power consumption of the device to be woken, and the first wireless device and the second wireless device may dynamically negotiate the first wireless device next time.
- the first identification information and the second identification information used when waking up the second communication interface of the second wireless device.
- the method of the application may further include: the first wireless device receiving a wakeup response message sent by the second wireless device by using a second communication interface of the second wireless device.
- the first wireless device negotiates, with the second wireless device, first identification information and second identification information that are used when the second communication interface of the second wireless device is awake.
- the application provides a wireless device, where the wireless device is a first wireless device, and the wireless device includes: a communication interface and a processor.
- the processor is configured to generate a first wake-up message carrying the first identifier information, where the communications interface is configured to send the first to the first communications interface of the multiple devices in a broadcast or multicast manner.
- the first wake-up message is used to indicate that the device identified by the first identifier information needs to wake up the second communication interface of the device to receive a second wake-up message sent by the first wireless device;
- the second wake-up message is used to generate a second wake-up message carrying the second identifier information, where the second wake-up message is used to indicate that the second communication interface of the device identified by the second identifier information needs to be in an active state.
- the first wireless device communicates;
- the communication interface is further configured to: after sending the first wake-up message, send the second wake-up message to a second communication interface of the at least one device including the second wireless device in the at least one device .
- the second wake-up message is further used to indicate that the second communications interface of the device that is not identified by the second identifier information is switched from the working state to the dormant state.
- the communication interface is further configured to send, to a second communications interface of the at least one device that includes the second wireless device in the at least one device After the second wake-up message, receiving a wake-up response message sent by the second wireless device by using the second communications interface of the second wireless device, where the wake-up response message is used to indicate the second The communication interface is working.
- the processor is further configured to negotiate, by using the communication interface, the first identifier information and the second identifier information used by the second wireless device to wake up the second communication interface of the second wireless device.
- the content, the wakeup response message, the first identification information, the second identification information, the first bitmap information, the second bitmap information, and the third bitmap information carried in the first wakeup message in the seventh aspect and the eighth aspect of the present application The fourth bitmap information, the first communication interface, the second communication interface, the device identifier of the second wireless device, the interface identifier of the first communication interface of the second wireless device, the first indication information, the second indication information, and the A waking message indicates that the first communication interface of the device identified by the first identification information is in a working state, and the like.
- the application provides a computer storage medium, where the computer program code is stored, where the first wireless device executes when the processor of the first wireless device in the eighth aspect executes the computer program code A method of waking up a wireless device as described in the seventh aspect and the various alternatives of the seventh aspect.
- the present application provides a method for waking up a wireless device, including: receiving, by a second wireless device, a first wireless device by using a first communication interface of the second wireless device a first wake-up message that identifies the information, the first identifier information is used to identify at least one of the plurality of devices that receive the first wake-up message, and the first wake-up message is used to indicate the first identifier information
- the identified device wakes up the second communication interface of the device to receive a second wake-up message that is sent by the first wireless device and carries the second identification information; if the second wireless device determines that the second wireless device is One of the devices identified by the first identification information, the second wireless device waking up the second communication interface of the second wireless device; the second wireless device passes the second wireless device
- the second communication interface receives the second wake-up message sent by the first wireless device, where the second wake-up message carries the second identifier information, where the second identifier Information for at least one device in the first wireless device to wake up
- the first wake-up message further includes first indication information, where the first indication information is used to indicate a time when the first wireless device sends the second wake-up message. If the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, the second wireless device wakes up the second communication interface of the second wireless device The second wireless device, if the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, the second wireless device is indicated by the first indication information. And waking up the second communication interface of the second wireless device.
- the second wireless device receives, by using the second communications interface of the second wireless device, the first wireless device Before the second wake-up message
- the method of the present application may further include: determining, by the second wireless device, that the first wake-up message further carries second indication information, where the second indication information is used to notify the second wireless device: The first wireless device instructs the second wireless device to wake up the second communication interface of the second wireless device using the first wakeup message and the second wakeup message.
- the first identifier information, the second identifier information, the first bitmap information, the second bitmap information, the third bitmap information, the fourth bitmap information, and the second wireless device in the tenth aspect of the present application determine that The second wireless device is a method of one of the devices identified by the first identification information, and the second wireless device determines that the second wireless device is one of the devices identified by the second identification information
- the method may refer to the detailed description in the fourth aspect of the present application and its possible implementation manners, and details are not described herein again.
- the second wireless device receives the first wireless by using the first communications interface of the second wireless device After the first wake-up message sent by the device in the multicast mode or the broadcast mode, the method of the present application further includes: if the second wireless device determines that the second wireless device is not in the device identified by the first identifier information A device, the second wireless device maintaining the second communication interface of the second wireless device in a sleep state.
- the second wireless device receives, by the second communications interface of the second wireless device, the first After the second wake-up message sent by the wireless device, the method further includes: if the second wireless device determines that the second wireless device is not one of the devices identified by the second identifier information, The second wireless device switches the first communication interface and the second communication interface of the second wireless device from an active state to a sleep state.
- the second wireless device controls the second communication interface of the second wireless device to be in the After the working state
- the method of the present application may further include: the second wireless device sending a wakeup response message to the first wireless device by using a second communication interface of the second wireless device, where The wakeup response message is used to indicate that the second communication interface of the second wireless device is in an active state; the second wireless device negotiates with the first wireless device by using a second communication interface of the second wireless device First identification information and second identification information used when waking up the second communication interface of the second wireless device.
- the application provides a wireless device, where the wireless device is a second wireless device, the wireless device includes: a first communication interface, a second communication interface, and a processor.
- the first communication interface is configured to receive a first wake-up message that is sent by the first wireless device in a multicast mode or a broadcast mode, and the first identifier information is used to identify that the first wake-up is received.
- the first wake-up message is used to indicate that the device identified by the first identifier information wakes up the second communication interface of the device to receive the first transmission by the first wireless device a second wake-up message; the processor, if it is determined that the second wireless device is one of the devices identified by the first identifier information, waking up the second communication interface of the second wireless device;
- the second communication interface is configured to receive a second wake-up message that is sent by the first wireless device and that carries the second identifier information, where the second wake-up message carries the second identifier information, where the second identifier information is used.
- the second communication interface of the device is in an active state; the processor is further configured to: if the second wireless device is determined to be one of the devices identified by the second identification information, maintaining the second wireless The second communication interface of the device is in the active state.
- the foregoing first identifier information includes first bitmap information, and the first bitmap information may refer to the first possible implementation manner of the first aspect.
- the second identifier information includes second bitmap information, and the second bitmap information may refer to the detailed description of the second bitmap information in the first possible implementation manner of the first aspect.
- the determining, by the processor, the second wireless device is one of the devices identified by the first identifier information, Determining that the second wireless device is identified by the first identifier information, if the value of the bit corresponding to the group of the second wireless device in the first bitmap information is the first preset value.
- the processor is configured to determine, by the second wireless device, one of the devices identified by the second identifier information, where the processor is configured to: if the second bitmap information is related to the second wireless The value of the bit corresponding to the device is the second preset value, and determining that the second wireless device is a device of the device identified by the second identifier information.
- the foregoing second identifier information includes third bitmap information, where the third bitmap information may refer to the second possible implementation manner of the first aspect.
- the processor is configured to determine that the second wireless device is one of the devices that are identified by the first identifier information, and the processor is configured to: if the first identifier information includes the second wireless device And determining, by the group address information of the device group, the second wireless device is one of the devices identified by the first identifier information.
- the processor is configured to determine that the second wireless device is one of the devices identified by the second identification information.
- the processor is configured to determine, if the value of a bit corresponding to the second wireless device in the third bitmap information is the second preset value, determining that the second wireless device is One of the devices identified by the second identification information.
- the foregoing first identifier information includes fourth bitmap information, where the fourth bitmap information may refer to the first possible implementation manner of the first aspect.
- the processor is configured to determine, by the second wireless device, one of the devices identified by the first identifier information, where the processor is configured to: if the fourth bitmap information is related to the second wireless The value of the bit corresponding to the device is the first preset value, and determining that the second wireless device is one of the devices identified by the first identifier information.
- the determining, by the processor, the second wireless device is one of the devices identified by the first identifier information including: Determining that the second wireless device is the first one, if the first identifier information includes an interface identifier of the first communications interface of the second wireless device, or includes a device identifier of the second wireless device Identifies one of the devices identified by the information.
- the processor is configured to determine that the second wireless device is One of the devices identified by the second identifier information, the processor is configured to: if the second identifier information includes the device identifier of the second wireless device or include the second wireless device And determining, by the interface identifier of the communication interface, the second wireless device is one of the devices identified by the second identifier information.
- the first wake-up message further carries first indication information, where the first indication information is used to indicate the The time at which the wireless device sends the second wake-up message.
- the processor is configured to: if the second wireless device is determined to be one of the devices identified by the first identifier information, waking up the second communication interface of the second wireless device, where the processor is configured to: And if it is determined that the second wireless device is the device identified by the first identifier information, waking up the second communication interface of the second wireless device at a time indicated by the first indication information.
- the processor is further configured to determine, before the second communication interface receives the second wakeup message, The first wake-up message further carries second indication information, where the second indication information is used to notify the second wireless device: the first wireless device uses the first wake-up message and the second wake-up message indication The second wireless device wakes up the second communication interface of the second wireless device.
- the processor is further configured to: after the first communication interface receives the first wake-up message, if And the second wireless device is not the device identified by the first identifier information, and the second communication interface of the second wireless device is kept in a sleep state.
- the processor is further configured to: after the second wireless device receives the second wake-up message, if The second wireless device is not the device identified by the second identification information, and then the second The first communication interface and the second communication interface of the wireless device are all switched from the working state to the sleep state.
- the processor is further configured to generate a wakeup response after controlling the second communication interface to be in the working state.
- a message the wakeup response message is used to indicate that the second communication interface of the second wireless device is in an active state
- the second communication interface is further configured to send, to the first wireless device, the generated by the processor
- the wakeup response message is further configured to: negotiate, by the second communication interface, the first identifier information used by the first wireless device to awake the second communication interface of the second wireless device And second identification information.
- the present application provides a computer storage medium storing computer program code, when the processor of the second wireless device in the eleventh aspect executes the computer program code, the second wireless The apparatus performs the method of waking up a wireless device as described in the tenth aspect and various alternatives of the tenth aspect.
- FIG. 1 is a schematic diagram of an example of an AP waking up STA according to an embodiment of the present disclosure
- FIG. 2 is a schematic diagram of a network architecture of a wireless local area network WLAN to which a method for waking up a wireless device is provided according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of an example of a scenario in which an AP wakes up one or more STAs in its coverage area according to an embodiment of the present disclosure
- FIG. 4 is a flowchart 1 of a method for waking up a wireless device according to an embodiment of the present invention
- FIG. 5 is a schematic diagram of a structural example of a first wake-up message according to an embodiment of the present disclosure
- FIG. 6 is a schematic diagram 1 of a structural example of a second wake-up message according to an embodiment of the present disclosure
- FIG. 7 is a schematic diagram of state switching of an STA in a process of waking up an STA by an AP according to the first implementation manner of the first application scenario;
- FIG. 8 is a second flowchart of a method for waking up a wireless device according to an embodiment of the present invention.
- FIG. 9 is a schematic diagram of state switching of an STA in an AP wake-up STA process in the second implementation manner of the first application scenario
- FIG. 10 is a third flowchart of a method for waking up a wireless device according to an embodiment of the present invention.
- FIG. 11 is a schematic diagram 1 of state switching of an STA in a process of waking up an STA by an AP in the third implementation manner of the first application scenario;
- FIG. 12 is a schematic diagram 2 of state switching of an STA in an AP wake-up STA process in the third implementation manner of the first application scenario;
- FIG. 13 is a schematic diagram 3 of state switching of an STA in an AP wake-up STA process in the third implementation manner of the first application scenario;
- FIG. 14 is a schematic diagram 4 of state switching of an STA in a process of waking up an STA by an AP in Embodiment 3 of the first application scenario;
- FIG. 15 is a flowchart 4 of a method for waking up a wireless device according to an embodiment of the present invention.
- FIG. 16 is a schematic diagram 1 of state switching of an STA in the process of waking up an STA by an AP in the fourth implementation manner of the first application scenario;
- FIG. 17 is a schematic diagram 2 of state switching of an STA in an AP wake-up STA process in the fourth implementation manner of the first application scenario;
- FIG. 18 is a schematic diagram 3 of a state transition of an STA in an AP wake-up STA process in the fourth implementation manner of the first application scenario;
- FIG. 19 is a schematic diagram 4 of state switching of an STA in a process of waking up an STA by an AP in the fourth implementation manner of the first application scenario;
- FIG. 20 is a flowchart 5 of a method for waking up a wireless device according to an embodiment of the present invention.
- FIG. 21 is a second schematic diagram showing a structural composition of a second wake-up message according to an embodiment of the present disclosure.
- FIG. 22 is a flowchart 6 of a method for waking up a wireless device according to an embodiment of the present invention.
- FIG. 23 is a schematic diagram of state switching of an STA during an AP wake-up STA in an implementation manner 1 in a second application scenario according to an embodiment of the present disclosure
- FIG. 24 is a schematic diagram of state switching of an STA in an AP wake-up STA process in the second implementation manner of the first application scenario
- 25 is a schematic diagram 1 of state switching of an STA during an AP waking up STA in the third implementation manner in the second application scenario according to the second embodiment of the present invention
- FIG. 25 is a schematic diagram 2 of state switching of an STA in a process of waking up an STA by an AP in the third implementation manner of the second application scenario;
- FIG. 27 is a third schematic diagram of state switching of an STA in an AP waking STA process in the third implementation manner of the second application scenario;
- FIG. 28 is a schematic diagram 4 of state switching of an STA during an AP wake-up STA in the third implementation manner in the second application scenario according to the second embodiment of the present invention.
- FIG. 29 is a schematic diagram 1 of state switching of an STA in a process of waking up an STA by an AP in the fourth implementation manner of the second application scenario;
- FIG. 30 is a schematic diagram 2 of state switching of an STA in a process of waking up an STA by an AP according to Embodiment 4 of the second application scenario;
- FIG. 31 is a third schematic diagram of state switching of an STA in an AP wake-up STA process in the fourth implementation manner of the second application scenario;
- FIG. 32 is a schematic diagram 4 of state switching of an STA in a process of waking up an STA by an AP according to Embodiment 4 of the second application scenario;
- FIG. 33 is a schematic structural diagram 1 of a wireless device according to an embodiment of the present disclosure.
- FIG. 34 is a schematic structural diagram 2 of a wireless device according to an embodiment of the present disclosure.
- FIG. 35 is a schematic structural diagram 3 of a wireless device according to an embodiment of the present invention.
- first and second in the specification of the present invention and the drawings are used to distinguish The same object, or used to distinguish different treatments of the same object, rather than describing the specific order of the objects.
- first wireless device and the second wireless device are different wireless devices, and the first indication information and the second indication information may be different indication information.
- a method for waking up a wireless device may be applied to a process in which a first wireless device wakes up one or more devices including a second wireless device.
- the first wireless device in the embodiment of the present invention may be an AP, and one or more devices may be one or more STAs (ie, the second wireless device may be a STA).
- FIG. 2 is a schematic diagram of a network architecture of a Wireless Local Area Network (WLAN) 200 applied to a method for waking up a wireless device according to an embodiment of the present invention.
- the WLAN 200 may include an AP 201 and one or more STAs.
- the one or more STAs may be the mobile phone 202, the camera 203, the computer 204, the display device 205 (such as a television, a computer monitor, etc.), a tablet, a wearable device, a printer, etc. as shown in FIG. .
- the display device 205 such as a television, a computer monitor, etc.
- a tablet such as a wearable device, a printer, etc.
- FIG. 2 For the convenience of description, only a partial example of the STA is shown in FIG. 2, and the STA described in the embodiment of the present invention includes but is not limited thereto.
- the AP 201 may form a basic service set (BSS) with the one or more STAs.
- BSS basic service set
- the AP in the BSS ie, AP 201 can communicate with any of the STAs in the BSS.
- a basic service area may be formed, and the WLAN 200 may be connected to a distributed system (DS) by wire or wirelessly.
- DS distributed system
- Multiple APs 201 may form an Extended Service Set (ESS) in this manner.
- ESS Extended Service Set
- the network architecture applied by the method of the embodiment of the present invention is not limited to the architecture shown in FIG. 2.
- the method in the embodiment of the present invention may also be applied to a scenario such as a hotspot AP scenario or a P2P.
- the mobile phone 202 and the display 205 can be used in the hotspot mode to serve as an AP, and the display 205 acts as a STA to form a WLAN.
- the method in the embodiment of the present invention can be applied to the WLAN.
- the mobile phone 202 acts as a P2P group owner (GO)
- the display 205 acts as a P2P Cllient
- the mobile phone 202 and the display 105 form a WLAN.
- the method of the embodiment of the present invention can be applied to the WLAN.
- the mobile phone 202 functions as a NAN Anchor master
- the display 205 functions as a NAN device.
- the mobile phone 202 and the display 205 form a WLAN.
- the method of the embodiment of the present invention can be applied to the WLAN.
- the Wi-Fi interface of one or more STAs as shown in FIG. 2 may enter a sleep state to save power.
- One or more STAs in the WLAN 100 are outside the Wi-Fi interface, and are also equipped with a low power auxiliary wake-up interface (such as a WUR interface as a receiver for waking up the Wi-Fi interface).
- the AP may first send a WUR message to the WUR interface of the STA, indicating that the WUR interface wakes up the Wi-Fi interface of the STA to receive data sent by the AP.
- the Wi-Fi interface in the embodiment of the present invention may use an antenna to transmit signals respectively with the WUR interface; or, the two may share one antenna for signal transmission, thereby saving the cost of the device.
- the WUR message may be a message that can be received and parsed by a WUR interface such as a Wake Up Packet (WUP) or a Wake Up Beacon (also referred to as a WUR Beacon).
- WUP Wake Up Packet
- WUR Beacon also referred to as a WUR Beacon
- the WUR message may also be other messages with functionality indicating that the STA wakes up its Wi-Fi interface.
- the mobile phone 102 is taken as an example.
- the sleep state indicates that the Wi-Fi interface of the mobile phone 102 does not continuously receive the air interface message, and may specifically enter a doze state or a shallow sleep state, that is, Wi-
- the baseband module of the Fi interface and the Media Access Control (MAC) processor module remain on, the radio frequency (RF) module is turned off, or the deep sleep state (Deep Sleep), that is, the RF module of the Wi-Fi interface.
- RF radio frequency
- Deep Sleep deep sleep state
- a first wireless device such as an AP
- may use two wake-up messages such as a first wake-up message and a second wake-up message
- a second wireless device such as a STA
- Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
- the second communication interface (such as a Wi-Fi interface, a primary communication interface) of the second wireless device (such as a STA) in the embodiment of the present invention is a primary communication module of the second wireless device (such as a Wi-Fi module).
- the first communication interface of the second wireless device (such as a STA) (such as a WUR interface, an auxiliary wake-up interface) is a communication interface provided by an auxiliary wake-up module (such as a WUR module) of the second wireless device.
- the first wireless device is an AP
- the plurality of devices including the second wireless device that the first wireless device is to wake up are STAs
- the first communication interface is a WUR interface
- the second communication interface is a Wi.
- the -Fi interface is taken as an example, and the method of the embodiment of the present invention is described in detail.
- the embodiment of the present invention is an example in which the AP 301 in the Wi-Fi network 300 shown in FIG. 3 wakes up a scenario of one or more STAs in its coverage, for example, for the wireless device provided by the embodiment of the present invention.
- the wake-up method is illustrated.
- the Wi-Fi network 300 shown in FIG. 3 may include an AP 301 and a plurality of STAs, and the multiple STAs may include 7 STAs such as STA 1, STA 2, and STA 3 as shown in FIG. 3.
- the device identifiers of seven STAs such as STA 1, STA 2, and STA 3 are STA-1, STA-2, STA-3, ..., STA-7; STA 1, STA 2, and STA 3, respectively.
- the interface identifiers of the WUR interfaces of the seven STAs are WUR-1, WUR-2, WUR-3, ..., WUR-7; the interface identifiers of the WUR interfaces of the STAs such as STA 1, STA 2, and STA 3 are respectively For Wi-Fi-1, Wi-Fi-2, Wi-Fi-3, ..., Wi-Fi-7.
- the seven STAs can belong to three device groups: device group x, device group y, and device group z.
- the group address information of the device group x is x
- the device group x includes STA 1, STA 2, and STA 3
- the group address information of the device group y is y
- the device group y includes STA 4 and STA 5
- the group address information of the device group z is z
- the device group z includes STA 6 and STA 7.
- the group address information of the STA may be allocated to the STA during the process of the Wi-Fi communication between the AP and the STA.
- the group address information of the STA may be a multicast address allocated by the AP to the device group when the AP sends data to the STAs in a device group in a multicast manner.
- the group address information of the STA may be generated by the STA according to the preset group address information generation rule, and the STAs with the same group address information may be regarded as STAs of the same device group.
- the STA may obtain the group address information of the STA by using a hash algorithm or a preset bit in the identifier information by using a hashing algorithm or a preset information such as a WUR ID.
- the group address information of the STA may be determined by the STA according to the time information of the BSS where the STA joins the AP.
- group address information in the embodiment of the present invention may also be referred to as group identification information, and the group identification information may be a number information, a numerical value information, an alphabetic information, etc., which is not limited by the present invention.
- association Request After an STA initiates an association request (Association Request) to the AP, the AP feeds back an association response frame (Association Response) and assigns an association identifier (AID) to the STA.
- association Response an association response frame
- AID association identifier
- the AP may assign an AID to the STA in sequence according to the order in which the STA is associated with the AP. Therefore, the AP 301 may allocate, for each of the foregoing seven STAs, a unique identifier. STA's AID.
- the Association ID (AID) assigned to the STA 1 is AID-1
- AID-2 when the AP 301 establishes association with the STA 3
- the AID assigned to the STA 3 is AID-3
- ... when the AP 301 establishes association with the STA 12
- the AID assigned to the STA 7 is AID-7.
- FIG. 3 For convenience of description, only a partial example of the STA is given in FIG. 3, and the present invention is implemented.
- the STAs described in the examples include but are not limited thereto.
- FIG. 3 For a detailed description of the STA shown in FIG. 3, reference may be made to the description of the STA in FIG. 2 in the embodiment of the present invention, and details are not described herein again.
- the AP 301 may pass one or more to wake up to the AP 301, based on the scenario in which the AP 301 wakes up one or more STAs in the coverage area.
- the WUR interface of the STA sends a first wakeup message and a second wakeup message to wake up the Wi-Fi interface of the one or more STAs.
- the first wake-up message and the second wake-up message may be the same or different.
- the method for waking up a wireless device may include S401-S410:
- the AP sends the first wake-up message to the WUR interface of the multiple STAs in the broadcast mode or the multicast mode.
- the first wake-up message carries the first identifier information, where the first identifier information is used to identify the multiple STAs to be included.
- At least one STA such as the awakened STA, is configured to indicate that the WUR interface of the STA identified by the first identifier information needs to be in an active state to receive a second wake-up message sent by the AP.
- the AP may send the first wake-up message to the WUR interface of multiple STAs in a broadcast manner according to the broadcast address of the WUR interface of the STA to be awake by the AP; or, according to the WUR interface of the STA to be awake by the AP.
- the multicast address is sent to the WUR interface of the multiple STAs in a multicast manner, and the first wake-up message may carry the indication information indicating that the first wake-up message is a broadcast message or a multicast message.
- the AP may send the first wake-up message to the WUR interface of multiple STAs in a broadcast or multicast manner through the Wi-Fi interface of the AP.
- the WUR module is configured in the AP, the AP can send the first wake-up message to the WUR interface of multiple STAs through the WUR interface provided by the WUR module.
- the first awake message carries the first identifier information, where the first identifier information is used to identify the at least one STA that includes the STA to be awake, and the first awake message is used to indicate the first
- the WUR interface of the STA (that is, the at least one STA) identified by the identifier information needs to be in an active state to receive the second wake-up message sent by the AP 301.
- the first wake-up message in the embodiment of the present invention may be a WUR beacon message, or the first wake-up message may be another broadcast message or a multicast message.
- the first wake-up message may be a wake-up packet message of a broadcast address or a multicast address or group address information of a WUR interface of the STA that the AP is to wake up.
- the first wakeup message may be a wakeup packet message carrying group address information of the STA that the AP wants to wake up.
- FIG. 5 it is a schematic diagram of a message structure of a wake-up message according to an embodiment of the present invention.
- the first wake-up message provided by the embodiment of the present invention may include at least the first identifier information 504 in the WUR message as shown in FIG. 5.
- the first wake-up message may further include a legacy preamble 501, a WUR reference signal 502, a WUR signaling domain (Signal, SIG) 503, and a Frame Check Sequence (FCS) 505.
- a legacy preamble 501 a WUR reference signal 502, a WUR signaling domain (Signal, SIG) 503, and a Frame Check Sequence (FCS) 505.
- a WUR reference signal 502 a WUR signaling domain (Signal, SIG) 503
- FCS Frame Check Sequence
- the original preamble 501 can be used to announce to the surrounding Wi-Fi devices on the Wi-Fi channel. Use channels to better coexist with Wi-Fi devices.
- the WUR reference signal 502 can indicate to the STA that the first wake-up message is a WUR message.
- the WUR SIG may include information such as the first indication information, the second indication information, and the type information indicating the WUR message in the embodiment of the present invention, where the first indication information is used to indicate the time when the AP sends the second wakeup message.
- the FCS may be used by the STA receiving the WUR message to perform frame check to determine whether the WUR message is correctly received. If the FCS check fails, the STA may discard the WUR message.
- the multiple STAs receive the first wake-up message sent by the AP in a broadcast manner or a multicast manner by using the WUR interface of the multiple STAs.
- S403 The STA that receives the first wakeup message determines whether the STA is one of the STAs identified by the first identifier information.
- the method may continue to perform S404; if the STA determines that the STA is not one of the STAs identified by the first identifier information, Continue to execute S409:
- S404 The STA keeps the WUR interface of the STA in an active state.
- S405 After transmitting the foregoing first waking message, the AP sends a second wake-up message to the WUR interface of the at least one STA that includes the STA to be awake.
- the second awake message carries the second identifier information, where the second identifier information is used to identify one or more STAs to be awake by the AP, and the second awake message is used to indicate the STA identified by the second identifier information. Wake up the STA's Wi-Fi interface.
- the second wake-up message in the embodiment of the present invention may be a WUR Beacon message, or the second wake-up message may be another unicast message, a broadcast message, or a multicast message.
- the second wake-up message may be a wake-up packet message of a broadcast address or a multicast address or group address information of a WUR interface of the STA that the AP is to wake up.
- FIG. 6 is a schematic structural diagram of a message of a wake-up message according to an embodiment of the present invention.
- the second wake-up message provided by the embodiment of the present invention may include at least the second identifier information 604 in the wake-up message as shown in FIG. 6.
- the second wake-up message may further include one or more of the original preamble 601, the WUR reference signal 602, the WUR SIG 603, and the FCS 605.
- the second wake-up message may further include one or more of the original preamble 601, the WUR reference signal 602, the WUR SIG 603, and the FCS 605.
- the at least one STA that includes the STA to be awake in the at least one STA receives the second wakeup message through its WUR interface.
- S407 The STA that receives the second wakeup message determines whether the STA is one of the STAs identified by the second identifier information.
- the STA that receives the second wakeup message determines that the STA is one of the STAs identified by the second identifier information, proceed to S408; if the STA that receives the second wakeup message determines that the STA is not the second One of the STAs identified by the identification information may continue to perform S409 and S410.
- S408 The STA wakes up the STA's Wi-Fi interface.
- S409 The STA switches the WUR interface of the STA from the working mode to the sleep state.
- S409 is optional.
- the STA may not perform S409 but keep its WUR interface in working state.
- S410 The STA keeps the STA's Wi-Fi interface in a sleep state.
- the AP may use the first wakeup message and the second wakeup message to instruct one or more STAs to wake up their Wi-Fi interface. That is, after receiving the first wake-up message, the STA cannot determine whether to wake up the Wi-Fi interface of the STA, wait for receiving the second wake-up message, and then determine whether to wake up the STA according to the received second wake-up message.
- the Wi-Fi interface directly wakes up the STA's Wi-Fi interface according to the value of the corresponding bit in the bitmap information carried by the wake-up message after receiving a wake-up message.
- Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
- the AP may wake up one or more STAs by carrying the same or different content in the first wakeup message and the second wakeup message.
- the AP may wake up one or more STAs by including the first bitmap information in the first identifier information and the second bitmap information in the second identifier information.
- the first identification information includes at least two bits in the first bitmap information, at least two of the first bitmap information and at least one of a plurality of devices (a plurality of STAs receiving the first wake-up message)
- Each of the two sets of devices ie, at least two sets of STAs
- Each of the at least two sets of devices includes at least one device (ie, at least one STA)
- the first identification information is used to identify the first A set of devices (ie, a group of STAs) corresponding to the first preset value of the bitmap information
- a second wireless device ie, the STA that the AP is to wake up
- the first bitmap information may include three bits “abc” and the three bits “abc”
- the first bit "a” of the three bits “abc” may correspond to device group x
- the third bit "c” can correspond to device group z.
- the first preset value may be 1 or 0, and the specific value of the first preset value may be determined by the AP and the STA.
- the first identification information may be used to identify the device group x and the device group y; when the first preset value is 0, If the first bitmap information is "110", the first identification information may be used to identify the device group z.
- the first identifier information may be used to identify the device group x and the device group y
- the first wake-up message may be used to indicate the STAs in the device group x (ie, STA 1-STA 3) and the STAs in the device group y.
- the WUR interfaces of STA 4 and STA 5 are in operation.
- S403 The STA that receives the first wake-up message determines whether the value of the bit corresponding to the group in which the STA is located in the first bitmap information carried in the first wake-up message is a first preset value.
- the STA that receives the first wake-up message determines that the value of the bit corresponding to the group in which the STA is located in the first bitmap information carried in the first wake-up message is the first preset value, proceed to S404; If the STA that receives the first wake-up message determines that the value of the bit corresponding to the group in which the STA is located in the first bitmap information that is carried in the first wake-up message is not the first preset value, proceed to S409:
- the STA in the device group x may determine the first bitmap information "110". If the value of the bit corresponding to the device group x is the first preset value (that is, 1), the WUR interface of the STA may be kept in the working state (such as on), and the STA in the device group y (for example, The STA 4 or the STA 5) can determine that the value of the bit corresponding to the device group y in the first bitmap information "110" is the first preset value (ie, 1), and the WUR interface of the STA can be kept in the working state.
- the first preset value that is, 1
- the WUR interface of the STA may be kept in the working state (such as on)
- the STA in the device group y for example, The STA 4 or the STA 5
- the WUR interface of the STA can be kept in the working state.
- the S404 is continued; and the STA in the device group z (such as the STA 6) can determine that the value of the bit corresponding to the device group z in the first bitmap information "110" is not the first preset value, and the STA can be used.
- the WUR interface is switched from the working state (such as on) to the sleep state (such as off), that is, the execution continues to S409.
- the second identifier information includes second bitmap information, where the second bitmap information includes at least two bits, and at least two bits in the second bitmap information and a bit that is a first preset value
- the devices in the corresponding device group are in one-to-one correspondence, and the second identifier information is used to identify a device corresponding to the bit with the second preset value.
- the AP 301 can provide the device group x and the device group.
- the STA in y sends a second wakeup message.
- the first bit “d” of the bits “def” may correspond to the STA 1 in the device group x
- the second bit “e” may correspond to the STA 2 in the device group x
- the third bit Bit "f” may correspond to STA 3 in device group x.
- the second preset value may be 1 or 0, and the specific value of the second preset value may be determined by the AP and the STA.
- the AP 301 can set the value of the bit corresponding to the STA that the AP 301 is to wake up in the second bitmap information to the second preset value.
- the AP 301 is to wake up the STA 1 and the STA 3 in the device group x; then, as shown in FIG. 7, the AP 301 can send the second bitmap information to the STA in the device group x.
- the second wake-up message is carried in
- the second identification information may be used to identify STA 1 and STA 3, and the second wake-up message may be used to instruct STA 1 and STA 3 to wake up their Wi-Fi interface.
- the AP 301 is to wake up the STA 5 in the device group y; then, as shown in FIG. 7, the AP 301 can transmit the information including the second bitmap information to the STA 5 in the device group y.
- the second identifier information carried in the second wakeup message may be used to identify the STA 5, and the second wakeup message may be used to instruct the STA 5 to wake up its Wi-Fi interface.
- S407 in FIG. 4 may be replaced by S407a:
- S407a The STA that receives the second wakeup message determines whether the value of the bit corresponding to the STA in the second bitmap information is a second preset value.
- the STA that receives the second wake-up message determines that the value of the bit corresponding to the STA in the second bitmap information is the second preset value, proceed to S408; if the STA that receives the second wake-up message After determining that the value of the bit corresponding to the STA in the second bitmap information is not the second preset value, proceed to S409:
- the STA 1 in the device group x can determine the second bitmap. If the value of the bit corresponding to the STA 1 in the information "101" is the second preset value (ie, 1), the S408 may be continued to wake up the Wi-Fi interface of the STA 3 (ie, the Wi-Fi interface of the STA 3 is in a sleep state).
- the STA 3 in the device group x can determine that the value of the bit corresponding to the STA 3 in the second bitmap information "101" is the second preset value, and can wake up the Wi-Fi interface of the STA 3 That is, the SUR in the device group x can determine that the value of the bit corresponding to the STA 2 in the second bitmap information "101" is not the second preset value, and the WUR interface of the STA can be
- the working state (such as on) is switched to the sleep state (such as off), that is, the execution continues to S409, and the Wi-Fi interface of the STA is kept in a sleep state (such as off), that is, S410 is performed.
- the value of the third bit in the first bitmap information "110" is 0, indicating that the STA in the device group z is not the STA that the AP 301 is to wake up, so the AP 301 may not be in the device group z.
- the STA sends a second wakeup message.
- At least two bits of the first bitmap information are in one-to-one correspondence with each of the at least two groups of devices, that is, each bit in the first bitmap information. Can correspond to a group of devices.
- the AP can indicate that the WUR interface of the device in the device group corresponding to the bit is in the working state, waiting to receive the second wake-up device;
- a wake-up message carries more identification information, which can reduce the amount of data carried in the first wake-up message.
- the first wake-up message can be transmitted to the STA faster, and the STA can keep its WUR interface in a working state or enter a sleep state earlier.
- each bit in the second bitmap information may correspond to one device in the device group.
- the AP can indicate the bit pair by setting the value of one bit in the second bitmap information.
- the device should wake up its Wi-Fi interface; instead of carrying more identification information in the second wake-up message, the amount of data carried in the second wake-up message can be reduced. When the amount of data carried in the second wake-up message is small, the second wake-up message can be transmitted to the STA faster, and the STA can wake up its Wi-Fi interface earlier.
- the AP may carry the third bitmap in the second wakeup message by carrying the group address information of the device group of the one or more STAs that the AP is to wake up in the first wakeup message. Information to wake up one or more STAs.
- the second application scenario is implemented in two ways:
- the first identifier information carried in the first waking message described in S401-S403 may include group address information of a device group where the STA that the AP is to wake up. For example, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs within its coverage, it is assumed that the AP 301 is to wake up STA 1 and STA 3 in the device group x, and STA 5 in the device group y, Then, as shown in FIG. 9, the first wake-up message may carry the group address information X of the device group x and the group address information Y of the device group y.
- the first identifier information may be used to identify the device group x and the device group y, and the first wake-up message may be used to indicate the STAs in the device group x (ie, STA 1-STA 3) and the STAs in the device group y.
- the WUR interfaces of STA 4 and STA 5 are in operation.
- the AP 301 does not need to wake up any STA in the device group z. Therefore, the first identifier information does not include the group address information Z of the device group z.
- S403 in FIG. 4 may be replaced by S403b:
- S403b The STA that receives the first wake-up message determines whether the first identifier information carried in the first wake-up message includes group address information of the group in which the STA is located.
- the method may continue to perform S404; if the STA that receives the first wake-up message is received, And determining that the first identifier information carried in the first wake-up message does not include the group address information of the group in which the STA is located, and then proceed to S409:
- the first identification information carried in the first wake-up message includes the group address information X of the device group x and the group address information Y of the device group y; then, the STA in the device group x
- the STA (such as STA 1 or STA 2) and the STA in the device group y (such as STA 4 or STA 5) can keep the WUR interface of the STA in an active state (such as on), that is, continue to execute S404.
- the STA (such as STA 6) in the device group z can use the WUR interface of the STA because the first identifier information carried in the first wakeup message does not include the group address information Z of the device group z. Switching from the working state (such as on) to the sleep state (such as off), the execution continues to S409.
- the second identifier information includes third bitmap information, where the third bitmap information includes at least two bits, and at least two of the third bitmap information are in a device group of the STA that the AP is to wake up.
- the device has a one-to-one correspondence, that is, the at least two bits in the third bitmap information are in one-to-one correspondence with the devices in the device group corresponding to the group address information included in the first identifier information, and the second identifier information is used to identify the value.
- the device corresponding to the bit of the second preset value.
- the AP 301 as shown in FIG. 3 wakes up one or more STAs in its coverage, since the first identification information includes the group address information X and the device of the device group x.
- the group address information Y of the group y so the AP 301 can send a second wakeup message to the STAs in the device group x and the device group y.
- the method for the AP to wake up the Wi-Fi interface of the STA in the device group by using the second wake-up message carrying the third bitmap information may refer to “the AP indicates by using the second wake-up message carrying the second bitmap information.
- the method for the STA in the device group to wake up its Wi-Fi interface is not described herein again.
- S407 in FIG. 4 may be replaced with S407b:
- S407b The STA that receives the second wake-up message determines whether the value of the bit corresponding to the STA in the third bitmap information carried in the second wake-up message is a second preset value.
- the process may continue to perform S408;
- the STA to the second wake-up message determines that the value of the bit corresponding to the STA in the third bitmap information carried in the second wake-up message is not the second preset value, and may continue to perform S409 and S410.
- the STA 1 in the device group x can determine the third bitmap. If the value of the bit corresponding to the STA 1 in the message "101" is the second preset value (ie, 1), the Wi-Fi interface of the STA 3 can be woken up (ie, the Wi-Fi interface of the STA 3 is switched from the sleep state to the working state.
- the second preset value ie, 1
- the STA 3 in the device group x can determine that the value of the bit corresponding to the STA 3 in the third bitmap information "101" is the second preset value, and can wake up the Wi-Fi of the STA 3
- the interface continues to execute S408; and the STA 2 in the device group x can determine that the value of the bit corresponding to the STA 2 in the third bitmap information "101" is not the second preset value, and the WUR interface of the STA can be Switching from the working state (such as on) to the sleep state (such as off) continues to execute S409, and keeps the STA's Wi-Fi interface in a sleep state (such as off), that is, executes S410.
- the AP may send the second wake-up message carrying the second bitmap information or the third bitmap information corresponding to the device group to the STAs in the device group in the multicast mode or the unicast mode.
- the AP may carry the second bitmap information or the third bitmap information in the second awake message.
- the AP may send a group address carrying the device group to multiple STAs including the device group.
- the first wake up message of the message Since the group address information of one device group is smaller than the identification information of multiple STAs in the device group (such as the device identifier of the STA or the interface identifier of the WUR interface of the STA), the AP is in a device group.
- the plurality of STAs send the first wake-up message carrying the group address information of the device group, which not only identifies the device group, but also reduces the amount of data carried in the first wake-up message. When the amount of data carried in the first wake-up message is small, the first wake-up message can be transmitted to the STA faster, and the STA can keep its WUR interface in a working state or enter a sleep state earlier.
- the at least two bits of the third bitmap information are in one-to-one correspondence with the devices in one device group, that is, each bit in the third bitmap information may correspond to one device in the device group.
- the AP can indicate that the device corresponding to the bit wakes up its Wi-Fi interface; instead of carrying more identification information in the second wake-up message, The amount of data carried in the second wakeup message is reduced.
- the second wake-up message can be transmitted to the STA faster, and the STA can wake up its Wi-Fi interface earlier.
- the AP may carry the fourth bitmap information in the first wake-up message, and carry the “device identifier of the STA to be awake by the AP” or “AP” in the second wake-up message.
- the third implementation scenario is implemented in three ways:
- the fourth bitmap information includes at least two bits, and at least two bits of the fourth bitmap information are in one-to-one correspondence with the plurality of devices, and the first identifier information is used to identify the value as the first preset.
- the device corresponding to the bit of the value.
- the first awake message described in S401-S403 may carry fourth bitmap information, where the fourth bitmap information includes at least two bits, and at least two bits in the fourth bitmap information Corresponding to a plurality of devices (a plurality of STAs receiving the first wake-up message), the first identifier information is used to identify a device corresponding to the bit whose value is the first preset value.
- the first preset value may be 1 or 0, and the specific value of the first preset value may be determined by the AP and the STA.
- the AP may send the first wake-up message by using a broadcast mode, and the fourth bitmap information carried in the first wake-up message may include each of the device groups shown in FIG. The bits corresponding to the STAs.
- the fourth bitmap information may include seven bits “abcdefg” and the seven bits “abcdefg”
- the first bit in the seven bits "abcdefg” " a” may correspond to STA 1
- the second bit “b” may correspond to STA 2
- the third bit “c” may correspond to STA 3
- the fourth bit “d” may correspond to STA 4.
- the fifth bit “e” may correspond to STA 5
- the sixth bit “f” may correspond to STA 6
- the second bit “g” may correspond to STA 7.
- the AP 301 is to wake up the STA 1, the STA 3, and the STA 5.
- the first identifier information may be used to identify STA1, STA3, and STA5
- the first wakeup message may be used to indicate that the WUR interfaces of STA1, STA3, and STA5 are in an active state.
- the AP may send the first wake-up message in a multicast manner, in this case, the first carried in the first wake-up message sent by the AP to the device group x as shown in FIG.
- the four-bit map information may include a bit corresponding to each STA in the device group x
- the fourth bitmap information carried in the first wake-up message sent by the AP to the device group y shown in FIG. 3 may include a device group. The bit corresponding to each STA in y.
- the AP carries the fourth bit in the first wake-up message sent by the device group x as shown in FIG.
- the AP can transmit the fourth bitmap information "101" to the STAs in the device group x as shown in FIG. 13 or FIG. Since the AP does not need to wake up the STAs in the device group y and the device group z, the AP does not need to send the first wake-up message to the STAs in the device group y and the device group z.
- the first identifier information may be used to identify the STA 1 and the STA 3
- the first wake-up message may be used to indicate that the WUR interfaces of the STA 1 and the STA 3 are in an active state.
- S403 in FIG. 4 may be replaced by S403c:
- S403 The STA that receives the first wake-up message determines whether the value of the bit corresponding to the STA in the fourth bitmap information carried in the first wake-up message is a first preset value.
- the STA that receives the first wake-up message determines that the value of the bit corresponding to the STA in the first bitmap information carried in the first wake-up message is the first preset value, proceed to S404;
- the STA to the first wake-up message determines that the value of the bit corresponding to the STA in the first bitmap information carried in the first wake-up message is not the first preset value, and may continue to execute S409:
- the first identification information includes the fourth bitmap information "1010100”
- STA 1, STA 3, and STA-5 may determine STA 1 in the fourth bitmap information "1010100”
- the value of the bit corresponding to the STA 3 and the STA 5 is a first preset value (ie, 1)
- the WUR interface of the STA may be kept in an active state (eg, on), and S404 is continued; and STA 2, STA 4, and STA are performed.
- the WUR of the STA may be The interface is switched from the working state (such as on) to the sleep state (such as off), that is, the execution continues to S409.
- the second identifier information carried in the second waking message includes the “device identifier of the STA to be awake by the AP” or “the interface identifier of the WUR interface of the STA to be awake by the AP”.
- the device identifier of an STA may be the MAC address information of the STA, or may be the AID of the STA.
- the device identifier of an STA may also be used by the STA or the AP to be used to uniquely identify the STA based on the MAC address information of the STA or the AID of the STA.
- the AP 301 can send a second wakeup message to STA 1, STA 3, and STA 5.
- the AP may send the second wakeup message to the STA 1, the STA 3, and the STA 5 in a unicast manner or a broadcast manner.
- the AP may send the MAC-1 or AID-1 as shown in FIG.
- the second wake-up message of the WUR-1 may send the second wake-up message carrying the MAC-3 or the AID-3 or the WUR-3 as shown in FIG. 11 to the STA 3, and may send the message to the STA 5 as shown in FIG.
- the second wake-up message carrying MAC-5 or AID-5 or WUR-5 When the AP sends the second wakeup message in the broadcast mode, as shown in FIG.
- the second wakeup message may carry the MAC-1, the MAC-3, and the MAC-5, or the second wakeup message may carry the AID. -1, AID-3 and AID-5, or the second wakeup message may carry WUR-1, WUR-3 and WUR-5.
- the AP 301 can send a second wake-up message to STA 1 and STA 3.
- the AP may send a second wake-up message to STA 1 and STA 3 in a unicast manner or a broadcast manner.
- the AP may send the second wakeup message carrying the MAC-1 or AID-1 or WUR-1 as shown in FIG.
- a second wake-up message carrying MAC-3 or AID-3 or WUR-3 as shown in FIG. 13 may be transmitted to STA 3.
- the second wakeup message may carry the MAC-1 and the MAC-3, or the second wakeup message may carry the AID-1 and the AID. -3, or the second wakeup message may carry WUR-1 and WUR-3.
- S407 in FIG. 4 may be replaced with S407c:
- the STA that receives the second wake-up message determines whether the second identifier information carried in the second wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA.
- the S408 may continue to be performed;
- the STA of the second wake-up message determines that the second identifier information carried in the second wake-up message does not include the device identifier of the STA or the interface identifier of the WUR interface of the STA, and may continue to execute S409:
- STA 1 can wake up because the second wakeup message received by STA 1 carries MAC-1/AID-1/WUR-1.
- the Wi-Fi interface of the STA 1 ie, the Wi-Fi interface of the STA 1 is switched from the sleep state to the active state), and the execution proceeds to S408.
- the AP sets the fourth bitmap information.
- the value of each bit can be used to indicate that the device corresponding to each bit keeps its WUR interface in a working state or a dormant state; instead of carrying more identification information in the first wake-up message, the first wake-up message can be reduced.
- the amount of data carried in When the amount of data carried in the first wake-up message is small, the first wake-up message can be transmitted to the STA faster, and the STA can be in a working state or a sleep state earlier.
- the AP may carry the device identifier of multiple STAs that the AP wants to wake up in the first wake-up message or the WUR connection of multiple STAs that the AP wants to wake up.
- the interface identifier of the port, in the second wake-up message carries the device identifier of one STA that the AP wants to wake up or the interface identifier of the WUR interface of an STA that the AP wants to wake up to wake up one or more STAs.
- the implementation of the first application scenario is four:
- the first identifier information carried in the first waking message described in S401-S403 may include: “the device identifier of multiple STAs to be awake by the AP” or “the interface identifier of the WUR interface of multiple STAs to be awake by the AP”, and second
- the second identifier information carried in the awake message may include the device identifier of one STA that the AP wants to wake up or the interface identifier of the WUR interface of an STA that the AP wants to wake up.
- the AP 301 as shown in FIG. 3 wakes up one or more STAs within its coverage, it is assumed that the AP 301 is to wake up STA 1, STA 3, and STA 5.
- the AP 301 may send a broadcast manner to multiple STAs including STA 1, STA 3, and STA 5 (including STA 1-STA 7).
- First wake-up message carrying "MAC-1, MAC-3 and MAC-5" or "AID-1, AID-3 and AID-5" or "WUR-1, WUR-3 and WUR-5";
- STA After receiving the first wake-up message, the STA 3 and the STA 5 may determine that the first identifier information carried in the first wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA; STA 1, STA 3 and STA 5 can keep their WUR interface in a working state (on);
- STA 2, STA 4, STA 6 and STA 7 can determine the first wake-up after receiving the first wake-up message.
- the first identifier information carried in the message does not include the device identifier of the STA or the interface identifier of the WUR interface of the STA; then, STA 2, STA 4, STA 6 and STA 7 can have their WUR interface from the working state (on ) Switch to sleep (off).
- the AP may use the multicast mode to send the device identifier of the STA that the AP is to wake up or the interface identifier of the WUR interface to all the STAs in the device group of the STA that the AP is to wake up. First wake up message.
- the AP 301 can transmit to all STAs (STA 1-STA-3) in the device group x where STA 1 and STA 3 are located carrying "MAC-1 and MAC-3" or " The first wake-up message of AID-1 and AID-3" or "WUR-1 and WUR-3" is sent to all STAs (STA 4-STA-5) in the device group y where STA 5 is located carrying "MAC-5" "Or the first wake-up message of "AID-5" or "WUR-5".
- the STA 1, the STA 3, and the STA 5 may determine that the first identifier information carried in the first wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA; STA 1, STA 3 and STA 5 can keep their WUR interface in a working state (on); after receiving the first wake-up message, STA 2 and STA 4 can determine the first carried in the first wake-up message.
- the device identifier of the STA or the interface identifier of the WUR interface of the STA is not included in the identifier information; then, the STA 2 and the STA 4 can switch their WUR interface from the working state (on) to the sleep state (off).
- the AP 301 may send the bearer to the STA 1, the STA 3, and the STA 5 in a multicast manner.
- STA 1, STA 3 and STA 5 receives the second
- the second identifier information carried in the second waking message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA. Then, STA 1, STA 3, and STA 5 can wake up the message.
- the Wi-Fi interface has its Wi-Fi interface in operation (on).
- the AP 301 may send the MAC-1 or AID-1 to the STA 1 in a unicast manner after transmitting the first wake-up message. Or the second wake-up message of the WUR-1"; after receiving the second wake-up message, the STA 1 may determine that the second identifier information carried in the second wake-up message includes the device identifier of the STA or the WUR of the STA The interface identifier of the interface; then, STA 1 can wake up its Wi-Fi interface and put its Wi-Fi interface into operation (on).
- the AP 301 may send a second wake-up message carrying “MAC-3 or AID-3 or WUR-3” to the STA 3 in a unicast manner; the STA 3 receives the second wake-up.
- the second identifier information carried in the second wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA. Then, the STA 3 can wake up the Wi-Fi interface, so that the STA 3 can wake up the Wi-Fi interface.
- the Wi-Fi interface is working (on).
- the AP 301 may send a second wake-up message carrying "MAC-5 or AID-5 or WUR-5" to the STA 5 in a unicast manner; the STA 5 receives the second wake-up.
- the second identifier information carried in the second wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA. Then, the STA 5 can wake up the Wi-Fi interface, so that the STA 5 can wake up the Wi-Fi interface.
- the Wi-Fi interface is working (on).
- the AP may not send the second wakeup message immediately after sending the first wakeup message. Therefore, after the STA that wakes up the AP receives the first wakeup message, even if it is always in the working state, the first indication information is It is also impossible to receive the second wake-up message before the indicated time, which may cause unnecessary waste of STA power consumption.
- the first waking message may further carry the first indication information, where the first indication information is used to indicate the time when the AP sends the second waking message.
- the first indication information may be included in the WUR SIG 503 as shown in FIG. Before S403, the method of the embodiment of the present invention may further include S701, and S404 may be replaced by S404a:
- S701 The STA that receives the first wake-up message switches the WUR interface of the STA from the working state to the sleep state.
- S404a The STA controls the WUR interface of the STA to switch from the sleep state to the working state at the time indicated by the first indication information.
- the STA when receiving the first wake-up message, may first switch the WUR interface of the STA from the working state to the sleep state, and then, at the time indicated by the first indication information, The sleep state is switched to the working state to receive the second wake-up message sent by the AP. In this way, unnecessary waste of power consumption can be avoided.
- the first waking message may further carry the second indication information, where the second indication information is used to notify the STA that the AP uses the first wakeup message and the second wakeup message to indicate that the STA wakes up.
- the STA's Wi-Fi interface Before S403, the method of the embodiment of the present invention may further include S702, and S404 may be replaced by S404a:
- S702 The STA that receives the first wakeup message determines that the first wakeup message further carries the second indication information.
- the second indication information may be included in the WUR SIG 503 as shown in FIG.
- the STA that receives the first wake-up message may determine that the first wake-up message further carries the second indication information when determining that the value of the preset bit in the WUR SIG 503 as shown in FIG. 5 is 1. It can be determined that the AP will use the first wake-up message and the second wake-up message to instruct the STA to wake up the Wi-Fi interface of the STA, and the STA can keep the WUR interface of the STA in an active state.
- the first wake-up message may not carry the second indication information, but may carry the third indication information, where the third indication information may be used to notify the STA that the AP uses the first wake-up message to instruct the STA to wake up the Wi-Fi of the STA. interface.
- the STA that receives the first wake-up message may directly wake up the Wi-Fi interface of the STA without waiting to receive the second wake-up message.
- the third indication information may be included in the WUR SIG 503 as shown in FIG. 5, and the STA that receives the first wake-up message may determine the value of the preset bit in the WUR SIG 503 as shown in FIG. 5. If it is determined that the first wake-up message further carries the third indication information, it may be determined that the AP will use the first wake-up message to instruct the STA to wake up the STA's Wi-Fi interface, and the STA may directly wake up the STA's Wi-Fi. Interface without waiting to receive a second wakeup message.
- the AP may notify the AP that the STA wakes up the mode of the Wi-Fi interface of the STA by using the foregoing second indication information and the third indication information, that is, “the AP indicates the STA by using the first wakeup message and the second wakeup message.
- the STA's Wi-Fi interface or "The AP uses the first wake-up message to instruct the STA to wake up the STA's Wi-Fi interface", so that the STA receives the first wake-up carrying the second indication information or the third indication information
- the mode of the AP waking up the STA may be determined, and when the “AP uses the first wake-up message to instruct the STA to wake up the Wi-Fi interface of the STA”, the second wake-up message is not sent to the STA, and the STA receives the message.
- the Wi-Fi interface cannot be woken up in time, causing the Wi-Fi data transmission between the AP and the STA to fail.
- the imitation AP sends the first wake-up message and the second wake-up message to one or more STAs, causing unnecessary waste of increasing power consumption of the wake-up device STA, AP and STA.
- the first identification information and the second identification information used by the AP to wake up the Wi-Fi interface of the STA next time can be dynamically negotiated.
- the method of the embodiment of the present invention may further include S703-S705:
- the STA After waking up the Wi-Fi interface, the STA sends a wakeup response message to the AP, where the wakeup response message is used to indicate that the STA's Wi-Fi interface is in an active state.
- the working state of the STA's Wi-Fi interface may mean that the STA's Wi-Fi interface can perform Wi-Fi data interaction with the AP.
- the STA may send a PS-Poll frame to the AP through the STA's Wi-Fi interface, or the STA may send a PS-Poll frame to the AP through the STA's Wi-Fi interface after a period of sleep.
- the above wakeup response message may be a PS-Poll frame.
- the AP receives the wakeup response message sent by the STA by using the STA's Wi-Fi interface.
- the AP After receiving the wakeup response message sent by the STA through the STA's Wi-Fi interface, the AP can determine that the STA's Wi-Fi interface is working, that is, the STA's Wi-Fi interface can be The AP performs Wi-Fi data interaction.
- S705 The AP negotiates, with the STA, the first identifier information and the second identifier information that are used when the Wi-Fi interface of the STA is awake.
- the AP may perform Wi-Fi data interaction with the STA to negotiate the first identification information and the second identification information used when the Wi-Fi interface of the STA is awake for the next time.
- the AP may perform Wi-Fi data exchange with the STA, and negotiate the first identification information and the first used when waking up the Wi-Fi interface of the STA.
- the second identification information that is, the first identification information and the second identification information used by the AP each time the WLAN device wakes up the Wi-Fi interface of the STA may be different. In this way, it is possible to increase the difficulty that the malicious device mimics the AP to use the first wake-up message and the second wake-up message to maliciously wake up a large number of STAs, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awakened by the malicious device to consume unnecessary work. Consumption.
- the AP and the STA transmit the WUR message through the WUR interface of the STA to wake up the Wi-Fi interface of the STA (that is, the first wake-up message and the second wake-up message are transmitted through the WUR interface), and the transmission rate of the WUR message may be lower.
- the WUR cannot receive the WUR message in time, and thus cannot wake up its Wi-Fi interface in time, affecting the data transmission on the Wi-Fi interface to be woken up.
- the AP may send the first wake-up message to the WUR interface of one or more STAs to be awake by the AP, in order to improve the efficiency of the AP instructing the STA to wake up the Wi-Fi interface. Instructing the STA to wake up its Wi-Fi interface; then, the AP sends a second wake-up message to the Wi-Fi interface of the one or more STAs that the AP is to wake up, so that the STA that receives the second wake-up message according to the indication of the second wake-up message Determine if your Wi-Fi interface is working.
- the method for waking up a wireless device may include S2001-S2009:
- the AP sends the first wake-up message to the WUR interface of the multiple STAs in the broadcast mode or the multicast mode.
- the first wake-up message carries the first identifier information, where the first identifier information is used to identify the multiple STAs to be included.
- At least one STA, such as the awakened STA, the first wake-up message is used to indicate that the WUR interface of the STA identified by the first identifier information needs to wake up the Wi-Fi interface of the STA to receive the second wake-up message sent by the AP. .
- the specific manner for the AP to send the first wake-up message to the WUR interface of the multiple STAs and the specific content of the first identifier information may refer to the related description in the first aspect of the embodiment of the present invention.
- the embodiments of the present invention are not described herein again.
- the first wake-up message in the first application scenario is used to indicate that the WUR interface of the STA identified by the first identifier information needs to be in a working state
- the first wake-up message in the second application scenario is used to indicate The WUR interface of the STA identified by the foregoing first identifier information needs to wake up the Wi-Fi interface of the STA to receive the second wake-up message sent by the AP.
- S2002 The multiple STAs receive the AP by using the WUR interface of the multiple STAs in a broadcast manner. Or the first wake-up message sent by multicast.
- S2003 The STA that receives the first wakeup message determines whether the STA is one of the STAs identified by the first identifier information.
- the S2004 may continue to be performed; if the STA determines that the STA is not one of the STAs identified by the first identifier information, the STA The WUR interface of the STA can be switched from the working state to the sleep state, and the Wi-Fi interface of the STA is kept in a dormant state.
- S2004 The STA wakes up the STA's Wi-Fi interface.
- the AP After transmitting the foregoing first wake-up message, the AP sends a second wake-up message to the WUR interface of the at least one STA that includes the STA to be woken up.
- the specific manner of the second wake-up message sent by the AP to the WUR interface of the at least one STA, including the STA to be awake, and the specific content of the second identifier information may be referred to.
- the related description in the first application scenario of the embodiment of the present invention is not described herein again.
- the second wake-up message in the first application scenario is used to indicate that the STA identified by the second identifier information wakes up the Wi-Fi interface of the STA, and the second wake-up message in the second application scenario is used.
- the Wi-Fi interface indicating the device identified by the second identification information is in an active state.
- the second wake-up message in the second application scenario may be a WUR Beacon message or a TIM frame carrying a Data Indication Map (TIM) element.
- the second wake-up message in the second application scenario may be a specially defined action frame, and the action frame may carry bitmap information (such as second bitmap information).
- FIG. 21 is a schematic structural diagram of a message of a second wake-up message according to an embodiment of the present invention.
- the second wake-up message may include one or more of a Physical Layer (PHY) header 2101, a MAC header 2102, a frame body 2103, and an FCS 2104.
- a TIM element 2105 is included in the frame body 2103, and the TIM element 2105 includes at least second identification information 2108.
- the TIM element 2105 can also include a TIM element identification 2106 and a length 2107.
- the second identifier information 2108 shown in FIG. 21 may be the second bitmap information in the embodiment of the present invention, or the second identifier information 2108 may include the device identifier of the STA that the AP is to wake up or the AP needs to wake up.
- the interface identifier of the STA's Wi-Fi interface may be the second bitmap information in the embodiment of the present invention, or the second identifier information 2108 may include the device identifier of the STA that the AP is to wake up or the AP needs to wake up.
- the interface identifier of the STA's Wi-Fi interface may be the second bitmap information in the embodiment of the present invention, or the second identifier information 2108 may include the device identifier of the STA that the AP is to wake up or the AP needs to wake up.
- At least one STA of the at least one STA that includes the STA to be awake receives the second wakeup message through its Wi-Fi interface.
- S2007 The STA that receives the second wakeup message determines whether the STA is one of the STAs identified by the second identifier information.
- the S2008 may continue to be performed; if the STA that receives the second wakeup message determines that the STA is not the second One STA of the STA identified by the identification information may continue to execute S2009.
- S2008 The STA keeps the STA's Wi-Fi interface in an active state.
- S2009 The STA switches the STA's Wi-Fi interface from the working mode to the sleep state.
- the AP may use the first wakeup message and the second wakeup message to instruct one or more STAs to wake up their Wi-Fi interface.
- the STA that receives the first wake-up message may wake up its Wi-Fi interface according to the indication of the first wake-up message to wait to receive the second wake-up message or keep its Wi-Fi interface in a sleep state; however, wake up Wi- The Wi-Fi interface of the STA of the Fi interface is not always in working state, but needs to determine whether the STA's Wi-Fi interface is in the working state after receiving the second wake-up message; instead of receiving one After the wake-up message, the Wi-Fi interface of the STA is woken up according to the value of the corresponding bit in the bitmap information carried in the wake-up message, and the Wi-Fi interface of the STA is kept in the working state.
- Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
- the AP may wake up one or more STAs by carrying the same or different content in the first wakeup message and the second wakeup message.
- the AP may wake up one or more STAs by including the first bitmap information in the first identifier information and the second bitmap information in the second identifier information.
- the AP may wake up one or more STAs by including the first bitmap information in the first identifier information and the second bitmap information in the second identifier information.
- S2003 in FIG. 20 may be replaced with S403a.
- the STA that receives the first wake-up message determines that the value of the bit corresponding to the group in which the STA is located in the first bitmap information carried in the first wake-up message is the first preset value, the S2004 may be continued.
- the STA that receives the first wake-up message determines that the value of the bit corresponding to the group in which the STA is located in the first bitmap information carried in the first wake-up message is not the first preset value
- the STA may The WUR interface is switched from the working state to the sleep state, and the Wi-Fi interface of the STA is kept in a sleep state.
- the AP 301 as shown in FIG. 3 wakes up one or more STAs in its coverage, assuming that the first preset value is 1, the AP 301 wakes up STA 1 and STA 3 in the device group x, and STA 5 in the device group y, then, as shown in FIG.
- the STA in the device group x (such as STA 1 or STA 2) and the device group y
- the STA in the STA (such as STA 4 or STA 5) may determine that the value of the bit corresponding to the device group (such as device group x or device group y) in the first bitmap information "110" is the first preset value (That is, 1), the Wi-Fi interface of the STA can be woken up, and the Wi-Fi interface is in an active state (such as on) to continue to execute S2004; and the STA in the device group z (such as STA 6) can determine the first In the bitmap information "110", the value of the bit corresponding to the device group z is not the first preset value, and the WUR interface of the STA may be switched from the working state (such as on) to the sleep state (such as off), and the AT is maintained.
- the Wi-Fi interface is in a sleep state.
- S2007 in FIG. 20 may be replaced with S407a.
- the STA that receives the second wakeup message determines that the value of the bit corresponding to the STA in the second bitmap information is the second preset value
- the S2008 may continue to be performed; if the second wakeup message is received
- the STA determines that the value of the bit corresponding to the STA in the second bitmap information is not the second preset value, and may continue to execute S2009.
- the AP 301 can send a second wakeup message to the STAs in the device group x and the device group y.
- the AP 301 should wake up STA 1 and STA 3 in the device group x; then, as shown in FIG. 23, the AP 301 can send the STA in the device group x.
- a second wake-up message carrying the second bitmap information "101".
- the second identifier information carried in the second wake-up message may be used to identify the STA 1 and the STA 3
- the second wake-up message may be used to indicate that the Wi-Fi interfaces of the STA 1 and the STA 3 are in an active state.
- the STA 1 and the STA 3 in the device group x can determine the STA 1 in the second bitmap information "101". If the value of the corresponding bit is the second preset value (ie, 1), the S2008 may continue to be executed, and the Wi-Fi interface is kept in the working state; and the STA 2 in the device group x may determine the second bitmap information.
- the value of the bit corresponding to the STA 2 in 101" is not the second preset value, and the Wi-Fi of the STA may be switched from the working state (such as on) to the sleep state (such as off), that is, the S2009 is continued.
- the AP may carry the third bitmap in the second wakeup message by carrying the group address information of the device group of the one or more STAs that the AP is to wake up in the first wakeup message. Information to wake up one or more STAs.
- S2003 in FIG. 20 may be replaced with S403b.
- the STA that receives the first wake-up message determines that the first identifier information carried in the first wake-up message includes the group address information of the group in which the STA is located
- the S2004 may continue to be performed; if the first wake-up message is received, The STA determines that the first identifier information carried in the first wake-up message does not include the group address information of the group in which the STA is located, and the STA can keep the Wi-Fi interface of the STA in a dormant state.
- the STA may also switch the WUR interface of the STA from the working state to the sleep state.
- the first identification information carried in the first wake-up message includes the group address information X of the device group x and the group address information Y of the device group y; then, the STA in the device group x (such as STA 1 or STA 2) and STAs in device group y (such as STA 4 or STA 5) can wake up the STA's Wi-Fi interface and put its Wi-Fi interface into operation (such as on), that is, continue Execute S2004.
- the STA in the device group z (such as the STA 6) can maintain the Wi- of the STA.
- the Fi interface is in a sleep state (such as off), and the WUR interface of the STA is switched from the working state to the sleep state.
- S2007 in FIG. 20 may be replaced with S407b.
- S407a After performing S407a, if the STA that receives the second wake-up message determines that the value of the bit corresponding to the STA in the third bitmap information carried in the second wake-up message is the second preset value, S2008 may continue to be performed; If the STA that receives the second wakeup message determines the third carried in the second wakeup message The value of the bit corresponding to the STA in the bitmap information is not the second preset value, and S2009 can be continued.
- the AP 301 can send the first to the STAs in the device group x and the device group y. Second wake up message.
- the AP 301 should wake up STA 1 and STA 3 in the device group x; then, as shown in FIG. 23, the AP 301 can send the STA in the device group x.
- the second wake-up message carrying the third bitmap information "101".
- the second identifier information carried in the second wake-up message may be used to identify the STA 1 and the STA 3
- the second wake-up message may be used to indicate that the Wi-Fi interfaces of the STA 1 and the STA 3 are in an active state.
- the STA 1 and the STA 3 in the device group x can determine the STA 1 in the third bitmap information "101". If the value of the corresponding bit is the second preset value (ie, 1), the S2008 may continue to be executed to keep the Wi-Fi interface in the working state; and the STA 2 in the device group x may determine the third bitmap information.
- the value of the bit corresponding to the STA 2 in 101" is not the second preset value, and the Wi-Fi of the STA may be switched from the working state (such as on) to the sleep state (such as off), that is, the S2009 is continued.
- the AP may carry the fourth bitmap information in the first wakeup message, and carry the “device identifier of the STA to be awake by the AP” or “AP wake up” in the second wakeup message.
- the interface identifier of the WUR interface of the STA" to wake up one or more STAs.
- S403 in FIG. 20 may be replaced by S403c.
- the S2004 may continue to be performed; If the STA that receives the first wake-up message determines that the value of the bit corresponding to the STA in the fourth bitmap information carried in the first wake-up message is not the first preset value, the WUR interface of the STA is switched from the working state. Go to sleep and keep the STA's Wi-Fi interface in a sleep state.
- the AP may send the first wake-up message by using a broadcast mode, and the fourth bitmap information carried in the first wake-up message may include each of the device groups shown in FIG. The bits corresponding to the STAs. As shown in FIG. 25 or FIG. 25, the first wake-up message may carry the fourth bitmap information "1010100".
- the first identification information may be used to identify STA 1, STA 3, and STA 5.
- the first wake-up message may be used to instruct STA 1, STA 3, and STA 5 to wake up their Wi-Fi interface to make Wi- The Fi interface is working.
- the AP may send the first wake-up message in the multicast mode.
- the fourth bitmap information carried in the first wake-up message sent by the AP to the device group x may be
- the fourth bitmap information carried in the first wake-up message sent by the AP to the device group y may include the bit corresponding to each STA in the device group y, including the bit corresponding to each STA in the device group x.
- the first identification information may be used to identify the STA 1 and the STA 3
- the first wake-up message may be used to instruct the STA 1 and the STA 3 to wake up their Wi-Fi interface and make the Wi-Fi interface in an active state.
- S2007 in FIG. 20 may be replaced with S407c.
- the STA that receives the second wakeup message determines that the second identifier information carried in the second wakeup message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA, the S2008 may continue to be performed;
- the STA that receives the second wake-up message determines that the second identifier information carried in the second wake-up message does not include the device identifier of the STA or the interface identifier of the WUR interface of the STA, and may continue to perform S2009.
- the AP 301 can send a second wakeup message to STA 1, STA 3, and STA 5.
- the AP may send the STA 1 carrying the MAC-1 or AID-1 or WUR-1 as shown in FIG.
- the second wake-up message may send a second wake-up message carrying MAC-3 or AID-3 or WUR-3 as shown in FIG.
- the STA 3 may send the MAC-5 carried to the STA 5 as shown in FIG. 25.
- the second wake-up message of AID-5 or WUR-5 may carry the MAC-1, the MAC-3, and the MAC-5, or the second wakeup message may carry the AID. -1, AID-3 and AID-5, or the second wakeup message may carry WUR-1, WUR-3 and WUR-5.
- the AP 301 can send a second wake-up message to STA 1 and STA 3.
- the AP may send a second wake-up message to STA 1 and STA 3 in a unicast manner or a broadcast manner.
- the AP may send the second wakeup message carrying MAC-1 or AID-1 or WUR-1 as shown in FIG.
- a second wake-up message carrying MAC-3 or AID-3 or WUR-3 as shown in FIG. 27 may be transmitted to STA 3.
- the second wake-up message may carry the MAC-1 and the MAC-3, or the second wake-up message may carry the AID-1 and the AID. -3, or the second wakeup message may carry WUR-1 and WUR-3.
- the second wake-up message received by STA 1 carries MAC-1/AID-1/WUR-1. Therefore, STA 1 can wake up the STA 1 Wi-Fi interface (ie, switch the STA 1 Wi-Fi interface from the sleep state to the active state), and continue to execute S2008.
- the AP may carry, in the first wake-up message, the “device identifier of multiple STAs to be awake by the AP” or the interface identifier of the WUR interface of multiple STAs that the AP is to wake up.
- the device identifier of one STA that the AP wants to wake up or the interface identifier of the WUR interface of an STA that the AP wants to wake up is used to wake up one or more STA.
- the AP 301 may adopt a broadcast manner to include Multiple STAs (including STA 1-STA 7) including STA 1, STA 3, and STA 5 carry "MAC-1, MAC-3, and MAC-5" or "AID-1, AID-3, and AID- The first wake-up message of 5" or "WUR-1, WUR-3, and WUR-5"; after receiving the first wake-up message, STA 1, STA 3, and STA 5 may determine that the first wake-up message is carried.
- Multiple STAs including STA 1-STA 7
- STA 1 STA 3, and STA 5 carry "MAC-1, MAC-3, and MAC-5" or "AID-1, AID-3, and AID-
- the first wake-up message of 5" or "WUR-1, WUR-3, and WUR-5"; after receiving the first wake-up message, STA 1, STA 3, and STA 5 may determine that the first wake-up message is carried.
- the first identifier information includes the device identifier of the STA or the interface identifier of the WUR interface of the STA. Then, unlike FIG. 16 or FIG. 17, STA 1, STA 3, and STA 5 can wake up their Wi-Fi interface and put their Wi-Fi interface into operation (on). After receiving the first wake-up message, the STA 2, the STA 4, the STA 6 and the STA 7 may determine that the first identifier information carried in the first wake-up message does not include the device identifier of the STA or the WUR interface of the STA. Interface identifier.
- the AP may use the multicast mode to send the device identifier of the STA that the AP is to wake up or the interface identifier of the WUR interface to all the STAs in the device group of the STA that the AP is to wake up.
- First wake up message Based on the scenario shown in FIG. 3, assuming that the AP 301 is to wake up STA 1, STA 3, and STA 5, as shown in FIG. 31 or FIG.
- the AP 301 can go to all STAs in the device group x where STA 1 and STA 3 are located ( STA 1-STA-3) sends a first wake-up message carrying "MAC-1 and MAC-3" or "AID-1 and AID-3” or "WUR-1 and WUR-3" to the device where STA 5 is located All STAs (STA 4-STA-5) within group y send a first wake-up message carrying "MAC-5" or "AID-5" or "WUR-5".
- the STA 1, the STA 3, and the STA 5 receive the first wake-up message, and determine that the first identifier information carried in the first wake-up message includes the device identifier of the STA or the STA. After the interface of the WUR interface is identified, you can wake up its Wi-Fi interface and make its Wi-Fi interface working (on).
- the AP 301 may send the bearer to the STA 1, the STA 3, and the STA 5 in a multicast manner.
- the STA 1 , the STA 3 , and the STA 5 receive the second wake-up message, and determine that the second identifier information carried in the second wake-up message includes the device identifier of the STA or the interface of the WUR interface of the STA. After the identification, the Wi-Fi interface can be kept working (on).
- the AP 301 may send the MAC-1 or AID-1 to the STA 1 in a unicast manner after transmitting the first wake-up message. Or the second wake-up message of the WUR-1"; after receiving the second wake-up message, the STA 1 may determine that the second identifier information carried in the second wake-up message includes the device identifier of the STA or the WUR of the STA The interface identifier of the interface; then, STA 1 can keep its Wi-Fi interface working (on).
- the AP 301 may send a second wake-up message carrying “MAC-3 or AID-3 or WUR-3” to the STA 3 in a unicast manner; the STA 3 receives the second wake-up.
- the second identifier information carried in the second wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA; STA 3 can keep its Wi-Fi interface active (on).
- the first wake-up message may further carry the first indication information, where the first indication information is used to indicate Receiving the time when the AP sends the second wakeup message.
- the first indication information may be included in the WUR SIG 503 as shown in FIG.
- the method of the embodiment of the present invention may further include S2201, and S2004 may be replaced by S2004a:
- S2201 The STA that receives the first wake-up message keeps the STA's Wi-Fi in a sleep state.
- S2004a The STA switches the STA's Wi-Fi interface from the sleep state to the working state at the time indicated by the first indication information.
- the STA when receiving the first wake-up message, may first keep the Wi-Fi of the STA in a dormant state, and then, at the time indicated by the first indication information, the STA's Wi-Fi interface is The sleep state is switched to the working state to receive the second wake-up message sent by the AP. In this way, unnecessary waste of power consumption can be avoided.
- the first wake-up message may further include second indication information, where the second indication information is used to notify the STA that the AP uses the first wake-up message and the second The wakeup message instructs the STA to wake up the STA's Wi-Fi interface.
- the method of the embodiment of the present invention may further include S702.
- the simulated AP in order to prevent the malicious device from masquerading as an AP, the simulated AP sends the first wake-up message and the second wake-up message to one or more STAs, thereby increasing the wake-up device.
- the unnecessary waste of the power consumption of the STA, the AP and the STA can dynamically negotiate the first identification information and the second identification information used by the AP to wake up the Wi-Fi interface of the STA next time.
- the method of the embodiment of the present invention may further include S703-S705.
- the AP can perform Wi-Fi data exchange with the STA, and negotiate the first identifier information and the second identifier information used when the Wi-Fi interface of the STA is awake for the next time. That is, the first identification information and the second identification information used by the AP each time the wake-up of the STA's Wi-Fi interface may be different. In this way, it is possible to increase the difficulty that the malicious device mimics the AP to use the first wake-up message and the second wake-up message to maliciously wake up a large number of STAs, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awakened by the malicious device to consume unnecessary work. Consumption.
- the solution provided by the embodiment of the present invention is mainly introduced from the perspective of the interaction between the AP (ie, the first wireless device) and the STA (ie, the second wireless device).
- the above wireless device includes a hardware structure and/or a software module corresponding to each function.
- the present invention can be implemented in hardware or by combining the AP (ie, the first wireless device) and the STA (ie, the second wireless device) and algorithm steps of the various examples described in the embodiments disclosed herein.
- a combination of hardware and computer software is implemented. Whether a function is executed by hardware or computer software to drive hardware depends on the specific application and design constraints of the technical solution. condition.
- a person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
- FIG. 33 shows the wireless device 3300 involved in the foregoing embodiment
- the wireless device 3300 is a first wireless device (such as an AP)
- the wireless device 3300 may include: a processor 3301, a communication interface 3302 (such as a Wi-Fi interface) And memory 3303.
- the processor 3301, the memory 3303, and the communication interface 3302 are connected to each other through a bus 3304.
- the memory 3303 is configured to store computer program code, the computer program code sequence including instructions, when the processor 3301 of the wireless device 3300 executes the instruction, the wireless device 3300 performs any of the following FIG. 4, FIG. 8, FIG. 15, or FIG.
- the method steps in the figure implement the method for waking up the wireless device in the above embodiment.
- the processor 3301 is configured to generate a first wakeup message and a second wakeup message, support S704, S705 in the foregoing embodiment, and/or be used in this document.
- Communication interface 3302 is used to support S2001, S2005, and/or other processes for the techniques described herein in the above-described embodiments.
- the processor 3301 is configured to generate a first wakeup message and a second wakeup message, support S704, S705 in the foregoing embodiment, and/or be used in the techniques described herein.
- Communication interface 3302 is used to support S2001, S2005, and/or other processes for the techniques described herein in the above-described embodiments.
- the processor may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and a field programmable gate array. (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof.
- the processor 3301 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the bus 3304 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- the above bus 3304 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 33, but it does not mean that there is only one bus or one type of bus.
- the wireless device 3300 can include one or more processors 3301, ie, the wireless device 3300 can include a multi-core processor.
- the embodiment of the present invention further provides a computer storage medium, where the computer program code is stored.
- the processor 3301 of the wireless device 3300 executes the computer program code
- the wireless device 3300 executes as shown in FIG. 4 and FIG. 8 or A method of waking up a wireless device as shown in any of the Figures.
- FIG. 34 shows the wireless device 3400 involved in the foregoing embodiment
- the wireless device 3400 is a first wireless device (such as an AP)
- the wireless device 3400 may include: a processor 3301, a first communication interface 3402 (such as Wi- Fi interface), second communication interface (such as WUR interface) 3403, and memory 3404.
- the processor 3401, the first communication interface 3402, the second communication interface 3403, and the memory 3404 are connected to each other through a bus 3405.
- the memory 3404 is configured to store computer program code, the computer program code sequence including instructions, when the processor 3401 of the wireless device 3400 executes the instruction, the wireless device 3400 performs any of the following FIG. 4, FIG. 8, FIG. 15, or FIG.
- the method steps in the figure implement the method for waking up the wireless device in the above embodiment.
- the processor 3401 is configured to support S704, S705 in the foregoing embodiment, and/or other processes for the techniques described herein.
- the first communication interface 3302 is for supporting S401 in the above embodiments, and/or other processes for the techniques described herein.
- the second communication interface 3403 is for supporting S405 in the above embodiments, and/or other processes for the techniques described herein.
- the processor 3401 is configured to support S704, S705, and/or other processes for the techniques described herein in the above embodiments.
- the first communication interface 3302 is for supporting S2001 in the above embodiments, and/or other processes for the techniques described herein.
- the second communication interface 3403 is for supporting S2005 in the above embodiments, and/or other processes for the techniques described herein.
- the above processor may be a CPU, a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof.
- the processor 3401 may also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the bus 3405 can be a PCI bus or an EISA bus.
- the bus 3405 described above can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 34, but it does not mean that there is only one bus or one type of bus.
- the wireless device 3400 can include one or more processors 3401, ie, the wireless device 3400 can include a multi-core processor.
- the embodiment of the present invention further provides a computer storage medium, where the computer program code is stored, and when the processor 3401 of the wireless device 3400 executes the computer program code, the wireless device 3400 executes as shown in FIG. 4 and FIG. A method of waking up a wireless device as shown in any of Figures 15 or 20.
- FIG. 35 shows the wireless device 3500 involved in the foregoing embodiment
- the wireless device 3500 is a second wireless device (such as a STA)
- the wireless device 3500 may include: a processor 3301, a first communication interface 3502 (such as Wi- Fi interface), second communication interface (such as WUR interface) 3503, and memory 3504.
- the processor 3501, the first communication interface 3502, the second communication interface 3503, and the memory 3504 are connected to each other through a bus 3505.
- the memory 3504 is configured to store computer program code, the computer program code sequence including instructions, when the processor 3501 of the wireless device 3500 executes the instruction,
- the wireless device 3500 performs the method steps of any of the embodiments of FIG. 4, FIG. 8, FIG. 15, or FIG. 20 to implement the method for waking up the wireless device in the above embodiments.
- the processor 3501 is configured to support S403, S403a, S403b, S403c, S404, S404a, S407, S407a, S407b, S407c, S408-S410 in the foregoing embodiment. , S701, S702, S705, and/or other processes for the techniques described herein.
- the first communication interface 3302 is for supporting S402, S406, and/or other processes for the techniques described herein in the above-described embodiments.
- the second communication interface 3503 is for supporting S703 in the above embodiments, and/or other processes for the techniques described herein.
- the processor 3501 is configured to support S2003, S403a, S403b, S403c, S2004, S2004a, S2007, S407a, S407b, S407c, S2008-S2009, S2201 in the foregoing embodiment.
- S702 and/or other processes for the techniques described herein.
- the first communication interface 3302 is for supporting S2002 in the above embodiments, and/or other processes for the techniques described herein.
- the second communication interface 3503 is for supporting S703, S2006, and/or other processes for the techniques described herein in the above embodiments.
- the above processor may be a CPU, a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof.
- the processor 3501 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the bus 3505 can be a PCI bus or an EISA bus.
- the above bus 3505 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 35, but it does not mean that there is only one bus or one type of bus.
- the wireless device 3500 can include one or more processors 3501, ie, the wireless device 3500 can include a multi-core processor.
- the embodiment of the present invention further provides a computer storage medium, where the computer program code is stored, and when the processor 3501 of the wireless device 3500 executes the computer program code, the wireless device 3500 executes as shown in FIG. 4 and FIG. A method of waking up a wireless device as shown in any of Figures 15 or 20.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the modules or units is only a logical function division.
- there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling through some interface, device or unit. Or a communication connection, which may be in electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present application.
- the foregoing storage medium includes: a flash memory, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program codes.
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 a device for waking up a wireless device, relating to the field of communication technologies, being able to improve the security of the process of an STA being woken up by an AP and avoid unnecessary power consumption as the STA is maliciously woken up by a malicious device. The specific solution is as follows: a first wireless device sends a first wake-up message, by broadcast or multicast, to first communication interfaces of a plurality of devices, the first wake-up message carrying first identification information, the first wake-up message being used for instructing that the first communication interface of the device identified by the first identification information needs to be in a working state so as to receive a second wake-up message subsequently sent by the first wireless device; and after sending the first wake-up message, the first wireless device sends the second wake-up message to the first communication interface of at least one device, among the at least one device described above, including the second wireless device, the second wake-up message being used for instructing the device identified by second identification information carried in the second wake-up message to wake up a second communication interface of the device.
Description
本申请要求于2017年03月02日提交中国专利局、申请号为201710121709.0、发明名称为“一种无线通信的方法和设备的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 200910121709.0, entitled "A Method and Apparatus for Wireless Communication," which is incorporated herein by reference. .
本申请涉及通信技术领域,尤其涉及一种唤醒无线设备的方法及设备。The present application relates to the field of communications technologies, and in particular, to a method and device for waking up a wireless device.
电气和电子工程师协会(Institute of Electrical and Electronics Engineers,IEEE)802.11标准组织计划制定基于无线保真(Wireless Fidelity,Wi-Fi)的物联网标准,目标是将Wi-Fi技术推广应用到物联网领域,以及移动终端和数字医疗设备。但是,现有的移动终端的Wi-Fi通信模块的功耗太大,因此改进和降低Wi-Fi通信技术的功耗是非常有必要的。The Institute of Electrical and Electronics Engineers (IEEE) 802.11 standards organization plans to develop Wireless Fidelity (Wi-Fi)-based IoT standards with the goal of extending Wi-Fi technology to the Internet of Things. , as well as mobile terminals and digital medical devices. However, the power consumption of the Wi-Fi communication module of the existing mobile terminal is too large, so it is very necessary to improve and reduce the power consumption of the Wi-Fi communication technology.
为了解决上述问题,IEEE 802.11标准组织提出了一种可以降低Wi-Fi通信技术的平均功耗,同时实现按需(On-Demand)实时数据传输的超低功耗唤醒无线电/接收机(Wake-Up Radio/Receiver,WUR)技术。具体的,WUR技术是指在设备上增加一个WUR模块,当没有数据接收或传输时,设备的主通信模块(例如,Wi-Fi模块)进入深度休眠,并打开WUR模块进行超低功耗侦听。举例来说,假设接入点(Access Point,AP)为唤醒设备,站点(Station,STA)为被唤醒设备,STA的WUR模块处于工作状态,可以监听AP发送的WUR消息,STA的主通信模块(如Wi-Fi模块)处于休眠状态。如图1所示,当AP有数据(如Wi-Fi消息)需要传输给STA时,AP可以先向STA的WUR模块发送WUR消息,STA的WUR模块收到WUR消息后,如果确定该WUR消息的接收者地址匹配STA的WUR的地址,并且该WUR消息是正确、真实的,则可以向STA的主通信模块发送唤醒信号,以唤醒STA的主通信模块。In order to solve the above problem, the IEEE 802.11 standard organization proposes an ultra-low power wake-up radio/receiver (Wake- that can reduce the average power consumption of Wi-Fi communication technology while realizing on-demand real-time data transmission (Wake- Up Radio/Receiver, WUR) technology. Specifically, the WUR technology refers to adding a WUR module to the device. When no data is received or transmitted, the device's main communication module (for example, a Wi-Fi module) enters deep sleep, and the WUR module is turned on for ultra low power detection. listen. For example, if an access point (AP) is a wake-up device, a station (Station, STA) is a wake-up device, and the WUR module of the STA is in a working state, the WUR message sent by the AP can be monitored, and the STA's main communication module is (such as Wi-Fi module) is in a sleep state. As shown in Figure 1, when an AP has data (such as a Wi-Fi message) to be transmitted to the STA, the AP may first send a WUR message to the WUR module of the STA. After the WUR module of the STA receives the WUR message, if the WUR message is determined. The receiver address matches the address of the WUR of the STA, and the WUR message is correct and true, and a wake-up signal can be sent to the STA's main communication module to wake up the STA's main communication module.
其中,当AP有数据需要传输给多个STA,即AP需要唤醒多个STA的主通信模块时,该AP可以通过向该多个STA的WUR模块发送携带有位图信息的WUR消息,该位图信息中的每一个比特位对应于一个STA;STA在接收到携带有位图信息的WUP后,可以判断该位图信息中与该STA对应的比特位的值是否为预设值(如与该STA对应的比特位是否置“1”),若该STA确定与该STA对应的比特位的值为预设值(如与该STA对应的比特位置“1”),则可以发送唤醒信号给STA的主通信模块,以唤醒STA的主通信模块。When the AP has data to be transmitted to multiple STAs, that is, the AP needs to wake up the main communication module of multiple STAs, the AP may send a WUR message carrying bitmap information to the WUR module of the multiple STAs. Each bit in the picture information corresponds to one STA; after receiving the WUP carrying the bitmap information, the STA can determine whether the value of the bit corresponding to the STA in the bitmap information is a preset value (eg, Whether the bit corresponding to the STA is set to "1"), if the STA determines that the value of the bit corresponding to the STA is a preset value (such as a bit position "1" corresponding to the STA), a wake-up signal may be sent to The STA's main communication module to wake up the STA's main communication module.
但是,在上述唤醒方式下,可能会有一些恶意设备伪装成AP,模仿AP向多个STA发送携带位图信息的WUR消息,并可以简单地通过将该位图信息的比特位部分或者全部置“1”,以从而能轻易地同时唤醒大量STA的主通信模块,这样会使大量STA被恶意设备恶意地唤醒,造成增加被唤醒设备STA
的功耗的不必要的浪费,降低被唤醒设备的电池的续航时间。并且,大量STA的主通信模块被恶意唤醒后,这些STA会竞相在空口上发送上行消息,造成空口的拥塞和空口资源的浪费。However, in the above awake mode, some malicious devices may be masquerading as APs, and the simulated AP sends a WUR message carrying bitmap information to multiple STAs, and may simply or partially set the bits of the bitmap information. "1", so that the main communication module of a large number of STAs can be easily awake at the same time, which causes a large number of STAs to be maliciously awake by the malicious device, resulting in an increase in the wake-up device STA.
Unnecessary waste of power consumption reduces the battery life of the device being woken up. Moreover, after the main communication module of a large number of STAs is awake maliciously, the STAs will compete to send uplink messages on the air interface, causing congestion of the air interface and waste of air interface resources.
发明内容Summary of the invention
本申请提供一种唤醒无线设备的方法及设备,可以提高STA被AP唤醒过程的安全性,避免STA被恶意设备恶意地唤醒而消耗不必要的功耗。The present application provides a method and a device for waking up a wireless device, which can improve the security of the STA being awake by the AP, and prevent the STA from being maliciously awake by the malicious device and consuming unnecessary power consumption.
第一方面,本申请提供一种唤醒无线设备的方法,包括:第一无线设备以广播方式或组播方式向多个设备的第一通信接口发送携带有第一标识信息的第一唤醒消息,该第一标识信息用于标识上述多个设备中包括上述第二无线设备在内的至少一个设备,该第一唤醒消息用于指示该第一标识信息所标识的设备的第一通信接口需处于工作状态以接收该第一无线设备后续发送的第二唤醒消息;该第一无线设备在发送上述第一唤醒消息后,向上述至少一个设备中包括上述第二无线设备在内的至少一个设备的第一通信接口发送携带有第二标识信息的第二唤醒消息,该第二标识信息用于标识该第一无线设备要唤醒的设备,该第一无线设备要唤醒的设备包括上述第二无线设备,该第二唤醒消息用于指示该第二标识信息所标识的设备唤醒该设备的第二通信接口。In a first aspect, the present application provides a method for waking up a wireless device, including: transmitting, by a first wireless device, a first wake-up message carrying first identification information to a first communication interface of multiple devices in a broadcast manner or a multicast manner, The first identification information is used to identify at least one of the plurality of devices, including the second wireless device, where the first wake-up message is used to indicate that the first communication interface of the device identified by the first identification information needs to be located a working state to receive a second wake-up message sent by the first wireless device; the first wireless device, after transmitting the first wake-up message, to at least one device of the at least one device including the second wireless device The first communication interface sends a second wake-up message carrying the second identifier information, where the second identifier information is used to identify the device that the first wireless device is to wake up, and the device that the first wireless device is to wake up includes the second wireless device. The second wake-up message is used to indicate that the device identified by the second identifier information wakes up the second communication interface of the device.
其中,第一无线设备(如AP)可以使用第一唤醒消息和第二唤醒消息指示包括第二无线设备(如STA)在内的多个设备唤醒其第二通信接口。这样,第二无线设备在接收到第一唤醒消息后,还不能确定是否唤醒该第二无线设备的第二通信接口,需要等待接收第二唤醒消息,而后根据接收到的第二唤醒消息才可以确定是否要唤醒该第二无线设备的第二通信接口;而不是在接收到一个唤醒消息后,就根据该唤醒消息携带的位图信息中的对应比特位的值,直接唤醒第二无线设备的第二通信接口。这样的双重确认唤醒机制可以增加恶意设备恶意唤醒大量STA的难度,提高STA被AP唤醒过程的安全性,避免STA被恶意设备恶意地唤醒而消耗不必要的功耗。The first wireless device (such as an AP) may use the first wake-up message and the second wake-up message to indicate that multiple devices including the second wireless device (such as STA) wake up their second communication interface. In this way, after receiving the first wake-up message, the second wireless device cannot determine whether to wake up the second communication interface of the second wireless device, wait for receiving the second wake-up message, and then according to the received second wake-up message. Determining whether to wake up the second communication interface of the second wireless device; instead of directly waking up the second wireless device according to the value of the corresponding bit in the bitmap information carried by the wake-up message after receiving a wake-up message The second communication interface. Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
结合第一方面,在第一种可能的实现方式中,上述第一标识信息包括第一位图信息,该第一位图信息中包括至少两个比特位,该第一位图信息中的至少两个比特位与所述多个设备中的至少两组设备中的每个设备组一一对应,该至少两组设备中的每个设备组包括至少一个设备,上述第一标识信息用于标识该第一位图信息中值为第一预设值的比特位所对应的设备组,上述第二无线设备为该第一位图信息中值为第一预设值的比特位所对应的设备组中的一组设备中的一个设备。上述第二标识信息包括第二位图信息,该第二位图信息中包括至少两个比特位,该第二位图信息中的至少两个比特位与第一位图信息中值为第一预设值的比特位所对应的设备组中的设备一一对应,上述第二标识信息用于标识该第二位图信息中值为第二预设值的比特位所对应的设备。With reference to the first aspect, in a first possible implementation, the first identifier information includes first bitmap information, where the first bitmap information includes at least two bits, and at least the first bitmap information Two bits are in one-to-one correspondence with each of the at least two groups of the plurality of devices, each of the at least two groups of devices includes at least one device, and the first identification information is used to identify The device in the first bitmap information is a device group corresponding to the first preset value, and the second wireless device is a device corresponding to the first preset value in the first bitmap information. One of a group of devices in a group. The second identifier information includes second bitmap information, where the second bitmap information includes at least two bits, and at least two of the second bitmap information and the first bitmap information have a value of the first value. The devices in the device group corresponding to the preset value bits are in one-to-one correspondence, and the second identifier information is used to identify the device corresponding to the second preset value in the second bitmap information.
其中,由于第一位图信息的至少两个比特位与至少两组设备一一对应,
即第一位图信息中的每个比特位可以对应于一组设备。这样,第一无线设备(如AP)通过设置第一位图信息中的一个比特位的值,便可以指示该比特位对应的设备组中的设备的第一通信接口保持在工作状态,等待接收第二唤醒设备;而不需要在第一唤醒消息中携带较多标识信息,可以减少第一唤醒消息中携带的数据量。当第一唤醒消息中携带的数据量较少时,该第一唤醒消息便可以较快的传输至第二无线设备(如STA),该第二无线设备也就可以早一点控制其第一通信接口保持在工作状态或者由工作状态切换至休眠状态。Wherein, since at least two bits of the first bitmap information are in one-to-one correspondence with at least two groups of devices,
That is, each bit in the first bitmap information may correspond to a group of devices. In this way, the first wireless device (such as an AP) can set the value of one bit in the first bitmap information to indicate that the first communication interface of the device in the device group corresponding to the bit remains in the working state, waiting for receiving. The second wake-up device can reduce the amount of data carried in the first wake-up message without carrying more identification information in the first wake-up message. When the amount of data carried in the first wake-up message is small, the first wake-up message can be transmitted to the second wireless device (such as STA) faster, and the second wireless device can control the first communication earlier. The interface remains active or switched from active to sleep.
同样的,第二位图信息的至少两个比特位与一个设备组中的设备一一对应,即第二位图信息中的每个比特位可以对应于该设备组中的一个设备。这样,第一无线设备(如AP)通过设置第二位图信息中的一个比特位的值,便可以指示该比特位对应的设备唤醒其第二通信接口(如Wi-Fi接口);而不需要在第二唤醒消息中携带较多标识信息,可以减少第二唤醒消息中携带的数据量。当第二唤醒消息中携带的数据量较少时,该第二唤醒消息便可以较快的传输至第二无线设备,该STA也就可以早一点唤醒其第二通信接口。Similarly, at least two bits of the second bitmap information are in one-to-one correspondence with devices in a device group, that is, each bit in the second bitmap information may correspond to one device in the device group. In this way, the first wireless device (such as an AP) can indicate that the device corresponding to the bit wakes up its second communication interface (such as a Wi-Fi interface) by setting the value of one bit in the second bitmap information; The second wake-up message needs to carry more identifier information, which can reduce the amount of data carried in the second wake-up message. When the amount of data carried in the second wake-up message is small, the second wake-up message can be transmitted to the second wireless device faster, and the STA can wake up its second communication interface earlier.
结合第一方面,在第二种可能的实现方式中,上述第一标识信息包括上述第二无线设备所在设备组的组地址信息。上述第二标识信息包括第三位图信息,该第三位图信息中包括至少两个比特位,该第三位图信息中的至少两个比特位与上述第二无线设备所在设备组中的设备一一对应,上述第二标识信息用于标识该第三位图信息中值为第二预设值的比特位所对应的设备。With reference to the first aspect, in a second possible implementation manner, the foregoing first identifier information includes group address information of a device group where the second wireless device is located. The second identifier information includes third bitmap information, where the third bitmap information includes at least two bits, and at least two bits in the third bitmap information are in the device group in which the second wireless device is located. The second identification information is used to identify the device corresponding to the second preset value in the third bitmap information.
其中,当第一无线设备(如AP)要唤醒一个设备组中的多个设备(如STA)时,该第一无线设备可以向包括该设备组中在内的多个设备发送携带有该设备组的组地址信息的第一唤醒消息。由于一个设备组的组地址信息相比于该设备组中多个设备的标识信息(如STA的设备标识或者STA的WUR接口的接口标识)数据量较少;因此,第一无线设备向一个设备组中的多个设备发送携带有该设备组的组地址信息的第一唤醒消息,不仅可以标识该设备组,还可以减少第一唤醒消息中携带的数据量。当第一唤醒消息中携带的数据量较少时,该第一唤醒消息便可以较快的传输至第二无线设备,该第二无线设备也就可以早一点控制其第一通信接口保持在工作状态或者由工作状态切换至休眠状态。其中,“第一无线设备通过在第二唤醒消息中携带第三位图信息的方式指示第二无线设备唤醒其第二通信接口”的技术效果可以参考“第一无线设备通过在第二标识信息包括第二位图信息的方式指示第二无线设备唤醒其第二通信接口”的详细描述,本申请这里不再赘述。Wherein, when the first wireless device (such as an AP) wants to wake up multiple devices (such as STAs) in a device group, the first wireless device may send the device to the multiple devices including the device group. The first wake-up message of the group's group address information. Since the group address information of one device group is smaller than the identification information of multiple devices in the device group (such as the device identifier of the STA or the interface identifier of the WUR interface of the STA); therefore, the first wireless device is directed to one device. A plurality of devices in the group send the first wake-up message carrying the group address information of the device group, which not only identifies the device group, but also reduces the amount of data carried in the first wake-up message. When the amount of data carried in the first wake-up message is small, the first wake-up message can be transmitted to the second wireless device faster, and the second wireless device can control the first communication interface to remain working earlier. The state is switched from the working state to the sleep state. The technical effect of the first wireless device indicating that the second wireless device wakes up its second communication interface by carrying the third bitmap information in the second wake-up message may refer to “the first wireless device passes the second identification information. A detailed description of the manner in which the second bitmap information is instructed by the second wireless device to wake up its second communication interface is not described herein.
结合第一方面,在第三种可能的实现方式中,上述第一标识信息包括第四位图信息,该第四位图信息中包括至少两个比特位,该第四位图信息中的至少两个比特位与上述多个设备一一对应,上述第一标识信息用于标识该第四位图信息中值为第一预设值的比特位所对应的设备。With reference to the first aspect, in a third possible implementation, the foregoing first identifier information includes fourth bitmap information, where the fourth bitmap information includes at least two bits, and at least the fourth bitmap information The two bits are in one-to-one correspondence with the plurality of devices, and the first identifier information is used to identify a device corresponding to the bit of the fourth bitmap information whose value is the first preset value.
其中,由于第四位图信息中的至少两个比特位与接收第一唤醒消息的多个设备一一对应,因此,第一无线设备(如AP)通过设置第四位图信息中的每个比特位的值,便可以指示每个比特位对应的设备控制其第一通信接口处
于工作状态或者休眠状态;而不需要在第一唤醒消息中携带较多标识信息,可以减少第一唤醒消息中携带的数据量。当第一唤醒消息中携带的数据量较少时,该第一唤醒消息便可以较快的传输至第二无线设备,该第二无线设备也就可以早一点其WUR接口处于工作状态或者休眠状态。Wherein, since at least two bits in the fourth bitmap information are in one-to-one correspondence with a plurality of devices that receive the first wake-up message, the first wireless device (such as an AP) sets each of the fourth bitmap information by setting The value of the bit can indicate that the device corresponding to each bit controls its first communication interface
In the working state or the dormant state; without carrying more identification information in the first wake-up message, the amount of data carried in the first wake-up message can be reduced. When the amount of data carried in the first wake-up message is small, the first wake-up message can be transmitted to the second wireless device faster, and the second wireless device can be in a working state or a sleep state earlier than the WUR interface. .
结合第一方面,在第四种可能的实现方式中,上述第一标识信息包括上述多个设备中包括上述第二无线设备在内的至少一个设备的第一通信接口的接口标识,或者,包括上述多个设备中包括上述第二无线设备在内的至少一个设备的设备标识。With reference to the first aspect, in a fourth possible implementation, the first identifier information includes an interface identifier of the first communications interface of the at least one device including the second wireless device, or includes The device identifier of at least one device including the foregoing second wireless device among the plurality of devices.
结合第一方面或者第一方面的第三种可能的实现方式或者第四种可能的实现方式,在第五种可能的实现方式中,上述第二标识信息包括上述第一无线设备要唤醒的设备的设备标识或者包括上述第一无线设备要唤醒的设备的第一通信接口的接口标识。With reference to the first aspect, or the third possible implementation manner of the first aspect, or the fourth possible implementation manner, in the fifth possible implementation manner, the foregoing second identifier information includes the device that the first wireless device is to wake up The device identifier or the interface identifier of the first communication interface of the device to be woken up by the first wireless device.
结合第一方面或者上述任一种可能的实现方式,在第六种可能的实现方式中,上述第一唤醒消息还携带有第一指示信息,该第一指示信息用于指示上述第一无线设备发送上述第二唤醒消息的时间。With reference to the first aspect, or any one of the foregoing possible implementation manners, in the sixth possible implementation, the first wake-up message further includes first indication information, where the first indication information is used to indicate the first wireless device. The time when the second wake-up message is sent.
其中,第二无线设备在接收到第一唤醒消息时,可以先将该第二无线设备的第一通信接口由工作状态切换至休眠状态,然后在第一指示信息所指示的时间,再将其的第一通信接口由休眠状态切换至工作状态,以接收第一无线设备发送的第二唤醒消息。这样,可以避免功耗的不必要的浪费。The second wireless device may first switch the first communication interface of the second wireless device from the working state to the sleep state when receiving the first wake-up message, and then, at the time indicated by the first indication information, The first communication interface is switched from the sleep state to the active state to receive the second wake-up message sent by the first wireless device. In this way, unnecessary waste of power consumption can be avoided.
结合第一方面或者上述任一种可能的实现方式,在第七种可能的实现方式中,上述第一唤醒消息还携带有第二指示信息,该第二指示信息用于通知上述第二无线设备:上述第一无线设备使用上述第一唤醒消息和上述第二唤醒消息指示该第二无线设备唤醒该第二无线设备的第二通信接口。With reference to the first aspect, or any one of the foregoing possible implementation manners, in the seventh possible implementation, the first wake-up message further carries second indication information, where the second indication information is used to notify the second wireless device. The first wireless device instructs the second wireless device to wake up the second communication interface of the second wireless device by using the first wakeup message and the second wakeup message.
结合第一方面或者上述任一种可能的实现方式,在第八种可能的实现方式中,为了防止恶意设备伪装成第一无线设备(如AP),模仿第一无线设备向多个设备(如STA)发送上述第一唤醒消息和上述第二唤醒消息,造成增加被唤醒设备的功耗的不必要的浪费,第一无线设备和第二无线设备可以动态协商第一无线设备下一次唤醒该第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。具体的,在上述第一无线设备在发送第一唤醒消息后,向上述至少一个设备中包括第二无线设备在内的至少一个设备的第一通信接口发送第二唤醒消息之后,本申请的方法还可以包括:该第一无线设备接收该第二无线设备通过该第二无线设备的第二通信接口发送的唤醒响应消息,该唤醒响应消息用于指示该第二无线设备的第二通信接口处于工作状态;该第一无线设备与该第二无线设备协商下一次唤醒该第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。With reference to the first aspect or any of the foregoing possible implementation manners, in an eighth possible implementation manner, in order to prevent the malicious device from disguising as the first wireless device (such as an AP), the first wireless device is impersonated to multiple devices (such as Sending the foregoing first wake-up message and the second wake-up message, causing unnecessary waste of increasing power consumption of the device to be woken, the first wireless device and the second wireless device may dynamically negotiate that the first wireless device wakes up the next time The first identification information and the second identification information used when the second communication interface of the wireless device is used. Specifically, after the first wireless device sends the first wake-up message, after sending the second wake-up message to the first communication interface of the at least one device including the second wireless device, the method of the present application The method may further include: receiving, by the first wireless device, a wakeup response message sent by the second wireless device by using the second communications interface of the second wireless device, where the wakeup response message is used to indicate that the second communications interface of the second wireless device is a working status; the first wireless device and the second wireless device negotiate first identification information and second identification information used when the second communication interface of the second wireless device is awake.
第二方面,本申请提供一种无线设备,该无线设备为第一无线设备,该无线设备包括:通信接口和处理器。该处理器,用于生成第一唤醒消息,该第一唤醒消息,该第一标识信息用于标识上述多个设备中包括上述第二无线设备在内的至少一个设备,该第一唤醒消息用于指示该第一标识信息所标识的
设备的第一通信接口需处于工作状态以接收该第一无线设备后续发送的第二唤醒消息;该通信接口,用于以广播方式或组播方式向上述多个设备的第一通信接口发送上述第一唤醒消息;该处理器,还可以用于生成携带有第二标识信息的第二唤醒消息,该第二标识信息用于标识该第一无线设备要唤醒的设备,该第一无线设备要唤醒的设备包括上述第二无线设备,该第二唤醒消息用于指示该第二标识信息所标识的设备唤醒该设备的第二通信接口;该通信接口,还可以用于在发送上述第一唤醒消息后,向上述至少一个设备中包括上述第二无线设备在内的至少一个设备的第一通信接口发送上述处理器生成的第二唤醒消息。In a second aspect, the application provides a wireless device, where the wireless device is a first wireless device, and the wireless device includes: a communication interface and a processor. The processor is configured to generate a first wakeup message, where the first identifier information is used to identify at least one of the plurality of devices, including the second wireless device, where the first wakeup message is used by the first wakeup message. Instructing the first identification information to be identified
The first communication interface of the device needs to be in an active state to receive a second wake-up message sent by the first wireless device; the communication interface is configured to send the foregoing to the first communication interface of the multiple devices in a broadcast manner or a multicast manner. a first wake-up message; the processor may be further configured to generate a second wake-up message carrying the second identifier information, where the second identifier information is used to identify the device to be woken by the first wireless device, where the first wireless device is to be The device that is awake includes the second wireless device, the second wake-up message is used to indicate that the device identified by the second identifier information wakes up the second communication interface of the device, and the communication interface is further configured to send the first wake-up After the message, the second wake-up message generated by the processor is sent to the first communication interface of the at least one device including the second wireless device.
其中,在本申请第二方面及其任一种可能的实现方式中,上述无线设备中的通信接口可以包括第一通信接口和第二通信接口。该无线设备可以通过其第一通信接口或者第二通信接口向第二无线设备的第一通信接口发送第一唤醒消息,该无线设备也可以通过其第一通信接口或者第二通信接口向第二无线设备的第一通信接口发送第二唤醒消息。In the second aspect of the present application and any possible implementation manner thereof, the communication interface in the wireless device may include a first communication interface and a second communication interface. The wireless device may send a first wake-up message to the first communication interface of the second wireless device through its first communication interface or the second communication interface, and the wireless device may also go to the second through its first communication interface or the second communication interface. The first communication interface of the wireless device transmits a second wake-up message.
结合第二方面,在一种可能的实现方式中,上述通信接口,还可以用于在发送上述第二唤醒消息之后,接收上述第二无线设备通过其第二通信接口发送的唤醒响应消息,该唤醒响应消息用于指示该第二无线设备的第二通信接口处于工作状态。上述处理器,还可以用于与该第二无线设备协商下一次唤醒该第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。With reference to the second aspect, in a possible implementation, the foregoing communication interface may be further configured to: after sending the second wake-up message, receive a wake-up response message sent by the second wireless device by using the second communications interface, where The wakeup response message is used to indicate that the second communication interface of the second wireless device is in an active state. The processor may be further configured to negotiate, by the second wireless device, the first identifier information and the second identifier information used when the second communication interface of the second wireless device is awake.
在本申请第二方面中,第一唤醒消息中携带的内容、第一标识信息、第二标识信息、第一位图信息、第二位图信息、第三位图信息、第四位图信息、第一通信接口、第二通信接口、第二无线设备的设备标识、第二无线设备的第一通信接口的接口标识、第一指示信息、第二指示信息,以及第一唤醒消息指示第一标识信息所标识的设备的第一通信接口处于工作状态的方式等可以参考本申请第一方面及其可能的实现方式中的详细描述,本申请这里不再赘述。In the second aspect of the present application, the content carried in the first wake-up message, the first identifier information, the second identifier information, the first bitmap information, the second bitmap information, the third bitmap information, and the fourth bitmap information The first communication interface, the second communication interface, the device identifier of the second wireless device, the interface identifier of the first communication interface of the second wireless device, the first indication information, the second indication information, and the first wakeup message indicate the first For the manner in which the first communication interface of the device identified by the identification information is in the working state, etc., reference may be made to the detailed description in the first aspect of the present application and its possible implementations, and details are not described herein again.
需要说明的是,本申请第二方面及其各种可能的实现方式的各个功能单元的详细描述以及有益效果分析可以参考上述第一方面及其各种可能的实现方式中的对应描述及技术效果,此处不再赘述。It should be noted that the detailed description and the beneficial effect analysis of each functional unit of the second aspect and various possible implementation manners of the present application may refer to the corresponding description and technical effects in the foregoing first aspect and various possible implementation manners thereof. , will not repeat them here.
第三方面,本申请提供一种计算机存储介质,该计算机存储介质中存储有计算机程序代码,当第二方面中的第一无线设备的处理器执行该计算机程序代码时,上述第一无线设备执行如第一方面以及第一方面的各种可选方式所述的唤醒无线设备的方法。In a third aspect, the application provides a computer storage medium, where the computer program code is stored, where the first wireless device executes when the processor of the first wireless device in the second aspect executes the computer program code A method of waking up a wireless device as described in the first aspect and the various alternatives of the first aspect.
第四方面,本申请提供一种唤醒无线设备的方法,包括:第二无线设备通过该第二无线设备的第一通信接口接收第一无线设备以组播方式或广播方式发送的携带有第一标识信息的第一唤醒消息,该第一标识信息用于标识接收该第一唤醒消息的多个设备中的至少一个设备,该第一唤醒消息用于指示该第一标识信息所标识的设备的第一通信接口需处于工作状态以接收该第一无线设备后续发送的第二唤醒消息;若该第二无线设备确定该第二无线设备
为上述第一标识信息所标识的设备中的一个设备,该第二无线设备则保持该第二无线设备的第一通信接口处于上述工作状态;该第二无线设备通过该第二无线设备的第一通信接口接收上述第一无线设备发送的携带有第二标识信息的第二唤醒消息,该第二标识信息用于标识接收该第二唤醒消息的至少一个设备中该第一无线设备要唤醒的设备,该第二唤醒消息用于指示上述第二标识信息所标识的设备唤醒该设备的第二通信接口;若该第二无线设备确定该第二无线设备为上述第二标识信息所标识的设备中的一个设备,该第二无线设备则唤醒该第二无线设备的第二通信接口。In a fourth aspect, the present application provides a method for waking up a wireless device, including: receiving, by a second wireless device, a first wireless device by using a first communication interface of the second wireless device, carrying the first wireless device in a multicast manner or a broadcast manner a first wake-up message of the identifier information, the first identifier information is used to identify at least one of the plurality of devices that receive the first wake-up message, where the first wake-up message is used to indicate the device identified by the first identifier information The first communication interface needs to be in an active state to receive a second wake-up message sent by the first wireless device; if the second wireless device determines the second wireless device
One of the devices identified by the first identifier information, the second wireless device maintaining the first communication interface of the second wireless device in the working state; and the second wireless device passing the second wireless device a communication interface receives the second wake-up message that is sent by the first wireless device and carries the second identifier information, where the second identifier information is used to identify that the first wireless device is to wake up in the at least one device that receives the second wake-up message. The device, the second wake-up message is used to indicate that the device identified by the second identifier information wakes up the second communication interface of the device; and if the second wireless device determines that the second wireless device is the device identified by the second identifier information One of the devices, the second wireless device waking up the second communication interface of the second wireless device.
本申请第四方面保护的方案中,第二无线设备(如STA)在接收到第一唤醒消息后,还不能确定是否唤醒该第二无线设备的第二通信接口,需要等待接收第二唤醒消息,而后根据接收到的第二唤醒消息才可以确定是否要唤醒该第二无线设备的第二通信接口;而不是在接收到一个唤醒消息后,就根据该唤醒消息携带的位图信息中的对应比特位的值,直接唤醒第二无线设备的第二通信接口。这样的双重确认唤醒机制可以增加恶意设备恶意唤醒大量STA的难度,提高STA被AP唤醒过程的安全性,避免STA被恶意设备恶意地唤醒而消耗不必要的功耗。In the solution protected by the fourth aspect of the present application, after receiving the first wake-up message, the second wireless device (such as the STA) cannot determine whether to wake up the second communication interface of the second wireless device, and needs to wait for receiving the second wake-up message. And determining, according to the received second wake-up message, whether to wake up the second communication interface of the second wireless device; instead of receiving a wake-up message, according to the correspondence in the bitmap information carried by the wake-up message The value of the bit directly wakes up the second communication interface of the second wireless device. Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
结合第四方面,在第一种可能的实现方式中,上述第一标识信息包括第一位图信息,该第一位图信息可以参考第一方面的第一种可能的实现方式中对的第一位图信息的详细描述。上述第二标识信息包括第二位图信息,该第二位图信息可以参考第一方面的第一种可能的实现方式中对的第二位图信息的详细描述。With reference to the fourth aspect, in a first possible implementation manner, the foregoing first identifier information includes first bitmap information, and the first bitmap information may refer to the first possible implementation manner of the first aspect. A detailed description of a map information. The second identifier information includes second bitmap information, and the second bitmap information may refer to the detailed description of the second bitmap information in the first possible implementation manner of the first aspect.
在第四方面的第一种实现方式中,上述第二无线设备确定该第二无线设备为上述第一标识信息所标识的设备的方法可以包括:若上述第一位图信息中与该第二无线设备所在组对应的比特位的值为上述第一预设值,该第二无线设备则确定该第二无线设备为该第一标识信息所标识的设备中的一个设备。上述第二无线设备确定该第二无线设备为上述第二标识信息所标识的设备的方法可以包括:若上述第二位图信息中与该第二无线设备对应的比特位的值为该第二预设值,该第二无线设备则确定该第二无线设备为该第二标识信息所标识的设备中的一个设备。In a first implementation manner of the fourth aspect, the method for the second wireless device to determine that the second wireless device is the device that is identified by the first identifier information may include: if the first bitmap information and the second The value of the bit corresponding to the group in which the wireless device is located is the first preset value, and the second wireless device determines that the second wireless device is one of the devices identified by the first identification information. The method for the second wireless device to determine that the second wireless device is the device identified by the second identifier information may include: if the value of the bit corresponding to the second wireless device in the second bitmap information is the second The preset value, the second wireless device determines that the second wireless device is one of the devices identified by the second identification information.
结合第四方面,在第二种可能的实现方式中,上述第二标识信息包括第三位图信息,该第三位图信息可以参考第一方面的第二种可能的实现方式中对的第三位图信息的详细描述。With reference to the fourth aspect, in a second possible implementation manner, the foregoing second identifier information includes third bitmap information, where the third bitmap information may refer to the second possible implementation manner of the first aspect. A detailed description of the three-bit map information.
在第四方面的第二种可能的实现方式中,上述第二无线设备确定该第二无线设备为上述第一标识信息所标识的设备的方法可以包括:若上述第一标识信息中包括该第二无线设备所在设备组的组地址信息,该第二无线设备则确定该第二无线设备为上述第一标识信息所标识的设备中的一个设备。上述第二无线设备确定该第二无线设备为上述第二标识信息所标识的设备的方法可以包括:若上述第三位图信息中与该第二无线设备对应的比特位的值为第二预设值,该第二无线设备则确定该第二无线设备为上述第二标识信息所标
识的设备中的一个设备。In a second possible implementation manner of the fourth aspect, the method for the second wireless device to determine that the second wireless device is the device that is identified by the first identifier information may include: if the first identifier information includes the first The group address information of the device group in which the wireless device is located, and the second wireless device determines that the second wireless device is one of the devices identified by the first identifier information. The method for the second wireless device to determine that the second wireless device is the device identified by the second identifier information may include: if the value of the bit corresponding to the second wireless device in the third bitmap information is the second pre- Setting a value, the second wireless device determines that the second wireless device is marked by the second identifier information
One of the devices in the device.
结合第四方面,在第三种可能的实现方式中,上述第一标识信息包括第四位图信息,该第四位图信息可以参考第一方面的第一种可能的实现方式中对的第四位图信息的详细描述。上述第二无线设备确定该第二无线设备为上述第一标识信息所标识的设备的方法可以:若上述第四位图信息中与该第二无线设备对应的比特位的值为第一预设值,该第二无线设备则确定该第二无线设备为该第一标识信息所标识的设备中的一个设备。With reference to the fourth aspect, in a third possible implementation manner, the foregoing first identifier information includes fourth bitmap information, where the fourth bitmap information may refer to the first possible implementation manner of the first aspect. A detailed description of the four-bit map information. The method for the second wireless device to determine that the second wireless device is the device identified by the first identifier information may be: if the value of the bit corresponding to the second wireless device in the fourth bitmap information is the first preset And the second wireless device determines that the second wireless device is one of the devices identified by the first identification information.
结合第四方面,在第四种可能的实现方式中,上述第二无线设备确定该第二无线设备为上述第一标识信息所标识的设备的方法可以包括:若该第一标识信息中包括该第二无线设备的第一通信接口的接口标识,或者包括该第二无线设备的设备标识,该第二无线设备则确定该第二无线设备为该第一标识信息所标识的设备中的一个设备。With reference to the fourth aspect, in a fourth possible implementation, the method that the second wireless device determines that the second wireless device is the device that is identified by the first identifier information may include: if the first identifier information includes the An interface identifier of the first communication interface of the second wireless device, or a device identifier of the second wireless device, where the second wireless device determines that the second wireless device is one of the devices identified by the first identification information .
结合第四方面或者第四方面的第三种可能的实现方式或者第四种可能的实现方式,在第五种可能的实现方式中,上述第二无线设备确定该第二无线设备为该第二标识信息所标识的设备的方法可以包括:若该第二标识信息中包括该第二无线设备的设备标识或者包括该第二无线设备的第一通信接口的接口标识,该第二无线设备则确定该第二无线设备为该第二标识信息所标识的设备中的一个设备。With reference to the fourth aspect, or the third possible implementation manner of the fourth aspect, or the fourth possible implementation manner, in a fifth possible implementation manner, the second wireless device determines that the second wireless device is the second The method for identifying the device identified by the information may include: if the second identifier information includes the device identifier of the second wireless device or the interface identifier of the first communication interface of the second wireless device, the second wireless device determines The second wireless device is one of the devices identified by the second identification information.
结合第四方面或者上述任一种可能的实现方式,在第六种可能的实现方式中,上述第一唤醒消息还携带有第一指示信息,该第一指示信息用于指示上述第一无线设备发送上述第二唤醒消息的时间。在上述第二无线设备通过该第二无线设备的第一通信接口接收第一无线设备发送的第一唤醒消息之后,所述第二无线设备保持该第二无线设备的第一通信接口处于上述工作状态之前,本申请的方法还可以包括:该第二无线设备将该第二无线设备的第一通信接口由工作状态切换至休眠状态。上述“若第二无线设备确定第二无线设备为第一标识信息所标识的设备中的一个设备,第二无线设备则保持第二无线设备的第一通信接口处于工作状态”可以包括:若该第二无线设备确定该第二无线设备为该第一标识信息所标识的设备中的一个设备,该第二无线设备则在该第一指示信息所指示的时间,将该第二无线设备的第一通信接口由上述休眠状态切换至上述工作状态。With reference to the fourth aspect, or any one of the foregoing possible implementation manners, in the sixth possible implementation manner, the first wake-up message further includes first indication information, where the first indication information is used to indicate the first wireless device The time when the second wake-up message is sent. After the second wireless device receives the first wake-up message sent by the first wireless device by using the first communications interface of the second wireless device, the second wireless device keeps the first communications interface of the second wireless device in the foregoing work. Before the state, the method of the present application may further include: the second wireless device switching the first communication interface of the second wireless device from the working state to the sleep state. The foregoing, if the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, and the second wireless device keeps the first communication interface of the second wireless device in an active state, the method may include: Determining, by the second wireless device, that the second wireless device is one of the devices identified by the first identification information, and the second wireless device is the second wireless device at the time indicated by the first indication information A communication interface is switched from the sleep state to the above working state.
第五方面,提供一种无线设备,该无线设备为第二无线设备,该无线设备包括:第一通信接口、处理器和第二通信接口。该第一通信接口,用于接收第一无线设备以组播方式或广播方式发送的携带有第一标识信息的第一唤醒消息;所述处理器,用于在确定该第二无线设备为该第一标识信息所标识的设备后,保持该第一通信接口处于上述工作状态;该第一通信接口,还用于接收上述第一无线设备发送的携带有第二标识信息的第二唤醒消息;该处理器,还用于在确定该第二无线设备为该第二标识信息所标识的设备后,唤醒该第二无线设备的第二通信接口。In a fifth aspect, a wireless device is provided, the wireless device being a second wireless device, the wireless device comprising: a first communication interface, a processor, and a second communication interface. The first communication interface is configured to receive a first wake-up message that is sent by the first wireless device in a multicast manner or a broadcast manner and that carries the first identifier information, where the processor is configured to determine that the second wireless device is the After the device identified by the first identifier information, the first communication interface is kept in the working state; the first communication interface is further configured to receive the second wake-up message that is sent by the first wireless device and that carries the second identifier information; The processor is further configured to wake up the second communication interface of the second wireless device after determining that the second wireless device is the device identified by the second identification information.
结合第五方面,在第一种可能的实现方式中,上述第一标识信息包括第
一位图信息;上述第二标识信息包括第二位图信息。其中,第一位图信息、第二位图信息、第一标识信息和第二标识信息可以参考第一方面的第一种可能的实现方式中的详细描述,本申请这里不再赘述。With reference to the fifth aspect, in a first possible implementation manner, the foregoing first identifier information includes
a piece of map information; the second identifier information includes second bitmap information. The first bitmap information, the second bitmap information, the first identifier information, and the second identifier information may refer to the detailed description in the first possible implementation manner of the first aspect, and details are not described herein again.
上述处理器用于确定该第二无线设备为上述第一标识信息所标识的设备中的一个设备,包括:该处理器用于若该第一位图信息中与该第二无线设备所在组对应的比特位的值为该第一预设值,则确定该第二无线设备为该第一标识信息所标识的设备中的一个设备。上述处理器用于确定上述第二无线设备为该第二标识信息所标识的设备中的一个设备,包括:该处理器用于若该第二位图信息中与该第二无线设备对应的比特位的值为该第二预设值,则确定该第二无线设备为该第二标识信息所标识的设备中的一个设备。The processor is configured to determine that the second wireless device is one of the devices identified by the first identifier information, and the processor is configured to: if the processor is configured to use a bit corresponding to the group of the second wireless device in the first bitmap information The value of the bit is the first preset value, and determining that the second wireless device is one of the devices identified by the first identification information. The processor is configured to determine, by the second wireless device, one of the devices identified by the second identifier information, where the processor is configured to: if the second bitmap information is in a bit corresponding to the second wireless device, The value is the second preset value, determining that the second wireless device is one of the devices identified by the second identification information.
结合第五方面,在第二种可能的实现方式中,上述第二标识信息包括第三位图信息。上述处理器用于确定第二无线设备为第一标识信息所标识的设备的一个设备,包括:该处理器用于若上述第一标识信息中包括该第二无线设备所在设备组的组地址信息,则确定该第二无线设备为所述第一标识信息所标识的设备中的一个设备。上述处理器用于确定第二无线设备为第二标识信息所标识的设备中的一个设备,包括:该处理器用于若上述第三位图信息中与该第二无线设备对应的比特位的值为第二预设值,则确定该第二无线设备为上述第二标识信息所标识的设备中的一个设备。With reference to the fifth aspect, in a second possible implementation manner, the foregoing second identifier information includes third bitmap information. The processor is configured to determine that the second wireless device is a device of the device that is identified by the first identifier information, and the processor is configured to: if the first identifier information includes the group address information of the device group where the second wireless device is located, Determining that the second wireless device is one of the devices identified by the first identification information. The processor is configured to determine that the second wireless device is one of the devices identified by the second identifier, and the processor is configured to: if the value of the bit corresponding to the second wireless device in the third bitmap information is The second preset value determines that the second wireless device is one of the devices identified by the second identifier information.
结合第五方面,在第三种可能的实现方式中,上述第一标识信息包括第四位图信息。所述处理器用于确定第二无线设备为第一标识信息所标识的设备中的一个设备,包括:该处理器用于若该第四位图信息中与该第二无线设备对应的比特位的值为第一预设值,则确定该第二无线设备为上述第一标识信息所标识的设备中的一个设备。With reference to the fifth aspect, in a third possible implementation manner, the foregoing first identifier information includes fourth bitmap information. The processor is configured to determine, by the second wireless device, one of the devices identified by the first identifier information, where the processor is configured to: if the processor uses the value of the bit corresponding to the second wireless device in the fourth bitmap information And determining, by the first preset value, the second wireless device is one of the devices identified by the first identifier information.
结合第五方面,在第四种可能的实现方式中,处理器用于确定第二无线设备为第一标识信息所标识的设备中的一个设备,包括:该处理器用于若上述第一标识信息中包括该第二无线设备的第一通信接口的接口标识,或者包括该第二无线设备的设备标识,则确定该第二无线设备为上述第一标识信息所标识的设备中的一个设备。With reference to the fifth aspect, in a fourth possible implementation, the determining, by the processor, the second wireless device is one of the devices identified by the first identifier information, And determining, by the interface identifier of the first communication interface of the second wireless device, or the device identifier of the second wireless device, determining that the second wireless device is one of the devices identified by the first identifier information.
结合第五方面或上述任一种可能的实现方式中,在第五种可能的实现方式中,处理器用于确定第二无线设备为第二标识信息所标识的设备中的一个设备,包括:处理器用于若第二标识信息中包括第二无线设备的设备标识或者包括第二无线设备的第一通信接口的接口标识,则确定第二无线设备为第二标识信息所标识的设备中的一个设备。With reference to the fifth aspect, or any one of the foregoing possible implementation manners, in a fifth possible implementation manner, the processor is configured to determine, by the second wireless device, one of the devices identified by the second identifier information, including: processing Determining, if the second identification information includes the device identifier of the second wireless device or the interface identifier of the first communication interface of the second wireless device, determining that the second wireless device is one of the devices identified by the second identification information .
结合第五方面或上述任一种可能的实现方式中,在第六种可能的实现方式中,第一唤醒消息还携带有第一指示信息。处理器,还用于在第一通信接口接收第一无线设备发送的第一唤醒消息之后,保持第一通信接口处于工作状态之前,将第二无线设备的第一通信接口由工作状态切换至休眠状态。处理器用于若第二无线设备确定第二无线设备为第一标识信息所标识的设备中的一个设备,则保持第二无线设备的第一通信接口处于工作状态,包括:处理器
用于若确定第二无线设备为第一标识信息所标识的设备中的一个设备,则在第一指示信息所指示的时间,将第一通信接口由所述休眠状态切换至所述工作状态。In combination with the fifth aspect or any of the foregoing possible implementation manners, in the sixth possible implementation manner, the first wake-up message further carries the first indication information. The processor is further configured to: after the first communication interface receives the first wake-up message sent by the first wireless device, before the first communication interface is in the working state, switch the first communication interface of the second wireless device from the working state to the sleep state status. The processor is configured to: if the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, maintaining the first communication interface of the second wireless device in an active state, including: a processor
And if it is determined that the second wireless device is one of the devices identified by the first identification information, switching the first communication interface from the sleep state to the working state at a time indicated by the first indication information.
结合第五方面或上述任一种可能的实现方式中,在第七种可能的实现方式中,上述处理器,还可以用于在保持上述第一通信接口处于工作状态之前,确定上述第一唤醒消息还携带有第二指示信息。With reference to the fifth aspect, or any one of the foregoing possible implementation manners, in a seventh possible implementation, the foregoing processor may be further configured to determine the first wakeup before maintaining the first communication interface in an active state The message also carries the second indication information.
结合第五方面或上述任一种可能的实现方式中,在第八种可能的实现方式中,所述处理器,还用于若所述第一唤醒消息未携带所述第二指示信息,则唤醒所述第二无线设备的第二通信接口。With the fifth aspect or any one of the foregoing possible implementation manners, in the eighth possible implementation, the processor is further configured to: if the first wakeup message does not carry the second indication information, Wake up the second communication interface of the second wireless device.
结合第五方面或上述任一种可能的实现方式中,在第九种可能的实现方式中,所述处理器,还用于在所述第一通信接口接收所述第一无线设备以组播方式或广播方式发送的所述第一唤醒消息之后,若确定所述第二无线设备不是所述第一标识信息所标识的设备,则将所述第一通信接口由所述工作状态切换至休眠状态。With reference to the fifth aspect, or any one of the foregoing possible implementation manners, in a ninth possible implementation manner, the processor is further configured to receive, by the first communications interface, the first wireless device to perform multicast After the first wake-up message sent by the mode or the broadcast mode, if it is determined that the second wireless device is not the device identified by the first identifier information, the first communication interface is switched from the working state to the sleep state. status.
结合第五方面或上述任一种可能的实现方式中,在第十种可能的实现方式中,所述处理器,还用于在所述第一通信接口接收所述第一无线设备发送的所述第二唤醒消息之后,若确定所述第二无线设备不是所述第二标识信息所标识的设备,则将所述第二无线设备的第一通信接口由所述工作状态切换至休眠状态。With reference to the fifth aspect, or any one of the foregoing possible implementation manners, in a tenth possible implementation manner, the processor is further configured to receive, by using the first communications interface, the first wireless device After the second wake-up message is determined, if it is determined that the second wireless device is not the device identified by the second identifier information, the first communication interface of the second wireless device is switched from the working state to the sleep state.
结合第五方面或上述任一种可能的实现方式中,在第十一种可能的实现方式中,所述第二通信接口,还用于在所述处理器唤醒所述第二通信接口之后,向所述第一无线设备发送唤醒响应消息。所述处理器,还用于通过所述第二通信接口与所述第一无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。With reference to the fifth aspect, or any one of the foregoing possible implementation manners, in the eleventh possible implementation manner, the second communications interface is further configured to: after the processor wakes up the second communications interface, Sending a wakeup response message to the first wireless device. The processor is further configured to, by using the second communication interface, negotiate with the first wireless device, the first identifier information and the second identifier information used when the second communication interface of the second wireless device is awake for the next time .
需要说明的是,本申请第四方面、第五方面及其各种可能的实现方式的各个功能单元的详细描述以及有益效果分析可以参考上述第一方面及其各种可能的实现方式中的对应描述及技术效果,此处不再赘述。It should be noted that the detailed description and the beneficial effect analysis of each functional unit of the fourth aspect, the fifth aspect, and various possible implementation manners of the present application may refer to the corresponding ones in the foregoing first aspect and various possible implementation manners. Description and technical effects are not described here.
第六方面,本申请提供一种计算机存储介质,该计算机存储介质中存储有计算机程序代码,当第五方面中的第二无线设备的处理器执行该计算机程序代码时,上述第二无线设备执行如第四方面以及第四方面的各种可选方式所述的唤醒无线设备的方法。In a sixth aspect, the application provides a computer storage medium, where the computer program code stores a computer program code, when the processor of the second wireless device in the fifth aspect executes the computer program code, the second wireless device executes A method of waking up a wireless device as described in the fourth aspect and the various alternatives of the fourth aspect.
第七方面,本申请提供一种唤醒无线设备的方法,包括:第一无线设备以广播方式或组播方式向多个设备的第一通信接口发送携带有第一标识信息的第一唤醒消息,所述第一标识信息用于标识所述多个设备中包括所述第二无线设备在内的至少一个设备,所述第一唤醒消息用于指示所述第一标识信息所标识的设备需唤醒该设备的第二通信接口以接收所述第一无线设备后续发送的第二唤醒消息;所述第一无线设备在发送所述第一唤醒消息后,向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第二通信接口发送携带有第二标识信息的第二唤醒消息,所述第二标识信息用于标识所
述第一无线设备要唤醒的设备,所述第一无线设备要唤醒的设备包括所述第二无线设备,所述第二唤醒消息用于指示所述第二标识信息所标识的设备的第二通信接口需处于工作状态以与所述第一无线设备进行通信。In a seventh aspect, the present application provides a method for waking up a wireless device, where the first wireless device sends a first wake-up message carrying the first identification information to the first communication interface of the multiple devices in a broadcast manner or a multicast manner. The first identifier information is used to identify at least one of the plurality of devices, including the second wireless device, where the first wakeup message is used to indicate that the device identified by the first identifier information needs to wake up a second communication interface of the device to receive a second wake-up message sent by the first wireless device; the first wireless device, after sending the first wake-up message, includes the first The second communication interface of the at least one device of the second wireless device sends a second wake-up message carrying the second identifier information, where the second identifier information is used to identify the location
The device to be awake by the first wireless device, the device to be awake by the first wireless device includes the second wireless device, and the second wake-up message is used to indicate the second device of the device identified by the second identifier information The communication interface needs to be in an active state to communicate with the first wireless device.
其中,第一无线设备(如AP)可以使用第一唤醒消息和第二唤醒消息指示包括第二无线设备在内的多个设备(如多个STA)的至少一个设备唤醒其第二通信接口(如Wi-Fi)。这样,该至少一个设备在接收到第一唤醒消息后,可以唤醒其第二通信接口以等待接收第二唤醒消息或者保持其第二通信接口处于休眠状态;但是,唤醒了第二通信接口的设备的第二通信接口接口并不是一直处于工作状态,而是需要该设备在接收到第二唤醒消息后,才可以确定该设备的第二通信接口是否要处于工作状态;而不是在接收到一个唤醒消息后,就根据该唤醒消息携带的位图信息中的对应比特位的值,唤醒STA的第二通信接口接口并保持该STA的Wi-Fi接口处于工作状态。这样的双重确认唤醒机制可以增加恶意设备恶意唤醒大量STA的难度,提高STA被AP唤醒过程的安全性,避免STA被恶意设备恶意地唤醒而消耗不必要的功耗。The first wireless device (such as an AP) may use the first wakeup message and the second wakeup message to indicate that at least one device of multiple devices (eg, multiple STAs) including the second wireless device wakes up its second communication interface ( Such as Wi-Fi). In this way, after receiving the first wake-up message, the at least one device may wake up its second communication interface to wait to receive the second wake-up message or keep its second communication interface in a sleep state; however, the device that wakes up the second communication interface The second communication interface is not always in working state, but requires the device to determine whether the second communication interface of the device is in a working state after receiving the second wake-up message; instead of receiving a wake-up After the message, the second communication interface interface of the STA is awake according to the value of the corresponding bit in the bitmap information carried by the wake-up message, and the Wi-Fi interface of the STA is kept in the working state. Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
结合第七方面,在第一种可能的实现方式中,所述第二唤醒消息还用于指示所述第二标识信息未标识的设备的第二通信接口由工作状态切换至休眠状态。如果接收到第二唤醒消息的设备确定第二标识信息未标识该设备,该设备则可以将其第二通信接口由所述工作状态切换至休眠状态,以降低该设备的功耗。With reference to the seventh aspect, in a first possible implementation manner, the second wake-up message is further used to indicate that the second communications interface of the device that is not identified by the second identifier information is switched from an active state to a dormant state. If the device receiving the second wake-up message determines that the second identification information does not identify the device, the device may switch its second communication interface from the working state to the sleep state to reduce power consumption of the device.
结合第七方面或第七方面的第一种可能的实现方式,在第二种可能的实现方式中,为了防止恶意设备伪装成第一无线设备(如AP),模仿第一无线设备向多个设备(如STA)发送上述第一唤醒消息和上述第二唤醒消息,造成增加被唤醒设备的功耗的不必要的浪费,第一无线设备和第二无线设备可以动态协商第一无线设备下一次唤醒该第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。具体的,在所述第一无线设备在发送所述第一唤醒消息后,向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第二通信接口发送所述第二唤醒消息之后,所述申请的方法还可以包括:所述第一无线设备接收所述第二无线设备通过所述第二无线设备的第二通信接口发送的唤醒响应消息。所述第一无线设备与所述第二无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。With reference to the seventh aspect, or the first possible implementation manner of the seventh aspect, in a second possible implementation manner, in order to prevent the malicious device from disguising as the first wireless device (such as an AP), the first wireless device is impersonated to multiple The device (such as a STA) sends the foregoing first wake-up message and the second wake-up message, causing unnecessary waste of increasing power consumption of the device to be woken, and the first wireless device and the second wireless device may dynamically negotiate the first wireless device next time. The first identification information and the second identification information used when waking up the second communication interface of the second wireless device. Specifically, after the first wireless device sends the first wake-up message, send the second to a second communication interface of the at least one device including the second wireless device in the at least one device. After the waking up message, the method of the application may further include: the first wireless device receiving a wakeup response message sent by the second wireless device by using a second communication interface of the second wireless device. The first wireless device negotiates, with the second wireless device, first identification information and second identification information that are used when the second communication interface of the second wireless device is awake.
第八方面,本申请提供一种无线设备,该无线设备为第一无线设备,该无线设备包括:通信接口和处理器。所述处理器,用于生成携带有第一标识信息的第一唤醒消息;所述通信接口,用于以广播方式或组播方式向所述多个设备的第一通信接口发送所述第一唤醒消息,所述第一唤醒消息用于指示所述第一标识信息所标识的设备需唤醒该设备的第二通信接口以接收所述第一无线设备后续发送的第二唤醒消息;所述处理器,还用于生成携带有第二标识信息的第二唤醒消息,所述第二唤醒消息用于指示所述第二标识信息所标识的设备的第二通信接口需处于工作状态以与所述第一无线设备进行通信;
所述通信接口,还用于在发送所述第一唤醒消息后,向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第二通信接口发送所述第二唤醒消息。In an eighth aspect, the application provides a wireless device, where the wireless device is a first wireless device, and the wireless device includes: a communication interface and a processor. The processor is configured to generate a first wake-up message carrying the first identifier information, where the communications interface is configured to send the first to the first communications interface of the multiple devices in a broadcast or multicast manner. a wake-up message, the first wake-up message is used to indicate that the device identified by the first identifier information needs to wake up the second communication interface of the device to receive a second wake-up message sent by the first wireless device; The second wake-up message is used to generate a second wake-up message carrying the second identifier information, where the second wake-up message is used to indicate that the second communication interface of the device identified by the second identifier information needs to be in an active state. The first wireless device communicates;
The communication interface is further configured to: after sending the first wake-up message, send the second wake-up message to a second communication interface of the at least one device including the second wireless device in the at least one device .
结合第八方面,在第一种可能的实现方式中,所述第二唤醒消息还用于指示所述第二标识信息未标识的设备的第二通信接口由所述工作状态切换至休眠状态。In conjunction with the eighth aspect, in a first possible implementation, the second wake-up message is further used to indicate that the second communications interface of the device that is not identified by the second identifier information is switched from the working state to the dormant state.
结合第八方面,在第二种可能的实现方式中,所述通信接口,还用于在向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第二通信接口发送所述第二唤醒消息之后,接收所述第二无线设备通过所述第二无线设备的第二通信接口发送的唤醒响应消息,所述唤醒响应消息用于指示所述第二无线设备的第二通信接口处于工作状态。所述处理器,还用于通过所述通信接口与所述第二无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。With reference to the eighth aspect, in a second possible implementation, the communication interface is further configured to send, to a second communications interface of the at least one device that includes the second wireless device in the at least one device After the second wake-up message, receiving a wake-up response message sent by the second wireless device by using the second communications interface of the second wireless device, where the wake-up response message is used to indicate the second The communication interface is working. The processor is further configured to negotiate, by using the communication interface, the first identifier information and the second identifier information used by the second wireless device to wake up the second communication interface of the second wireless device.
本申请第七方面和第八方面中第一唤醒消息中携带的内容、唤醒响应消息、第一标识信息、第二标识信息、第一位图信息、第二位图信息、第三位图信息、第四位图信息、第一通信接口、第二通信接口、第二无线设备的设备标识、第二无线设备的第一通信接口的接口标识、第一指示信息、第二指示信息,以及第一唤醒消息指示第一标识信息所标识的设备的第一通信接口处于工作状态的方式等可以参考本申请第一方面及其可能的实现方式中的详细描述,本申请这里不再赘述。The content, the wakeup response message, the first identification information, the second identification information, the first bitmap information, the second bitmap information, and the third bitmap information carried in the first wakeup message in the seventh aspect and the eighth aspect of the present application The fourth bitmap information, the first communication interface, the second communication interface, the device identifier of the second wireless device, the interface identifier of the first communication interface of the second wireless device, the first indication information, the second indication information, and the A waking message indicates that the first communication interface of the device identified by the first identification information is in a working state, and the like. The detailed description in the first aspect and the possible implementation manners of the present application is not described herein.
需要说明的是,本申请第八方面及其各种可能的实现方式的各个功能单元的详细描述以及有益效果分析可以参考上述第七方面及其各种可能的实现方式中的对应描述及技术效果,此处不再赘述。It should be noted that the detailed description and the beneficial effect analysis of each functional unit of the eighth aspect and various possible implementation manners of the present application may refer to the corresponding description and technical effects in the foregoing seventh aspect and various possible implementation manners thereof. , will not repeat them here.
第九方面,本申请提供一种计算机存储介质,该计算机存储介质中存储有计算机程序代码,当第八方面中的第一无线设备的处理器执行该计算机程序代码时,上述第一无线设备执行如第七方面以及第七方面的各种可选方式所述的唤醒无线设备的方法。In a ninth aspect, the application provides a computer storage medium, where the computer program code is stored, where the first wireless device executes when the processor of the first wireless device in the eighth aspect executes the computer program code A method of waking up a wireless device as described in the seventh aspect and the various alternatives of the seventh aspect.
第十方面,本申请提供一种唤醒无线设备的方法,包括:第二无线设备通过所述第二无线设备的第一通信接口接收第一无线设备以组播方式或广播方式发送的携带有第一标识信息的第一唤醒消息,所述第一标识信息用于标识接收所述第一唤醒消息的多个设备中的至少一个设备,所述第一唤醒消息用于指示所述第一标识信息所标识的设备唤醒该设备的第二通信接口以接收所述第一无线设备后续发送的携带有第二标识信息的第二唤醒消息;若所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则唤醒所述第二无线设备的第二通信接口;所述第二无线设备通过所述第二无线设备的第二通信接口接收所述第一无线设备发送的所述第二唤醒消息,所述第二唤醒消息中携带有第二标识信息,所述第二标识信息用于标识接收所述第二唤醒消息的至少一个设备中所述第一无线设备要唤醒的设备,所述第二唤醒消息用于指示所述第二标识信息所标
识的设备的第二通信接口需处于工作状态以与所述第一无线设备进行通信;若所述第二无线设备确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,所述第二无线设备则保持所述第二无线设备的第二通信接口处于所述工作状态。In a tenth aspect, the present application provides a method for waking up a wireless device, including: receiving, by a second wireless device, a first wireless device by using a first communication interface of the second wireless device a first wake-up message that identifies the information, the first identifier information is used to identify at least one of the plurality of devices that receive the first wake-up message, and the first wake-up message is used to indicate the first identifier information The identified device wakes up the second communication interface of the device to receive a second wake-up message that is sent by the first wireless device and carries the second identification information; if the second wireless device determines that the second wireless device is One of the devices identified by the first identification information, the second wireless device waking up the second communication interface of the second wireless device; the second wireless device passes the second wireless device The second communication interface receives the second wake-up message sent by the first wireless device, where the second wake-up message carries the second identifier information, where the second identifier Information for at least one device in the first wireless device to wake up the apparatus of a second wake-up message identifies the receiver, the second wake-up message to the second identification information indicates the standard
The second communication interface of the identified device needs to be in an active state to communicate with the first wireless device; if the second wireless device determines that the second wireless device is in the device identified by the second identification information a device, the second wireless device maintaining the second communication interface of the second wireless device in the active state.
结合第十方面,在一种可能的实现方式中,第一唤醒消息还携带有第一指示信息,该第一指示信息用于指示上述第一无线设备发送上述第二唤醒消息的时间。上述若所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则唤醒所述第二无线设备的第二通信接口,可以包括:若所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则在所述第一指示信息所指示的时间,唤醒所述第二无线设备的第二通信接口。With reference to the tenth aspect, in a possible implementation manner, the first wake-up message further includes first indication information, where the first indication information is used to indicate a time when the first wireless device sends the second wake-up message. If the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, the second wireless device wakes up the second communication interface of the second wireless device The second wireless device, if the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, the second wireless device is indicated by the first indication information. And waking up the second communication interface of the second wireless device.
结合第十方面或上述可能的实现方式,在另一种可能的实现方式中,在所述第二无线设备通过所述第二无线设备的第二通信接口接收所述第一无线设备发送的第二唤醒消息之前,本申请的方法还可以包括:所述第二无线设备确定所述第一唤醒消息还携带有第二指示信息,所述第二指示信息用于通知所述第二无线设备:所述第一无线设备使用所述第一唤醒消息和所述第二唤醒消息指示所述第二无线设备唤醒所述第二无线设备的第二通信接口。With reference to the tenth aspect or the foregoing possible implementation manner, in another possible implementation manner, the second wireless device receives, by using the second communications interface of the second wireless device, the first wireless device Before the second wake-up message, the method of the present application may further include: determining, by the second wireless device, that the first wake-up message further carries second indication information, where the second indication information is used to notify the second wireless device: The first wireless device instructs the second wireless device to wake up the second communication interface of the second wireless device using the first wakeup message and the second wakeup message.
其中,本申请第十方面中的第一标识信息、第二标识信息、第一位图信息、第二位图信息、第三位图信息、第四位图信息、第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备的方法,以及第二无线设备确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备的方法可以参考本申请第四方面及其可能的实现方式中的详细描述,本申请这里不再赘述。The first identifier information, the second identifier information, the first bitmap information, the second bitmap information, the third bitmap information, the fourth bitmap information, and the second wireless device in the tenth aspect of the present application determine that The second wireless device is a method of one of the devices identified by the first identification information, and the second wireless device determines that the second wireless device is one of the devices identified by the second identification information The method may refer to the detailed description in the fourth aspect of the present application and its possible implementation manners, and details are not described herein again.
结合第十方面或第十方面的任一种可能的实现方式,在另一种可能的实现方式中,在所述第二无线设备通过所述第二无线设备的第一通信接口接收第一无线设备以组播方式或广播方式发送的第一唤醒消息之后,本申请的方法还包括:若所述第二无线设备确定所述第二无线设备不是所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则保持所述第二无线设备的第二通信接口处于休眠状态。With the possible implementation of the tenth or tenth aspect, in another possible implementation, the second wireless device receives the first wireless by using the first communications interface of the second wireless device After the first wake-up message sent by the device in the multicast mode or the broadcast mode, the method of the present application further includes: if the second wireless device determines that the second wireless device is not in the device identified by the first identifier information A device, the second wireless device maintaining the second communication interface of the second wireless device in a sleep state.
结合第十方面或第十方面的任一种可能的实现方式,在另一种可能的实现方式中,在所述第二无线设备通过所述第二无线设备的第二通信接口接收所述第一无线设备发送的第二唤醒消息之后,所述方法还包括:若所述第二无线设备确定所述第二无线设备不是所述第二标识信息所标识的设备中的一个设备,所述第二无线设备则将所述第二无线设备的第一通信接口和第二通信接口均由工作状态切换至休眠状态。With reference to the tenth aspect or any one of the possible implementation manners of the tenth aspect, in another possible implementation, the second wireless device receives, by the second communications interface of the second wireless device, the first After the second wake-up message sent by the wireless device, the method further includes: if the second wireless device determines that the second wireless device is not one of the devices identified by the second identifier information, The second wireless device switches the first communication interface and the second communication interface of the second wireless device from an active state to a sleep state.
结合第十方面或第十方面的任一种可能的实现方式,在另一种可能的实现方式中,在所述第二无线设备则控制所述第二无线设备的第二通信接口处于所述工作状态之后,本申请的方法还可以包括:所述第二无线设备通过所述第二无线设备的第二通信接口向所述第一无线设备发送唤醒响应消息,所
述唤醒响应消息用于指示所述第二无线设备的第二通信接口处于工作状态;所述第二无线设备通过所述第二无线设备的第二通信接口与所述第一无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。With reference to the tenth aspect or any one of the possible implementation manners of the tenth aspect, in another possible implementation, the second wireless device controls the second communication interface of the second wireless device to be in the After the working state, the method of the present application may further include: the second wireless device sending a wakeup response message to the first wireless device by using a second communication interface of the second wireless device, where
The wakeup response message is used to indicate that the second communication interface of the second wireless device is in an active state; the second wireless device negotiates with the first wireless device by using a second communication interface of the second wireless device First identification information and second identification information used when waking up the second communication interface of the second wireless device.
第十一方面,本申请提供一种无线设备,该无线设备为第二无线设备,该无线设备包括:第一通信接口、第二通信接口和处理器。所述第一通信接口,用于接收第一无线设备以组播方式或广播方式发送的携带有第一标识信息的第一唤醒消息,所述第一标识信息用于标识接收所述第一唤醒消息的多个设备中的至少一个设备,所述第一唤醒消息用于指示所述第一标识信息所标识的设备唤醒该设备的第二通信接口以接收所述第一无线设备后续发送的第二唤醒消息;所述处理器,用于若确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,则唤醒所述第二无线设备的第二通信接口;所述第二通信接口,用于接收所述第一无线设备发送的携带有第二标识信息的第二唤醒消息,所述第二唤醒消息中携带有第二标识信息,所述第二标识信息用于标识接收所述第二唤醒消息的至少一个设备中所述第一无线设备要唤醒的设备,所述第二唤醒消息用于指示所述第二标识信息所标识的设备的第二通信接口处于工作状态;所述处理器,还用于若确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,则保持所述第二无线设备的第二通信接口处于所述工作状态。In an eleventh aspect, the application provides a wireless device, where the wireless device is a second wireless device, the wireless device includes: a first communication interface, a second communication interface, and a processor. The first communication interface is configured to receive a first wake-up message that is sent by the first wireless device in a multicast mode or a broadcast mode, and the first identifier information is used to identify that the first wake-up is received. At least one of the plurality of devices of the message, the first wake-up message is used to indicate that the device identified by the first identifier information wakes up the second communication interface of the device to receive the first transmission by the first wireless device a second wake-up message; the processor, if it is determined that the second wireless device is one of the devices identified by the first identifier information, waking up the second communication interface of the second wireless device; The second communication interface is configured to receive a second wake-up message that is sent by the first wireless device and that carries the second identifier information, where the second wake-up message carries the second identifier information, where the second identifier information is used. And identifying, by the at least one device that receives the second wake-up message, the device that the first wireless device is to wake up, where the second wake-up message is used to indicate that the second identifier information is marked The second communication interface of the device is in an active state; the processor is further configured to: if the second wireless device is determined to be one of the devices identified by the second identification information, maintaining the second wireless The second communication interface of the device is in the active state.
结合第十一方面,在第一种可能的实现方式中,上述第一标识信息包括第一位图信息,该第一位图信息可以参考第一方面的第一种可能的实现方式中对的第一位图信息的详细描述。上述第二标识信息包括第二位图信息,该第二位图信息可以参考第一方面的第一种可能的实现方式中对的第二位图信息的详细描述。With reference to the eleventh aspect, in a first possible implementation manner, the foregoing first identifier information includes first bitmap information, and the first bitmap information may refer to the first possible implementation manner of the first aspect. A detailed description of the first bitmap information. The second identifier information includes second bitmap information, and the second bitmap information may refer to the detailed description of the second bitmap information in the first possible implementation manner of the first aspect.
在第十一方面的第一种可能的实现方式中,所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第一位图信息中与所述第二无线设备所在组对应的比特位的值为所述第一预设值,则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。所述处理器用于确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第二位图信息中与所述第二无线设备对应的比特位的值为所述第二预设值,则确定所述第二无线设备为所述第二标识信息所标识的设备的一个设备。In a first possible implementation manner of the eleventh aspect, the determining, by the processor, the second wireless device is one of the devices identified by the first identifier information, Determining that the second wireless device is identified by the first identifier information, if the value of the bit corresponding to the group of the second wireless device in the first bitmap information is the first preset value. A device in the device. The processor is configured to determine, by the second wireless device, one of the devices identified by the second identifier information, where the processor is configured to: if the second bitmap information is related to the second wireless The value of the bit corresponding to the device is the second preset value, and determining that the second wireless device is a device of the device identified by the second identifier information.
结合第十一方面,在第二种可能的实现方式中,上述第二标识信息包括第三位图信息,该第三位图信息可以参考第一方面的第二种可能的实现方式中对的第三位图信息的详细描述。所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第一标识信息中包括所述第二无线设备所在设备组的组地址信息,则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。所述处理器用于确定所述第二无线设备为所述第二标识信息所标识的设备中的一个
设备,包括:所述处理器用于若所述第三位图信息中与所述第二无线设备对应的比特位的值为所述第二预设值,则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。With reference to the eleventh aspect, in a second possible implementation manner, the foregoing second identifier information includes third bitmap information, where the third bitmap information may refer to the second possible implementation manner of the first aspect. A detailed description of the third bitmap information. The processor is configured to determine that the second wireless device is one of the devices that are identified by the first identifier information, and the processor is configured to: if the first identifier information includes the second wireless device And determining, by the group address information of the device group, the second wireless device is one of the devices identified by the first identifier information. The processor is configured to determine that the second wireless device is one of the devices identified by the second identification information
The device, the processor is configured to determine, if the value of a bit corresponding to the second wireless device in the third bitmap information is the second preset value, determining that the second wireless device is One of the devices identified by the second identification information.
结合第十一方面,在第三种可能的实现方式中,上述第一标识信息包括第四位图信息,该第四位图信息可以参考第一方面的第一种可能的实现方式中对的第四位图信息的详细描述。所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第四位图信息中与所述第二无线设备对应的比特位的值为所述第一预设值,则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。With reference to the eleventh aspect, in a third possible implementation manner, the foregoing first identifier information includes fourth bitmap information, where the fourth bitmap information may refer to the first possible implementation manner of the first aspect. A detailed description of the fourth bitmap information. The processor is configured to determine, by the second wireless device, one of the devices identified by the first identifier information, where the processor is configured to: if the fourth bitmap information is related to the second wireless The value of the bit corresponding to the device is the first preset value, and determining that the second wireless device is one of the devices identified by the first identifier information.
结合第十一方面,在第四种可能的实现方式中,所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第一标识信息中包括所述第二无线设备的第一通信接口的接口标识,或者包括所述第二无线设备的设备标识,则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。With reference to the eleventh aspect, in a fourth possible implementation, the determining, by the processor, the second wireless device is one of the devices identified by the first identifier information, including: Determining that the second wireless device is the first one, if the first identifier information includes an interface identifier of the first communications interface of the second wireless device, or includes a device identifier of the second wireless device Identifies one of the devices identified by the information.
结合第十一方面或者第十一方面的第三种可能的实现方式或者第四种可能的实现方式,在第五种可能的实现方式中,所述处理器用于确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第二标识信息中包括所述第二无线设备的设备标识或者包括所述第二无线设备的第一通信接口的接口标识,则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。With reference to the eleventh aspect or the third possible implementation manner of the eleventh aspect, or the fourth possible implementation manner, in a fifth possible implementation manner, the processor is configured to determine that the second wireless device is One of the devices identified by the second identifier information, the processor is configured to: if the second identifier information includes the device identifier of the second wireless device or include the second wireless device And determining, by the interface identifier of the communication interface, the second wireless device is one of the devices identified by the second identifier information.
结合第十一方面或者任一种可能的实现方式,在第六种可能的实现方式中,所述第一唤醒消息还携带有第一指示信息,所述第一指示信息用于指示所述第一无线设备发送所述第二唤醒消息的时间。所述处理器用于若确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,则唤醒所述第二无线设备的第二通信接口,包括:所述处理器用于若确定所述第二无线设备为所述第一标识信息所标识的设备,则在所述第一指示信息所指示的时间,唤醒所述第二无线设备的第二通信接口。With reference to the eleventh aspect, or any one of the possible implementation manners, in the sixth possible implementation, the first wake-up message further carries first indication information, where the first indication information is used to indicate the The time at which the wireless device sends the second wake-up message. The processor is configured to: if the second wireless device is determined to be one of the devices identified by the first identifier information, waking up the second communication interface of the second wireless device, where the processor is configured to: And if it is determined that the second wireless device is the device identified by the first identifier information, waking up the second communication interface of the second wireless device at a time indicated by the first indication information.
结合第十一方面或者任一种可能的实现方式,在第七种可能的实现方式中,所述处理器,还用于在所述第二通信接口接收所述第二唤醒消息之前,确定所述第一唤醒消息还携带有第二指示信息,所述第二指示信息用于通知所述第二无线设备:所述第一无线设备使用所述第一唤醒消息和所述第二唤醒消息指示所述第二无线设备唤醒所述第二无线设备的第二通信接口。With reference to the eleventh aspect, or any one of the possible implementation manners, in a seventh possible implementation, the processor is further configured to determine, before the second communication interface receives the second wakeup message, The first wake-up message further carries second indication information, where the second indication information is used to notify the second wireless device: the first wireless device uses the first wake-up message and the second wake-up message indication The second wireless device wakes up the second communication interface of the second wireless device.
结合第十一方面或者任一种可能的实现方式,在第八种可能的实现方式中,所述处理器,还用于在所述第一通信接口接收所述第一唤醒消息之后,若确定所述第二无线设备不是所述第一标识信息所标识的设备,则保持所述第二无线设备的第二通信接口处于休眠状态。With reference to the eleventh aspect, or any one of the possible implementation manners, in the eighth possible implementation, the processor is further configured to: after the first communication interface receives the first wake-up message, if And the second wireless device is not the device identified by the first identifier information, and the second communication interface of the second wireless device is kept in a sleep state.
结合第十一方面或者任一种可能的实现方式,在第九种可能的实现方式中,所述处理器,还用于在所述第二无线设备接收所述第二唤醒消息之后,若确定所述第二无线设备不是所述第二标识信息所标识的设备,则将所述第二
无线设备的第一通信接口和第二通信接口均由工作状态切换至休眠状态。With reference to the eleventh aspect, or any one of the possible implementation manners, in a ninth possible implementation manner, the processor is further configured to: after the second wireless device receives the second wake-up message, if The second wireless device is not the device identified by the second identification information, and then the second
The first communication interface and the second communication interface of the wireless device are all switched from the working state to the sleep state.
结合第十一方面或者任一种可能的实现方式,在第十种可能的实现方式中,所述处理器,还用于在控制所述第二通信接口处于所述工作状态后,生成唤醒响应消息,所述唤醒响应消息用于指示所述第二无线设备的第二通信接口处于工作状态;所述第二通信接口,还用于向所述第一无线设备发送所述处理器生成的所述唤醒响应消息;所述处理器,还用于通过所述第二通信接口与所述第一无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。With reference to the eleventh aspect, or any possible implementation manner, in a tenth possible implementation, the processor is further configured to generate a wakeup response after controlling the second communication interface to be in the working state. a message, the wakeup response message is used to indicate that the second communication interface of the second wireless device is in an active state, and the second communication interface is further configured to send, to the first wireless device, the generated by the processor The wakeup response message is further configured to: negotiate, by the second communication interface, the first identifier information used by the first wireless device to awake the second communication interface of the second wireless device And second identification information.
需要说明的是,本申请第十方面和第十一方面及其各种可能的实现方式的各个功能单元的详细描述以及有益效果分析可以参考上述第七方面及其各种可能的实现方式中的对应描述及技术效果,此处不再赘述。It should be noted that the detailed descriptions of the functional units of the tenth and eleventh aspects of the present application and various possible implementations thereof, and the beneficial effects analysis may refer to the foregoing seventh aspect and various possible implementation manners thereof. Corresponding descriptions and technical effects are not described here.
第十二方面,本申请提供一种计算机存储介质,该计算机存储介质中存储有计算机程序代码,当第十一方面中的第二无线设备的处理器执行该计算机程序代码时,上述第二无线设备执行如第十方面以及第十方面的各种可选方式所述的唤醒无线设备的方法。According to a twelfth aspect, the present application provides a computer storage medium storing computer program code, when the processor of the second wireless device in the eleventh aspect executes the computer program code, the second wireless The apparatus performs the method of waking up a wireless device as described in the tenth aspect and various alternatives of the tenth aspect.
图1为本发明实施例提供的一种AP唤醒STA的实例示意图;FIG. 1 is a schematic diagram of an example of an AP waking up STA according to an embodiment of the present disclosure;
图2本发明实施例提供的一种唤醒无线设备的方法所应用的无线局域网WLAN的网络架构示意图;2 is a schematic diagram of a network architecture of a wireless local area network WLAN to which a method for waking up a wireless device is provided according to an embodiment of the present invention;
图3为本发明实施例提供的一种AP唤醒其覆盖范围内的一个或多个STA的场景实例示意图;FIG. 3 is a schematic diagram of an example of a scenario in which an AP wakes up one or more STAs in its coverage area according to an embodiment of the present disclosure;
图4为本发明实施例提供的一种唤醒无线设备的方法流程图一;4 is a flowchart 1 of a method for waking up a wireless device according to an embodiment of the present invention;
图5为本发明实施例提供的一种第一唤醒消息的结构组成实例示意图;FIG. 5 is a schematic diagram of a structural example of a first wake-up message according to an embodiment of the present disclosure;
图6为本发明实施例提供的一种第二唤醒消息的结构组成实例示意图一;FIG. 6 is a schematic diagram 1 of a structural example of a second wake-up message according to an embodiment of the present disclosure;
图7为本发明实施例第一种应用场景中的实现方式一中,AP唤醒STA的过程中STA的状态切换示意图;FIG. 7 is a schematic diagram of state switching of an STA in a process of waking up an STA by an AP according to the first implementation manner of the first application scenario;
图8为本发明实施例提供的一种唤醒无线设备的方法流程图二;FIG. 8 is a second flowchart of a method for waking up a wireless device according to an embodiment of the present invention;
图9为本发明实施例第一种应用场景中的实现方式二中,AP唤醒STA的过程中STA的状态切换示意图;FIG. 9 is a schematic diagram of state switching of an STA in an AP wake-up STA process in the second implementation manner of the first application scenario;
图10为本发明实施例提供的一种唤醒无线设备的方法流程图三;FIG. 10 is a third flowchart of a method for waking up a wireless device according to an embodiment of the present invention;
图11为本发明实施例第一种应用场景中的实现方式三中,AP唤醒STA的过程中STA的状态切换示意图一;FIG. 11 is a schematic diagram 1 of state switching of an STA in a process of waking up an STA by an AP in the third implementation manner of the first application scenario;
图12为本发明实施例第一种应用场景中的实现方式三中,AP唤醒STA的过程中STA的状态切换示意图二;FIG. 12 is a schematic diagram 2 of state switching of an STA in an AP wake-up STA process in the third implementation manner of the first application scenario;
图13为本发明实施例第一种应用场景中的实现方式三中,AP唤醒STA的过程中STA的状态切换示意图三;FIG. 13 is a schematic diagram 3 of state switching of an STA in an AP wake-up STA process in the third implementation manner of the first application scenario;
图14为本发明实施例第一种应用场景中的实现方式三中,AP唤醒STA的过程中STA的状态切换示意图四;
FIG. 14 is a schematic diagram 4 of state switching of an STA in a process of waking up an STA by an AP in Embodiment 3 of the first application scenario;
图15为本发明实施例提供的一种唤醒无线设备的方法流程图四;FIG. 15 is a flowchart 4 of a method for waking up a wireless device according to an embodiment of the present invention;
图16为本发明实施例第一种应用场景中的实现方式四中,AP唤醒STA的过程中STA的状态切换示意图一;FIG. 16 is a schematic diagram 1 of state switching of an STA in the process of waking up an STA by an AP in the fourth implementation manner of the first application scenario;
图17为本发明实施例第一种应用场景中的实现方式四中,AP唤醒STA的过程中STA的状态切换示意图二;FIG. 17 is a schematic diagram 2 of state switching of an STA in an AP wake-up STA process in the fourth implementation manner of the first application scenario;
图18为本发明实施例第一种应用场景中的实现方式四中,AP唤醒STA的过程中STA的状态切换示意图三;FIG. 18 is a schematic diagram 3 of a state transition of an STA in an AP wake-up STA process in the fourth implementation manner of the first application scenario;
图19为本发明实施例第一种应用场景中的实现方式四中,AP唤醒STA的过程中STA的状态切换示意图四;FIG. 19 is a schematic diagram 4 of state switching of an STA in a process of waking up an STA by an AP in the fourth implementation manner of the first application scenario;
图20为本发明实施例提供的一种唤醒无线设备的方法流程图五;FIG. 20 is a flowchart 5 of a method for waking up a wireless device according to an embodiment of the present invention;
图21为本发明实施例提供的一种第二唤醒消息的结构组成实例示意图二;FIG. 21 is a second schematic diagram showing a structural composition of a second wake-up message according to an embodiment of the present disclosure;
图22为本发明实施例提供的一种唤醒无线设备的方法流程图六;FIG. 22 is a flowchart 6 of a method for waking up a wireless device according to an embodiment of the present invention;
图23为本发明实施例第二种应用场景中的实现方式一中,AP唤醒STA的过程中STA的状态切换示意图;FIG. 23 is a schematic diagram of state switching of an STA during an AP wake-up STA in an implementation manner 1 in a second application scenario according to an embodiment of the present disclosure;
图24为本发明实施例第人种应用场景中的实现方式二中,AP唤醒STA的过程中STA的状态切换示意图;FIG. 24 is a schematic diagram of state switching of an STA in an AP wake-up STA process in the second implementation manner of the first application scenario;
图25为本发明实施例第二种应用场景中的实现方式三中,AP唤醒STA的过程中STA的状态切换示意图一;25 is a schematic diagram 1 of state switching of an STA during an AP waking up STA in the third implementation manner in the second application scenario according to the second embodiment of the present invention;
图25为本发明实施例第二种应用场景中的实现方式三中,AP唤醒STA的过程中STA的状态切换示意图二;FIG. 25 is a schematic diagram 2 of state switching of an STA in a process of waking up an STA by an AP in the third implementation manner of the second application scenario;
图27为本发明实施例第二种应用场景中的实现方式三中,AP唤醒STA的过程中STA的状态切换示意图三;FIG. 27 is a third schematic diagram of state switching of an STA in an AP waking STA process in the third implementation manner of the second application scenario;
图28为本发明实施例第二种应用场景中的实现方式三中,AP唤醒STA的过程中STA的状态切换示意图四;FIG. 28 is a schematic diagram 4 of state switching of an STA during an AP wake-up STA in the third implementation manner in the second application scenario according to the second embodiment of the present invention;
图29为本发明实施例第二种应用场景中的实现方式四中,AP唤醒STA的过程中STA的状态切换示意图一;FIG. 29 is a schematic diagram 1 of state switching of an STA in a process of waking up an STA by an AP in the fourth implementation manner of the second application scenario;
图30为本发明实施例第二种应用场景中的实现方式四中,AP唤醒STA的过程中STA的状态切换示意图二;FIG. 30 is a schematic diagram 2 of state switching of an STA in a process of waking up an STA by an AP according to Embodiment 4 of the second application scenario;
图31为本发明实施例第二种应用场景中的实现方式四中,AP唤醒STA的过程中STA的状态切换示意图三;FIG. 31 is a third schematic diagram of state switching of an STA in an AP wake-up STA process in the fourth implementation manner of the second application scenario;
图32为本发明实施例第二种应用场景中的实现方式四中,AP唤醒STA的过程中STA的状态切换示意图四;FIG. 32 is a schematic diagram 4 of state switching of an STA in a process of waking up an STA by an AP according to Embodiment 4 of the second application scenario;
图33为本发明实施例提供的一种无线设备的结构示意图一;FIG. 33 is a schematic structural diagram 1 of a wireless device according to an embodiment of the present disclosure;
图34为本发明实施例提供的一种无线设备的结构示意图二;FIG. 34 is a schematic structural diagram 2 of a wireless device according to an embodiment of the present disclosure;
图35为本发明实施例提供的一种无线设备的结构示意图三。FIG. 35 is a schematic structural diagram 3 of a wireless device according to an embodiment of the present invention.
本发明的说明书以及附图中的术语“第一”和“第二”等是用于区别不
同的对象,或者用于区别对同一对象的不同处理,而不是用于描述对象的特定顺序。例如,第一无线设备和第二无线设备为不同的无线设备,第一指示信息和第二指示信息可以为不同的指示信息。The terms "first" and "second" in the specification of the present invention and the drawings are used to distinguish
The same object, or used to distinguish different treatments of the same object, rather than describing the specific order of the objects. For example, the first wireless device and the second wireless device are different wireless devices, and the first indication information and the second indication information may be different indication information.
本发明实施例提供的一种唤醒无线设备的方法可以应用于第一无线设备唤醒包括第二无线设备在内的一个或多个设备的过程中。A method for waking up a wireless device according to an embodiment of the present invention may be applied to a process in which a first wireless device wakes up one or more devices including a second wireless device.
示例性的,本发明实施例中的第一无线设备可以为AP,一个或多个设备可以为一个或多个STA(即第二无线设备可以为STA)。For example, the first wireless device in the embodiment of the present invention may be an AP, and one or more devices may be one or more STAs (ie, the second wireless device may be a STA).
请参考图2,其示出了本发明实施例提供的一种唤醒无线设备的方法所应用的无线局域网(Wireless Local Area Network,WLAN)200的网络架构示意图。如图2所示,该WLAN 200中可以包括一个AP 201和一个或者多个STA。Please refer to FIG. 2 , which is a schematic diagram of a network architecture of a Wireless Local Area Network (WLAN) 200 applied to a method for waking up a wireless device according to an embodiment of the present invention. As shown in FIG. 2, the WLAN 200 may include an AP 201 and one or more STAs.
示例性的,上述一个或者多个STA可以为如图2所示的手机202、相机203、电脑204、显示器设备205(如电视机、电脑显示器等)、平板、可穿戴式设备、打印机等设备。为了方便描述,图2中仅仅给出了STA的部分示例,本发明实施例所述的STA包括但不限于此。Exemplarily, the one or more STAs may be the mobile phone 202, the camera 203, the computer 204, the display device 205 (such as a television, a computer monitor, etc.), a tablet, a wearable device, a printer, etc. as shown in FIG. . For the convenience of description, only a partial example of the STA is shown in FIG. 2, and the STA described in the embodiment of the present invention includes but is not limited thereto.
其中,上述AP 201可以与上述一个或者多个STA构成一个基本服务集(Basic Service Set,BSS)。该BSS中的AP(即AP 201)可以与该BSS中的任一个STA通信。The AP 201 may form a basic service set (BSS) with the one or more STAs. The AP in the BSS (ie, AP 201) can communicate with any of the STAs in the BSS.
在如图2所示的AP 201的覆盖范围211内,可以形成一个基本服务区域(Basic Service Area,BSA),WLAN 200可以通过有线或者无线的方式连接至一个分布式系统(Distributed System,DS),多个AP 201可以以这样的方式形成一个扩展服务集(Extended Service Set,ESS)。这样,AP 201则可以在与该ESS中的一个或多个STA通信。In the coverage area 211 of the AP 201 as shown in FIG. 2, a basic service area (BSA) may be formed, and the WLAN 200 may be connected to a distributed system (DS) by wire or wirelessly. Multiple APs 201 may form an Extended Service Set (ESS) in this manner. Thus, AP 201 can then communicate with one or more STAs in the ESS.
需要说明的是,本发明实施例的方法所应用的网络架构并不局限于如图2所示的架构。例如,本发明实施例的方法还可以应用于热点AP场景、P2P等场景中。例如,以手机202与显示器205为例,手机202可以开启热点模式,充当一个AP,显示器205充当一个STA,组成一个WLAN,本发明实施例的方法可以应用于该WLAN中。或者,手机202作为一个P2P群主设备(Group Owner,GO),显示器205充当一个P2P Cllient,手机202与显示器105组成一个WLAN,本发明实施例的方法可以应用于该WLAN中。或者,手机202作为一个NAN Anchor master,显示器205作为一个NAN device,手机202与显示器205组成一个WLAN,本发明实施例的方法可以应用于该WLAN中。It should be noted that the network architecture applied by the method of the embodiment of the present invention is not limited to the architecture shown in FIG. 2. For example, the method in the embodiment of the present invention may also be applied to a scenario such as a hotspot AP scenario or a P2P. For example, in the case of the mobile phone 202 and the display 205, the mobile phone 202 can be used in the hotspot mode to serve as an AP, and the display 205 acts as a STA to form a WLAN. The method in the embodiment of the present invention can be applied to the WLAN. Alternatively, the mobile phone 202 acts as a P2P group owner (GO), the display 205 acts as a P2P Cllient, and the mobile phone 202 and the display 105 form a WLAN. The method of the embodiment of the present invention can be applied to the WLAN. Alternatively, the mobile phone 202 functions as a NAN Anchor master, and the display 205 functions as a NAN device. The mobile phone 202 and the display 205 form a WLAN. The method of the embodiment of the present invention can be applied to the WLAN.
在AP 201与一个或多个STA通过上述WLAN网络通信的过程中,如图2所示的一个或者多个STA的Wi-Fi接口,可能进入休眠状态以节省电量。WLAN 100中的一个或多个STA在Wi-Fi接口之外,还配置有低功耗的辅助唤醒接口(如WUR接口,作为唤醒Wi-Fi接口的接收机)。当AP有数据需要向STA传输数据时,该AP则可以先向该STA的WUR接口发送WUR消息,指示该WUR接口唤醒STA的Wi-Fi接口以接收AP后续发送的数据。
In the process in which the AP 201 communicates with one or more STAs through the above WLAN network, the Wi-Fi interface of one or more STAs as shown in FIG. 2 may enter a sleep state to save power. One or more STAs in the WLAN 100 are outside the Wi-Fi interface, and are also equipped with a low power auxiliary wake-up interface (such as a WUR interface as a receiver for waking up the Wi-Fi interface). When the AP has data to transmit data to the STA, the AP may first send a WUR message to the WUR interface of the STA, indicating that the WUR interface wakes up the Wi-Fi interface of the STA to receive data sent by the AP.
本发明实施例中所述的Wi-Fi接口可以和所述WUR接口分别使用一根天线进行信号的传输;或者,两者可以共用一根天线进行信号的传输,以节省设备的成本。The Wi-Fi interface in the embodiment of the present invention may use an antenna to transmit signals respectively with the WUR interface; or, the two may share one antenna for signal transmission, thereby saving the cost of the device.
其中,上述WUR消息可以为唤醒包(Wake Up Packet,WUP)或者唤醒信标帧(Wake Up Beacon,也可称为WUR Beacon)等WUR接口可以接收并解析的消息。或者,该WUR消息还可以为其他的具有指示STA唤醒其Wi-Fi接口的功能的消息。The WUR message may be a message that can be received and parsed by a WUR interface such as a Wake Up Packet (WUP) or a Wake Up Beacon (also referred to as a WUR Beacon). Alternatively, the WUR message may also be other messages with functionality indicating that the STA wakes up its Wi-Fi interface.
。其中,以手机102为例,进入休眠状态表示手机102的Wi-Fi接口不再连续接收空口消息,具体可以为进入到打盹状态(Doze state),或者shallow sleep(浅睡眠)状态,即Wi-Fi接口的基带模块和媒体访问控制(Media Access Control,MAC)处理器模块保持开启,射频(Radio Frequency,RF)模块关断,或者深睡眠状态(Deep Sleep),即Wi-Fi接口的RF模块、基带模块及MAC处理器模块全部关断。. The mobile phone 102 is taken as an example. The sleep state indicates that the Wi-Fi interface of the mobile phone 102 does not continuously receive the air interface message, and may specifically enter a doze state or a shallow sleep state, that is, Wi- The baseband module of the Fi interface and the Media Access Control (MAC) processor module remain on, the radio frequency (RF) module is turned off, or the deep sleep state (Deep Sleep), that is, the RF module of the Wi-Fi interface. The baseband module and the MAC processor module are all turned off.
本发明实施例提供的唤醒无线设备的方法,第一无线设备(如AP)可以使用两个唤醒消息(如第一唤醒消息和第二唤醒消息)指示第二无线设备(如STA)唤醒该第二无线设备的第二通信接口。即第二无线设备在接收到第一唤醒消息后,还不能确定是否唤醒该第二无线设备的第二通信接口,需要等待接收第二唤醒消息,而后根据接收到的第二唤醒消息才可以确定是否要唤醒该第二无线设备的第二通信接口;而不是在接收到一个唤醒消息后,就根据该唤醒消息携带的位图信息中的对应比特位的值,直接唤醒第二无线设备的第二通信接口。这样的双重确认唤醒机制可以增加恶意设备恶意唤醒大量STA的难度,提高STA被AP唤醒过程的安全性,避免STA被恶意设备恶意地唤醒而消耗不必要的功耗。A method for waking up a wireless device according to an embodiment of the present invention, a first wireless device (such as an AP) may use two wake-up messages (such as a first wake-up message and a second wake-up message) to instruct a second wireless device (such as a STA) to wake up the first The second communication interface of the second wireless device. That is, after receiving the first wake-up message, the second wireless device cannot determine whether to wake up the second communication interface of the second wireless device, wait for receiving the second wake-up message, and then determine according to the received second wake-up message. Whether to wake up the second communication interface of the second wireless device; instead of directly waking up the second wireless device according to the value of the corresponding bit in the bitmap information carried by the wake-up message after receiving a wake-up message Two communication interfaces. Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
需要说明的是,本发明实施例中的第二无线设备(如STA)的第二通信接口(如Wi-Fi接口,主通信接口)为第二无线设备的主通信模块(如Wi-Fi模块)提供的通信接口,第二无线设备(如STA)的第一通信接口(如WUR接口,辅助唤醒接口)为第二无线设备的辅助唤醒模块(如WUR模块)提供的通信接口。其中,本发明实施例后续以第一无线设备为AP,第一无线设备要唤醒的包括第二无线设备在内的多个设备为STA,第一通信接口为WUR接口,第二通信接口为Wi-Fi接口为例,对本发明实施例的方法详细说明。It should be noted that the second communication interface (such as a Wi-Fi interface, a primary communication interface) of the second wireless device (such as a STA) in the embodiment of the present invention is a primary communication module of the second wireless device (such as a Wi-Fi module). Provided by the communication interface, the first communication interface of the second wireless device (such as a STA) (such as a WUR interface, an auxiliary wake-up interface) is a communication interface provided by an auxiliary wake-up module (such as a WUR module) of the second wireless device. In the embodiment of the present invention, the first wireless device is an AP, and the plurality of devices including the second wireless device that the first wireless device is to wake up are STAs, the first communication interface is a WUR interface, and the second communication interface is a Wi. The -Fi interface is taken as an example, and the method of the embodiment of the present invention is described in detail.
示例性的,本发明实施例以如图3所示的Wi-Fi网络300中的AP 301唤醒其覆盖范围内的一个或多个STA的场景为例,对本发明实施例的提供的无线设备的唤醒方法进行举例说明。Illustratively, the embodiment of the present invention is an example in which the AP 301 in the Wi-Fi network 300 shown in FIG. 3 wakes up a scenario of one or more STAs in its coverage, for example, for the wireless device provided by the embodiment of the present invention. The wake-up method is illustrated.
如图3所示的Wi-Fi网络300中可以包括一个AP 301和多个STA,该多个STA可以包括如图3所示的STA 1、STA 2、STA 3等7个STA。如表1所示,STA 1、STA 2、STA 3等7个STA的设备标识分别为STA-1、STA-2、STA-3,……,STA-7;STA 1、STA 2、STA 3等7个STA的WUR接口的接口标识分别为WUR-1、WUR-2、WUR-3,……,WUR-7;STA 1、STA 2、STA 3等7个STA的WUR接口的接口标识分别为Wi-Fi-1、Wi-Fi-2、Wi-Fi-3,……,
Wi-Fi-7。The Wi-Fi network 300 shown in FIG. 3 may include an AP 301 and a plurality of STAs, and the multiple STAs may include 7 STAs such as STA 1, STA 2, and STA 3 as shown in FIG. 3. As shown in Table 1, the device identifiers of seven STAs such as STA 1, STA 2, and STA 3 are STA-1, STA-2, STA-3, ..., STA-7; STA 1, STA 2, and STA 3, respectively. The interface identifiers of the WUR interfaces of the seven STAs are WUR-1, WUR-2, WUR-3, ..., WUR-7; the interface identifiers of the WUR interfaces of the STAs such as STA 1, STA 2, and STA 3 are respectively For Wi-Fi-1, Wi-Fi-2, Wi-Fi-3, ...,
Wi-Fi-7.
其中,如图3所示,这7个STA可以归属于三个设备组:设备组x、设备组y和设备组z。如表1所示,设备组x的组地址信息为x,设备组x中包括STA 1、STA 2和STA 3;设备组y的组地址信息为y,设备组y中包括STA 4和STA 5;设备组z的组地址信息为z,设备组z中包括STA 6和STA 7。As shown in FIG. 3, the seven STAs can belong to three device groups: device group x, device group y, and device group z. As shown in Table 1, the group address information of the device group x is x, the device group x includes STA 1, STA 2, and STA 3; the group address information of the device group y is y, and the device group y includes STA 4 and STA 5 The group address information of the device group z is z, and the device group z includes STA 6 and STA 7.
本发明实施例中,STA的组地址信息可以是AP与STA进行Wi-Fi通信的过程中,为STA分配的。例如,该STA的组地址信息可以为AP以组播方式向一个设备组中的STA发送数据时,AP为该设备组分配的组播地址。或者,STA的组地址信息可以是STA根据预设的组地址信息生成规则生成的,组地址信息相同的STA可以被认为是同一设备组的STA。例如,STA可以将其媒体访问控制(Media Access Control,MAC)地址或者WUR ID等标识信息通过哈希算法或者截取该标识信息中的预设位,得到该STA的组地址信息。或者,STA的组地址信息可以STA根据该STA加入AP所在的BSS的时间信息确定的。In the embodiment of the present invention, the group address information of the STA may be allocated to the STA during the process of the Wi-Fi communication between the AP and the STA. For example, the group address information of the STA may be a multicast address allocated by the AP to the device group when the AP sends data to the STAs in a device group in a multicast manner. Alternatively, the group address information of the STA may be generated by the STA according to the preset group address information generation rule, and the STAs with the same group address information may be regarded as STAs of the same device group. For example, the STA may obtain the group address information of the STA by using a hash algorithm or a preset bit in the identifier information by using a hashing algorithm or a preset information such as a WUR ID. Alternatively, the group address information of the STA may be determined by the STA according to the time information of the BSS where the STA joins the AP.
需要说明的是,本发明实施例中的组地址信息也可以称为组标识信息,该组标识信息可以为一个编号信息、数值信息、字母信息等,本发明对此不做限制。It should be noted that the group address information in the embodiment of the present invention may also be referred to as group identification information, and the group identification information may be a number information, a numerical value information, an alphabetic information, etc., which is not limited by the present invention.
当一个STA向AP发起关联请求(Association Request)后,AP会反馈的关联响应帧(Association Response),并为该STA分配一个关联标识(Association IDentifer,AID)。AP在为STA分配AID时,可以按照STA与该AP关联的先后顺序,从1开始依次为STA分配AID的;因此,上述AP 301可以为上述7个STA中的每个STA分配可以唯一标识该STA的AID。After an STA initiates an association request (Association Request) to the AP, the AP feeds back an association response frame (Association Response) and assigns an association identifier (AID) to the STA. When the AP allocates an AID to the STA, the AP may assign an AID to the STA in sequence according to the order in which the STA is associated with the AP. Therefore, the AP 301 may allocate, for each of the foregoing seven STAs, a unique identifier. STA's AID.
如表1所示,AP 301在与STA 1建立关联时,为STA 1分配的关联标识(Association IDentifer,AID)为AID-1,AP 301在与STA 2建立关联时,为STA 2分配的AID为AID-2,AP 301在与STA 3建立关联时,为STA 3分配的AID为AID-3,……,AP 301在与STA 12建立关联时,为STA 7分配的AID为AID-7。As shown in Table 1, when the AP 301 is associated with the STA 1, the Association ID (AID) assigned to the STA 1 is AID-1, and the AID assigned to the STA 2 when the AP 301 establishes association with the STA 2 For AID-2, when the AP 301 establishes association with the STA 3, the AID assigned to the STA 3 is AID-3, ..., and when the AP 301 establishes association with the STA 12, the AID assigned to the STA 7 is AID-7.
表1Table 1
其中,为了方便描述,图3中仅仅给出了STA的部分示例,本发明实施
例所述的STA包括但不限于此。图3所示的STA的详细描述可以参考本发明实施例对图2中STA的描述,这里不再赘述。Here, for convenience of description, only a partial example of the STA is given in FIG. 3, and the present invention is implemented.
The STAs described in the examples include but are not limited thereto. For a detailed description of the STA shown in FIG. 3, reference may be made to the description of the STA in FIG. 2 in the embodiment of the present invention, and details are not described herein again.
基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,在本发明实施例的第一种应用场景中,AP 301可以通过向AP 301要唤醒的一个或多个STA的WUR接口发送第一唤醒消息和第二唤醒消息,来唤醒该一个或多个STA的Wi-Fi接口。其中,第一唤醒消息和第二唤醒消息可以相同,也可以不同。In the first application scenario of the embodiment of the present invention, the AP 301 may pass one or more to wake up to the AP 301, based on the scenario in which the AP 301 wakes up one or more STAs in the coverage area. The WUR interface of the STA sends a first wakeup message and a second wakeup message to wake up the Wi-Fi interface of the one or more STAs. The first wake-up message and the second wake-up message may be the same or different.
如图4所示,本发明实施例提供的唤醒无线设备的方法可以包括S401-S410:As shown in FIG. 4, the method for waking up a wireless device according to an embodiment of the present invention may include S401-S410:
S401:AP以广播方式或组播方式向多个STA的WUR接口发送第一唤醒消息,第一唤醒消息中携带有第一标识信息,该第一标识信息用于标识上述多个STA中包括待唤醒的STA在内的至少一个STA,该第一唤醒消息用于指示上述第一标识信息所标识的STA的WUR接口需处于工作状态以接收AP后续发送的第二唤醒消息。S401: The AP sends the first wake-up message to the WUR interface of the multiple STAs in the broadcast mode or the multicast mode. The first wake-up message carries the first identifier information, where the first identifier information is used to identify the multiple STAs to be included. At least one STA, such as the awakened STA, is configured to indicate that the WUR interface of the STA identified by the first identifier information needs to be in an active state to receive a second wake-up message sent by the AP.
举例来说,AP可以根据该AP要唤醒的STA的WUR接口的广播地址,以广播方式向多个STA的WUR接口发送第一唤醒消息;或者,可以根据该AP要唤醒的STA的WUR接口的组播地址,以组播方式向多个STA的WUR接口发送第一唤醒消息;或者,该第一唤醒消息中可以携带指示该第一唤醒消息为广播消息或者组播消息的指示信息。For example, the AP may send the first wake-up message to the WUR interface of multiple STAs in a broadcast manner according to the broadcast address of the WUR interface of the STA to be awake by the AP; or, according to the WUR interface of the STA to be awake by the AP. The multicast address is sent to the WUR interface of the multiple STAs in a multicast manner, and the first wake-up message may carry the indication information indicating that the first wake-up message is a broadcast message or a multicast message.
示例性的,AP可以通过AP的Wi-Fi接口以广播方式或组播方式向多个STA的WUR接口发送第一唤醒消息。或者,如果AP中配置有WUR模块,该AP则可以通过WUR模块提供的WUR接口向多个STA的WUR接口发送第一唤醒消息。For example, the AP may send the first wake-up message to the WUR interface of multiple STAs in a broadcast or multicast manner through the Wi-Fi interface of the AP. Alternatively, if the WUR module is configured in the AP, the AP can send the first wake-up message to the WUR interface of multiple STAs through the WUR interface provided by the WUR module.
其中,第一唤醒消息中携带有第一标识信息,该第一标识信息用于标识上述多个STA中包括待唤醒的STA在内的至少一个STA,该第一唤醒消息用于指示上述第一标识信息所标识的STA(即上述至少一个STA)的WUR接口需处于工作状态以接收AP 301后续发送的第二唤醒消息。The first awake message carries the first identifier information, where the first identifier information is used to identify the at least one STA that includes the STA to be awake, and the first awake message is used to indicate the first The WUR interface of the STA (that is, the at least one STA) identified by the identifier information needs to be in an active state to receive the second wake-up message sent by the AP 301.
示例性的,本发明实施例中的第一唤醒消息可以为WUR信标(Beacon)消息,或者该第一唤醒消息可以为其他的广播消息或者组播消息。或者,第一唤醒消息可以为携带AP要唤醒的STA的WUR接口的广播地址或者组播地址或者组地址信息的唤醒包消息。或者,第一唤醒消息可以为携带AP要唤醒的STA的组地址信息的唤醒包消息。For example, the first wake-up message in the embodiment of the present invention may be a WUR beacon message, or the first wake-up message may be another broadcast message or a multicast message. Alternatively, the first wake-up message may be a wake-up packet message of a broadcast address or a multicast address or group address information of a WUR interface of the STA that the AP is to wake up. Alternatively, the first wakeup message may be a wakeup packet message carrying group address information of the STA that the AP wants to wake up.
如图5所示,为本发明实施例提供的唤醒消息的一种消息结构示意图。本发明实施例提供的第一唤醒消息至少可以包括如图5所示的WUR消息中的第一标识信息504。As shown in FIG. 5, it is a schematic diagram of a message structure of a wake-up message according to an embodiment of the present invention. The first wake-up message provided by the embodiment of the present invention may include at least the first identifier information 504 in the WUR message as shown in FIG. 5.
如图5所示,第一唤醒消息还可以包括原前导(legacy preamble)501、WUR参考信号502、WUR信令域(Signal,SIG)503和帧校验序列(Frame Check Sequence,FCS)505中的一个或者多个。As shown in FIG. 5, the first wake-up message may further include a legacy preamble 501, a WUR reference signal 502, a WUR signaling domain (Signal, SIG) 503, and a Frame Check Sequence (FCS) 505. One or more.
其中,原前导501可以用于在Wi-Fi信道上向周围的Wi-Fi设备宣告占
用信道,从而更好地与Wi-Fi设备共存。WUR参考信号502可以向STA指示该第一唤醒消息为一个WUR消息。WUR SIG可以包括本发明实施例中的第一指示信息、第二指示信息和指示WUR消息的类型信息等信息,该第一指示信息用于指示AP发送第二唤醒消息的时间。FCS可以用于接收该WUR消息的STA进行帧校验,以确定是否正确接收WUR消息。若FCS检验不通过,STA则可以丢弃该WUR消息。Wherein, the original preamble 501 can be used to announce to the surrounding Wi-Fi devices on the Wi-Fi channel.
Use channels to better coexist with Wi-Fi devices. The WUR reference signal 502 can indicate to the STA that the first wake-up message is a WUR message. The WUR SIG may include information such as the first indication information, the second indication information, and the type information indicating the WUR message in the embodiment of the present invention, where the first indication information is used to indicate the time when the AP sends the second wakeup message. The FCS may be used by the STA receiving the WUR message to perform frame check to determine whether the WUR message is correctly received. If the FCS check fails, the STA may discard the WUR message.
S402:上述多个STA通过该多个STA的WUR接口接收AP以广播方式或组播方式发送的第一唤醒消息。S402: The multiple STAs receive the first wake-up message sent by the AP in a broadcast manner or a multicast manner by using the WUR interface of the multiple STAs.
S403:接收到第一唤醒消息的STA判断该STA是否为第一标识信息所标识的STA中的一个STA。S403: The STA that receives the first wakeup message determines whether the STA is one of the STAs identified by the first identifier information.
具体的,如果该STA确定该STA是第一标识信息所标识的STA中的一个STA,则可以继续执行S404;如果STA确定该STA不是第一标识信息所标识的STA中的一个STA,则可以继续执行S409:Specifically, if the STA determines that the STA is one of the STAs identified by the first identifier information, the method may continue to perform S404; if the STA determines that the STA is not one of the STAs identified by the first identifier information, Continue to execute S409:
S404:该STA保持该STA的WUR接口处于工作状态。S404: The STA keeps the WUR interface of the STA in an active state.
S405:AP在发送上述第一唤醒消息后,向上述至少一个STA中包括待唤醒的STA在内的至少一个STA的WUR接口发送第二唤醒消息。S405: After transmitting the foregoing first waking message, the AP sends a second wake-up message to the WUR interface of the at least one STA that includes the STA to be awake.
其中,该第二唤醒消息中携带有第二标识信息,该第二标识信息用于标识上述AP要唤醒的一个或多个STA,该第二唤醒消息用于指示第二标识信息所标识的STA唤醒该STA的Wi-Fi接口。The second awake message carries the second identifier information, where the second identifier information is used to identify one or more STAs to be awake by the AP, and the second awake message is used to indicate the STA identified by the second identifier information. Wake up the STA's Wi-Fi interface.
示例性的,本发明实施例中的第二唤醒消息可以为WUR信标(Beacon)消息,或者该第二唤醒消息可以为其他的单播消息、广播消息或者组播消息。或者,第二唤醒消息可以为携带AP要唤醒的STA的WUR接口的广播地址或者组播地址或者组地址信息的唤醒包消息。For example, the second wake-up message in the embodiment of the present invention may be a WUR Beacon message, or the second wake-up message may be another unicast message, a broadcast message, or a multicast message. Alternatively, the second wake-up message may be a wake-up packet message of a broadcast address or a multicast address or group address information of a WUR interface of the STA that the AP is to wake up.
如图6所示,为本发明实施例提供的唤醒消息的一种消息结构示意图。本发明实施例提供的第二唤醒消息至少可以包括如图6所示的唤醒消息中的第二标识信息604。如图6所示,第二唤醒消息还可以包括原前导601、WUR参考信号602、WUR SIG603和FCS 605中的一个或者多个。其中,图6所示的第二唤醒消息中各部分的具体功能可以参考本发明实施例对图5所示的第一唤醒消息的详细描述,本发明实施例这里不再赘述。FIG. 6 is a schematic structural diagram of a message of a wake-up message according to an embodiment of the present invention. The second wake-up message provided by the embodiment of the present invention may include at least the second identifier information 604 in the wake-up message as shown in FIG. 6. As shown in FIG. 6, the second wake-up message may further include one or more of the original preamble 601, the WUR reference signal 602, the WUR SIG 603, and the FCS 605. For a specific function of each part in the second wake-up message shown in FIG. 6, reference may be made to the detailed description of the first wake-up message shown in FIG. 5 in the embodiment of the present invention, and details are not described herein again.
S406:上述至少一个STA中包括待唤醒的STA在内的至少一个STA通过其WUR接口接收第二唤醒消息。S406: The at least one STA that includes the STA to be awake in the at least one STA receives the second wakeup message through its WUR interface.
S407:接收到第二唤醒消息的STA判断该STA是否为第二标识信息所标识的STA中的一个STA。S407: The STA that receives the second wakeup message determines whether the STA is one of the STAs identified by the second identifier information.
具体的,如果接收到第二唤醒消息的STA确定该STA是第二标识信息所标识的STA中的一个STA,则可以继续执行S408;如果接收到第二唤醒消息的STA确定该STA不是第二标识信息所标识的STA中的一个STA,则可以继续执行S409和S410。Specifically, if the STA that receives the second wakeup message determines that the STA is one of the STAs identified by the second identifier information, proceed to S408; if the STA that receives the second wakeup message determines that the STA is not the second One of the STAs identified by the identification information may continue to perform S409 and S410.
S408:该STA唤醒该STA的Wi-Fi接口。S408: The STA wakes up the STA's Wi-Fi interface.
S409:该STA将该STA的WUR接口由工作模式切换至休眠状态。
S409: The STA switches the WUR interface of the STA from the working mode to the sleep state.
其中,S409是可选的,STA也可以不执行S409,而是保持其WUR接口处于工作状态。S409 is optional. The STA may not perform S409 but keep its WUR interface in working state.
S410:该STA保持该STA的Wi-Fi接口处于休眠状态。S410: The STA keeps the STA's Wi-Fi interface in a sleep state.
本发明实施例提供的唤醒无线设备的方法,AP可以使用第一唤醒消息和第二唤醒消息指示一个或多个STA唤醒其Wi-Fi接口。即STA在接收到第一唤醒消息后,还不能确定是否唤醒该STA的Wi-Fi接口,需要等待接收第二唤醒消息,而后根据接收到的第二唤醒消息才可以确定是否要唤醒该STA的Wi-Fi接口;而不是在接收到一个唤醒消息后,就根据该唤醒消息携带的位图信息中的对应比特位的值,直接唤醒STA的Wi-Fi接口。这样的双重确认唤醒机制可以增加恶意设备恶意唤醒大量STA的难度,提高STA被AP唤醒过程的安全性,避免STA被恶意设备恶意地唤醒而消耗不必要的功耗。In the method for waking up a wireless device, the AP may use the first wakeup message and the second wakeup message to instruct one or more STAs to wake up their Wi-Fi interface. That is, after receiving the first wake-up message, the STA cannot determine whether to wake up the Wi-Fi interface of the STA, wait for receiving the second wake-up message, and then determine whether to wake up the STA according to the received second wake-up message. The Wi-Fi interface directly wakes up the STA's Wi-Fi interface according to the value of the corresponding bit in the bitmap information carried by the wake-up message after receiving a wake-up message. Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
其中,本发明实施例的第一种应用场景中,AP可以通过在第一唤醒消息和第二唤醒消息中携带相同或者不同的内容来唤醒一个或多个STA。In the first application scenario of the embodiment of the present invention, the AP may wake up one or more STAs by carrying the same or different content in the first wakeup message and the second wakeup message.
在第一种应用场景的实现方式一中,AP可以通过在第一标识信息包括第一位图信息,在第二标识信息包括第二位图信息来唤醒一个或多个STA。In the first implementation manner of the first application scenario, the AP may wake up one or more STAs by including the first bitmap information in the first identifier information and the second bitmap information in the second identifier information.
第一标识信息包括该第一位图信息中包括至少两个比特位,该第一位图信息中的至少两个比特位与多个设备(接收第一唤醒消息的多个STA)中的至少两组设备(即至少两组STA)中的每个设备组一一对应,至少两组设备中的每个设备组包括至少一个设备(即至少一个STA),该第一标识信息用于标识第一位图信息中值为第一预设值的比特位所对应的一组设备(即一组STA),第二无线设备(即AP要唤醒的STA)为至少两组设备的一组设备中的一个设备。The first identification information includes at least two bits in the first bitmap information, at least two of the first bitmap information and at least one of a plurality of devices (a plurality of STAs receiving the first wake-up message) Each of the two sets of devices (ie, at least two sets of STAs) has a one-to-one correspondence, and each of the at least two sets of devices includes at least one device (ie, at least one STA), and the first identification information is used to identify the first A set of devices (ie, a group of STAs) corresponding to the first preset value of the bitmap information, and a second wireless device (ie, the STA that the AP is to wake up) is a group of devices of at least two groups of devices. One device.
示例性的,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,上述第一位图信息可以包括三个比特位“abc”和该三个比特位“abc”的值(如a=1,b=1,c=0),这三个比特位“abc”中的第一个比特位“a”可以对应于设备组x,第二个比特位“b”可以对应于设备组y,第三个比特位“c”可以对应于设备组z。其中,第一预设值可以为1,也可以为0,第一预设值的具体取值可以由AP和STA协商确定。例如,当第一预设值为1时,如果第一位图信息为“110”,则第一标识信息可以用于标识设备组x和设备组y;当第一预设值为0时,如果第一位图信息为“110”,则第一标识信息可以用于标识设备组z。Illustratively, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs within its coverage, the first bitmap information may include three bits "abc" and the three bits "abc" The value of "" (such as a = 1, b = 1, c = 0), the first bit "a" of the three bits "abc" may correspond to device group x, the second bit "b" "Can correspond to device group y, and the third bit "c" can correspond to device group z. The first preset value may be 1 or 0, and the specific value of the first preset value may be determined by the AP and the STA. For example, when the first preset value is 1, if the first bitmap information is “110”, the first identification information may be used to identify the device group x and the device group y; when the first preset value is 0, If the first bitmap information is "110", the first identification information may be used to identify the device group z.
AP 301可以将第一位图信息中、该AP 301要唤醒的STA所在设备组对应的比特位的值设置为第一预设值。假设第一预设值为1,AP 301要唤醒设备组x中的STA 1和STA 3,以及设备组y中的STA 5,那么,如图7所示,上述第一唤醒消息可以携带第一位图信息“110”,即a=1,b=1,c=0。此时,第一标识信息则可以用于标识设备组x和设备组y,第一唤醒消息则可以用于指示设备组x中的STA(即STA 1-STA 3)和设备组y中的STA(即STA 4和STA 5)的WUR接口处于工作状态。The AP 301 may set the value of the bit corresponding to the device group in which the STA that the AP 301 is to wake up in the first bitmap information to the first preset value. Assuming that the first preset value is 1, the AP 301 is to wake up the STA 1 and the STA 3 in the device group x, and the STA 5 in the device group y. Then, as shown in FIG. 7, the first wake-up message may carry the first The bitmap information "110", that is, a = 1, b = 1, c = 0. At this time, the first identifier information may be used to identify the device group x and the device group y, and the first wake-up message may be used to indicate the STAs in the device group x (ie, STA 1-STA 3) and the STAs in the device group y. The WUR interfaces of STA 4 and STA 5 are in operation.
在第一种应用场景的实现方式一中,如图8所示,图4中的S403可以替
换为S403a:In the first implementation manner of the first application scenario, as shown in FIG. 8, S403 in FIG. 4 can be replaced.
Change to S403a:
S403a:接收到第一唤醒消息的STA判断第一唤醒消息中携带的第一位图信息中与该STA所在组对应的比特位的值是否为第一预设值。S403: The STA that receives the first wake-up message determines whether the value of the bit corresponding to the group in which the STA is located in the first bitmap information carried in the first wake-up message is a first preset value.
具体的,如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第一位图信息中与该STA所在组对应的比特位的值为第一预设值,则可以继续执行S404;如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第一位图信息中与该STA所在组对应的比特位的值不是第一预设值,则可以继续执行S409:Specifically, if the STA that receives the first wake-up message determines that the value of the bit corresponding to the group in which the STA is located in the first bitmap information carried in the first wake-up message is the first preset value, proceed to S404; If the STA that receives the first wake-up message determines that the value of the bit corresponding to the group in which the STA is located in the first bitmap information that is carried in the first wake-up message is not the first preset value, proceed to S409:
基于上述实例,如图7所示,由于第一标识信息包括第一位图信息“110”,那么设备组x中的STA(如STA 1或者STA 2)则可以确定第一位图信息“110”中设备组x对应的比特位的值为第一预设值(即1),则可以保持该STA的WUR接口处于工作状态(如on)即继续执行S404;设备组y中的STA(如STA 4或者STA 5)则可以确定第一位图信息“110”中设备组y对应的比特位的值为第一预设值(即1),则可以保持该STA的WUR接口处于工作状态,即继续执行S404;而设备组z中的STA(如STA 6)则可以确定第一位图信息“110”中设备组z对应的比特位的值不是第一预设值,则可以将该STA的WUR接口由工作状态(如on)切换至休眠状态(如off),即继续执行S409。Based on the above example, as shown in FIG. 7, since the first identification information includes the first bitmap information "110", the STA in the device group x (such as STA 1 or STA 2) may determine the first bitmap information "110". If the value of the bit corresponding to the device group x is the first preset value (that is, 1), the WUR interface of the STA may be kept in the working state (such as on), and the STA in the device group y (for example, The STA 4 or the STA 5) can determine that the value of the bit corresponding to the device group y in the first bitmap information "110" is the first preset value (ie, 1), and the WUR interface of the STA can be kept in the working state. That is, the S404 is continued; and the STA in the device group z (such as the STA 6) can determine that the value of the bit corresponding to the device group z in the first bitmap information "110" is not the first preset value, and the STA can be used. The WUR interface is switched from the working state (such as on) to the sleep state (such as off), that is, the execution continues to S409.
上述第二标识信息包括第二位图信息,该第二位图信息中包括至少两个比特位,该第二位图信息中的至少两个比特位与值为第一预设值的比特位所对应的设备组中的设备一一对应,上述第二标识信息用于标识值为第二预设值的比特位所对应的设备。The second identifier information includes second bitmap information, where the second bitmap information includes at least two bits, and at least two bits in the second bitmap information and a bit that is a first preset value The devices in the corresponding device group are in one-to-one correspondence, and the second identifier information is used to identify a device corresponding to the bit with the second preset value.
示例性的,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,由于上述第一位图信息为“110”,因此AP 301可以向设备组x和设备组y中的STA发送第二唤醒消息。Exemplarily, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs in its coverage, since the first bitmap information is "110", the AP 301 can provide the device group x and the device group. The STA in y sends a second wakeup message.
以设备组x为例,上述第二位图信息可以包括三个比特位“def”和该三个比特位“def”的值(如d=1,e=0,f=1),这三个比特位“def”中的第一个比特位“d”可以对应于设备组x中的STA 1,第二个比特位“e”可以对应于设备组x中的STA 2,第三个比特位“f”可以对应于设备组x中的STA 3。Taking the device group x as an example, the second bitmap information may include three bits "def" and values of the three bits "def" (eg, d=1, e=0, f=1), these three The first bit "d" of the bits "def" may correspond to the STA 1 in the device group x, and the second bit "e" may correspond to the STA 2 in the device group x, the third bit Bit "f" may correspond to STA 3 in device group x.
以设备组y为例,上述第二位图信息可以包括两个比特位“gh”和该两个比特位“gh”的值(如g=0,h=0),这两个比特位“gh”中的第一个比特位“g”可以对应于设备组y中的STA 4,第二个比特位“h”可以对应于设备组y中的STA 5。Taking the device group y as an example, the second bitmap information may include two bits “gh” and values of the two bits “gh” (eg, g=0, h=0), and the two bits “ The first bit "g" in gh" may correspond to STA 4 in device group y, and the second bit "h" may correspond to STA 5 in device group y.
其中,第二预设值可以为1,也可以为0,第二预设值的具体取值可以由AP和STA协商确定。The second preset value may be 1 or 0, and the specific value of the second preset value may be determined by the AP and the STA.
AP 301可以将第二位图信息中、该AP 301要唤醒的STA对应的比特位的值设置为第二预设值。The AP 301 can set the value of the bit corresponding to the STA that the AP 301 is to wake up in the second bitmap information to the second preset value.
假设第二预设值为1,AP 301要唤醒设备组x中的STA 1和STA 3;那么,如图7所示,AP 301可以向设备组x中的STA发送携带有第二位图信息“101”(即d=1,e=0,f=1)的第二唤醒消息。此时,该第二唤醒消息中携带
的第二标识信息则可以用于标识STA 1和STA 3,第二唤醒消息则可以用于指示STA 1和STA 3唤醒其Wi-Fi接口。Assuming that the second preset value is 1, the AP 301 is to wake up the STA 1 and the STA 3 in the device group x; then, as shown in FIG. 7, the AP 301 can send the second bitmap information to the STA in the device group x. A second wake-up message of "101" (ie, d = 1, e = 0, f = 1). At this time, the second wake-up message is carried in
The second identification information may be used to identify STA 1 and STA 3, and the second wake-up message may be used to instruct STA 1 and STA 3 to wake up their Wi-Fi interface.
假设第二预设值为1,AP 301要唤醒设备组y中的STA 5;那么,如图7所示,AP 301可以向设备组y中的STA 5发送携带有包括第二位图信息“01”(即g=0,h=0)的第二标识信息的第二唤醒消息。此时,该第二唤醒消息中携带的第二标识信息则可以用于标识STA 5,第二唤醒消息则可以用于指示STA 5唤醒其Wi-Fi接口。Assuming that the second preset value is 1, the AP 301 is to wake up the STA 5 in the device group y; then, as shown in FIG. 7, the AP 301 can transmit the information including the second bitmap information to the STA 5 in the device group y. A second wake-up message of the second identification information of 01" (ie, g=0, h=0). At this time, the second identifier information carried in the second wakeup message may be used to identify the STA 5, and the second wakeup message may be used to instruct the STA 5 to wake up its Wi-Fi interface.
在第一种应用场景的实现方式一中,如图8所示,图4中的S407可以替换为S407a:In the first implementation manner of the first application scenario, as shown in FIG. 8, S407 in FIG. 4 may be replaced by S407a:
S407a:接收到第二唤醒消息的STA判断第二位图信息中与该STA对应的比特位的值是否为第二预设值。S407a: The STA that receives the second wakeup message determines whether the value of the bit corresponding to the STA in the second bitmap information is a second preset value.
具体的,如果接收到第二唤醒消息的STA确定第二位图信息中与该STA对应的比特位的值为第二预设值,则可以继续执行S408;如果接收到第二唤醒消息的STA确定第二位图信息中与该STA对应的比特位的值不是第二预设值,则可以继续执行S409:Specifically, if the STA that receives the second wake-up message determines that the value of the bit corresponding to the STA in the second bitmap information is the second preset value, proceed to S408; if the STA that receives the second wake-up message After determining that the value of the bit corresponding to the STA in the second bitmap information is not the second preset value, proceed to S409:
基于上述实例,如图7所示,由于设备组x中的STA接收到的第二标识信息包括第二位图信息“101”;那么,设备组x中的STA 1可以确定该第二位图信息“101”中STA 1对应的比特位的值为第二预设值(即1),则可以继续执行S408,唤醒STA 3的Wi-Fi接口(即将STA 3的Wi-Fi接口由休眠状态切换至工作状态);设备组x中的STA 3可以确定该第二位图信息“101”中STA 3对应的比特位的值是第二预设值,则可以唤醒STA 3的Wi-Fi接口即,继续执行S408;而设备组x中的STA 2可以确定该第二位图信息“101”中STA 2对应的比特位的值不是第二预设值,则可以将该STA的WUR接口由工作状态(如on)切换至休眠状态(如off),即继续执行S409,并保持该STA的Wi-Fi接口处于休眠状态(如off),即执行S410。Based on the above example, as shown in FIG. 7, since the second identification information received by the STA in the device group x includes the second bitmap information "101", the STA 1 in the device group x can determine the second bitmap. If the value of the bit corresponding to the STA 1 in the information "101" is the second preset value (ie, 1), the S408 may be continued to wake up the Wi-Fi interface of the STA 3 (ie, the Wi-Fi interface of the STA 3 is in a sleep state). Switching to the working state); the STA 3 in the device group x can determine that the value of the bit corresponding to the STA 3 in the second bitmap information "101" is the second preset value, and can wake up the Wi-Fi interface of the STA 3 That is, the SUR in the device group x can determine that the value of the bit corresponding to the STA 2 in the second bitmap information "101" is not the second preset value, and the WUR interface of the STA can be The working state (such as on) is switched to the sleep state (such as off), that is, the execution continues to S409, and the Wi-Fi interface of the STA is kept in a sleep state (such as off), that is, S410 is performed.
需要说明的是,上述第一位图信息“110”中的第三比特位的值为0,表示设备组z中的STA不是AP 301要唤醒的STA,因此AP 301可以不向设备组z中的STA发送第二唤醒消息。It should be noted that the value of the third bit in the first bitmap information "110" is 0, indicating that the STA in the device group z is not the STA that the AP 301 is to wake up, so the AP 301 may not be in the device group z. The STA sends a second wakeup message.
在第一种应用场景的实现方式一中,第一位图信息的至少两个比特位与至少两组设备中的每个设备组一一对应,即第一位图信息中的每个比特位可以对应于一组设备。这样,AP通过设置第一位图信息中的一个比特位的值,便可以指示该比特位对应的设备组中的设备的WUR接口处于工作状态,等待接收第二唤醒设备;而不需要在第一唤醒消息中携带较多标识信息,可以减少第一唤醒消息中携带的数据量。当第一唤醒消息中携带的数据量较少时,该第一唤醒消息便可以较快的传输至STA,该STA也就可以早一点保持其WUR接口处于工作状态或者进入休眠状态。In the first implementation manner of the first application scenario, at least two bits of the first bitmap information are in one-to-one correspondence with each of the at least two groups of devices, that is, each bit in the first bitmap information. Can correspond to a group of devices. In this way, by setting the value of one bit in the first bitmap information, the AP can indicate that the WUR interface of the device in the device group corresponding to the bit is in the working state, waiting to receive the second wake-up device; A wake-up message carries more identification information, which can reduce the amount of data carried in the first wake-up message. When the amount of data carried in the first wake-up message is small, the first wake-up message can be transmitted to the STA faster, and the STA can keep its WUR interface in a working state or enter a sleep state earlier.
同样的,第二位图信息的至少两个比特位与一个设备组中的设备一一对应,即第二位图信息中的每个比特位可以对应于该设备组中的一个设备。这样,AP通过设置第二位图信息中的一个比特位的值,便可以指示该比特位对
应的设备唤醒其Wi-Fi接口;而不需要在第二唤醒消息中携带较多标识信息,可以减少第二唤醒消息中携带的数据量。当第二唤醒消息中携带的数据量较少时,该第二唤醒消息便可以较快的传输至STA,该STA也就可以早一点唤醒其Wi-Fi接口。Similarly, at least two bits of the second bitmap information are in one-to-one correspondence with devices in a device group, that is, each bit in the second bitmap information may correspond to one device in the device group. In this way, the AP can indicate the bit pair by setting the value of one bit in the second bitmap information.
The device should wake up its Wi-Fi interface; instead of carrying more identification information in the second wake-up message, the amount of data carried in the second wake-up message can be reduced. When the amount of data carried in the second wake-up message is small, the second wake-up message can be transmitted to the STA faster, and the STA can wake up its Wi-Fi interface earlier.
在第一种应用场景的实现方式二中,AP可以通过在第一唤醒消息中携带AP要唤醒的一个或多个STA所在设备组的组地址信息,在第二唤醒消息中携带第三位图信息来唤醒一个或多个STA。In the second implementation manner of the first application scenario, the AP may carry the third bitmap in the second wakeup message by carrying the group address information of the device group of the one or more STAs that the AP is to wake up in the first wakeup message. Information to wake up one or more STAs.
第一种应用场景的实现方式二:The second application scenario is implemented in two ways:
S401-S403中所述的第一唤醒消息中携带的第一标识信息中可以包括AP要唤醒的STA所在设备组的组地址信息。例如,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,假设AP 301要唤醒设备组x中的STA 1和STA 3,以及设备组y中的STA 5,那么,如图9所示,上述第一唤醒消息可以携带设备组x的组地址信息X和设备组y的组地址信息Y。此时,第一标识信息则可以用于标识设备组x和设备组y,第一唤醒消息则可以用于指示设备组x中的STA(即STA 1-STA 3)和设备组y中的STA(即STA 4和STA 5)的WUR接口处于工作状态。其中,由于AP 301不需唤醒设备组z中的任一STA,因此第一标识信息中不包括设备组z的组地址信息Z。The first identifier information carried in the first waking message described in S401-S403 may include group address information of a device group where the STA that the AP is to wake up. For example, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs within its coverage, it is assumed that the AP 301 is to wake up STA 1 and STA 3 in the device group x, and STA 5 in the device group y, Then, as shown in FIG. 9, the first wake-up message may carry the group address information X of the device group x and the group address information Y of the device group y. At this time, the first identifier information may be used to identify the device group x and the device group y, and the first wake-up message may be used to indicate the STAs in the device group x (ie, STA 1-STA 3) and the STAs in the device group y. The WUR interfaces of STA 4 and STA 5 are in operation. The AP 301 does not need to wake up any STA in the device group z. Therefore, the first identifier information does not include the group address information Z of the device group z.
在第一种应用场景的实现方式二中,如图10所示,图4中的S403可以替换为S403b:In the second implementation manner of the first application scenario, as shown in FIG. 10, S403 in FIG. 4 may be replaced by S403b:
S403b:接收到第一唤醒消息的STA判断第一唤醒消息中携带的第一标识信息中是否包括该STA所在组的组地址信息。S403b: The STA that receives the first wake-up message determines whether the first identifier information carried in the first wake-up message includes group address information of the group in which the STA is located.
具体的,如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第一标识信息中包括该STA所在组的组地址信息,则可以继续执行S404;如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第一标识信息中不包括该STA所在组的组地址信息,则可以继续执行S409:Specifically, if the STA that receives the first wake-up message determines that the first identifier information carried in the first wake-up message includes the group address information of the group in which the STA is located, the method may continue to perform S404; if the STA that receives the first wake-up message is received, And determining that the first identifier information carried in the first wake-up message does not include the group address information of the group in which the STA is located, and then proceed to S409:
基于上述实例,如图9所示,由于第一唤醒消息中携带的第一标识信息中包括设备组x的组地址信息X和设备组y的组地址信息Y;那么,设备组x中的STA(如STA 1或者STA 2)和设备组y中的STA(如STA 4或者STA 5)则可以保持该STA的WUR接口处于工作状态(如on),即继续执行S404。如图9所示,由于第一唤醒消息中携带的第一标识信息中不包括设备组z的组地址信息Z,那么设备组z中的STA(如STA 6)则可以将该STA的WUR接口由工作状态(如on)切换至休眠状态(如off),即继续执行S409。Based on the above example, as shown in FIG. 9, the first identification information carried in the first wake-up message includes the group address information X of the device group x and the group address information Y of the device group y; then, the STA in the device group x The STA (such as STA 1 or STA 2) and the STA in the device group y (such as STA 4 or STA 5) can keep the WUR interface of the STA in an active state (such as on), that is, continue to execute S404. As shown in FIG. 9, the STA (such as STA 6) in the device group z can use the WUR interface of the STA because the first identifier information carried in the first wakeup message does not include the group address information Z of the device group z. Switching from the working state (such as on) to the sleep state (such as off), the execution continues to S409.
上述第二标识信息包括第三位图信息,该第三位图信息中包括至少两个比特位,该第三位图信息中的至少两个比特位与AP要唤醒的STA所在设备组中的设备一一对应,即该第三位图信息中的至少两个比特位与上述第一标识信息中包括的组地址信息对应的设备组中的设备一一对应,第二标识信息用于标识值为第二预设值的比特位所对应的设备。The second identifier information includes third bitmap information, where the third bitmap information includes at least two bits, and at least two of the third bitmap information are in a device group of the STA that the AP is to wake up. The device has a one-to-one correspondence, that is, the at least two bits in the third bitmap information are in one-to-one correspondence with the devices in the device group corresponding to the group address information included in the first identifier information, and the second identifier information is used to identify the value. The device corresponding to the bit of the second preset value.
示例性的,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,由于上述第一标识信息中包括设备组x的组地址信息X和设备
组y的组地址信息Y,因此AP 301可以向设备组x和设备组y中的STA发送第二唤醒消息。Illustratively, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs in its coverage, since the first identification information includes the group address information X and the device of the device group x.
The group address information Y of the group y, so the AP 301 can send a second wakeup message to the STAs in the device group x and the device group y.
其中,“AP通过携带有第三位图信息的第二唤醒消息指示设备组中的STA唤醒其Wi-Fi接口”的方法可以参考“AP通过携带有第二位图信息的第二唤醒消息指示设备组中的STA唤醒其Wi-Fi接口”的方法,本发明实施例这里不再赘述。The method for the AP to wake up the Wi-Fi interface of the STA in the device group by using the second wake-up message carrying the third bitmap information may refer to “the AP indicates by using the second wake-up message carrying the second bitmap information. The method for the STA in the device group to wake up its Wi-Fi interface is not described herein again.
在第一种应用场景的实现方式二中,如图10所示,图4中的S407可以替换为S407b:In the second implementation manner of the first application scenario, as shown in FIG. 10, S407 in FIG. 4 may be replaced with S407b:
S407b:接收到第二唤醒消息的STA判断第二唤醒消息中携带的第三位图信息中与该STA对应的比特位的值是否为第二预设值。S407b: The STA that receives the second wake-up message determines whether the value of the bit corresponding to the STA in the third bitmap information carried in the second wake-up message is a second preset value.
具体的,如果接收到第二唤醒消息的STA确定第二唤醒消息中携带的第三位图信息中与该STA对应的比特位的值为第二预设值,在可以继续执行S408;如果接收到第二唤醒消息的STA确定第二唤醒消息中携带的第三位图信息中与该STA对应的比特位的值不是第二预设值,在可以继续执行S409和S410。Specifically, if the STA that receives the second wake-up message determines that the value of the bit corresponding to the STA in the third bitmap information carried in the second wake-up message is the second preset value, the process may continue to perform S408; The STA to the second wake-up message determines that the value of the bit corresponding to the STA in the third bitmap information carried in the second wake-up message is not the second preset value, and may continue to perform S409 and S410.
基于上述实例,如图9所示,由于设备组x中的STA接收到的第二标识信息包括第三位图信息“101”;那么,设备组x中的STA 1可以确定该第三位图信息“101”中STA 1对应的比特位的值为第二预设值(即1),则可以唤醒STA 3的Wi-Fi接口(即将STA 3的Wi-Fi接口由休眠状态切换至工作状态),即继续执行S408;设备组x中的STA 3可以确定该第三位图信息“101”中STA 3对应的比特位的值是第二预设值,则可以唤醒STA 3的Wi-Fi接口,即继续执行S408;而设备组x中的STA 2可以确定该第三位图信息“101”中STA 2对应的比特位的值不是第二预设值,则可以将该STA的WUR接口由工作状态(如on)切换至休眠状态(如off)即继续执行S409,并保持该STA的Wi-Fi接口处于休眠状态(如off),即执行S410。Based on the above example, as shown in FIG. 9, since the second identification information received by the STA in the device group x includes the third bitmap information "101", the STA 1 in the device group x can determine the third bitmap. If the value of the bit corresponding to the STA 1 in the message "101" is the second preset value (ie, 1), the Wi-Fi interface of the STA 3 can be woken up (ie, the Wi-Fi interface of the STA 3 is switched from the sleep state to the working state. And continuing to perform S408; the STA 3 in the device group x can determine that the value of the bit corresponding to the STA 3 in the third bitmap information "101" is the second preset value, and can wake up the Wi-Fi of the STA 3 The interface continues to execute S408; and the STA 2 in the device group x can determine that the value of the bit corresponding to the STA 2 in the third bitmap information "101" is not the second preset value, and the WUR interface of the STA can be Switching from the working state (such as on) to the sleep state (such as off) continues to execute S409, and keeps the STA's Wi-Fi interface in a sleep state (such as off), that is, executes S410.
其中,AP可以采用组播方式或单播方式向设备组中的STA发送携带有该设备组对应的第二位图信息或者第三位图信息的第二唤醒消息。当AP采用组播方式发送携带有第二位图信息或者第三位图信息的第二唤醒消息时,AP可以在该第二唤醒消息中携带该第二位图信息或者该第三位图信息对应的设备组的组地址信息或者组标识。The AP may send the second wake-up message carrying the second bitmap information or the third bitmap information corresponding to the device group to the STAs in the device group in the multicast mode or the unicast mode. When the AP sends the second awake message carrying the second bitmap information or the third bitmap information in the multicast mode, the AP may carry the second bitmap information or the third bitmap information in the second awake message. Group address information or group ID of the corresponding device group.
在第一种应用场景的实现方式二中,当AP要唤醒一个设备组中的多个STA时,该AP可以向包括该设备组中在内的多个STA发送携带有该设备组的组地址信息的第一唤醒消息。由于一个设备组的组地址信息相比于该设备组中多个STA的标识信息(如STA的设备标识或者STA的WUR接口的接口标识)数据量较少;因此,AP向一个设备组中的多个STA发送携带有该设备组的组地址信息的第一唤醒消息,不仅可以标识该设备组,还可以减少第一唤醒消息中携带的数据量。当第一唤醒消息中携带的数据量较少时,该第一唤醒消息便可以较快的传输至STA,该STA也就可以早一点保持其WUR接口处于工作状态或者进入休眠状态。
In the second implementation manner of the first application scenario, when an AP is to wake up multiple STAs in a device group, the AP may send a group address carrying the device group to multiple STAs including the device group. The first wake up message of the message. Since the group address information of one device group is smaller than the identification information of multiple STAs in the device group (such as the device identifier of the STA or the interface identifier of the WUR interface of the STA), the AP is in a device group. The plurality of STAs send the first wake-up message carrying the group address information of the device group, which not only identifies the device group, but also reduces the amount of data carried in the first wake-up message. When the amount of data carried in the first wake-up message is small, the first wake-up message can be transmitted to the STA faster, and the STA can keep its WUR interface in a working state or enter a sleep state earlier.
第三位图信息的至少两个比特位与一个设备组中的设备一一对应,即第三位图信息中的每个比特位可以对应于该设备组中的一个设备。这样,AP通过设置第三位图信息中的一个比特位的值,便可以指示该比特位对应的设备唤醒其Wi-Fi接口;而不需要在第二唤醒消息中携带较多标识信息,可以减少第二唤醒消息中携带的数据量。当第二唤醒消息中携带的数据量较少时,该第二唤醒消息便可以较快的传输至STA,该STA也就可以早一点唤醒其Wi-Fi接口。The at least two bits of the third bitmap information are in one-to-one correspondence with the devices in one device group, that is, each bit in the third bitmap information may correspond to one device in the device group. In this way, by setting the value of one bit in the third bitmap information, the AP can indicate that the device corresponding to the bit wakes up its Wi-Fi interface; instead of carrying more identification information in the second wake-up message, The amount of data carried in the second wakeup message is reduced. When the amount of data carried in the second wake-up message is small, the second wake-up message can be transmitted to the STA faster, and the STA can wake up its Wi-Fi interface earlier.
例如,在第一种应用场景的实现方式三中,AP可以通过在第一唤醒消息中携带第四位图信息,在第二唤醒消息中携带“AP要唤醒的STA的设备标识”或者“AP要唤醒的STA的WUR接口的接口标识”,来唤醒一个或多个STA。For example, in the third implementation manner of the first application scenario, the AP may carry the fourth bitmap information in the first wake-up message, and carry the “device identifier of the STA to be awake by the AP” or “AP” in the second wake-up message. The interface identifier of the WUR interface of the STA to be woken up" to wake up one or more STAs.
第一种应用场景的实现方式三:The third implementation scenario is implemented in three ways:
第四位图信息中包括至少两个比特位,该第四位图信息中的至少两个比特位与所述多个设备一一对应,上述第一标识信息用于标识值为第一预设值的比特位所对应的设备。The fourth bitmap information includes at least two bits, and at least two bits of the fourth bitmap information are in one-to-one correspondence with the plurality of devices, and the first identifier information is used to identify the value as the first preset. The device corresponding to the bit of the value.
其中,S401-S403中所述的第一唤醒消息中可以携带有第四位图信息,该第四位图信息中包括至少两个比特位,该第四位图信息中的至少两个比特位与多个设备(接收第一唤醒消息的多个STA)一一对应,第一标识信息用于标识值为第一预设值的比特位所对应的设备。其中,第一预设值可以为1,也可以为0,第一预设值的具体取值可以由AP和STA协商确定。The first awake message described in S401-S403 may carry fourth bitmap information, where the fourth bitmap information includes at least two bits, and at least two bits in the fourth bitmap information Corresponding to a plurality of devices (a plurality of STAs receiving the first wake-up message), the first identifier information is used to identify a device corresponding to the bit whose value is the first preset value. The first preset value may be 1 or 0, and the specific value of the first preset value may be determined by the AP and the STA.
在实现方式三的第一种情况下,AP可以通过广播方式发送第一唤醒消息,该第一唤醒消息中携带的第四位图信息则可以包括如图3所示的所有设备组中的每个STA对应的比特位。In the first case of the implementation mode 3, the AP may send the first wake-up message by using a broadcast mode, and the fourth bitmap information carried in the first wake-up message may include each of the device groups shown in FIG. The bits corresponding to the STAs.
示例性的,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,上述第四位图信息可以包括七个比特位“abcdefg”和该七个比特位“abcdefg”的值(如a=1,b=0,c=1,d=0,e=1,f=0,g=0),这七个比特位“abcdefg”中的第一个比特位“a”可以对应于STA 1,第二个比特位“b”可以对应于STA 2,第三个比特位“c”可以对应于STA 3,第四个比特位“d”可以对应于STA 4,第五个比特位“e”可以对应于STA 5,第六个比特位“f”可以对应于STA 6,第二个比特位“g”可以对应于STA 7。Illustratively, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs within its coverage, the fourth bitmap information may include seven bits "abcdefg" and the seven bits "abcdefg" The value of "" (such as a = 1, b = 0, c = 1, d = 0, e = 1, f = 0, g = 0), the first bit in the seven bits "abcdefg" " a" may correspond to STA 1, the second bit "b" may correspond to STA 2, the third bit "c" may correspond to STA 3, and the fourth bit "d" may correspond to STA 4. The fifth bit "e" may correspond to STA 5, the sixth bit "f" may correspond to STA 6, and the second bit "g" may correspond to STA 7.
假设第一预设值为1,AP 301要唤醒STA 1、STA 3和STA 5,那么,如图11或图12所示,上述第一唤醒消息可以携带第四位图信息“1010100”,即a=1,b=0,c=1,d=0,e=1,f=0,g=0。此时,第一标识信息则可以用于标识STA 1、STA 3和STA 5,第一唤醒消息则可以用于指示STA 1、STA 3和STA 5的WUR接口处于工作状态。Assuming that the first preset value is 1, the AP 301 is to wake up the STA 1, the STA 3, and the STA 5. Then, as shown in FIG. 11 or FIG. 12, the first wake-up message may carry the fourth bitmap information “1010100”, that is, a=1, b=0, c=1, d=0, e=1, f=0, g=0. At this time, the first identifier information may be used to identify STA1, STA3, and STA5, and the first wakeup message may be used to indicate that the WUR interfaces of STA1, STA3, and STA5 are in an active state.
在实现方式三的第二种情况下,AP可以通过组播方式发送第一唤醒消息,在这种情况下,AP向如图3所示的设备组x发送的第一唤醒消息中携带的第四位图信息则可以包括设备组x中的每个STA对应的比特位,AP向如图3所示的设备组y发送的第一唤醒消息中携带的第四位图信息则可以包括设备组
y中的每个STA对应的比特位。In the second case of the implementation mode 3, the AP may send the first wake-up message in a multicast manner, in this case, the first carried in the first wake-up message sent by the AP to the device group x as shown in FIG. The four-bit map information may include a bit corresponding to each STA in the device group x, and the fourth bitmap information carried in the first wake-up message sent by the AP to the device group y shown in FIG. 3 may include a device group.
The bit corresponding to each STA in y.
示例性的,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,AP向如图3所示的设备组x发送的第一唤醒消息中携带的第四位图信息可以包括三个比特位“abc”和该三个比特位“abc”的值(如a=1,b=0,c=1),这三个比特位“abc”中的第一个比特位“a”可以对应于设备组x中的STA 1,第二个比特位“b”可以对应于设备组x中的STA 2,第三个比特位“c”可以对应于设备组x中的STA 3。假设AP 301要唤醒STA 1、STA 3,那么,如图13或图14所示,AP可以向设备组x中的STA发送第四位图信息“101”。由于AP不需要唤醒设备组y和设备组z中的STA,因此AP不需要向设备组y和设备组z中的STA发送第一唤醒消息。此时,第一标识信息则可以用于标识STA 1和STA 3,第一唤醒消息则可以用于指示STA 1和STA 3的WUR接口处于工作状态。Exemplarily, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs in its coverage, the AP carries the fourth bit in the first wake-up message sent by the device group x as shown in FIG. The map information may include three bits "abc" and the values of the three bits "abc" (eg, a = 1, b = 0, c = 1), the first of the three bits "abc" Bit "a" may correspond to STA 1 in device group x, second bit "b" may correspond to STA 2 in device group x, and third bit "c" may correspond to device group x STA 3. Assuming that the AP 301 is to wake up STA 1 and STA 3, the AP can transmit the fourth bitmap information "101" to the STAs in the device group x as shown in FIG. 13 or FIG. Since the AP does not need to wake up the STAs in the device group y and the device group z, the AP does not need to send the first wake-up message to the STAs in the device group y and the device group z. At this time, the first identifier information may be used to identify the STA 1 and the STA 3, and the first wake-up message may be used to indicate that the WUR interfaces of the STA 1 and the STA 3 are in an active state.
在第一种应用场景的实现方式三中,如图15所示,图4中的S403可以替换为S403c:In the third implementation manner of the first application scenario, as shown in FIG. 15, S403 in FIG. 4 may be replaced by S403c:
S403c:接收到第一唤醒消息的STA判断第一唤醒消息中携带的第四位图信息中与该STA对应的比特位的值是否为第一预设值。S403: The STA that receives the first wake-up message determines whether the value of the bit corresponding to the STA in the fourth bitmap information carried in the first wake-up message is a first preset value.
具体的,如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第一位图信息中与该STA对应的比特位的值为第一预设值,则可以继续执行S404;如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第一位图信息中与该STA对应的比特位的值不是第一预设值,则可以继续执行S409:Specifically, if the STA that receives the first wake-up message determines that the value of the bit corresponding to the STA in the first bitmap information carried in the first wake-up message is the first preset value, proceed to S404; The STA to the first wake-up message determines that the value of the bit corresponding to the STA in the first bitmap information carried in the first wake-up message is not the first preset value, and may continue to execute S409:
基于上述实例,如图11所示,由于第一标识信息包括第四位图信息“1010100”,那么STA 1、STA 3和STA-5则可以确定第四位图信息“1010100”中STA 1、STA 3和STA 5对应的比特位的值为第一预设值(即1),则可以保持该STA的WUR接口处于工作状态(如on)即继续执行S404;而STA 2、STA 4、STA 6和STA 7可以确定第四位图信息“1010100”中STA 2、STA 4、STA 6和STA 7对应的比特位的值不是第一预设值(即1),则可以将该STA的WUR接口由工作状态(如on)切换至休眠状态(如off),即继续执行S409。Based on the above example, as shown in FIG. 11, since the first identification information includes the fourth bitmap information "1010100", STA 1, STA 3, and STA-5 may determine STA 1 in the fourth bitmap information "1010100", If the value of the bit corresponding to the STA 3 and the STA 5 is a first preset value (ie, 1), the WUR interface of the STA may be kept in an active state (eg, on), and S404 is continued; and STA 2, STA 4, and STA are performed. 6 and STA 7 may determine that the value of the bit corresponding to STA 2, STA 4, STA 6 and STA 7 in the fourth bitmap information “1010100” is not the first preset value (ie 1), then the WUR of the STA may be The interface is switched from the working state (such as on) to the sleep state (such as off), that is, the execution continues to S409.
上述第二唤醒消息中携带的第二标识信息中包括“AP要唤醒的STA的设备标识”或者“AP要唤醒的STA的WUR接口的接口标识”。The second identifier information carried in the second waking message includes the “device identifier of the STA to be awake by the AP” or “the interface identifier of the WUR interface of the STA to be awake by the AP”.
举例来说,一个STA的设备标识可以为该STA的MAC地址信息,或者可以为该STA的AID。或者,一个STA的设备标识还可以为该STA或AP基于该STA的MAC地址信息或者该STA的AID转化得到的、可以用于唯一标识该STA的标识。For example, the device identifier of an STA may be the MAC address information of the STA, or may be the AID of the STA. Alternatively, the device identifier of an STA may also be used by the STA or the AP to be used to uniquely identify the STA based on the MAC address information of the STA or the AID of the STA.
示例性的,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,如图11或图12所示,由于上述第四位图信息为“1010100”,因此AP 301可以向STA 1、STA 3和STA 5发送第二唤醒消息。Exemplarily, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs in its coverage, as shown in FIG. 11 or FIG. 12, since the fourth bitmap information is “1010100”, the AP 301 can send a second wakeup message to STA 1, STA 3, and STA 5.
其中,AP可以采用单播方式或广播方式向STA 1、STA 3和STA 5发送第二唤醒消息。当AP采用单播方式分别向STA 1、STA 3和STA 5发送第二唤醒消息时,AP可以向STA 1发送如图11所示的携带有MAC-1或者AID-1
或者WUR-1的第二唤醒消息,可以向STA 3发送如图11所示的携带有MAC-3或者AID-3或者WUR-3的第二唤醒消息,可以向STA 5发送如图11所示的携带有MAC-5或者AID-5或者WUR-5的第二唤醒消息。当AP采用广播方式发送第二唤醒消息时,如图12所示,该第二唤醒消息中可以携带有MAC-1、MAC-3和MAC-5,或者该第二唤醒消息中可以携带有AID-1、AID-3和AID-5,或者该第二唤醒消息中可以携带有WUR-1、WUR-3和WUR-5。The AP may send the second wakeup message to the STA 1, the STA 3, and the STA 5 in a unicast manner or a broadcast manner. When the AP sends the second wakeup message to STA 1, STA 3, and STA 5 in unicast mode, the AP may send the MAC-1 or AID-1 as shown in FIG.
Or the second wake-up message of the WUR-1 may send the second wake-up message carrying the MAC-3 or the AID-3 or the WUR-3 as shown in FIG. 11 to the STA 3, and may send the message to the STA 5 as shown in FIG. The second wake-up message carrying MAC-5 or AID-5 or WUR-5. When the AP sends the second wakeup message in the broadcast mode, as shown in FIG. 12, the second wakeup message may carry the MAC-1, the MAC-3, and the MAC-5, or the second wakeup message may carry the AID. -1, AID-3 and AID-5, or the second wakeup message may carry WUR-1, WUR-3 and WUR-5.
示例性的,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,如图13或图14所示,由于上述第四位图信息为“101”,因此AP 301可以向STA 1和STA 3发送第二唤醒消息。Exemplarily, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs in its coverage, as shown in FIG. 13 or FIG. 14, since the fourth bitmap information is "101", the AP 301 can send a second wake-up message to STA 1 and STA 3.
同样的,AP可以采用单播方式或广播方式向STA 1和STA 3发送第二唤醒消息。当AP采用单播方式分别向STA 1和STA 3发送第二唤醒消息时,AP可以向STA 1发送如图13所示的携带有MAC-1或者AID-1或者WUR-1的第二唤醒消息,可以向STA 3发送如图13所示的携带有MAC-3或者AID-3或者WUR-3的第二唤醒消息。当AP采用广播方式发送第二唤醒消息时,如图14所示,该第二唤醒消息中可以携带有MAC-1和MAC-3,或者该第二唤醒消息中可以携带有AID-1和AID-3,或者该第二唤醒消息中可以携带有WUR-1和WUR-3。Similarly, the AP may send a second wake-up message to STA 1 and STA 3 in a unicast manner or a broadcast manner. When the AP sends the second wakeup message to the STA 1 and the STA 3 in the unicast mode, the AP may send the second wakeup message carrying the MAC-1 or AID-1 or WUR-1 as shown in FIG. A second wake-up message carrying MAC-3 or AID-3 or WUR-3 as shown in FIG. 13 may be transmitted to STA 3. When the AP sends the second wakeup message in the broadcast mode, as shown in FIG. 14, the second wakeup message may carry the MAC-1 and the MAC-3, or the second wakeup message may carry the AID-1 and the AID. -3, or the second wakeup message may carry WUR-1 and WUR-3.
在第一种应用场景的实现方式三中,如图15所示,图4中的S407可以替换为S407c:In the third implementation manner of the first application scenario, as shown in FIG. 15, S407 in FIG. 4 may be replaced with S407c:
S407c:接收到第二唤醒消息的STA判断第二唤醒消息中携带的第二标识信息中是否包括该STA的设备标识或者该STA的WUR接口的接口标识。S407c: The STA that receives the second wake-up message determines whether the second identifier information carried in the second wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA.
具体的,如果接收到第二唤醒消息的STA确定第二唤醒消息中携带的第二标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识,则可以继续执行S408;如果接收到第二唤醒消息的STA确定第二唤醒消息中携带的第二标识信息中不包括该STA的设备标识或者该STA的WUR接口的接口标识,则可以继续执行S409:Specifically, if the STA that receives the second wake-up message determines that the second identifier information carried in the second wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA, the S408 may continue to be performed; The STA of the second wake-up message determines that the second identifier information carried in the second wake-up message does not include the device identifier of the STA or the interface identifier of the WUR interface of the STA, and may continue to execute S409:
例如,基于上述实例,如图11-图14中任一附图所示,由于STA 1接收到的第二唤醒消息中携带有MAC-1/AID-1/WUR-1,因此STA 1可以唤醒STA 1的Wi-Fi接口(即将STA 1的Wi-Fi接口由休眠状态切换至工作状态),继续执行S408。For example, based on the above example, as shown in any of FIGS. 11-14, STA 1 can wake up because the second wakeup message received by STA 1 carries MAC-1/AID-1/WUR-1. The Wi-Fi interface of the STA 1 (ie, the Wi-Fi interface of the STA 1 is switched from the sleep state to the active state), and the execution proceeds to S408.
在第一种应用场景的实现方式三中,由于第四位图信息中的至少两个比特位与接收第一唤醒消息的多个设备一一对应,因此,AP通过设置第四位图信息中的每个比特位的值,便可以指示每个比特位对应的设备保持其WUR接口处于工作状态或者休眠状态;而不需要在第一唤醒消息中携带较多标识信息,可以减少第一唤醒消息中携带的数据量。当第一唤醒消息中携带的数据量较少时,该第一唤醒消息便可以较快的传输至STA,该STA也就可以早一点其WUR接口处于工作状态或者休眠状态。In the third implementation manner of the first application scenario, since at least two bits in the fourth bitmap information are in one-to-one correspondence with multiple devices that receive the first wake-up message, the AP sets the fourth bitmap information. The value of each bit can be used to indicate that the device corresponding to each bit keeps its WUR interface in a working state or a dormant state; instead of carrying more identification information in the first wake-up message, the first wake-up message can be reduced. The amount of data carried in. When the amount of data carried in the first wake-up message is small, the first wake-up message can be transmitted to the STA faster, and the STA can be in a working state or a sleep state earlier.
在第一种应用场景的实现方式四中,AP可以通过在第一唤醒消息中携带“AP要唤醒的多个STA的设备标识”或者“AP要唤醒的多个STA的WUR接
口的接口标识”,在第二唤醒消息中携带“AP要唤醒的一个STA的设备标识或者“AP要唤醒的一个STA的WUR接口的接口标识”,来唤醒一个或多个STA。In the fourth implementation manner of the first application scenario, the AP may carry the device identifier of multiple STAs that the AP wants to wake up in the first wake-up message or the WUR connection of multiple STAs that the AP wants to wake up.
The interface identifier of the port, in the second wake-up message, carries the device identifier of one STA that the AP wants to wake up or the interface identifier of the WUR interface of an STA that the AP wants to wake up to wake up one or more STAs.
第一种应用场景的实现方式四:The implementation of the first application scenario is four:
S401-S403所述的第一唤醒消息中携带的第一标识信息可以包括“AP要唤醒的多个STA的设备标识”或者“AP要唤醒的多个STA的WUR接口的接口标识”,第二唤醒消息中携带的第二标识信息可以包括“AP要唤醒的一个STA的设备标识或者“AP要唤醒的一个STA的WUR接口的接口标识”。The first identifier information carried in the first waking message described in S401-S403 may include: “the device identifier of multiple STAs to be awake by the AP” or “the interface identifier of the WUR interface of multiple STAs to be awake by the AP”, and second The second identifier information carried in the awake message may include the device identifier of one STA that the AP wants to wake up or the interface identifier of the WUR interface of an STA that the AP wants to wake up.
示例性的,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,假设AP 301要唤醒STA 1、STA 3和STA 5。Illustratively, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs within its coverage, it is assumed that the AP 301 is to wake up STA 1, STA 3, and STA 5.
在实现方式四的一种情况下,如图16或图17所示,AP 301可以采用广播方式向包括STA 1、STA 3和STA 5在内的多个STA(包括STA 1-STA 7)发送携带有“MAC-1、MAC-3和MAC-5”或者“AID-1、AID-3和AID-5”或者“WUR-1、WUR-3和WUR-5”的第一唤醒消息;STA 1、STA 3和STA 5在接收到该第一唤醒消息后,则可以确定该第一唤醒消息中携带的第一标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识;而后,STA 1、STA 3和STA 5则可以保持其WUR接口处于工作状态(on);STA 2、STA 4、STA 6和STA 7在接收到该第一唤醒消息后,则可以确定该第一唤醒消息中携带的第一标识信息中不包括该STA的设备标识或者该STA的WUR接口的接口标识;而后,STA 2、STA 4、STA 6和STA 7则可以将其WUR接口由工作状态(on)切换至休眠状态(off)。In a case of implementation manner 4, as shown in FIG. 16 or FIG. 17, the AP 301 may send a broadcast manner to multiple STAs including STA 1, STA 3, and STA 5 (including STA 1-STA 7). First wake-up message carrying "MAC-1, MAC-3 and MAC-5" or "AID-1, AID-3 and AID-5" or "WUR-1, WUR-3 and WUR-5"; STA After receiving the first wake-up message, the STA 3 and the STA 5 may determine that the first identifier information carried in the first wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA; STA 1, STA 3 and STA 5 can keep their WUR interface in a working state (on); STA 2, STA 4, STA 6 and STA 7 can determine the first wake-up after receiving the first wake-up message. The first identifier information carried in the message does not include the device identifier of the STA or the interface identifier of the WUR interface of the STA; then, STA 2, STA 4, STA 6 and STA 7 can have their WUR interface from the working state (on ) Switch to sleep (off).
在实现方式四的另一种情况下,AP可以采用组播方式向包括AP要唤醒的STA所在设备组内的所有STA发送携带有AP要唤醒的STA的设备标识或者其WUR接口的接口标识的第一唤醒消息。In another case of the implementation mode 4, the AP may use the multicast mode to send the device identifier of the STA that the AP is to wake up or the interface identifier of the WUR interface to all the STAs in the device group of the STA that the AP is to wake up. First wake up message.
例如,如图18或图19所示,AP 301可以向STA 1和STA 3所在设备组x内的所有STA(STA 1-STA-3)发送携带有“MAC-1和MAC-3”或者“AID-1和AID-3”或者“WUR-1和WUR-3”的第一唤醒消息,向STA 5所在设备组y内的所有STA(STA 4-STA-5)发送携带有“MAC-5”或者“AID-5”或者“WUR-5”的第一唤醒消息。STA 1、STA 3和STA 5在接收到第一唤醒消息后,则可以确定该第一唤醒消息中携带的第一标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识;而后,STA 1、STA 3和STA 5则可以保持其WUR接口处于工作状态(on);STA 2和STA 4在接收到该第一唤醒消息后,则可以确定该第一唤醒消息中携带的第一标识信息中不包括该STA的设备标识或者该STA的WUR接口的接口标识;而后,STA 2和STA 4则可以将其WUR接口由工作状态(on)切换至休眠状态(off)。For example, as shown in FIG. 18 or FIG. 19, the AP 301 can transmit to all STAs (STA 1-STA-3) in the device group x where STA 1 and STA 3 are located carrying "MAC-1 and MAC-3" or " The first wake-up message of AID-1 and AID-3" or "WUR-1 and WUR-3" is sent to all STAs (STA 4-STA-5) in the device group y where STA 5 is located carrying "MAC-5" "Or the first wake-up message of "AID-5" or "WUR-5". After receiving the first wake-up message, the STA 1, the STA 3, and the STA 5 may determine that the first identifier information carried in the first wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA; STA 1, STA 3 and STA 5 can keep their WUR interface in a working state (on); after receiving the first wake-up message, STA 2 and STA 4 can determine the first carried in the first wake-up message. The device identifier of the STA or the interface identifier of the WUR interface of the STA is not included in the identifier information; then, the STA 2 and the STA 4 can switch their WUR interface from the working state (on) to the sleep state (off).
在实现方式四的一种情况下,如图16或图18所示,AP 301在发送上述第一唤醒消息后,可以采用多播方式向STA 1、STA 3和STA 5发送携带有“MAC-1、MAC-3和MAC-5”或者“AID-1、AID-3和AID-5”或者“WUR-1、WUR-3和WUR-5”的第二唤醒消息;STA 1、STA 3和STA 5在接收到该第二
唤醒消息后,则可以确定该第二唤醒消息中携带的第二标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识;而后,STA 1、STA 3和STA 5则可以唤醒其Wi-Fi接口,使其Wi-Fi接口处于工作状态(on)。In a case of implementation manner 4, as shown in FIG. 16 or FIG. 18, after transmitting the first wake-up message, the AP 301 may send the bearer to the STA 1, the STA 3, and the STA 5 in a multicast manner. 1. MAC-3 and MAC-5" or "AID-1, AID-3 and AID-5" or "WUR-1, WUR-3 and WUR-5" second wake-up messages; STA 1, STA 3 and STA 5 receives the second
After the waking message is received, the second identifier information carried in the second waking message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA. Then, STA 1, STA 3, and STA 5 can wake up the message. The Wi-Fi interface has its Wi-Fi interface in operation (on).
在实现方式四的另一种情况下,如图17或图19所示,AP 301在发送上述第一唤醒消息后,可以采用单播方式向STA 1发送携带有“MAC-1或者AID-1或者WUR-1”的第二唤醒消息;STA 1在接收到该第二唤醒消息后,则可以确定该第二唤醒消息中携带的第二标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识;而后,STA 1则可以唤醒其Wi-Fi接口,使其Wi-Fi接口处于工作状态(on)。AP 301在发送上述第一唤醒消息后,可以采用单播方式向STA 3发送携带有“MAC-3或者AID-3或者WUR-3”的第二唤醒消息;STA 3在接收到该第二唤醒消息后,则可以确定该第二唤醒消息中携带的第二标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识;而后,STA 3则可以唤醒其Wi-Fi接口,使其Wi-Fi接口处于工作状态(on)。AP 301在发送上述第一唤醒消息后,可以采用单播方式向STA 5发送携带有“MAC-5或者AID-5或者WUR-5”的第二唤醒消息;STA 5在接收到该第二唤醒消息后,则可以确定该第二唤醒消息中携带的第二标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识;而后,STA 5则可以唤醒其Wi-Fi接口,使其Wi-Fi接口处于工作状态(on)。In another case of implementation manner 4, as shown in FIG. 17 or FIG. 19, the AP 301 may send the MAC-1 or AID-1 to the STA 1 in a unicast manner after transmitting the first wake-up message. Or the second wake-up message of the WUR-1"; after receiving the second wake-up message, the STA 1 may determine that the second identifier information carried in the second wake-up message includes the device identifier of the STA or the WUR of the STA The interface identifier of the interface; then, STA 1 can wake up its Wi-Fi interface and put its Wi-Fi interface into operation (on). After transmitting the first wake-up message, the AP 301 may send a second wake-up message carrying “MAC-3 or AID-3 or WUR-3” to the STA 3 in a unicast manner; the STA 3 receives the second wake-up. After the message, the second identifier information carried in the second wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA. Then, the STA 3 can wake up the Wi-Fi interface, so that the STA 3 can wake up the Wi-Fi interface. The Wi-Fi interface is working (on). After transmitting the first wake-up message, the AP 301 may send a second wake-up message carrying "MAC-5 or AID-5 or WUR-5" to the STA 5 in a unicast manner; the STA 5 receives the second wake-up. After the message, the second identifier information carried in the second wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA. Then, the STA 5 can wake up the Wi-Fi interface, so that the STA 5 can wake up the Wi-Fi interface. The Wi-Fi interface is working (on).
其中,由于AP不会继续向STA 2、STA 4、STA 6和STA 7发送第二唤醒消息,那么,STA 2、STA 4、STA 6和STA 7也就不需要唤醒其Wi-Fi接口。Wherein, since the AP does not continue to send the second wakeup message to STA2, STA4, STA6, and STA 7, STA2, STA4, STA6, and STA7 do not need to wake up their Wi-Fi interface.
其中,由于AP在发送第一唤醒消息后,可能并不会立即发送第二唤醒消息;因此,AP要唤醒的STA在接收到第一唤醒消息后,即使一直处于工作状态,在第一指示信息所指示的时间之前也不可能接收第二唤醒消息,会造成STA功耗的不必要浪费。为了进一步减少STA功耗的不必要浪费,上述第一唤醒消息中还可以携带有第一指示信息,该第一指示信息用于指示接收到AP发送上述第二唤醒消息的时间。例如,该第一指示信息可以包含在如图5所示的WUR SIG 503中。在S403之前,本发明实施例的方法还可以包括S701,S404可以替换为S404a:The AP may not send the second wakeup message immediately after sending the first wakeup message. Therefore, after the STA that wakes up the AP receives the first wakeup message, even if it is always in the working state, the first indication information is It is also impossible to receive the second wake-up message before the indicated time, which may cause unnecessary waste of STA power consumption. In order to further reduce the unnecessary waste of the power consumption of the STA, the first waking message may further carry the first indication information, where the first indication information is used to indicate the time when the AP sends the second waking message. For example, the first indication information may be included in the WUR SIG 503 as shown in FIG. Before S403, the method of the embodiment of the present invention may further include S701, and S404 may be replaced by S404a:
S701:接收到第一唤醒消息的STA将该STA的WUR接口由工作状态切换至休眠状态。S701: The STA that receives the first wake-up message switches the WUR interface of the STA from the working state to the sleep state.
S404a:该STA在第一指示信息所指示的时间,控制该STA的WUR接口由休眠状态切换至工作状态。S404a: The STA controls the WUR interface of the STA to switch from the sleep state to the working state at the time indicated by the first indication information.
本发明实施例中,STA在接收到第一唤醒消息时,可以先将该STA的WUR接口由工作状态切换至休眠状态,然后在第一指示信息所指示的时间,再将TA的WUR接口由休眠状态切换至工作状态,以接收AP发送的第二唤醒消息。这样,可以避免功耗的不必要的浪费。In the embodiment of the present invention, when receiving the first wake-up message, the STA may first switch the WUR interface of the STA from the working state to the sleep state, and then, at the time indicated by the first indication information, The sleep state is switched to the working state to receive the second wake-up message sent by the AP. In this way, unnecessary waste of power consumption can be avoided.
进一步的,上述第一唤醒消息中还可以携带有第二指示信息,该第二指示信息用于通知STA:AP使用第一唤醒消息和第二唤醒消息指示STA唤醒
该STA的Wi-Fi接口。在S403之前,本发明实施例的方法还可以包括S702,S404可以替换为S404a:Further, the first waking message may further carry the second indication information, where the second indication information is used to notify the STA that the AP uses the first wakeup message and the second wakeup message to indicate that the STA wakes up.
The STA's Wi-Fi interface. Before S403, the method of the embodiment of the present invention may further include S702, and S404 may be replaced by S404a:
S702:接收到第一唤醒消息的STA确定该第一唤醒消息还携带有第二指示信息。S702: The STA that receives the first wakeup message determines that the first wakeup message further carries the second indication information.
例如,该第二指示信息可以包含在如图5所示的WUR SIG 503中。接收到第一唤醒消息的STA可以在确定如图5所示的WUR SIG 503中的预设比特位的值为1时,确定该第一唤醒消息还携带有第二指示信息。即可以确定AP将使用第一唤醒消息和第二唤醒消息指示STA唤醒该STA的Wi-Fi接口,该STA则可以保持该STA的WUR接口处于工作状态。For example, the second indication information may be included in the WUR SIG 503 as shown in FIG. The STA that receives the first wake-up message may determine that the first wake-up message further carries the second indication information when determining that the value of the preset bit in the WUR SIG 503 as shown in FIG. 5 is 1. It can be determined that the AP will use the first wake-up message and the second wake-up message to instruct the STA to wake up the Wi-Fi interface of the STA, and the STA can keep the WUR interface of the STA in an active state.
进一步的,上述第一唤醒消息可以不携带第二指示信息,而是携带第三指示信息,该第三指示信息可以用于通知STA:AP使用第一唤醒消息指示STA唤醒该STA的Wi-Fi接口。当上述第一唤醒消息中携带有第三标识信息时,接收到该第一唤醒消息的STA则可以直接唤醒该STA的Wi-Fi接口,而不需要等待接收第二唤醒消息。Further, the first wake-up message may not carry the second indication information, but may carry the third indication information, where the third indication information may be used to notify the STA that the AP uses the first wake-up message to instruct the STA to wake up the Wi-Fi of the STA. interface. When the first wake-up message carries the third identifier information, the STA that receives the first wake-up message may directly wake up the Wi-Fi interface of the STA without waiting to receive the second wake-up message.
例如,该第三指示信息可以包含在如图5所示的WUR SIG 503中,接收到第一唤醒消息的STA可以在确定如图5所示的WUR SIG 503中的预设比特位的值为0时,确定该第一唤醒消息还携带有第三指示信息,则可以确定AP将使用第一唤醒消息指示STA唤醒该STA的Wi-Fi接口,该STA则可以直接唤醒该STA的Wi-Fi接口,而不需要等待接收第二唤醒消息。本发明实施例中,AP可以通过上述第二指示信息和第三指示信息通知该AP指示STA唤醒该STA的Wi-Fi接口的模式,即“AP使用第一唤醒消息和第二唤醒消息指示STA唤醒该STA的Wi-Fi接口”或者“AP使用第一唤醒消息指示STA唤醒该STA的Wi-Fi接口”,使得STA在接收到携带有上述第二指示信息或第三指示信息的第一唤醒消息后,可以确定上述AP唤醒STA的模式,避免当“AP使用第一唤醒消息指示STA唤醒该STA的Wi-Fi接口”时,不会继续向STA发送第二唤醒消息,而STA在接收到第一唤醒消息后由于一直等待接收第二唤醒消息,不能及时唤醒其Wi-Fi接口,导致AP与STA之间的Wi-Fi数据传输失败。For example, the third indication information may be included in the WUR SIG 503 as shown in FIG. 5, and the STA that receives the first wake-up message may determine the value of the preset bit in the WUR SIG 503 as shown in FIG. 5. If it is determined that the first wake-up message further carries the third indication information, it may be determined that the AP will use the first wake-up message to instruct the STA to wake up the STA's Wi-Fi interface, and the STA may directly wake up the STA's Wi-Fi. Interface without waiting to receive a second wakeup message. In the embodiment of the present invention, the AP may notify the AP that the STA wakes up the mode of the Wi-Fi interface of the STA by using the foregoing second indication information and the third indication information, that is, “the AP indicates the STA by using the first wakeup message and the second wakeup message. Wake up the STA's Wi-Fi interface" or "The AP uses the first wake-up message to instruct the STA to wake up the STA's Wi-Fi interface", so that the STA receives the first wake-up carrying the second indication information or the third indication information After the message, the mode of the AP waking up the STA may be determined, and when the “AP uses the first wake-up message to instruct the STA to wake up the Wi-Fi interface of the STA”, the second wake-up message is not sent to the STA, and the STA receives the message. After the first wake-up message, since the second wake-up message is always waiting to be received, the Wi-Fi interface cannot be woken up in time, causing the Wi-Fi data transmission between the AP and the STA to fail.
进一步的,为了防止恶意设备伪装成AP,模仿AP向一个或多个STA发送上述第一唤醒消息和上述第二唤醒消息,造成增加被唤醒设备STA的功耗的不必要的浪费,AP和STA可以动态协商AP下一次唤醒STA的Wi-Fi接口时所使用的第一标识信息和第二标识信息。在S408之后,本发明实施例的方法还可以包括S703-S705:Further, in order to prevent the malicious device from masquerading as an AP, the imitation AP sends the first wake-up message and the second wake-up message to one or more STAs, causing unnecessary waste of increasing power consumption of the wake-up device STA, AP and STA. The first identification information and the second identification information used by the AP to wake up the Wi-Fi interface of the STA next time can be dynamically negotiated. After S408, the method of the embodiment of the present invention may further include S703-S705:
S703:STA在唤醒其Wi-Fi接口后,向AP发送唤醒响应消息,该唤醒响应消息用于指示该STA的Wi-Fi接口处于工作状态。S703: After waking up the Wi-Fi interface, the STA sends a wakeup response message to the AP, where the wakeup response message is used to indicate that the STA's Wi-Fi interface is in an active state.
其中,STA的Wi-Fi接口处于工作状态可以指该STA的Wi-Fi接口可以与AP进行Wi-Fi数据交互。例如,该STA可以通过该STA的Wi-Fi接口向AP发送PS-Poll帧,或者该STA可以在休眠一段时间后通过该STA的Wi-Fi接口向AP发送PS-Poll帧。示例性的,上述唤醒响应消息可以为PS-Poll帧。
The working state of the STA's Wi-Fi interface may mean that the STA's Wi-Fi interface can perform Wi-Fi data interaction with the AP. For example, the STA may send a PS-Poll frame to the AP through the STA's Wi-Fi interface, or the STA may send a PS-Poll frame to the AP through the STA's Wi-Fi interface after a period of sleep. Exemplarily, the above wakeup response message may be a PS-Poll frame.
S704:AP接收上述STA通过该STA的Wi-Fi接口发送的唤醒响应消息。S704: The AP receives the wakeup response message sent by the STA by using the STA's Wi-Fi interface.
其中,AP在接收到一个STA发送的通过其STA的Wi-Fi接口发送的唤醒响应消息后,便可以确定该STA的Wi-Fi接口处于工作状态,即该STA的Wi-Fi接口可以与该AP进行Wi-Fi数据交互。After receiving the wakeup response message sent by the STA through the STA's Wi-Fi interface, the AP can determine that the STA's Wi-Fi interface is working, that is, the STA's Wi-Fi interface can be The AP performs Wi-Fi data interaction.
S705:AP与该STA协商下一次唤醒该STA的Wi-Fi接口时所使用的第一标识信息和第二标识信息。S705: The AP negotiates, with the STA, the first identifier information and the second identifier information that are used when the Wi-Fi interface of the STA is awake.
其中,AP可以与STA进行Wi-Fi数据交互,以协商下一次唤醒该STA的Wi-Fi接口时所使用的第一标识信息和第二标识信息。The AP may perform Wi-Fi data interaction with the STA to negotiate the first identification information and the second identification information used when the Wi-Fi interface of the STA is awake for the next time.
本发明实施例中,AP在唤醒一个STA的Wi-Fi接口后,可以与该STA进行Wi-Fi数据交互,协商下一次唤醒该STA的Wi-Fi接口时所使用的第一标识信息和第二标识信息,即AP每次唤醒该STA的Wi-Fi接口时所使用的第一标识信息和第二标识信息可以是不同的。这样,便可以增加恶意设备模仿AP使用第一唤醒消息和第二唤醒消息恶意唤醒大量STA的难度,提高STA被AP唤醒过程的安全性,避免STA被恶意设备恶意地唤醒而消耗不必要的功耗。In the embodiment of the present invention, after waking up the Wi-Fi interface of an STA, the AP may perform Wi-Fi data exchange with the STA, and negotiate the first identification information and the first used when waking up the Wi-Fi interface of the STA. The second identification information, that is, the first identification information and the second identification information used by the AP each time the WLAN device wakes up the Wi-Fi interface of the STA may be different. In this way, it is possible to increase the difficulty that the malicious device mimics the AP to use the first wake-up message and the second wake-up message to maliciously wake up a large number of STAs, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awakened by the malicious device to consume unnecessary work. Consumption.
其中,AP与STA通过STA的WUR接口传输WUR消息来唤醒STA的Wi-Fi接口(即第一唤醒消息和第二唤醒消息均通过WUR接口传输)时,可能会因为WUR消息的传输速率较低,导致WUR不能及时接收到WUR消息,进而不能及时唤醒其Wi-Fi接口,影响待唤醒的Wi-Fi接口上的数据传输。The AP and the STA transmit the WUR message through the WUR interface of the STA to wake up the Wi-Fi interface of the STA (that is, the first wake-up message and the second wake-up message are transmitted through the WUR interface), and the transmission rate of the WUR message may be lower. As a result, the WUR cannot receive the WUR message in time, and thus cannot wake up its Wi-Fi interface in time, affecting the data transmission on the Wi-Fi interface to be woken up.
为了提高AP指示STA其唤醒Wi-Fi接口的效率,在本发明实施例的第二种应用场景中,AP可以通过向该AP要唤醒的一个或多个STA的WUR接口发送第一唤醒消息,指示STA唤醒其Wi-Fi接口;而后,AP向该AP要唤醒的一个或多个STA的Wi-Fi接口发送第二唤醒消息,使接收到第二唤醒消息的STA根据第二唤醒消息的指示确定是否保持其Wi-Fi接口处于工作状态。如图20所示,本发明实施例提供的唤醒无线设备的方法可以包括S2001-S2009:In the second application scenario of the embodiment of the present invention, the AP may send the first wake-up message to the WUR interface of one or more STAs to be awake by the AP, in order to improve the efficiency of the AP instructing the STA to wake up the Wi-Fi interface. Instructing the STA to wake up its Wi-Fi interface; then, the AP sends a second wake-up message to the Wi-Fi interface of the one or more STAs that the AP is to wake up, so that the STA that receives the second wake-up message according to the indication of the second wake-up message Determine if your Wi-Fi interface is working. As shown in FIG. 20, the method for waking up a wireless device according to an embodiment of the present invention may include S2001-S2009:
S2001:AP以广播方式或组播方式向多个STA的WUR接口发送第一唤醒消息,第一唤醒消息中携带有第一标识信息,该第一标识信息用于标识上述多个STA中包括待唤醒的STA在内的至少一个STA,该第一唤醒消息用于指示上述第一标识信息所标识的STA的WUR接口需唤醒该STA的Wi-Fi接口以接收该AP后续发送的第二唤醒消息。S2001: The AP sends the first wake-up message to the WUR interface of the multiple STAs in the broadcast mode or the multicast mode. The first wake-up message carries the first identifier information, where the first identifier information is used to identify the multiple STAs to be included. At least one STA, such as the awakened STA, the first wake-up message is used to indicate that the WUR interface of the STA identified by the first identifier information needs to wake up the Wi-Fi interface of the STA to receive the second wake-up message sent by the AP. .
本发明实施例第二种应用场景中,AP向上述多个STA的WUR接口发送第一唤醒消息的具体方式和第一标识信息的具体内容可以参考本发明实施例第一方面中的相关描述,本发明实施例这里不再赘述。In the second application scenario of the embodiment of the present invention, the specific manner for the AP to send the first wake-up message to the WUR interface of the multiple STAs and the specific content of the first identifier information may refer to the related description in the first aspect of the embodiment of the present invention. The embodiments of the present invention are not described herein again.
不同的是,第一种应用场景中的第一唤醒消息用于指示第一标识信息所标识的STA的WUR接口需处于工作状态,而第二种应用场景中的第一唤醒消息则用于指示上述第一标识信息所标识的STA的WUR接口需唤醒该STA的Wi-Fi接口以接收该AP后续发送的第二唤醒消息。The first wake-up message in the first application scenario is used to indicate that the WUR interface of the STA identified by the first identifier information needs to be in a working state, and the first wake-up message in the second application scenario is used to indicate The WUR interface of the STA identified by the foregoing first identifier information needs to wake up the Wi-Fi interface of the STA to receive the second wake-up message sent by the AP.
S2002:上述多个STA通过该多个STA的WUR接口接收AP以广播方式
或组播方式发送的第一唤醒消息。S2002: The multiple STAs receive the AP by using the WUR interface of the multiple STAs in a broadcast manner.
Or the first wake-up message sent by multicast.
S2003:接收到第一唤醒消息的STA判断该STA是否为第一标识信息所标识的STA中的一个STA。S2003: The STA that receives the first wakeup message determines whether the STA is one of the STAs identified by the first identifier information.
具体的,如果该STA确定该STA是第一标识信息所标识的STA中的一个STA,则可以继续执行S2004;如果STA确定该STA不是第一标识信息所标识的STA中的一个STA,该STA则可以将该STA的WUR接口由工作状态切换至休眠状态,并保持该STA的Wi-Fi接口处于休眠状态。Specifically, if the STA determines that the STA is one of the STAs identified by the first identifier information, the S2004 may continue to be performed; if the STA determines that the STA is not one of the STAs identified by the first identifier information, the STA The WUR interface of the STA can be switched from the working state to the sleep state, and the Wi-Fi interface of the STA is kept in a dormant state.
S2004:该STA唤醒该STA的Wi-Fi接口。S2004: The STA wakes up the STA's Wi-Fi interface.
S2005:AP在发送上述第一唤醒消息后,向上述至少一个STA中包括待唤醒的STA在内的至少一个STA的WUR接口发送第二唤醒消息。S2005: After transmitting the foregoing first wake-up message, the AP sends a second wake-up message to the WUR interface of the at least one STA that includes the STA to be woken up.
本发明实施例第二种应用场景中,AP向上述至少一个STA中包括待唤醒的STA在内的至少一个STA的WUR接口发送第二唤醒消息的具体方式和第二标识信息的具体内容可以参考本发明实施例第一种应用场景中的相关描述,本发明实施例这里不再赘述。In the second application scenario of the second embodiment of the present invention, the specific manner of the second wake-up message sent by the AP to the WUR interface of the at least one STA, including the STA to be awake, and the specific content of the second identifier information may be referred to. The related description in the first application scenario of the embodiment of the present invention is not described herein again.
不同的是,第一种应用场景中的第二唤醒消息用于指示第二标识信息所标识的STA唤醒该STA的Wi-Fi接口,而第二种应用场景中的第二唤醒消息则用于指示第二标识信息所标识的设备的Wi-Fi接口处于工作状态。The second wake-up message in the first application scenario is used to indicate that the STA identified by the second identifier information wakes up the Wi-Fi interface of the STA, and the second wake-up message in the second application scenario is used. The Wi-Fi interface indicating the device identified by the second identification information is in an active state.
示例性的,第二种应用场景中的第二唤醒消息可以为携带有数据待传指示信息(Traffic Indication Map,TIM)元素的WUR Beacon消息或者TIM帧。或者,第二种应用场景中的第二唤醒消息可以为一个专门定义的动作帧(Action Frame),该动作帧可以携带位图信息(如第二位图信息)。For example, the second wake-up message in the second application scenario may be a WUR Beacon message or a TIM frame carrying a Data Indication Map (TIM) element. Alternatively, the second wake-up message in the second application scenario may be a specially defined action frame, and the action frame may carry bitmap information (such as second bitmap information).
如图21所示,为本发明实施例提供的第二唤醒消息的一种消息结构示意图。如图21所示,第二唤醒消息可以包括物理层(Physical Layer,PHY)头2101、MAC头2102、帧体2103和FCS 2104中的一个或者多个。帧体2103中包括TIM元素2105,该TIM元素2105至少包括第二标识信息2108。当然,该TIM元素2105还可以包括TIM元素标识2106和长度2107。FIG. 21 is a schematic structural diagram of a message of a second wake-up message according to an embodiment of the present invention. As shown in FIG. 21, the second wake-up message may include one or more of a Physical Layer (PHY) header 2101, a MAC header 2102, a frame body 2103, and an FCS 2104. A TIM element 2105 is included in the frame body 2103, and the TIM element 2105 includes at least second identification information 2108. Of course, the TIM element 2105 can also include a TIM element identification 2106 and a length 2107.
示例性的,如图21所示的第二标识信息2108可以为本发明实施例中的第二位图信息,或者该第二标识信息2108可以包括AP要唤醒的STA的设备标识或者AP要唤醒的STA的Wi-Fi接口的接口标识。For example, the second identifier information 2108 shown in FIG. 21 may be the second bitmap information in the embodiment of the present invention, or the second identifier information 2108 may include the device identifier of the STA that the AP is to wake up or the AP needs to wake up. The interface identifier of the STA's Wi-Fi interface.
S2006:上述至少一个STA中包括待唤醒的STA在内的至少一个STA通过其Wi-Fi接口接收第二唤醒消息。S2006: At least one STA of the at least one STA that includes the STA to be awake receives the second wakeup message through its Wi-Fi interface.
S2007:接收到第二唤醒消息的STA判断该STA是否为第二标识信息所标识的STA中的一个STA。S2007: The STA that receives the second wakeup message determines whether the STA is one of the STAs identified by the second identifier information.
具体的,如果接收到第二唤醒消息的STA确定该STA是第二标识信息所标识的STA中的一个STA,则可以继续执行S2008;如果接收到第二唤醒消息的STA确定该STA不是第二标识信息所标识的STA中的一个STA,则可以继续执行S2009。Specifically, if the STA that receives the second wakeup message determines that the STA is one of the STAs identified by the second identifier information, the S2008 may continue to be performed; if the STA that receives the second wakeup message determines that the STA is not the second One STA of the STA identified by the identification information may continue to execute S2009.
S2008:该STA保持该STA的Wi-Fi接口处于工作状态。S2008: The STA keeps the STA's Wi-Fi interface in an active state.
S2009:该STA将该STA的Wi-Fi接口由工作模式切换至休眠状态。
S2009: The STA switches the STA's Wi-Fi interface from the working mode to the sleep state.
本发明实施例提供的唤醒无线设备的方法,AP可以使用第一唤醒消息和第二唤醒消息指示一个或多个STA唤醒其Wi-Fi接口。具体的,接收到第一唤醒消息的STA可以根据第一唤醒消息的指示,唤醒其Wi-Fi接口以等待接收第二唤醒消息或者保持其Wi-Fi接口处于休眠状态;但是,唤醒了Wi-Fi接口的STA的Wi-Fi接口并不是一直处于工作状态,而是需要在接收到第二唤醒消息后,才可以确定该STA的Wi-Fi接口是否要处于工作状态;而不是在接收到一个唤醒消息后,就根据该唤醒消息携带的位图信息中的对应比特位的值,唤醒STA的Wi-Fi接口并保持该STA的Wi-Fi接口处于工作状态。这样的双重确认唤醒机制可以增加恶意设备恶意唤醒大量STA的难度,提高STA被AP唤醒过程的安全性,避免STA被恶意设备恶意地唤醒而消耗不必要的功耗。In the method for waking up a wireless device, the AP may use the first wakeup message and the second wakeup message to instruct one or more STAs to wake up their Wi-Fi interface. Specifically, the STA that receives the first wake-up message may wake up its Wi-Fi interface according to the indication of the first wake-up message to wait to receive the second wake-up message or keep its Wi-Fi interface in a sleep state; however, wake up Wi- The Wi-Fi interface of the STA of the Fi interface is not always in working state, but needs to determine whether the STA's Wi-Fi interface is in the working state after receiving the second wake-up message; instead of receiving one After the wake-up message, the Wi-Fi interface of the STA is woken up according to the value of the corresponding bit in the bitmap information carried in the wake-up message, and the Wi-Fi interface of the STA is kept in the working state. Such a double-acknowledgment wake-up mechanism can increase the difficulty of malicious devices waking up a large number of STAs maliciously, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awake by the malicious device to consume unnecessary power consumption.
其中,本发明实施例的第二种应用场景中,AP可以通过在第一唤醒消息和第二唤醒消息中携带相同或者不同的内容来唤醒一个或多个STA。In the second application scenario of the embodiment of the present invention, the AP may wake up one or more STAs by carrying the same or different content in the first wakeup message and the second wakeup message.
在第二种应用场景的实现方式一中,AP可以通过在第一标识信息包括第一位图信息,在第二标识信息包括第二位图信息来唤醒一个或多个STA。第二种应用场景中的第一位图信息和第二位图信息的具体内容可以参考种应用场景的实现方式一中的相关描述,本发明实施例这里不再赘述。In the first implementation manner of the second application scenario, the AP may wake up one or more STAs by including the first bitmap information in the first identifier information and the second bitmap information in the second identifier information. For the specific content of the first bitmap information and the second bitmap information in the second application scenario, reference may be made to the related description in the implementation manner of the application scenario, which is not described herein again.
在第二种应用场景的实现方式一中,如图22所示,图20中的S2003可以替换为S403a。执行S403a后,如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第一位图信息中与该STA所在组对应的比特位的值为第一预设值,则可以继续执行S2004;如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第一位图信息中与该STA所在组对应的比特位的值不是第一预设值,该STA则可以将该STA的WUR接口由工作状态切换至休眠状态,并保持该STA的Wi-Fi接口处于休眠状态。示例性的,基于如图3所示的AP301唤醒其覆盖范围内的一个或多个STA的场景,假设第一预设值为1,AP301要唤醒设备组x中的STA 1和STA 3,以及设备组y中的STA 5,那么,如图23所示,由于第一标识信息包括第一位图信息“110”,那么设备组x中的STA(如STA 1或者STA 2)和设备组y中的STA(如STA 4或者STA 5)则可以确定第一位图信息“110”中其所在设备组(如设备组x或者设备组y)对应的比特位的值为第一预设值(即1),则可以唤醒该STA的Wi-Fi接口,使其Wi-Fi接口处于工作状态(如on)即继续执行S2004;而设备组z中的STA(如STA 6)则可以确定第一位图信息“110”中设备组z对应的比特位的值不是第一预设值,则可以将该STA的WUR接口由工作状态(如on)切换至休眠状态(如off),并保持其Wi-Fi接口处于休眠状态。在第二种应用场景的实现方式一中,如图22所示,图20中的S2007可以替换为S407a。在执行S407a后,如果接收到第二唤醒消息的STA确定第二位图信息中与该STA对应的比特位的值为第二预设值,则可以继续执行S2008;如果接收到第二唤醒消息的STA确定第二位图信息中与该STA对应的比特位的值不是第二预设值,则可以继续执行S2009。
In the first implementation manner of the second application scenario, as shown in FIG. 22, S2003 in FIG. 20 may be replaced with S403a. After performing S403a, if the STA that receives the first wake-up message determines that the value of the bit corresponding to the group in which the STA is located in the first bitmap information carried in the first wake-up message is the first preset value, the S2004 may be continued. If the STA that receives the first wake-up message determines that the value of the bit corresponding to the group in which the STA is located in the first bitmap information carried in the first wake-up message is not the first preset value, the STA may The WUR interface is switched from the working state to the sleep state, and the Wi-Fi interface of the STA is kept in a sleep state. Exemplarily, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs in its coverage, assuming that the first preset value is 1, the AP 301 wakes up STA 1 and STA 3 in the device group x, and STA 5 in the device group y, then, as shown in FIG. 23, since the first identification information includes the first bitmap information "110", the STA in the device group x (such as STA 1 or STA 2) and the device group y The STA in the STA (such as STA 4 or STA 5) may determine that the value of the bit corresponding to the device group (such as device group x or device group y) in the first bitmap information "110" is the first preset value ( That is, 1), the Wi-Fi interface of the STA can be woken up, and the Wi-Fi interface is in an active state (such as on) to continue to execute S2004; and the STA in the device group z (such as STA 6) can determine the first In the bitmap information "110", the value of the bit corresponding to the device group z is not the first preset value, and the WUR interface of the STA may be switched from the working state (such as on) to the sleep state (such as off), and the AT is maintained. The Wi-Fi interface is in a sleep state. In the first implementation manner of the second application scenario, as shown in FIG. 22, S2007 in FIG. 20 may be replaced with S407a. After performing S407a, if the STA that receives the second wakeup message determines that the value of the bit corresponding to the STA in the second bitmap information is the second preset value, the S2008 may continue to be performed; if the second wakeup message is received The STA determines that the value of the bit corresponding to the STA in the second bitmap information is not the second preset value, and may continue to execute S2009.
由于上述第一位图信息为“110”,因此AP 301可以向设备组x和设备组y中的STA发送第二唤醒消息。Since the first bitmap information is "110", the AP 301 can send a second wakeup message to the STAs in the device group x and the device group y.
以设备组x为例,假设第二预设值为1,AP 301要唤醒设备组x中的STA 1和STA 3;那么,如图23所示,AP 301可以向设备组x中的STA发送携带有第二位图信息“101”的第二唤醒消息。此时,该第二唤醒消息中携带的第二标识信息则可以用于标识STA 1和STA 3,第二唤醒消息则可以用于指示STA 1和STA 3的Wi-Fi接口处于工作状态。由于设备组x中的STA接收到的第二标识信息包括第二位图信息“101”;那么,设备组x中的STA 1和STA 3可以确定该第二位图信息“101”中STA 1对应的比特位的值为第二预设值(即1),则可以继续执行S2008,保持其Wi-Fi接口处于工作状态;而设备组x中的STA 2可以确定该第二位图信息“101”中STA 2对应的比特位的值不是第二预设值,则可以将该STA的Wi-Fi由工作状态(如on)切换至休眠状态(如off),即继续执行S2009。Taking the device group x as an example, assuming that the second preset value is 1, the AP 301 should wake up STA 1 and STA 3 in the device group x; then, as shown in FIG. 23, the AP 301 can send the STA in the device group x. A second wake-up message carrying the second bitmap information "101". At this time, the second identifier information carried in the second wake-up message may be used to identify the STA 1 and the STA 3, and the second wake-up message may be used to indicate that the Wi-Fi interfaces of the STA 1 and the STA 3 are in an active state. Since the second identification information received by the STA in the device group x includes the second bitmap information "101"; then the STA 1 and the STA 3 in the device group x can determine the STA 1 in the second bitmap information "101". If the value of the corresponding bit is the second preset value (ie, 1), the S2008 may continue to be executed, and the Wi-Fi interface is kept in the working state; and the STA 2 in the device group x may determine the second bitmap information. The value of the bit corresponding to the STA 2 in 101" is not the second preset value, and the Wi-Fi of the STA may be switched from the working state (such as on) to the sleep state (such as off), that is, the S2009 is continued.
在第二种应用场景的实现方式二中,AP可以通过在第一唤醒消息中携带AP要唤醒的一个或多个STA所在设备组的组地址信息,在第二唤醒消息中携带第三位图信息来唤醒一个或多个STA。第二种应用场景中的STA所在设备组的组地址信息和第三位图信息的具体内容可以参考第一种应用场景的实现方式二中的相关描述,本发明实施例这里不再赘述。In the second implementation scenario of the second application scenario, the AP may carry the third bitmap in the second wakeup message by carrying the group address information of the device group of the one or more STAs that the AP is to wake up in the first wakeup message. Information to wake up one or more STAs. For the specific content of the group address information and the third bitmap information of the device group in which the STA is located in the second application scenario, reference may be made to the related description in the second implementation scenario of the first application scenario, and details are not described herein again.
在第二种应用场景的实现方式二中,图20中的S2003可以替换为S403b。执行S403b后,如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第一标识信息中包括该STA所在组的组地址信息,则可以继续执行S2004;如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第一标识信息中不包括该STA所在组的组地址信息,该STA则可以保持该STA的Wi-Fi接口处于休眠状态。可选的,此时该STA还可以将该STA的WUR接口由工作状态切换至休眠状态。In the second implementation manner of the second application scenario, S2003 in FIG. 20 may be replaced with S403b. After performing S403b, if the STA that receives the first wake-up message determines that the first identifier information carried in the first wake-up message includes the group address information of the group in which the STA is located, the S2004 may continue to be performed; if the first wake-up message is received, The STA determines that the first identifier information carried in the first wake-up message does not include the group address information of the group in which the STA is located, and the STA can keep the Wi-Fi interface of the STA in a dormant state. Optionally, the STA may also switch the WUR interface of the STA from the working state to the sleep state.
示例性的,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,假设AP 301要唤醒设备组x中的STA 1和STA 3,以及设备组y中的STA 5,那么,如图24所示,由于第一唤醒消息中携带的第一标识信息中包括设备组x的组地址信息X和设备组y的组地址信息Y;那么,设备组x中的STA(如STA 1或者STA 2)和设备组y中的STA(如STA 4或者STA 5)则可以唤醒该STA的Wi-Fi接口,使其Wi-Fi接口处于工作状态(如on),即继续执行S2004。如图24所示,由于第一唤醒消息中携带的第一标识信息中不包括设备组z的组地址信息Z,那么设备组z中的STA(如STA 6)则可以保持该STA的Wi-Fi接口处于休眠状态(如off),并将该STA的WUR接口由工作状态切换至休眠状态。Illustratively, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs within its coverage, it is assumed that the AP 301 is to wake up STA 1 and STA 3 in the device group x, and STAs in the device group y 5, then, as shown in FIG. 24, the first identification information carried in the first wake-up message includes the group address information X of the device group x and the group address information Y of the device group y; then, the STA in the device group x (such as STA 1 or STA 2) and STAs in device group y (such as STA 4 or STA 5) can wake up the STA's Wi-Fi interface and put its Wi-Fi interface into operation (such as on), that is, continue Execute S2004. As shown in FIG. 24, since the first identifier information carried in the first wakeup message does not include the group address information Z of the device group z, the STA in the device group z (such as the STA 6) can maintain the Wi- of the STA. The Fi interface is in a sleep state (such as off), and the WUR interface of the STA is switched from the working state to the sleep state.
在第二种应用场景的实现方式二中,图20中的S2007可以替换为S407b。在执行S407a后,如果接收到第二唤醒消息的STA确定第二唤醒消息中携带的第三位图信息中与该STA对应的比特位的值为第二预设值,在可以继续执行S2008;如果接收到第二唤醒消息的STA确定第二唤醒消息中携带的第三
位图信息中与该STA对应的比特位的值不是第二预设值,在可以继续执行S2009。In the second implementation manner of the second application scenario, S2007 in FIG. 20 may be replaced with S407b. After performing S407a, if the STA that receives the second wake-up message determines that the value of the bit corresponding to the STA in the third bitmap information carried in the second wake-up message is the second preset value, S2008 may continue to be performed; If the STA that receives the second wakeup message determines the third carried in the second wakeup message
The value of the bit corresponding to the STA in the bitmap information is not the second preset value, and S2009 can be continued.
由于上述第一唤醒消息中携带的第一标识信息中包括设备组x的组地址信息X和设备组y的组地址信息Y,因此AP 301可以向设备组x和设备组y中的STA发送第二唤醒消息。Since the first identification information carried in the first wake-up message includes the group address information X of the device group x and the group address information Y of the device group y, the AP 301 can send the first to the STAs in the device group x and the device group y. Second wake up message.
以设备组x为例,假设第二预设值为1,AP 301要唤醒设备组x中的STA 1和STA 3;那么,如图23所示,AP 301可以向设备组x中的STA发送携带有第三位图信息“101”的第二唤醒消息。此时,该第二唤醒消息中携带的第二标识信息则可以用于标识STA 1和STA 3,第二唤醒消息则可以用于指示STA 1和STA 3的Wi-Fi接口处于工作状态。由于设备组x中的STA接收到的第二标识信息包括第三位图信息“101”;那么,设备组x中的STA 1和STA 3可以确定该第三位图信息“101”中STA 1对应的比特位的值为第二预设值(即1),则可以继续执行S2008,保持其Wi-Fi接口处于工作状态;而设备组x中的STA 2可以确定该第三位图信息“101”中STA 2对应的比特位的值不是第二预设值,则可以将该STA的Wi-Fi由工作状态(如on)切换至休眠状态(如off),即继续执行S2009。Taking the device group x as an example, assuming that the second preset value is 1, the AP 301 should wake up STA 1 and STA 3 in the device group x; then, as shown in FIG. 23, the AP 301 can send the STA in the device group x. The second wake-up message carrying the third bitmap information "101". At this time, the second identifier information carried in the second wake-up message may be used to identify the STA 1 and the STA 3, and the second wake-up message may be used to indicate that the Wi-Fi interfaces of the STA 1 and the STA 3 are in an active state. Since the second identification information received by the STA in the device group x includes the third bitmap information "101"; then the STA 1 and the STA 3 in the device group x can determine the STA 1 in the third bitmap information "101". If the value of the corresponding bit is the second preset value (ie, 1), the S2008 may continue to be executed to keep the Wi-Fi interface in the working state; and the STA 2 in the device group x may determine the third bitmap information. The value of the bit corresponding to the STA 2 in 101" is not the second preset value, and the Wi-Fi of the STA may be switched from the working state (such as on) to the sleep state (such as off), that is, the S2009 is continued.
在第二种应用场景的实现方式三中,AP可以通过在第一唤醒消息中携带第四位图信息,在第二唤醒消息中携带“AP要唤醒的STA的设备标识”或者“AP要唤醒的STA的WUR接口的接口标识”,来唤醒一个或多个STA。第二种应用场景中的STA的设备标识和第四位图信息的具体内容可以参考第一种应用场景的实现方式三中的相关描述,本发明实施例这里不再赘述。In the third implementation manner of the second application scenario, the AP may carry the fourth bitmap information in the first wakeup message, and carry the “device identifier of the STA to be awake by the AP” or “AP wake up” in the second wakeup message. The interface identifier of the WUR interface of the STA" to wake up one or more STAs. For the specific content of the device identifier and the fourth bitmap information of the STA in the second application scenario, reference may be made to the related description in the third implementation manner of the first application scenario, which is not repeatedly described herein.
在第二种应用场景的实现方式三中,图20中的S403可以替换为S403c。在执行S403c后,如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第四位图信息中与该STA对应的比特位的值为第一预设值,则可以继续执行S2004;如果接收到第一唤醒消息的STA确定第一唤醒消息中携带的第四位图信息中与该STA对应的比特位的值不是第一预设值,则将该STA的WUR接口由工作状态切换至休眠状态,并保持该STA的Wi-Fi接口处于休眠状态。In the third implementation manner of the second application scenario, S403 in FIG. 20 may be replaced by S403c. After performing S403c, if the STA that receives the first wake-up message determines that the value of the bit corresponding to the STA in the fourth bitmap information carried in the first wake-up message is the first preset value, the S2004 may continue to be performed; If the STA that receives the first wake-up message determines that the value of the bit corresponding to the STA in the fourth bitmap information carried in the first wake-up message is not the first preset value, the WUR interface of the STA is switched from the working state. Go to sleep and keep the STA's Wi-Fi interface in a sleep state.
在实现方式三的第一种情况下,AP可以通过广播方式发送第一唤醒消息,该第一唤醒消息中携带的第四位图信息则可以包括如图3所示的所有设备组中的每个STA对应的比特位。如图25或图25所示,上述第一唤醒消息可以携带第四位图信息“1010100”。此时,第一标识信息则可以用于标识STA 1、STA 3和STA 5,第一唤醒消息则可以用于指示STA 1、STA 3和STA 5的唤醒其Wi-Fi接口,使其Wi-Fi接口处于工作状态。In the first case of the implementation mode 3, the AP may send the first wake-up message by using a broadcast mode, and the fourth bitmap information carried in the first wake-up message may include each of the device groups shown in FIG. The bits corresponding to the STAs. As shown in FIG. 25 or FIG. 25, the first wake-up message may carry the fourth bitmap information "1010100". At this time, the first identification information may be used to identify STA 1, STA 3, and STA 5. The first wake-up message may be used to instruct STA 1, STA 3, and STA 5 to wake up their Wi-Fi interface to make Wi- The Fi interface is working.
在实现方式三的第二种情况下,AP可以通过组播方式发送第一唤醒消息,在这种情况下,AP向设备组x发送的第一唤醒消息中携带的第四位图信息则可以包括设备组x中的每个STA对应的比特位,AP向设备组y发送的第一唤醒消息中携带的第四位图信息则可以包括设备组y中的每个STA对应的比特位。以设备组x为例,假设AP 301要唤醒设备组x终端STA 1、STA 3,那么,如图27或图28所示,AP可以向设备组x中的STA发送携带有第四位
图信息“101”的第一唤醒消息。由于AP不需要唤醒设备组y和设备组z中的STA,因此AP不需要向设备组y和设备组z中的STA发送携带有第四位图信息“101”的第一唤醒消息。此时,第一标识信息则可以用于标识STA 1和STA 3,该第一唤醒消息则可以用于指示STA 1和STA 3唤醒其Wi-Fi接口,使其Wi-Fi接口处于工作状态。In the second case of the implementation mode 3, the AP may send the first wake-up message in the multicast mode. In this case, the fourth bitmap information carried in the first wake-up message sent by the AP to the device group x may be The fourth bitmap information carried in the first wake-up message sent by the AP to the device group y may include the bit corresponding to each STA in the device group y, including the bit corresponding to each STA in the device group x. Taking the device group x as an example, if the AP 301 is to wake up the device group x terminals STA 1 and STA 3, then, as shown in FIG. 27 or FIG. 28, the AP may send the fourth bit to the STA in the device group x.
The first wake-up message of the figure information "101". Since the AP does not need to wake up the STAs in the device group y and the device group z, the AP does not need to send the first wake-up message carrying the fourth bitmap information "101" to the STAs in the device group y and the device group z. At this time, the first identification information may be used to identify the STA 1 and the STA 3, and the first wake-up message may be used to instruct the STA 1 and the STA 3 to wake up their Wi-Fi interface and make the Wi-Fi interface in an active state.
在第二种应用场景的实现方式三中,图20中的S2007可以替换为S407c。在执行S407c后,如果接收到第二唤醒消息的STA确定第二唤醒消息中携带的第二标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识,则可以继续执行S2008;如果接收到第二唤醒消息的STA确定第二唤醒消息中携带的第二标识信息中不包括该STA的设备标识或者该STA的WUR接口的接口标识,则可以继续执行S2009。In the third implementation manner of the second application scenario, S2007 in FIG. 20 may be replaced with S407c. After performing S407c, if the STA that receives the second wakeup message determines that the second identifier information carried in the second wakeup message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA, the S2008 may continue to be performed; The STA that receives the second wake-up message determines that the second identifier information carried in the second wake-up message does not include the device identifier of the STA or the interface identifier of the WUR interface of the STA, and may continue to perform S2009.
示例性的,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,如图25或图25所示,由于上述第四位图信息为“1010100”,因此AP 301可以向STA 1、STA 3和STA 5发送第二唤醒消息。当AP采用单播方式分别向STA 1、STA 3和STA 5发送第二唤醒消息时,AP可以向STA 1发送如图25所示的携带有MAC-1或者AID-1或者WUR-1的第二唤醒消息,可以向STA 3发送如图25所示的携带有MAC-3或者AID-3或者WUR-3的第二唤醒消息,可以向STA 5发送如图25所示的携带有MAC-5或者AID-5或者WUR-5的第二唤醒消息。当AP采用广播方式发送第二唤醒消息时,如图25所示,该第二唤醒消息中可以携带有MAC-1、MAC-3和MAC-5,或者该第二唤醒消息中可以携带有AID-1、AID-3和AID-5,或者该第二唤醒消息中可以携带有WUR-1、WUR-3和WUR-5。Exemplarily, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs in its coverage, as shown in FIG. 25 or FIG. 25, since the fourth bitmap information is “1010100”, the AP 301 can send a second wakeup message to STA 1, STA 3, and STA 5. When the AP sends the second wake-up message to the STA 1, the STA 3, and the STA 5 in a unicast manner, the AP may send the STA 1 carrying the MAC-1 or AID-1 or WUR-1 as shown in FIG. The second wake-up message may send a second wake-up message carrying MAC-3 or AID-3 or WUR-3 as shown in FIG. 25 to the STA 3, and may send the MAC-5 carried to the STA 5 as shown in FIG. 25. Or the second wake-up message of AID-5 or WUR-5. When the AP sends the second wakeup message in the broadcast mode, as shown in FIG. 25, the second wakeup message may carry the MAC-1, the MAC-3, and the MAC-5, or the second wakeup message may carry the AID. -1, AID-3 and AID-5, or the second wakeup message may carry WUR-1, WUR-3 and WUR-5.
示例性的,基于如图3所示的AP 301唤醒其覆盖范围内的一个或多个STA的场景,如图27或图28所示,由于上述第四位图信息为“101”,因此AP 301可以向STA 1和STA 3发送第二唤醒消息。AP可以采用单播方式或广播方式向STA 1和STA 3发送第二唤醒消息。当AP采用单播方式分别向STA 1和STA 3发送第二唤醒消息时,AP可以向STA 1发送如图27所示的携带有MAC-1或者AID-1或者WUR-1的第二唤醒消息,可以向STA 3发送如图27所示的携带有MAC-3或者AID-3或者WUR-3的第二唤醒消息。当AP采用广播方式发送第二唤醒消息时,如图28所示,该第二唤醒消息中可以携带有MAC-1和MAC-3,或者该第二唤醒消息中可以携带有AID-1和AID-3,或者该第二唤醒消息中可以携带有WUR-1和WUR-3。例如,基于上述实例,如图25-图28中任一附图所示,以STA 1为例,由于STA 1接收到的第二唤醒消息中携带有MAC-1/AID-1/WUR-1,因此STA 1可以唤醒STA 1的Wi-Fi接口(即将STA 1的Wi-Fi接口由休眠状态切换至工作状态),继续执行S2008。Exemplarily, based on the scenario in which the AP 301 as shown in FIG. 3 wakes up one or more STAs in its coverage, as shown in FIG. 27 or FIG. 28, since the fourth bitmap information is “101”, the AP 301 can send a second wake-up message to STA 1 and STA 3. The AP may send a second wake-up message to STA 1 and STA 3 in a unicast manner or a broadcast manner. When the AP sends the second wakeup message to STA 1 and STA 3 in unicast mode, the AP may send the second wakeup message carrying MAC-1 or AID-1 or WUR-1 as shown in FIG. A second wake-up message carrying MAC-3 or AID-3 or WUR-3 as shown in FIG. 27 may be transmitted to STA 3. When the AP sends the second wake-up message in the broadcast mode, as shown in FIG. 28, the second wake-up message may carry the MAC-1 and the MAC-3, or the second wake-up message may carry the AID-1 and the AID. -3, or the second wakeup message may carry WUR-1 and WUR-3. For example, based on the above example, as shown in any of the figures in FIG. 25 to FIG. 28, taking STA 1 as an example, the second wake-up message received by STA 1 carries MAC-1/AID-1/WUR-1. Therefore, STA 1 can wake up the STA 1 Wi-Fi interface (ie, switch the STA 1 Wi-Fi interface from the sleep state to the active state), and continue to execute S2008.
在第二种应用场景的实现方式四中,AP可以通过在第一唤醒消息中携带“AP要唤醒的多个STA的设备标识”或者“AP要唤醒的多个STA的WUR接口的接口标识”,在第二唤醒消息中携带“AP要唤醒的一个STA的设备标识或者“AP要唤醒的一个STA的WUR接口的接口标识”,来唤醒一个或多个
STA。In the fourth implementation manner of the second application scenario, the AP may carry, in the first wake-up message, the “device identifier of multiple STAs to be awake by the AP” or the interface identifier of the WUR interface of multiple STAs that the AP is to wake up. In the second wake-up message, the device identifier of one STA that the AP wants to wake up or the interface identifier of the WUR interface of an STA that the AP wants to wake up is used to wake up one or more
STA.
在实现方式四的一种情况下,基于如图3所示的场景,假设AP 301要唤醒STA 1、STA 3和STA 5,如图29或图30所示,AP 301可以采用广播方式向包括STA 1、STA 3和STA 5在内的多个STA(包括STA 1-STA 7)发送携带有“MAC-1、MAC-3和MAC-5”或者“AID-1、AID-3和AID-5”或者“WUR-1、WUR-3和WUR-5”的第一唤醒消息;STA 1、STA 3和STA 5在接收到该第一唤醒消息后,则可以确定该第一唤醒消息中携带的第一标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识。而后,与图16或图17不同的是,STA 1、STA 3和STA 5可以唤醒其Wi-Fi接口,使其Wi-Fi接口处于工作状态(on)。STA 2、STA 4、STA 6和STA 7在接收到该第一唤醒消息后,则可以确定该第一唤醒消息中携带的第一标识信息中不包括该STA的设备标识或者该STA的WUR接口的接口标识。In a case of implementation manner 4, based on the scenario shown in FIG. 3, it is assumed that the AP 301 is to wake up STA 1, STA 3, and STA 5. As shown in FIG. 29 or FIG. 30, the AP 301 may adopt a broadcast manner to include Multiple STAs (including STA 1-STA 7) including STA 1, STA 3, and STA 5 carry "MAC-1, MAC-3, and MAC-5" or "AID-1, AID-3, and AID- The first wake-up message of 5" or "WUR-1, WUR-3, and WUR-5"; after receiving the first wake-up message, STA 1, STA 3, and STA 5 may determine that the first wake-up message is carried. The first identifier information includes the device identifier of the STA or the interface identifier of the WUR interface of the STA. Then, unlike FIG. 16 or FIG. 17, STA 1, STA 3, and STA 5 can wake up their Wi-Fi interface and put their Wi-Fi interface into operation (on). After receiving the first wake-up message, the STA 2, the STA 4, the STA 6 and the STA 7 may determine that the first identifier information carried in the first wake-up message does not include the device identifier of the STA or the WUR interface of the STA. Interface identifier.
在实现方式四的另一种情况下,AP可以采用组播方式向包括AP要唤醒的STA所在设备组内的所有STA发送携带有AP要唤醒的STA的设备标识或者其WUR接口的接口标识的第一唤醒消息。基于如图3所示的场景,假设AP 301要唤醒STA 1、STA 3和STA 5,如图31或图32所示,AP 301可以向STA 1和STA 3所在设备组x内的所有STA(STA 1-STA-3)发送携带有“MAC-1和MAC-3”或者“AID-1和AID-3”或者“WUR-1和WUR-3”的第一唤醒消息,向STA 5所在设备组y内的所有STA(STA 4-STA-5)发送携带有“MAC-5”或者“AID-5”或者“WUR-5”的第一唤醒消息。与图18或图19不同的是,STA 1、STA 3和STA 5在接收到第一唤醒消息,确定该第一唤醒消息中携带的第一标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识后,则可以唤醒其Wi-Fi接口,使其Wi-Fi接口处于工作状态(on)。In another case of the implementation mode 4, the AP may use the multicast mode to send the device identifier of the STA that the AP is to wake up or the interface identifier of the WUR interface to all the STAs in the device group of the STA that the AP is to wake up. First wake up message. Based on the scenario shown in FIG. 3, assuming that the AP 301 is to wake up STA 1, STA 3, and STA 5, as shown in FIG. 31 or FIG. 32, the AP 301 can go to all STAs in the device group x where STA 1 and STA 3 are located ( STA 1-STA-3) sends a first wake-up message carrying "MAC-1 and MAC-3" or "AID-1 and AID-3" or "WUR-1 and WUR-3" to the device where STA 5 is located All STAs (STA 4-STA-5) within group y send a first wake-up message carrying "MAC-5" or "AID-5" or "WUR-5". Different from FIG. 18 or FIG. 19, the STA 1, the STA 3, and the STA 5 receive the first wake-up message, and determine that the first identifier information carried in the first wake-up message includes the device identifier of the STA or the STA. After the interface of the WUR interface is identified, you can wake up its Wi-Fi interface and make its Wi-Fi interface working (on).
在实现方式四的一种情况下,如图29或图31所示,AP 301在发送上述第一唤醒消息后,可以采用多播方式向STA 1、STA 3和STA 5发送携带有“MAC-1、MAC-3和MAC-5”或者“AID-1、AID-3和AID-5”或者“WUR-1、WUR-3和WUR-5”的第二唤醒消息;与图29或图31不同的是,STA 1、STA 3和STA 5在接收到该第二唤醒消息,并确定该第二唤醒消息中携带的第二标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识后,可以保持Wi-Fi接口处于工作状态(on)。In a case of implementation manner 4, as shown in FIG. 29 or FIG. 31, after transmitting the first wake-up message, the AP 301 may send the bearer to the STA 1, the STA 3, and the STA 5 in a multicast manner. 1. MAC-3 and MAC-5" or "AID-1, AID-3 and AID-5" or "WUR-1, WUR-3 and WUR-5" second wake-up messages; and Figure 29 or Figure 31 The STA 1 , the STA 3 , and the STA 5 receive the second wake-up message, and determine that the second identifier information carried in the second wake-up message includes the device identifier of the STA or the interface of the WUR interface of the STA. After the identification, the Wi-Fi interface can be kept working (on).
在实现方式四的另一种情况下,如图30或图32所示,AP 301在发送上述第一唤醒消息后,可以采用单播方式向STA 1发送携带有“MAC-1或者AID-1或者WUR-1”的第二唤醒消息;STA 1在接收到该第二唤醒消息后,则可以确定该第二唤醒消息中携带的第二标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识;而后,STA 1则可以保持其Wi-Fi接口处于工作状态(on)。AP 301在发送上述第一唤醒消息后,可以采用单播方式向STA 3发送携带有“MAC-3或者AID-3或者WUR-3”的第二唤醒消息;STA 3在接收到该第二唤醒消息后,则可以确定该第二唤醒消息中携带的第二标识信息中包括该STA的设备标识或者该STA的WUR接口的接口标识;而后,
STA 3则可以保持其Wi-Fi接口处于工作状态(on)。In another case of implementation manner 4, as shown in FIG. 30 or FIG. 32, the AP 301 may send the MAC-1 or AID-1 to the STA 1 in a unicast manner after transmitting the first wake-up message. Or the second wake-up message of the WUR-1"; after receiving the second wake-up message, the STA 1 may determine that the second identifier information carried in the second wake-up message includes the device identifier of the STA or the WUR of the STA The interface identifier of the interface; then, STA 1 can keep its Wi-Fi interface working (on). After transmitting the first wake-up message, the AP 301 may send a second wake-up message carrying “MAC-3 or AID-3 or WUR-3” to the STA 3 in a unicast manner; the STA 3 receives the second wake-up. After the message, the second identifier information carried in the second wake-up message includes the device identifier of the STA or the interface identifier of the WUR interface of the STA;
STA 3 can keep its Wi-Fi interface active (on).
其中,由于AP不会继续向STA 2、STA 4、STA 6和STA 7发送第二唤醒消息,那么,STA 2、STA 4、STA 6和STA 7则可以保持其Wi-Fi接口处于休眠状态。进一步的,在本发明实施例的第二种应用场景中,为了进一步减少STA功耗的不必要浪费,上述第一唤醒消息中还可以携带有第一指示信息,该第一指示信息用于指示接收到AP发送上述第二唤醒消息的时间。例如,该第一指示信息可以包含在如图5所示的WUR SIG 503中。在S2003之前,本发明实施例的方法还可以包括S2201,S2004可以替换为S2004a:Wherein, since the AP does not continue to send the second wakeup message to STA2, STA4, STA6, and STA 7, STA2, STA4, STA6, and STA7 can keep their Wi-Fi interface in a sleep state. Further, in the second application scenario of the embodiment of the present invention, in order to further reduce the unnecessary waste of the power consumption of the STA, the first wake-up message may further carry the first indication information, where the first indication information is used to indicate Receiving the time when the AP sends the second wakeup message. For example, the first indication information may be included in the WUR SIG 503 as shown in FIG. Prior to S2003, the method of the embodiment of the present invention may further include S2201, and S2004 may be replaced by S2004a:
S2201:接收到第一唤醒消息的STA保持该STA的Wi-Fi处于休眠状态。S2201: The STA that receives the first wake-up message keeps the STA's Wi-Fi in a sleep state.
S2004a:该STA在第一指示信息所指示的时间,将该STA的Wi-Fi接口由休眠状态切换至工作状态。S2004a: The STA switches the STA's Wi-Fi interface from the sleep state to the working state at the time indicated by the first indication information.
本发明实施例中,STA在接收到第一唤醒消息时,可以先保持该STA的Wi-Fi处于休眠状态,然后在第一指示信息所指示的时间,再将该STA的Wi-Fi接口由休眠状态切换至工作状态,以接收AP发送的第二唤醒消息。这样,可以避免功耗的不必要的浪费。In the embodiment of the present invention, when receiving the first wake-up message, the STA may first keep the Wi-Fi of the STA in a dormant state, and then, at the time indicated by the first indication information, the STA's Wi-Fi interface is The sleep state is switched to the working state to receive the second wake-up message sent by the AP. In this way, unnecessary waste of power consumption can be avoided.
进一步的,在本发明实施例的第二种应用场景中,上述第一唤醒消息中还可以携带有第二指示信息,该第二指示信息用于通知STA:AP使用第一唤醒消息和第二唤醒消息指示STA唤醒该STA的Wi-Fi接口。在S2003之前,本发明实施例的方法还可以包括S702。其中,第二指示信息的详细描述以及第一唤醒消息中携带该第二指示信息的技术效果可以参考第一种应用场景中的相关描述,本发明实施例这里不再赘述。Further, in the second application scenario of the embodiment of the present invention, the first wake-up message may further include second indication information, where the second indication information is used to notify the STA that the AP uses the first wake-up message and the second The wakeup message instructs the STA to wake up the STA's Wi-Fi interface. Prior to S2003, the method of the embodiment of the present invention may further include S702. For a detailed description of the second indication information and the technical effect of the second indication information in the first awake message, reference may be made to the related description in the first application scenario, and details are not described herein again.
进一步的,在本发明实施例的第二种应用场景中,为了防止恶意设备伪装成AP,模仿AP向一个或多个STA发送上述第一唤醒消息和上述第二唤醒消息,造成增加被唤醒设备STA的功耗的不必要的浪费,AP和STA可以动态协商AP下一次唤醒STA的Wi-Fi接口时所使用的第一标识信息和第二标识信息。在S2008之后,本发明实施例的方法还可以包括S703-S705。Further, in the second application scenario of the embodiment of the present invention, in order to prevent the malicious device from masquerading as an AP, the simulated AP sends the first wake-up message and the second wake-up message to one or more STAs, thereby increasing the wake-up device. The unnecessary waste of the power consumption of the STA, the AP and the STA can dynamically negotiate the first identification information and the second identification information used by the AP to wake up the Wi-Fi interface of the STA next time. After S2008, the method of the embodiment of the present invention may further include S703-S705.
其中,AP在唤醒一个STA的Wi-Fi接口后,可以与该STA进行Wi-Fi数据交互,协商下一次唤醒该STA的Wi-Fi接口时所使用的第一标识信息和第二标识信息,即AP每次唤醒该STA的Wi-Fi接口时所使用的第一标识信息和第二标识信息可以是不同的。这样,便可以增加恶意设备模仿AP使用第一唤醒消息和第二唤醒消息恶意唤醒大量STA的难度,提高STA被AP唤醒过程的安全性,避免STA被恶意设备恶意地唤醒而消耗不必要的功耗。After the AP wakes up the Wi-Fi interface of the STA, the AP can perform Wi-Fi data exchange with the STA, and negotiate the first identifier information and the second identifier information used when the Wi-Fi interface of the STA is awake for the next time. That is, the first identification information and the second identification information used by the AP each time the wake-up of the STA's Wi-Fi interface may be different. In this way, it is possible to increase the difficulty that the malicious device mimics the AP to use the first wake-up message and the second wake-up message to maliciously wake up a large number of STAs, improve the security of the STA being awakened by the AP, and prevent the STA from being maliciously awakened by the malicious device to consume unnecessary work. Consumption.
上述主要从AP(即第一无线设备)和STA(即第二无线设备)交互的角度对本发明实施例提供的方案进行了介绍。可以理解的是,上述无线设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的AP(即第一无线设备)和STA(即第二无线设备)及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束
条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The solution provided by the embodiment of the present invention is mainly introduced from the perspective of the interaction between the AP (ie, the first wireless device) and the STA (ie, the second wireless device). It can be understood that, in order to implement the above functions, the above wireless device includes a hardware structure and/or a software module corresponding to each function. Those skilled in the art will readily appreciate that the present invention can be implemented in hardware or by combining the AP (ie, the first wireless device) and the STA (ie, the second wireless device) and algorithm steps of the various examples described in the embodiments disclosed herein. A combination of hardware and computer software is implemented. Whether a function is executed by hardware or computer software to drive hardware depends on the specific application and design constraints of the technical solution.
condition. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
图33示出了上述实施例中所涉及的无线设备3300,该无线设备3300为第一无线设备(如AP),该无线设备3300可以包括:处理器3301、通信接口3302(如Wi-Fi接口)和存储器3303。FIG. 33 shows the wireless device 3300 involved in the foregoing embodiment, the wireless device 3300 is a first wireless device (such as an AP), and the wireless device 3300 may include: a processor 3301, a communication interface 3302 (such as a Wi-Fi interface) And memory 3303.
其中,处理器3301、存储器3303和通信接口3302通过总线3304相互连接。存储器3303用于存储计算机程序代码,该计算机程序代码序包括指令,当无线设备3300的处理器3301执行指令时,该无线设备3300执行如图4、图8、图15或图20中任一附图中的相关方法步骤,实现上述实施例中的唤醒无线设备的方法。The processor 3301, the memory 3303, and the communication interface 3302 are connected to each other through a bus 3304. The memory 3303 is configured to store computer program code, the computer program code sequence including instructions, when the processor 3301 of the wireless device 3300 executes the instruction, the wireless device 3300 performs any of the following FIG. 4, FIG. 8, FIG. 15, or FIG. The method steps in the figure implement the method for waking up the wireless device in the above embodiment.
具体的,在本发明实施例的第一种应用场景中,上述处理器3301用于生成第一唤醒消息和第二唤醒消息,支持上述实施例中的S704、S705,和/或用于本文所描述的技术的其它过程。通信接口3302用于支持上述实施例中的S2001、S2005,和/或用于本文所描述的技术的其它过程。Specifically, in the first application scenario of the embodiment of the present invention, the processor 3301 is configured to generate a first wakeup message and a second wakeup message, support S704, S705 in the foregoing embodiment, and/or be used in this document. Other processes of the described technology. Communication interface 3302 is used to support S2001, S2005, and/or other processes for the techniques described herein in the above-described embodiments.
在本发明实施例的第二种应用场景中,上述处理器3301用于生成第一唤醒消息和第二唤醒消息,支持上述实施例中的S704、S705,和/或用于本文所描述的技术的其它过程。通信接口3302用于支持上述实施例中的S2001、S2005,和/或用于本文所描述的技术的其它过程。In the second application scenario of the embodiment of the present invention, the processor 3301 is configured to generate a first wakeup message and a second wakeup message, support S704, S705 in the foregoing embodiment, and/or be used in the techniques described herein. Other processes. Communication interface 3302 is used to support S2001, S2005, and/or other processes for the techniques described herein in the above-described embodiments.
上述处理器可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。处理器3301也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。The processor may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and a field programmable gate array. (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. The processor 3301 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
其中,总线3304可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。上述总线3304可以分为地址总线、数据总线、控制总线等。为便于表示,图33中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 3304 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The above bus 3304 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 33, but it does not mean that there is only one bus or one type of bus.
示例性的,无线设备3300可以包括一个或多个处理器3301,即无线设备3300可以包括多核处理器。Illustratively, the wireless device 3300 can include one or more processors 3301, ie, the wireless device 3300 can include a multi-core processor.
本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序代码,当无线设备3300的处理器3301执行该计算机程序代码时,该无线设备3300执行如图4、图8或图15中任一附图所示的唤醒无线设备的方法。The embodiment of the present invention further provides a computer storage medium, where the computer program code is stored. When the processor 3301 of the wireless device 3300 executes the computer program code, the wireless device 3300 executes as shown in FIG. 4 and FIG. 8 or A method of waking up a wireless device as shown in any of the Figures.
其中,本发明实施例提供的无线设备3300中各个模块的详细描述以及各个模块或单元执行如图4、图8、图15或图20中任一附图中的相关方法步骤后所带来的技术效果可以参考本发明方法实施例中的相关描述,此处不再赘述。
The detailed description of each module in the wireless device 3300 provided by the embodiment of the present invention and the related method steps performed in each of the modules shown in FIG. 4, FIG. 8, FIG. 15 or FIG. For technical effects, reference may be made to related descriptions in the method embodiments of the present invention, and details are not described herein again.
图34示出了上述实施例中所涉及的无线设备3400,该无线设备3400为第一无线设备(如AP),该无线设备3400可以包括:处理器3301、第一通信接口3402(如Wi-Fi接口)、第二通信接口(如WUR接口)3403和存储器3404。FIG. 34 shows the wireless device 3400 involved in the foregoing embodiment, the wireless device 3400 is a first wireless device (such as an AP), and the wireless device 3400 may include: a processor 3301, a first communication interface 3402 (such as Wi- Fi interface), second communication interface (such as WUR interface) 3403, and memory 3404.
其中,处理器3401、第一通信接口3402、第二通信接口3403和存储器3404通过总线3405相互连接。存储器3404用于存储计算机程序代码,该计算机程序代码序包括指令,当无线设备3400的处理器3401执行指令时,该无线设备3400执行如图4、图8、图15或图20中任一附图中的相关方法步骤,实现上述实施例中的唤醒无线设备的方法。The processor 3401, the first communication interface 3402, the second communication interface 3403, and the memory 3404 are connected to each other through a bus 3405. The memory 3404 is configured to store computer program code, the computer program code sequence including instructions, when the processor 3401 of the wireless device 3400 executes the instruction, the wireless device 3400 performs any of the following FIG. 4, FIG. 8, FIG. 15, or FIG. The method steps in the figure implement the method for waking up the wireless device in the above embodiment.
具体的,在本发明实施例的第一种应用场景中,处理器3401用于支持上述实施例中的S704、S705,和/或用于本文所描述的技术的其它过程。第一通信接口3302用于支持上述实施例中的S401,和/或用于本文所描述的技术的其它过程。第二通信接口3403用于支持上述实施例中的S405,和/或用于本文所描述的技术的其它过程。Specifically, in the first application scenario of the embodiment of the present invention, the processor 3401 is configured to support S704, S705 in the foregoing embodiment, and/or other processes for the techniques described herein. The first communication interface 3302 is for supporting S401 in the above embodiments, and/or other processes for the techniques described herein. The second communication interface 3403 is for supporting S405 in the above embodiments, and/or other processes for the techniques described herein.
在本发明实施例的第二种应用场景中,处理器3401用于支持上述实施例中的S704、S705,和/或用于本文所描述的技术的其它过程。第一通信接口3302用于支持上述实施例中的S2001,和/或用于本文所描述的技术的其它过程。第二通信接口3403用于支持上述实施例中的S2005,和/或用于本文所描述的技术的其它过程。In a second application scenario of the embodiment of the present invention, the processor 3401 is configured to support S704, S705, and/or other processes for the techniques described herein in the above embodiments. The first communication interface 3302 is for supporting S2001 in the above embodiments, and/or other processes for the techniques described herein. The second communication interface 3403 is for supporting S2005 in the above embodiments, and/or other processes for the techniques described herein.
上述处理器可以是CPU,通用处理器,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。处理器3401也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。The above processor may be a CPU, a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor 3401 may also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
其中,总线3405可以是PCI总线或EISA总线等。上述总线3405可以分为地址总线、数据总线、控制总线等。为便于表示,图34中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 3405 can be a PCI bus or an EISA bus. The bus 3405 described above can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 34, but it does not mean that there is only one bus or one type of bus.
示例性的,无线设备3400可以包括一个或多个处理器3401,即无线设备3400可以包括多核处理器。Illustratively, the wireless device 3400 can include one or more processors 3401, ie, the wireless device 3400 can include a multi-core processor.
本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序代码,当无线设备3400的处理器3401执行该计算机程序代码时,该无线设备3400执行如图4、图8、图15或图20中任一附图所示的唤醒无线设备的方法。The embodiment of the present invention further provides a computer storage medium, where the computer program code is stored, and when the processor 3401 of the wireless device 3400 executes the computer program code, the wireless device 3400 executes as shown in FIG. 4 and FIG. A method of waking up a wireless device as shown in any of Figures 15 or 20.
图35示出了上述实施例中所涉及的无线设备3500,该无线设备3500为第二无线设备(如STA),该无线设备3500可以包括:处理器3301、第一通信接口3502(如Wi-Fi接口)、第二通信接口(如WUR接口)3503和存储器3504。FIG. 35 shows the wireless device 3500 involved in the foregoing embodiment, the wireless device 3500 is a second wireless device (such as a STA), and the wireless device 3500 may include: a processor 3301, a first communication interface 3502 (such as Wi- Fi interface), second communication interface (such as WUR interface) 3503, and memory 3504.
其中,处理器3501、第一通信接口3502、第二通信接口3503和存储器3504通过总线3505相互连接。存储器3504用于存储计算机程序代码,该计算机程序代码序包括指令,当无线设备3500的处理器3501执行指令时,该
无线设备3500执行如图4、图8、图15或图20中任一附图中的相关方法步骤,实现上述实施例中的唤醒无线设备的方法。The processor 3501, the first communication interface 3502, the second communication interface 3503, and the memory 3504 are connected to each other through a bus 3505. The memory 3504 is configured to store computer program code, the computer program code sequence including instructions, when the processor 3501 of the wireless device 3500 executes the instruction,
The wireless device 3500 performs the method steps of any of the embodiments of FIG. 4, FIG. 8, FIG. 15, or FIG. 20 to implement the method for waking up the wireless device in the above embodiments.
具体的,在本发明实施例的第一种应用场景中,处理器3501用于支持上述实施例中的S403、S403a、S403b、S403c、S404、S404a、S407、S407a、S407b、S407c、S408-S410、S701、S702、S705,和/或用于本文所描述的技术的其它过程。第一通信接口3302用于支持上述实施例中的S402、S406,和/或用于本文所描述的技术的其它过程。第二通信接口3503用于支持上述实施例中的S703,和/或用于本文所描述的技术的其它过程。Specifically, in the first application scenario of the embodiment of the present invention, the processor 3501 is configured to support S403, S403a, S403b, S403c, S404, S404a, S407, S407a, S407b, S407c, S408-S410 in the foregoing embodiment. , S701, S702, S705, and/or other processes for the techniques described herein. The first communication interface 3302 is for supporting S402, S406, and/or other processes for the techniques described herein in the above-described embodiments. The second communication interface 3503 is for supporting S703 in the above embodiments, and/or other processes for the techniques described herein.
在本发明实施例的第二种应用场景中,处理器3501用于支持上述实施例中的S2003、S403a、S403b、S403c、S2004、S2004a、S2007、S407a、S407b、S407c、S2008-S2009、S2201、S702,和/或用于本文所描述的技术的其它过程。第一通信接口3302用于支持上述实施例中的S2002,和/或用于本文所描述的技术的其它过程。第二通信接口3503用于支持上述实施例中的S703、S2006,和/或用于本文所描述的技术的其它过程。In the second application scenario of the embodiment of the present invention, the processor 3501 is configured to support S2003, S403a, S403b, S403c, S2004, S2004a, S2007, S407a, S407b, S407c, S2008-S2009, S2201 in the foregoing embodiment. S702, and/or other processes for the techniques described herein. The first communication interface 3302 is for supporting S2002 in the above embodiments, and/or other processes for the techniques described herein. The second communication interface 3503 is for supporting S703, S2006, and/or other processes for the techniques described herein in the above embodiments.
上述处理器可以是CPU,通用处理器,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。处理器3501也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。The above processor may be a CPU, a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor 3501 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
其中,总线3505可以是PCI总线或EISA总线等。上述总线3505可以分为地址总线、数据总线、控制总线等。为便于表示,图35中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 3505 can be a PCI bus or an EISA bus. The above bus 3505 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 35, but it does not mean that there is only one bus or one type of bus.
示例性的,无线设备3500可以包括一个或多个处理器3501,即无线设备3500可以包括多核处理器。Illustratively, the wireless device 3500 can include one or more processors 3501, ie, the wireless device 3500 can include a multi-core processor.
本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序代码,当无线设备3500的处理器3501执行该计算机程序代码时,该无线设备3500执行如图4、图8、图15或图20中任一附图所示的唤醒无线设备的方法。The embodiment of the present invention further provides a computer storage medium, where the computer program code is stored, and when the processor 3501 of the wireless device 3500 executes the computer program code, the wireless device 3500 executes as shown in FIG. 4 and FIG. A method of waking up a wireless device as shown in any of Figures 15 or 20.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is illustrated. In practical applications, the above functions can be allocated according to needs. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合
或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling through some interface, device or unit.
Or a communication connection, which may be in electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a flash memory, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. . Therefore, the scope of protection of the present application should be determined by the scope of the claims.
Claims (92)
- 一种唤醒无线设备的方法,其特征在于,包括:A method for waking up a wireless device, comprising:第一无线设备以广播方式或组播方式向多个设备的第一通信接口发送第一唤醒消息,所述第一唤醒消息中携带有第一标识信息,所述第一标识信息用于标识所述多个设备中包括所述第二无线设备在内的至少一个设备,所述第一唤醒消息用于指示所述第一标识信息所标识的设备的第一通信接口需处于工作状态以接收所述第一无线设备后续发送的第二唤醒消息;The first wireless device sends a first wake-up message to the first communication interface of the multiple devices in a broadcast mode or a multicast mode, where the first wake-up message carries the first identifier information, where the first identifier information is used to identify the At least one device of the plurality of devices, including the second wireless device, the first wake-up message is used to indicate that the first communication interface of the device identified by the first identification information needs to be in an active state to receive a second wake-up message sent by the first wireless device;所述第一无线设备在发送所述第一唤醒消息后,向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第一通信接口发送所述第二唤醒消息,所述第二唤醒消息中携带有第二标识信息,所述第二标识信息用于标识所述第一无线设备要唤醒的设备,所述第一无线设备要唤醒的设备包括所述第二无线设备,所述第二唤醒消息用于指示所述第二标识信息所标识的设备唤醒该设备的第二通信接口。After transmitting the first wake-up message, the first wireless device sends the second wake-up message to a first communication interface of at least one device including the second wireless device in the at least one device, where The second waking message carries the second identifier information, where the second identifier information is used to identify the device that the first wireless device is to wake up, and the device that the first wireless device is to wake up includes the second wireless device The second wake-up message is used to indicate that the device identified by the second identifier information wakes up the second communication interface of the device.
- 根据权利要求1所述的方法,其特征在于,所述第一标识信息包括第一位图信息,所述第一位图信息中包括至少两个比特位,所述第一位图信息中的至少两个比特位与所述多个设备中的至少两组设备中的每个设备组一一对应,所述至少两组设备中的每个设备组包括至少一个设备,所述第一标识信息用于标识所述第一位图信息中值为第一预设值的比特位所对应的设备组,所述第二无线设备为所述第一位图信息中值为第一预设值的比特位所对应的设备组中的一组设备中的一个设备;The method according to claim 1, wherein the first identification information comprises first bitmap information, wherein the first bitmap information includes at least two bits, in the first bitmap information At least two bits are in one-to-one correspondence with each of the at least two of the plurality of devices, each of the at least two groups of devices comprising at least one device, the first identification information The device group corresponding to the bit in the first bitmap information that is the first preset value, where the second wireless device is the first preset value in the first bitmap information. One of a group of devices in a device group corresponding to the bit;所述第二标识信息包括第二位图信息,所述第二位图信息中包括至少两个比特位,所述第二位图信息中的至少两个比特位与所述第一位图信息中值为所述第一预设值的比特位所对应的设备组中的设备一一对应,所述第二标识信息用于标识所述第二位图信息中值为第二预设值的比特位所对应的设备。The second identification information includes second bitmap information, the second bitmap information includes at least two bits, and at least two bits of the second bitmap information and the first bitmap information The median value is a one-to-one correspondence between the devices in the device group corresponding to the bit of the first preset value, and the second identifier information is used to identify that the median value of the second bitmap information is the second preset value. The device corresponding to the bit.
- 根据权利要求1所述的方法,其特征在于,所述第一标识信息包括所述第二无线设备所在设备组的组地址信息;The method according to claim 1, wherein the first identification information comprises group address information of a device group in which the second wireless device is located;所述第二标识信息包括第三位图信息,所述第三位图信息中包括至少两个比特位,所述第三位图信息中的至少两个比特位与所述第二无线设备所在设备组中的设备一一对应,所述第二标识信息用于标识所述第三位图信息中值为第二预设值的比特位所对应的设备。The second identifier information includes third bitmap information, where the third bitmap information includes at least two bits, and at least two bits of the third bitmap information are located with the second wireless device. The device in the device group has a one-to-one correspondence, and the second identifier information is used to identify a device corresponding to the second preset value in the third bitmap information.
- 根据权利要求1所述的方法,其特征在于,所述第一标识信息包括第四位图信息,所述第四位图信息中包括至少两个比特位,所述第四位图信息中的至少两个比特位与所述多个设备一一对应,所述第一标识信息用于标识所述第四位图信息中值为第一预设值的比特位所对应的设备。The method according to claim 1, wherein the first identification information comprises fourth bitmap information, wherein the fourth bitmap information includes at least two bits, wherein the fourth bitmap information The at least two bits are in one-to-one correspondence with the plurality of devices, and the first identifier information is used to identify a device corresponding to a bit of the fourth bitmap information that is a first preset value.
- 根据权利要求1所述的方法,其特征在于,所述第一标识信息包括所述多个设备中包括所述第二无线设备在内的至少一个设备的第一通信接口的接口标识,或者,包括所述多个设备中包括所述第二无线设备在内的至少一个设备的设备标识。The method according to claim 1, wherein the first identification information comprises an interface identifier of a first communication interface of at least one of the plurality of devices including the second wireless device, or A device identifier of at least one of the plurality of devices including the second wireless device.
- 根据权利要求1、4或5中任一项所述的方法,其特征在于,所述第二 标识信息包括所述第一无线设备要唤醒的设备的设备标识或者包括所述第一无线设备要唤醒的设备的第一通信接口的接口标识。Method according to any one of claims 1, 4 or 5, wherein said second The identification information includes a device identifier of the device that the first wireless device is to wake up or an interface identifier of the first communication interface of the device that the first wireless device is to wake up.
- 根据权利要1-6中任一项所述的方法,其特征在于,所述第一唤醒消息还携带有第一指示信息,所述第一指示信息用于指示所述第一无线设备发送所述第二唤醒消息的时间。The method of any one of the preceding claims, wherein the first wake-up message further carries first indication information, where the first indication information is used to indicate that the first wireless device sends the The time at which the second wake-up message is described.
- 根据权利要求1-7中任一项所述的方法,其特征在于,所述第一唤醒消息还携带有第二指示信息,所述第二指示信息用于通知所述第二无线设备:所述第一无线设备使用所述第一唤醒消息和所述第二唤醒消息指示所述第二无线设备唤醒所述第二无线设备的第二通信接口。The method according to any one of claims 1 to 7, wherein the first wake-up message further carries second indication information, and the second indication information is used to notify the second wireless device: The first wireless device instructs the second wireless device to wake up the second communication interface of the second wireless device by using the first wakeup message and the second wakeup message.
- 根据权利要求1-8中任一项所述的方法,其特征在于,在所述第一无线设备在发送所述第一唤醒消息后,向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第一通信接口发送所述第二唤醒消息之后,所述方法还包括:The method according to any one of claims 1 to 8, wherein after the first wireless device transmits the first wake-up message, the second wireless device is included in the at least one device After the first communication interface of the at least one device sends the second wake-up message, the method further includes:所述第一无线设备接收所述第二无线设备通过所述第二无线设备的第二通信接口发送的唤醒响应消息,所述唤醒响应消息用于指示所述第二无线设备的第二通信接口处于工作状态;Receiving, by the first wireless device, a wakeup response message sent by the second wireless device by using a second communications interface of the second wireless device, where the wakeup response message is used to indicate a second communications interface of the second wireless device In working condition;所述第一无线设备与所述第二无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。The first wireless device negotiates, with the second wireless device, first identification information and second identification information that are used when the second communication interface of the second wireless device is awake.
- 根据权利要求1-9中任一项所述的方法,其特征在于,所述第一通信接口为唤醒无线电/接收机WUR接口,所述第二通信接口为无线保真Wi-Fi接口。The method of any of claims 1-9, wherein the first communication interface is a wake-up radio/receiver WUR interface and the second communication interface is a wireless fidelity Wi-Fi interface.
- 一种唤醒无线设备的方法,其特征在于,包括:A method for waking up a wireless device, comprising:第二无线设备通过所述第二无线设备的第一通信接口接收第一无线设备以组播方式或广播方式发送的第一唤醒消息,所述第一唤醒消息中携带有第一标识信息,所述第一标识信息用于标识接收所述第一唤醒消息的多个设备中的至少一个设备,所述第一唤醒消息用于指示所述第一标识信息所标识的设备的第一通信接口需处于工作状态以接收所述第一无线设备后续发送的第二唤醒消息;The second wireless device receives, by using the first communication interface of the second wireless device, a first wake-up message that is sent by the first wireless device in a multicast manner or a broadcast manner, where the first wake-up message carries the first identifier information, where The first identifier information is used to identify at least one of the multiple devices that receive the first wake-up message, where the first wake-up message is used to indicate that the first communication interface of the device identified by the first identifier information is required. Being in an active state to receive a second wake-up message sent by the first wireless device;若所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则保持所述第二无线设备的第一通信接口处于所述工作状态;If the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, the second wireless device keeps the first communication interface of the second wireless device The working state;所述第二无线设备通过所述第二无线设备的第一通信接口接收所述第一无线设备发送的第二唤醒消息,所述第二唤醒消息中携带有第二标识信息,所述第二标识信息用于标识接收所述第二唤醒消息的至少一个设备中所述第一无线设备要唤醒的设备,所述第二唤醒消息用于指示所述第二标识信息所标识的设备唤醒该设备的第二通信接口;The second wireless device receives the second wake-up message sent by the first wireless device by using the first communications interface of the second wireless device, where the second wake-up message carries the second identifier information, where the second The identifier information is used to identify the device that the first wireless device is to wake up in the at least one device that receives the second wake-up message, where the second wake-up message is used to indicate that the device identified by the second identifier information wakes up the device Second communication interface;若所述第二无线设备确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,所述第二无线设备则唤醒所述第二无线设备的第二通信接口。 And if the second wireless device determines that the second wireless device is one of the devices identified by the second identification information, the second wireless device wakes up the second communication interface of the second wireless device.
- 根据权利要求11所述的方法,其特征在于,所述第一标识信息包括第一位图信息,所述第一位图信息中包括至少两个比特位,所述第一位图信息中的至少两个比特位与所述多个设备中的至少两组设备中的每个设备组一一对应,所述至少两组设备中的每个设备组包括至少一个设备,所述第一标识信息用于标识所述第一位图信息中值为第一预设值的比特位所对应的设备组,所述第二无线设备为所述第一位图信息中值为第一预设值的比特位所对应的设备组中的一组设备中的一个设备;The method according to claim 11, wherein the first identification information comprises first bitmap information, wherein the first bitmap information includes at least two bits, in the first bitmap information At least two bits are in one-to-one correspondence with each of the at least two of the plurality of devices, each of the at least two groups of devices comprising at least one device, the first identification information The device group corresponding to the bit in the first bitmap information that is the first preset value, where the second wireless device is the first preset value in the first bitmap information. One of a group of devices in a device group corresponding to the bit;所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:Determining, by the second wireless device, that the second wireless device is one of the devices identified by the first identifier information,若所述第一位图信息中与所述第二无线设备所在组对应的比特位的值为所述第一预设值,所述第二无线设备则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备;If the value of the bit corresponding to the group in which the second wireless device is located in the first bitmap information is the first preset value, the second wireless device determines that the second wireless device is the One of the devices identified by the first identification information;所述第二标识信息包括第二位图信息,所述第二位图信息中包括至少两个比特位,所述第二位图信息中的至少两个比特位与所述第一位图信息中值为所述第一预设值的比特位所对应的设备组中的设备一一对应,所述第二标识信息用于标识所述第二位图信息中值为第二预设值的比特位所对应的设备;The second identification information includes second bitmap information, the second bitmap information includes at least two bits, and at least two bits of the second bitmap information and the first bitmap information The median value is a one-to-one correspondence between the devices in the device group corresponding to the bit of the first preset value, and the second identifier information is used to identify that the median value of the second bitmap information is the second preset value. The device corresponding to the bit;所述第二无线设备确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:Determining, by the second wireless device, that the second wireless device is one of the devices identified by the second identifier information,若所述第二位图信息中与所述第二无线设备对应的比特位的值为所述第二预设值,所述第二无线设备则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。If the value of the bit corresponding to the second wireless device in the second bitmap information is the second preset value, the second wireless device determines that the second wireless device is the second Identifies one of the devices identified by the information.
- 根据权利要求11所述的方法,其特征在于,所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:The method according to claim 11, wherein the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, and includes:若所述第一标识信息中包括所述第二无线设备所在设备组的组地址信息,所述第二无线设备则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备;If the first identifier information includes group address information of the device group where the second wireless device is located, the second wireless device determines that the second wireless device is in the device identified by the first identifier information. One device其中,所述第二标识信息包括第三位图信息,所述第三位图信息中包括至少两个比特位,所述第三位图信息中的至少两个比特位与所述第二无线设备所在设备组中的设备一一对应,所述第二标识信息用于标识所述第三位图信息中值为第二预设值的比特位所对应的设备;The second identifier information includes third bitmap information, the third bitmap information includes at least two bits, and at least two bits of the third bitmap information and the second wireless The devices in the device group of the device are in one-to-one correspondence, and the second identifier information is used to identify a device corresponding to the second preset value in the third bitmap information;所述第二无线设备确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:Determining, by the second wireless device, that the second wireless device is one of the devices identified by the second identifier information,若所述第三位图信息中与所述第二无线设备对应的比特位的值为所述第二预设值,所述第二无线设备则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。If the value of the bit corresponding to the second wireless device in the third bitmap information is the second preset value, the second wireless device determines that the second wireless device is the second Identifies one of the devices identified by the information.
- 根据权利要求11所述的方法,其特征在于,所述第一标识信息包括第四位图信息,所述第四位图信息中包括至少两个比特位,所述第四位图信息中的至少两个比特位与所述多个设备一一对应,所述第一标识信息用于标识所述第四位图信息中值为第一预设值的比特位所对应的设备; The method according to claim 11, wherein the first identification information comprises fourth bitmap information, wherein the fourth bitmap information includes at least two bits, wherein the fourth bitmap information The at least two bits are in one-to-one correspondence with the multiple devices, and the first identifier information is used to identify a device corresponding to a bit of the fourth bitmap information that is a first preset value;所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:Determining, by the second wireless device, that the second wireless device is one of the devices identified by the first identifier information,若所述第四位图信息中与所述第二无线设备对应的比特位的值为所述第一预设值,所述第二无线设备则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。If the value of the bit corresponding to the second wireless device in the fourth bitmap information is the first preset value, the second wireless device determines that the second wireless device is the first Identifies one of the devices identified by the information.
- 根据权利要求11所述的方法,其特征在于,所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:The method according to claim 11, wherein the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, and includes:若所述第一标识信息中包括所述第二无线设备的第一通信接口的接口标识,或者包括所述第二无线设备的设备标识,所述第二无线设备则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。If the first identifier information includes an interface identifier of the first communications interface of the second wireless device, or includes a device identifier of the second wireless device, the second wireless device determines the second wireless device One of the devices identified by the first identification information.
- 根据根据权利要求11、14或15中任一项所述的方法,其特征在于,所述第二无线设备确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:The method according to any one of claims 11, 14 or 15, wherein the second wireless device determines that the second wireless device is one of the devices identified by the second identification information ,include:若所述第二标识信息中包括所述第二无线设备的设备标识或者包括所述第二无线设备的第一通信接口的接口标识,所述第二无线设备则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。If the second identifier information includes the device identifier of the second wireless device or the interface identifier of the first communication interface of the second wireless device, the second wireless device determines that the second wireless device is One of the devices identified by the second identification information.
- 根据权利要求11-16中任一项所述的方法,其特征在于,所述第一唤醒消息还携带有第一指示信息,所述第一指示信息用于指示所述第一无线设备发送所述第二唤醒消息的时间;The method according to any one of claims 11 to 16, wherein the first wake-up message further carries first indication information, where the first indication information is used to indicate that the first wireless device sends the The time of the second wake-up message;在所述第二无线设备通过所述第二无线设备的第一通信接口接收第一无线设备发送的第一唤醒消息之后,所述若所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则控制所述第二无线设备的第一通信接口保持在所述工作状态之前,所述方法还包括:After the second wireless device receives the first wake-up message sent by the first wireless device by using the first communications interface of the second wireless device, the second wireless device determines that the second wireless device is One of the devices identified by the first identification information, the second wireless device controlling the first communication interface of the second wireless device to remain in the working state, the method further includes:所述第二无线设备将所述第二无线设备的第一通信接口由工作状态切换至休眠状态;The second wireless device switches the first communication interface of the second wireless device from an active state to a sleep state;所述若所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则保持所述第二无线设备的第一通信接口处于所述工作状态,包括:If the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, the second wireless device maintains the first communication of the second wireless device The interface is in the working state, including:若所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则在所述第一指示信息所指示的时间,将所述第二无线设备的第一通信接口由所述休眠状态切换至所述工作状态。If the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, the second wireless device, at the time indicated by the first indication information, The first communication interface of the second wireless device is switched from the sleep state to the active state.
- 根据权利要求11-17中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 11-17, wherein the method further comprises:所述第二无线设备确定所述第一唤醒消息还携带有第二指示信息,所述第二指示信息用于通知所述第二无线设备:所述第一无线设备使用所述第一唤醒消息和所述第二唤醒消息指示所述第二无线设备唤醒所述第二无线设备的第二通信接口。Determining, by the second wireless device, that the first wake-up message further carries second indication information, where the second indication information is used to notify the second wireless device: the first wireless device uses the first wake-up message And the second wake-up message instructing the second wireless device to wake up the second communication interface of the second wireless device.
- 根据权利要求18所述的方法,其特征在于,所述方法还包括: The method of claim 18, wherein the method further comprises:若所述第一唤醒消息未携带所述第二指示信息,所述第二无线设备则唤醒所述第二无线设备的第二通信接口。And if the first wakeup message does not carry the second indication information, the second wireless device wakes up the second communication interface of the second wireless device.
- 根据权利要求11-19中任一项所述的方法,其特征在于,在所述第二无线设备通过所述第二无线设备的第一通信接口接收第一无线设备以组播方式或广播方式发送的第一唤醒消息之后,所述方法还包括:The method according to any one of claims 11 to 19, wherein the second wireless device receives the first wireless device in a multicast mode or a broadcast mode through the first communication interface of the second wireless device After the first wake-up message is sent, the method further includes:若所述第二无线设备确定所述第二无线设备不是所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则将所述第二无线设备的第一通信接口由所述工作状态切换至休眠状态。If the second wireless device determines that the second wireless device is not one of the devices identified by the first identification information, the second wireless device configures the first communication interface of the second wireless device by The working state is switched to a sleep state.
- 根据权利要求11-20中任一项所述的方法,其特征在于,在所述第二无线设备通过所述第二无线设备的第一通信接口接收所述第一无线设备发送的第二唤醒消息之后,所述方法还包括:The method according to any one of claims 11 to 20, wherein the second wireless device receives a second wakeup sent by the first wireless device through a first communication interface of the second wireless device After the message, the method further includes:若所述第二无线设备确定所述第二无线设备不是所述第二标识信息所标识的设备中的一个设备,所述第二无线设备则将所述第二无线设备的第一通信接口由所述工作状态切换至休眠状态。If the second wireless device determines that the second wireless device is not one of the devices identified by the second identification information, the second wireless device configures the first communication interface of the second wireless device by The working state is switched to a sleep state.
- 根据权利要求11-21中任一项所述的方法,其特征在于,在所述第二无线设备则唤醒所述第二无线设备的第二通信接口之后,所述方法还包括:The method according to any one of claims 11 to 21, wherein after the second wireless device wakes up the second communication interface of the second wireless device, the method further includes:所述第二无线设备通过所述第二无线设备的第二通信接口向所述第一无线设备发送唤醒响应消息,所述唤醒响应消息用于指示所述第二无线设备的第二通信接口处于工作状态;The second wireless device sends a wakeup response message to the first wireless device by using the second communication interface of the second wireless device, where the wakeup response message is used to indicate that the second communication interface of the second wireless device is Working status所述第二无线设备通过所述第二无线设备的第二通信接口与所述第一无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。Determining, by the second wireless device, the first identification information and the first used by the first wireless device by using the second communication interface of the second wireless device to wake up the second communication interface of the second wireless device Two identification information.
- 根据权利要求11-22中任一项所述的方法,其特征在于,所述第一通信接口为唤醒无线电/接收机WUR接口,所述第二通信接口为无线保真Wi-Fi接口。The method according to any one of claims 11 to 22, wherein the first communication interface is a wake-up radio/receiver WUR interface, and the second communication interface is a wireless fidelity Wi-Fi interface.
- 一种唤醒无线设备的方法,其特征在于,包括:A method for waking up a wireless device, comprising:第一无线设备以广播方式或组播方式向多个设备的第一通信接口发送第一唤醒消息,所述第一唤醒消息中携带有第一标识信息,所述第一标识信息用于标识所述多个设备中包括所述第二无线设备在内的至少一个设备,所述第一唤醒消息用于指示所述第一标识信息所标识的设备需唤醒该设备的第二通信接口以接收所述第一无线设备后续发送的第二唤醒消息;The first wireless device sends a first wake-up message to the first communication interface of the multiple devices in a broadcast mode or a multicast mode, where the first wake-up message carries the first identifier information, where the first identifier information is used to identify the At least one device of the plurality of devices, including the second wireless device, the first wake-up message is used to indicate that the device identified by the first identification information needs to wake up the second communication interface of the device to receive the a second wake-up message sent by the first wireless device;所述第一无线设备在发送所述第一唤醒消息后,向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第二通信接口发送所述第二唤醒消息,所述第二唤醒消息中携带有第二标识信息,所述第二标识信息用于标识所述第一无线设备要唤醒的设备,所述第一无线设备要唤醒的设备包括所述第二无线设备,所述第二唤醒消息用于指示所述第二标识信息所标识的设备的第二通信接口需处于工作状态以与所述第一无线设备进行通信。After transmitting the first wake-up message, the first wireless device sends the second wake-up message to a second communication interface of the at least one device including the second wireless device in the at least one device, where The second waking message carries the second identifier information, where the second identifier information is used to identify the device that the first wireless device is to wake up, and the device that the first wireless device is to wake up includes the second wireless device The second wake-up message is used to indicate that the second communication interface of the device identified by the second identifier information needs to be in an active state to communicate with the first wireless device.
- 根据权利要求24所述的方法,其特征在于,所述第二唤醒消息还用于指示所述第二标识信息未标识的设备的第二通信接口由所述工作状态切换 至休眠状态。The method according to claim 24, wherein the second wake-up message is further used to indicate that the second communication interface of the device that is not identified by the second identification information is switched by the working state. To sleep.
- 根据权利要求24或25所述的方法,其特征在于,所述第一标识信息包括第一位图信息,所述第一位图信息中包括至少两个比特位,所述第一位图信息中的至少两个比特位与所述多个设备中的至少两组设备中的每个设备组一一对应,所述至少两组设备中的每个设备组包括至少一个设备,所述第一标识信息用于标识所述第一位图信息中值为第一预设值的比特位所对应的设备组,所述第二无线设备为所述第一位图信息中值为第一预设值的比特位所对应的设备组中的一组设备中的一个设备;The method according to claim 24 or 25, wherein the first identification information comprises first bitmap information, the first bitmap information includes at least two bits, and the first bitmap information At least two bits in the one-to-one correspondence with each of the at least two of the plurality of devices, each of the at least two groups of devices comprising at least one device, the first The identifier information is used to identify a device group corresponding to the first preset value in the first bitmap information, and the second wireless device is the first preset in the first bitmap information. One of a group of devices in a device group corresponding to a value bit;所述第二标识信息包括第二位图信息,所述第二位图信息中包括至少两个比特位,所述第二位图信息中的至少两个比特位与所述第一位图信息中值为所述第一预设值的比特位所对应的设备组中的设备一一对应,所述第二标识信息用于标识所述第二位图信息中值为第二预设值的比特位所对应的设备。The second identification information includes second bitmap information, the second bitmap information includes at least two bits, and at least two bits of the second bitmap information and the first bitmap information The median value is a one-to-one correspondence between the devices in the device group corresponding to the bit of the first preset value, and the second identifier information is used to identify that the median value of the second bitmap information is the second preset value. The device corresponding to the bit.
- 根据权利要求24或25所述的方法,其特征在于,所述第一标识信息包括所述第二无线设备所在设备组的组地址信息;The method according to claim 24 or 25, wherein the first identification information comprises group address information of a device group in which the second wireless device is located;所述第二标识信息包括第三位图信息,所述第三位图信息中包括至少两个比特位,所述第三位图信息中的至少两个比特位与所述第二无线设备所在设备组中的设备一一对应,所述第二标识信息用于标识所述第三位图信息中值为第二预设值的比特位所对应的设备。The second identifier information includes third bitmap information, where the third bitmap information includes at least two bits, and at least two bits of the third bitmap information are located with the second wireless device. The device in the device group has a one-to-one correspondence, and the second identifier information is used to identify a device corresponding to the second preset value in the third bitmap information.
- 根据权利要求24或25所述的方法,其特征在于,所述第一标识信息包括第四位图信息,所述第四位图信息中包括至少两个比特位,所述第四位图信息中的至少两个比特位与所述多个设备一一对应,所述第一标识信息用于标识所述第四位图信息中值为第一预设值的比特位所对应的设备。The method according to claim 24 or 25, wherein the first identification information comprises fourth bitmap information, the fourth bitmap information includes at least two bits, and the fourth bitmap information The at least two bits are in one-to-one correspondence with the plurality of devices, and the first identifier information is used to identify a device corresponding to a bit of the fourth bitmap information whose value is a first preset value.
- 根据权利要求24或25所述的方法,其特征在于,所述第一标识信息包括所述多个设备中包括所述第二无线设备在内的至少一个设备的第一通信接口的接口标识,或者,包括所述多个设备中包括所述第二无线设备在内的至少一个设备的设备标识。The method according to claim 24 or 25, wherein the first identification information comprises an interface identifier of a first communication interface of at least one device including the second wireless device among the plurality of devices, Or the device identifier of the at least one device including the second wireless device among the plurality of devices.
- 根据权利要求24、25、28或29中任一项所述的方法,其特征在于,所述第二标识信息包括所述第一无线设备要唤醒的设备的设备标识或者包括所述第一无线设备要唤醒的设备的第一通信接口的接口标识。The method according to any one of claims 24, 25, 28 or 29, wherein the second identification information comprises a device identification of a device to be awake by the first wireless device or comprises the first wireless The interface identifier of the first communication interface of the device to be woken up by the device.
- 根据权利要求24-30中任一项所述的方法,其特征在于,所述第一唤醒消息还携带有第一指示信息,所述第一指示信息用于指示所述第一无线设备发送所述第二唤醒消息的时间。The method according to any one of claims 24 to 30, wherein the first wake-up message further carries first indication information, where the first indication information is used to indicate that the first wireless device sends the The time at which the second wake-up message is described.
- 根据权利要求24-31中任一项所述的方法,其特征在于,所述第一唤醒消息还携带有第二指示信息,所述第二指示信息用于通知所述第二无线设备:所述第一无线设备使用所述第一唤醒消息和所述第二唤醒消息指示所述第二无线设备唤醒所述第二无线设备的第二通信接口。The method according to any one of claims 24 to 31, wherein the first wake-up message further carries second indication information, and the second indication information is used to notify the second wireless device: The first wireless device instructs the second wireless device to wake up the second communication interface of the second wireless device by using the first wakeup message and the second wakeup message.
- 根据权利要求24-32中任一项所述的方法,其特征在于,在所述第一无线设备在发送所述第一唤醒消息后,向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第二通信接口发送所述第二唤醒消息之后,所述 方法还包括:The method according to any one of claims 24 to 32, wherein after the first wireless device transmits the first wake-up message, the second wireless device is included in the at least one device After the second communication interface of the at least one device transmits the second wake-up message, the The method also includes:所述第一无线设备接收所述第二无线设备通过所述第二无线设备的第二通信接口发送的唤醒响应消息,所述唤醒响应消息用于指示所述第二无线设备的第二通信接口处于工作状态;Receiving, by the first wireless device, a wakeup response message sent by the second wireless device by using a second communications interface of the second wireless device, where the wakeup response message is used to indicate a second communications interface of the second wireless device In working condition;所述第一无线设备与所述第二无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。The first wireless device negotiates, with the second wireless device, first identification information and second identification information that are used when the second communication interface of the second wireless device is awake.
- 根据权利要求24-33中任一项所述的方法,其特征在于,所述第一通信接口为唤醒无线电/接收机WUR接口,所述第二通信接口为无线保真Wi-Fi接口。A method according to any one of claims 24 to 33, wherein the first communication interface is a wake-up radio/receiver WUR interface and the second communication interface is a wireless fidelity Wi-Fi interface.
- 一种唤醒无线设备的方法,其特征在于,包括:A method for waking up a wireless device, comprising:第二无线设备通过所述第二无线设备的第一通信接口接收第一无线设备以组播方式或广播方式发送的第一唤醒消息,所述第一唤醒消息中携带有第一标识信息,所述第一标识信息用于标识接收所述第一唤醒消息的多个设备中的至少一个设备,所述第一唤醒消息用于指示所述第一标识信息所标识的设备唤醒该设备的第二通信接口以接收所述第一无线设备后续发送的第二唤醒消息;The second wireless device receives, by using the first communication interface of the second wireless device, a first wake-up message that is sent by the first wireless device in a multicast manner or a broadcast manner, where the first wake-up message carries the first identifier information, where The first identifier information is used to identify at least one of the multiple devices that receive the first wake-up message, where the first wake-up message is used to indicate that the device identified by the first identifier information wakes up the second device Receiving, by the communication interface, a second wake-up message sent by the first wireless device;若所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则唤醒所述第二无线设备的第二通信接口;If the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, the second wireless device wakes up the second communication interface of the second wireless device;所述第二无线设备通过所述第二无线设备的第二通信接口接收所述第一无线设备发送的所述第二唤醒消息,所述第二唤醒消息中携带有第二标识信息,所述第二标识信息用于标识接收所述第二唤醒消息的至少一个设备中所述第一无线设备要唤醒的设备,所述第二唤醒消息用于指示所述第二标识信息所标识的设备的第二通信接口需处于工作状态以与所述第一无线设备进行通信;The second wireless device receives the second wake-up message sent by the first wireless device by using a second communications interface of the second wireless device, where the second wake-up message carries second identifier information, where The second identifier information is used to identify the device that the first wireless device is to wake up in the at least one device that receives the second wake-up message, where the second wake-up message is used to indicate the device that is identified by the second identifier information. The second communication interface needs to be in an active state to communicate with the first wireless device;若所述第二无线设备确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,所述第二无线设备则保持所述第二无线设备的第二通信接口处于所述工作状态。If the second wireless device determines that the second wireless device is one of the devices identified by the second identification information, the second wireless device keeps the second communication interface of the second wireless device The working state.
- 根据权利要求35所述的方法,其特征在于,所述第一标识信息包括第一位图信息,所述第一位图信息中包括至少两个比特位,所述第一位图信息中的至少两个比特位与所述多个设备中的至少两组设备中的每个设备组一一对应,所述至少两组设备中的每个设备组包括至少一个设备,所述第一标识信息用于标识所述第一位图信息中值为第一预设值的比特位所对应的设备组,所述第二无线设备为所述第一位图信息中值为第一预设值的比特位所对应的设备组中的一组设备中的一个设备;The method according to claim 35, wherein the first identification information includes first bitmap information, and the first bitmap information includes at least two bits in the first bitmap information. At least two bits are in one-to-one correspondence with each of the at least two of the plurality of devices, each of the at least two groups of devices comprising at least one device, the first identification information The device group corresponding to the bit in the first bitmap information that is the first preset value, where the second wireless device is the first preset value in the first bitmap information. One of a group of devices in a device group corresponding to the bit;所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:Determining, by the second wireless device, that the second wireless device is one of the devices identified by the first identifier information,若所述第一位图信息中与所述第二无线设备所在组对应的比特位的值为所述第一预设值,所述第二无线设备则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备;If the value of the bit corresponding to the group in which the second wireless device is located in the first bitmap information is the first preset value, the second wireless device determines that the second wireless device is the One of the devices identified by the first identification information;其中,所述第二标识信息包括第二位图信息,所述第二位图信息中包括至 少两个比特位,所述第二位图信息中的至少两个比特位与所述第一位图信息中值为所述第一预设值的比特位所对应的设备组中的设备一一对应,所述第二标识信息用于标识所述第二位图信息中值为第二预设值的比特位所对应的设备;The second identifier information includes second bitmap information, and the second bitmap information includes Two less bits, at least two of the second bitmap information and one of the devices in the device group corresponding to the first bitmap of the first bitmap information Correspondingly, the second identifier information is used to identify a device corresponding to a bit of the second bitmap information whose value is a second preset value;所述第二无线设备确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:Determining, by the second wireless device, that the second wireless device is one of the devices identified by the second identifier information,若所述第二位图信息中与所述第二无线设备对应的比特位的值为所述第二预设值,所述第二无线设备则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。If the value of the bit corresponding to the second wireless device in the second bitmap information is the second preset value, the second wireless device determines that the second wireless device is the second Identifies one of the devices identified by the information.
- 根据权利要求35所述的方法,其特征在于,所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:The method of claim 35, wherein the determining, by the second wireless device, that the second wireless device is one of the devices identified by the first identification information comprises:若所述第一标识信息中包括所述第二无线设备所在设备组的组地址信息,所述第二无线设备则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备;If the first identifier information includes group address information of the device group where the second wireless device is located, the second wireless device determines that the second wireless device is in the device identified by the first identifier information. One device其中,所述第二标识信息包括第三位图信息,所述第三位图信息中包括至少两个比特位,所述第三位图信息中的至少两个比特位与所述第二无线设备所在设备组中的设备一一对应,所述第二标识信息用于标识所述第三位图信息中值为第二预设值的比特位所对应的设备;The second identifier information includes third bitmap information, the third bitmap information includes at least two bits, and at least two bits of the third bitmap information and the second wireless The devices in the device group of the device are in one-to-one correspondence, and the second identifier information is used to identify a device corresponding to the second preset value in the third bitmap information;所述第二无线设备确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:Determining, by the second wireless device, that the second wireless device is one of the devices identified by the second identifier information,若所述第三位图信息中与所述第二无线设备对应的比特位的值为所述第二预设值,所述第二无线设备则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。If the value of the bit corresponding to the second wireless device in the third bitmap information is the second preset value, the second wireless device determines that the second wireless device is the second Identifies one of the devices identified by the information.
- 根据权利要求35所述的方法,其特征在于,所述第一标识信息包括第四位图信息,所述第四位图信息中包括至少两个比特位,所述第四位图信息中的至少两个比特位与所述多个设备一一对应,所述第一标识信息用于标识所述第四位图信息中值为第一预设值的比特位所对应的设备;The method according to claim 35, wherein said first identification information comprises fourth bitmap information, said fourth bitmap information comprising at least two bits, said fourth bitmap information The at least two bits are in one-to-one correspondence with the multiple devices, and the first identifier information is used to identify a device corresponding to a bit of the fourth bitmap information that is a first preset value;所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:Determining, by the second wireless device, that the second wireless device is one of the devices identified by the first identifier information,若所述第四位图信息中与所述第二无线设备对应的比特位的值为所述第一预设值,所述第二无线设备则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。If the value of the bit corresponding to the second wireless device in the fourth bitmap information is the first preset value, the second wireless device determines that the second wireless device is the first Identifies one of the devices identified by the information.
- 根据权利要求35所述的方法,其特征在于,所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:The method of claim 35, wherein the determining, by the second wireless device, that the second wireless device is one of the devices identified by the first identification information comprises:若所述第一标识信息中包括所述第二无线设备的第一通信接口的接口标识,或者包括所述第二无线设备的设备标识,所述第二无线设备则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。If the first identifier information includes an interface identifier of the first communications interface of the second wireless device, or includes a device identifier of the second wireless device, the second wireless device determines the second wireless device One of the devices identified by the first identification information.
- 根据根据权利要求35、38或39中任一项所述的方法,其特征在于,所述第二无线设备确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括: The method according to any one of claims 35, 38 or 39, wherein the second wireless device determines that the second wireless device is one of the devices identified by the second identification information , including:若所述第二标识信息中包括所述第二无线设备的设备标识或者包括所述第二无线设备的第一通信接口的接口标识,所述第二无线设备则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。If the second identifier information includes the device identifier of the second wireless device or the interface identifier of the first communication interface of the second wireless device, the second wireless device determines that the second wireless device is One of the devices identified by the second identification information.
- 根据权利要求35-40中任一项所述的方法,其特征在于,所述第一唤醒消息还携带有第一指示信息,所述第一指示信息用于指示所述第一无线设备发送所述第二唤醒消息的时间;The method according to any one of claims 35 to 40, wherein the first wake-up message further carries first indication information, where the first indication information is used to indicate that the first wireless device sends the The time of the second wake-up message;所述若所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则唤醒所述第二无线设备的第二通信接口,包括:If the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, the second wireless device wakes up the second communication of the second wireless device Interface, including:若所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则在所述第一指示信息所指示的时间,唤醒所述第二无线设备的第二通信接口。If the second wireless device determines that the second wireless device is one of the devices identified by the first identification information, the second wireless device wakes up at the time indicated by the first indication information. a second communication interface of the second wireless device.
- 根据权利要求35-41中任一项所述的方法,其特征在于,在所述第二无线设备通过所述第二无线设备的第二通信接口接收所述第一无线设备发送的第二唤醒消息之前,所述方法还包括:The method according to any one of claims 35-41, wherein the second wireless device receives a second wakeup sent by the first wireless device via a second communication interface of the second wireless device Before the message, the method further includes:所述第二无线设备确定所述第一唤醒消息还携带有第二指示信息,所述第二指示信息用于通知所述第二无线设备:所述第一无线设备使用所述第一唤醒消息和所述第二唤醒消息指示所述第二无线设备唤醒所述第二无线设备的第二通信接口。Determining, by the second wireless device, that the first wake-up message further carries second indication information, where the second indication information is used to notify the second wireless device: the first wireless device uses the first wake-up message And the second wake-up message instructing the second wireless device to wake up the second communication interface of the second wireless device.
- 根据权利要求35-42中任一项所述的方法,其特征在于,在所述第二无线设备通过所述第二无线设备的第一通信接口接收第一无线设备以组播方式或广播方式发送的第一唤醒消息之后,所述方法还包括:The method according to any one of claims 35-42, wherein the second wireless device receives the first wireless device in a multicast mode or a broadcast mode through the first communication interface of the second wireless device After the first wake-up message is sent, the method further includes:若所述第二无线设备确定所述第二无线设备不是所述第一标识信息所标识的设备中的一个设备,所述第二无线设备则保持所述第二无线设备的第二通信接口处于休眠状态。If the second wireless device determines that the second wireless device is not one of the devices identified by the first identification information, the second wireless device keeps the second communication interface of the second wireless device Sleep state.
- 根据权利要求35-45中任一项所述的方法,其特征在于,在所述第二无线设备通过所述第二无线设备的第二通信接口接收所述第一无线设备发送的第二唤醒消息之后,所述方法还包括:The method of any one of claims 35-45, wherein the second wireless device receives a second wakeup sent by the first wireless device via a second communication interface of the second wireless device After the message, the method further includes:若所述第二无线设备确定所述第二无线设备不是所述第二标识信息所标识的设备中的一个设备,所述第二无线设备则将所述第二无线设备的第一通信接口和第二通信接口均由工作状态切换至休眠状态。If the second wireless device determines that the second wireless device is not one of the devices identified by the second identification information, the second wireless device then uses the first communication interface of the second wireless device and The second communication interface is switched from the working state to the sleep state.
- 根据权利要求33-44中任一项所述的方法,其特征在于,在所述第二无线设备则控制所述第二无线设备的第二通信接口处于所述工作状态之后,所述方法还包括:The method according to any one of claims 33-44, wherein after the second wireless device controls the second communication interface of the second wireless device to be in the active state, the method further include:所述第二无线设备通过所述第二无线设备的第二通信接口向所述第一无线设备发送唤醒响应消息,所述唤醒响应消息用于指示所述第二无线设备的第二通信接口处于工作状态;The second wireless device sends a wakeup response message to the first wireless device by using the second communication interface of the second wireless device, where the wakeup response message is used to indicate that the second communication interface of the second wireless device is Working status所述第二无线设备通过所述第二无线设备的第二通信接口与所述第一无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标 识信息和第二标识信息。Determining, by the second wireless device, the first standard used by the second wireless device to negotiate the next second wireless communication interface of the second wireless device with the first wireless device Identification information and second identification information.
- 根据权利要求33-45中任一项所述的方法,其特征在于,所述第一通信接口为唤醒无线电/接收机WUR接口,所述第二通信接口为无线保真Wi-Fi接口。The method of any of claims 33-45, wherein the first communication interface is a wake-up radio/receiver WUR interface and the second communication interface is a wireless fidelity Wi-Fi interface.
- 一种无线设备,其特征在于,所述无线设备为第一无线设备,所述无线设备包括:通信接口和处理器;A wireless device, wherein the wireless device is a first wireless device, and the wireless device includes: a communication interface and a processor;所述处理器,用于生成第一唤醒消息,所述第一唤醒消息中携带有第一标识信息,所述第一标识信息用于标识多个设备中包括第二无线设备在内的至少一个设备,所述第一唤醒消息用于指示所述第一标识信息所标识的设备的第一通信接口需处于工作状态以接收所述第一无线设备后续发送的第二唤醒消息The processor is configured to generate a first wakeup message, where the first wakeup message carries first identifier information, where the first identifier information is used to identify at least one of the plurality of devices including the second wireless device. The first wake-up message is used to indicate that the first communication interface of the device identified by the first identifier information needs to be in an active state to receive a second wake-up message sent by the first wireless device.所述通信接口,用于以广播方式或组播方式向所述多个设备的第一通信接口发送所述第一唤醒消息;The communication interface is configured to send the first wake-up message to a first communication interface of the multiple devices in a broadcast mode or a multicast manner;所述处理器,还用于生成所述第二唤醒消息,所述第二唤醒消息中携带有第二标识信息,所述第二标识信息用于标识所述第一无线设备要唤醒的设备,所述第一无线设备要唤醒的设备包括所述第二无线设备,所述第二唤醒消息用于指示所述第二标识信息所标识的设备唤醒该设备的第二通信接口The processor is further configured to generate the second wakeup message, where the second wakeup message carries the second identifier information, where the second identifier information is used to identify the device that the first wireless device is to wake up, The device to be awake by the first wireless device includes the second wireless device, and the second wake-up message is used to indicate that the device identified by the second identifier information wakes up the second communication interface of the device.所述通信接口,还用于在发送所述第一唤醒消息后,向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第一通信接口发送所述第二唤醒消息。The communication interface is further configured to: after sending the first wake-up message, send the second wake-up message to a first communications interface of the at least one device including the second wireless device in the at least one device .
- 根据权利要求47所述的无线设备,其特征在于,所述第一标识信息包括第一位图信息,所述第一位图信息中包括至少两个比特位,所述第一位图信息中的至少两个比特位与所述多个设备中的至少两组设备中的每个设备组一一对应,所述至少两组设备中的每个设备组包括至少一个设备,所述第一标识信息用于标识所述第一位图信息中值为第一预设值的比特位所对应的设备组,所述第二无线设备为所述第一位图信息中值为第一预设值的比特位所对应的设备组中的一组设备中的一个设备;The wireless device according to claim 47, wherein the first identification information comprises first bitmap information, wherein the first bitmap information includes at least two bits, wherein the first bitmap information And at least two bits are in one-to-one correspondence with each of the at least two of the plurality of devices, each of the at least two groups of devices comprising at least one device, the first identifier The information is used to identify the device group corresponding to the bit in the first bitmap information that is the first preset value, and the second wireless device is the first preset value in the first bitmap information. One of a group of devices in a device group corresponding to the bit;所述第二标识信息包括第二位图信息,所述第二位图信息中包括至少两个比特位,所述第二位图信息中的至少两个比特位与所述第一位图信息中值为所述第一预设值的比特位所对应的设备组中的设备一一对应,所述第二标识信息用于标识所述第二位图信息中值为第二预设值的比特位所对应的设备。The second identification information includes second bitmap information, the second bitmap information includes at least two bits, and at least two bits of the second bitmap information and the first bitmap information The median value is a one-to-one correspondence between the devices in the device group corresponding to the bit of the first preset value, and the second identifier information is used to identify that the median value of the second bitmap information is the second preset value. The device corresponding to the bit.
- 根据权利要求47所述的无线设备,其特征在于,所述第一标识信息包括所述第二无线设备所在设备组的组地址信息;The wireless device according to claim 47, wherein the first identification information comprises group address information of a device group in which the second wireless device is located;所述第二标识信息包括第三位图信息,所述第三位图信息中包括至少两个比特位,所述第三位图信息中的至少两个比特位与所述第二无线设备所在设备组中的设备一一对应,所述第二标识信息用于标识所述第三位图信息中值为第二预设值的比特位所对应的设备。The second identifier information includes third bitmap information, where the third bitmap information includes at least two bits, and at least two bits of the third bitmap information are located with the second wireless device. The device in the device group has a one-to-one correspondence, and the second identifier information is used to identify a device corresponding to the second preset value in the third bitmap information.
- 根据权利要求47所述的无线设备,其特征在于,所述第一标识信息包括第四位图信息,所述第四位图信息中包括至少两个比特位,所述第四位图信息中的至少两个比特位与所述多个设备一一对应,所述第一标识信息用于标 识所述第四位图信息中值为第一预设值的比特位所对应的设备。The wireless device according to claim 47, wherein the first identification information comprises fourth bitmap information, and the fourth bitmap information includes at least two bits, wherein the fourth bitmap information At least two bits are in one-to-one correspondence with the plurality of devices, and the first identification information is used for marking The device corresponding to the bit in the fourth bitmap information whose value is the first preset value is identified.
- 根据权利要求47所述的无线设备,其特征在于,所述第一标识信息包括所述多个设备中包括所述第二无线设备在内的至少一个设备的第一通信接口的接口标识,或者,包括所述多个设备中包括所述第二无线设备在内的至少一个设备的设备标识。The wireless device according to claim 47, wherein the first identification information comprises an interface identifier of a first communication interface of at least one of the plurality of devices including the second wireless device, or And including a device identifier of the at least one device including the second wireless device among the plurality of devices.
- 根据权利要求47、50或51中任一项所述的无线设备,其特征在于,所述第二标识信息包括所述第一无线设备要唤醒的设备的设备标识或者包括所述第一无线设备要唤醒的设备的第一通信接口的接口标识。The wireless device according to any one of claims 47, 50 or 51, wherein the second identification information comprises or includes the first wireless device of the device that the first wireless device is to wake up The interface identifier of the first communication interface of the device to wake up.
- 根据权利要47-52中任一项所述的无线设备,其特征在于,所述第一唤醒消息还携带有第一指示信息,所述第一指示信息用于指示所述第一无线设备发送所述第二唤醒消息的时间。The wireless device according to any one of claims 47-52, wherein the first wake-up message further carries first indication information, where the first indication information is used to indicate that the first wireless device sends The time of the second wake-up message.
- 根据权利要求47-53中任一项所述的无线设备,其特征在于,所述第一唤醒消息还携带有第二指示信息,所述第二指示信息用于通知所述第二无线设备:所述第一无线设备使用所述第一唤醒消息和所述第二唤醒消息指示所述第二无线设备唤醒所述第二无线设备的第二通信接口。The wireless device according to any one of claims 47-53, wherein the first wake-up message further carries second indication information, where the second indication information is used to notify the second wireless device: The first wireless device instructs the second wireless device to wake up the second communication interface of the second wireless device using the first wakeup message and the second wakeup message.
- 根据权利要求47-54中任一项所述的无线设备,其特征在于,所述通信接口,还用于在向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第一通信接口发送所述第二唤醒消息之后,接收所述第二无线设备通过所述第二无线设备的第二通信接口发送的唤醒响应消息,所述唤醒响应消息用于指示所述第二无线设备的第二通信接口处于工作状态;The wireless device according to any one of claims 47 to 54, wherein the communication interface is further configured to: at least one device including the second wireless device in the at least one device After the first communication interface sends the second wake-up message, receiving a wake-up response message sent by the second wireless device by using the second communications interface of the second wireless device, where the wake-up response message is used to indicate the second The second communication interface of the wireless device is in an active state;所述处理器,还用于通过所述通信接口与所述第二无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。The processor is further configured to negotiate, by using the communication interface, the first identifier information and the second identifier information used by the second wireless device to wake up the second communication interface of the second wireless device.
- 根据权利要求47-55任一项所述的无线设备,其特征在于,所述第一通信接口为唤醒无线电/接收机WUR接口,所述第二通信接口为无线保真Wi-Fi接口。The wireless device of any of claims 47-55, wherein the first communication interface is a wake-up radio/receiver WUR interface and the second communication interface is a wireless fidelity Wi-Fi interface.
- 一种无线设备,其特征在于,所述无线设备为第二无线设备,所述无线设备包括:第一通信接口、处理器和第二通信接口;A wireless device, wherein the wireless device is a second wireless device, the wireless device includes: a first communication interface, a processor, and a second communication interface;所述第一通信接口,用于接收第一无线设备以组播方式或广播方式发送的第一唤醒消息,所述第一唤醒消息中携带有第一标识信息,所述第一标识信息用于标识接收所述第一唤醒消息的多个设备中的至少一个设备,所述第一唤醒消息用于指示所述第一标识信息所标识的设备的第一通信接口需处于工作状态以接收所述第一无线设备后续发送的第二唤醒消息;The first communication interface is configured to receive a first wake-up message sent by the first wireless device in a multicast mode or a broadcast manner, where the first wake-up message carries first identifier information, where the first identifier information is used by Identifying at least one of the plurality of devices that receive the first wake-up message, the first wake-up message is used to indicate that the first communication interface of the device identified by the first identification information needs to be in an active state to receive the a second wake-up message sent by the first wireless device;所述处理器,用于若确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,则保持述第一通信接口处于所述工作状态;The processor, if it is determined that the second wireless device is one of the devices identified by the first identifier information, maintaining the first communication interface in the working state;所述第一通信接口,还用于接收所述第一无线设备发送的第二唤醒消息,所述第二唤醒消息中携带有第二标识信息,所述第二标识信息用于标识接收所述第二唤醒消息的至少一个设备中所述第一无线设备要唤醒的设备,所述第二唤醒消息用于指示所述第二标识信息所标识的设备唤醒该设备的第二通信接 口;The first communication interface is further configured to receive a second wakeup message sent by the first wireless device, where the second wakeup message carries second identifier information, where the second identifier information is used to identify that the a device that the first wireless device is to wake up in the at least one device of the second wake-up message, where the second wake-up message is used to indicate that the device identified by the second identifier information wakes up the second communication interface of the device mouth;所述处理器,还用于若确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,则唤醒所述第二无线设备的第二通信接口。The processor is further configured to wake up the second communication interface of the second wireless device if the second wireless device is determined to be one of the devices identified by the second identifier information.
- 根据权利要求57所述的无线设备,其特征在于,所述第一标识信息包括第一位图信息,所述第一位图信息中包括至少两个比特位,所述第一位图信息中的至少两个比特位与所述多个设备中的至少两组设备中的每个设备组一一对应,所述至少两组设备中的每个设备组包括至少一个设备,所述第一标识信息用于标识所述第一位图信息中值为第一预设值的比特位所对应的设备组,所述第二无线设备为所述第一位图信息中值为第一预设值的比特位所对应的设备组中的一组设备中的一个设备;The wireless device according to claim 57, wherein the first identification information comprises first bitmap information, wherein the first bitmap information includes at least two bits, wherein the first bitmap information And at least two bits are in one-to-one correspondence with each of the at least two of the plurality of devices, each of the at least two groups of devices comprising at least one device, the first identifier The information is used to identify the device group corresponding to the bit in the first bitmap information that is the first preset value, and the second wireless device is the first preset value in the first bitmap information. One of a group of devices in a device group corresponding to the bit;所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第一位图信息中与所述第二无线设备所在组对应的比特位的值为所述第一预设值,则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备;The processor is configured to determine, by the second wireless device, one of the devices identified by the first identifier information, where the processor is configured to: if the first bitmap information is related to the second wireless If the value of the bit corresponding to the group of the device is the first preset value, determining that the second wireless device is one of the devices identified by the first identifier information;所述第二标识信息包括第二位图信息,所述第二位图信息中包括至少两个比特位,所述第二位图信息中的至少两个比特位与所述第一位图信息中值为所述第一预设值的比特位所对应的设备组中的设备一一对应,所述第二标识信息用于标识所述第二位图信息中值为第二预设值的比特位所对应的设备;The second identification information includes second bitmap information, the second bitmap information includes at least two bits, and at least two bits of the second bitmap information and the first bitmap information The median value is a one-to-one correspondence between the devices in the device group corresponding to the bit of the first preset value, and the second identifier information is used to identify that the median value of the second bitmap information is the second preset value. The device corresponding to the bit;所述处理器用于确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第二位图信息中与所述第二无线设备对应的比特位的值为所述第二预设值,则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。The processor is configured to determine, by the second wireless device, one of the devices identified by the second identifier information, where the processor is configured to: if the second bitmap information is related to the second wireless If the value of the bit corresponding to the device is the second preset value, determining that the second wireless device is one of the devices identified by the second identifier information.
- 根据权利要求57所述的无线设备,其特征在于,所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备的一个设备,包括:所述处理器用于若所述第一标识信息中包括所述第二无线设备所在设备组的组地址信息,则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备;The wireless device according to claim 57, wherein the processor is configured to determine that the second wireless device is a device of the device identified by the first identification information, and the processor is configured to: The first identifier information includes the group address information of the device group in which the second wireless device is located, and determines that the second wireless device is one of the devices identified by the first identifier information;其中,所述第二标识信息包括第三位图信息,所述第三位图信息中包括至少两个比特位,所述第三位图信息中的至少两个比特位与所述第二无线设备所在设备组中的设备一一对应,所述第二标识信息用于标识所述第三位图信息中值为第二预设值的比特位所对应的设备;The second identifier information includes third bitmap information, the third bitmap information includes at least two bits, and at least two bits of the third bitmap information and the second wireless The devices in the device group of the device are in one-to-one correspondence, and the second identifier information is used to identify a device corresponding to the second preset value in the third bitmap information;所述处理器用于确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第三位图信息中与所述第二无线设备对应的比特位的值为所述第二预设值,则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。The processor is configured to determine, by the second wireless device, one of the devices identified by the second identifier information, where the processor is configured to: if the third bitmap information is related to the second wireless If the value of the bit corresponding to the device is the second preset value, determining that the second wireless device is one of the devices identified by the second identifier information.
- 根据权利要求57所述的无线设备,其特征在于,所述第一标识信息包括第四位图信息,所述第四位图信息中包括至少两个比特位,所述第四位图信息中的至少两个比特位与所述多个设备一一对应,所述第一标识信息用于标识值为第一预设值的比特位所对应的设备; The wireless device according to claim 57, wherein the first identification information comprises fourth bitmap information, wherein the fourth bitmap information includes at least two bits, wherein the fourth bitmap information The at least two bits are in one-to-one correspondence with the multiple devices, and the first identifier information is used to identify a device corresponding to the bit with the first preset value;所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第四位图信息中与所述第二无线设备对应的比特位的值为所述第一预设值,则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。The processor is configured to determine, by the second wireless device, one of the devices identified by the first identifier information, where the processor is configured to: if the fourth bitmap information is related to the second wireless The value of the bit corresponding to the device is the first preset value, and determining that the second wireless device is one of the devices identified by the first identifier information.
- 根据权利要求57所述的无线设备,其特征在于,所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第一标识信息中包括所述第二无线设备的第一通信接口的接口标识,或者包括所述第二无线设备的设备标识,则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。The wireless device according to claim 57, wherein the processor is configured to determine that the second wireless device is one of the devices identified by the first identification information, including: the processor is configured to: Determining, by the first identifier information, an interface identifier of the first communications interface of the second wireless device, or including a device identifier of the second wireless device, determining that the second wireless device is the first identifier information One of the identified devices.
- 根据根据权利要求57、60或61中任一项所述的无线设备,其特征在于,所述处理器用于确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第二标识信息中包括所述第二无线设备的设备标识或者包括所述第二无线设备的第一通信接口的接口标识,则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。The wireless device according to any one of claims 57, 60 or 61, wherein the processor is configured to determine that the second wireless device is one of the devices identified by the second identification information The processor is configured to determine the second wireless if the second identifier information includes the device identifier of the second wireless device or an interface identifier of the first communications interface of the second wireless device The device is one of the devices identified by the second identification information.
- 根据权利要求57-62中任一项所述的无线设备,其特征在于,所述第一唤醒消息还携带有第一指示信息,所述第一指示信息用于指示所述第一无线设备发送所述第二唤醒消息的时间;The wireless device according to any one of claims 57-62, wherein the first wake-up message further carries first indication information, where the first indication information is used to indicate that the first wireless device sends The time of the second wake-up message;所述处理器,还用于在所述第一通信接口接收所述第一无线设备发送的所述第一唤醒消息之后,保持所述第一通信接口处于所述工作状态之前,将所述第二无线设备的第一通信接口由工作状态切换至休眠状态;The processor is further configured to: after the first communication interface receives the first wake-up message sent by the first wireless device, before the first communication interface is in the working state, The first communication interface of the second wireless device is switched from the working state to the sleep state;所述处理器用于若所述第二无线设备确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,则保持所述第二无线设备的第一通信接口处于所述工作状态,包括:所述处理器用于若确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,则在所述第一指示信息所指示的时间,将所述第一通信接口由所述休眠状态切换至所述工作状态。The processor is configured to: if the second wireless device determines that the second wireless device is one of the devices identified by the first identifier information, maintaining the first communication interface of the second wireless device The working state, the processor is configured to: if it is determined that the second wireless device is one of the devices identified by the first identifier information, at a time indicated by the first indication information, The first communication interface is switched from the sleep state to the active state.
- 根据权利要求57-63中任一项所述的无线设备,其特征在于,所述处理器,还用于在保持所述第一通信接口处于所述工作状态之前,确定所述第一唤醒消息还携带有第二指示信息,所述第二指示信息用于通知所述第二无线设备:所述第一无线设备使用所述第一唤醒消息和所述第二唤醒消息指示所述处理器唤醒所述第二无线设备的第二通信接口。The wireless device according to any one of claims 57 to 63, wherein the processor is further configured to determine the first wakeup message before the first communication interface is kept in the working state. And carrying the second indication information, where the second indication information is used to notify the second wireless device: the first wireless device instructs the processor to wake up by using the first wakeup message and the second wakeup message. a second communication interface of the second wireless device.
- 根据权利要求64所述的无线设备,其特征在于,所述处理器,还用于若所述第一唤醒消息未携带所述第二指示信息,则唤醒所述第二无线设备的第二通信接口。The wireless device according to claim 64, wherein the processor is further configured to wake up the second communication of the second wireless device if the first wakeup message does not carry the second indication information interface.
- 根据权利要求57-65中任一项所述的无线设备,其特征在于,所述处理器,还用于在所述第一通信接口接收所述第一无线设备以组播方式或广播方式发送的所述第一唤醒消息之后,若确定所述第二无线设备不是所述第一标识信息所标识的设备,则将所述第一通信接口由所述工作状态切换至休眠状态。The wireless device according to any one of claims 57 to 65, wherein the processor is further configured to receive, by the first communication interface, the first wireless device to send in a multicast manner or a broadcast manner. After the first wake-up message, if it is determined that the second wireless device is not the device identified by the first identifier information, the first communication interface is switched from the working state to a sleep state.
- 根据权利要求57-66中任一项所述的无线设备,其特征在于,所述处理器,还用于在所述第一通信接口接收所述第一无线设备发送的所述第二唤醒 消息之后,若确定所述第二无线设备不是所述第二标识信息所标识的设备,则将所述第二无线设备的第一通信接口由所述工作状态切换至休眠状态。The wireless device according to any one of claims 57 to 66, wherein the processor is further configured to receive, by the first communication interface, the second wakeup sent by the first wireless device After the message, if it is determined that the second wireless device is not the device identified by the second identifier information, the first communication interface of the second wireless device is switched from the working state to the sleep state.
- 根据权利要求57-67中任一项所述的无线设备,其特征在于,所述第二通信接口,还用于在所述处理器唤醒所述第二通信接口之后,向所述第一无线设备发送唤醒响应消息,所述唤醒响应消息用于指示所述第二无线设备的第二通信接口处于工作状态;The wireless device according to any one of claims 57 to 67, wherein the second communication interface is further configured to: after the processor wakes up the second communication interface, to the first wireless The device sends a wakeup response message, where the wakeup response message is used to indicate that the second communications interface of the second wireless device is in an active state;所述处理器,还用于通过所述第二通信接口与所述第一无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。The processor is further configured to, by using the second communication interface, negotiate with the first wireless device, the first identifier information and the second identifier information used when the second communication interface of the second wireless device is awake for the next time .
- 根据权利要求57-68中任一项所述的无线设备,其特征在于,所述第一通信接口为唤醒无线电/接收机WUR接口,所述第二通信接口为无线保真Wi-Fi接口。The wireless device of any of claims 57-68, wherein the first communication interface is a wake-up radio/receiver WUR interface and the second communication interface is a wireless fidelity Wi-Fi interface.
- 一种无线设备,其特征在于,所述无线设备为第一无线设备,所述无线设备包括:通信接口和处理器;A wireless device, wherein the wireless device is a first wireless device, and the wireless device includes: a communication interface and a processor;所述处理器,用于生成第一唤醒消息,所述第一唤醒消息中携带有第一标识信息,所述第一标识信息用于标识多个设备中包括第二无线设备在内的至少一个设备,所述第一唤醒消息用于指示所述第一标识信息所标识的设备需唤醒该设备的第二通信接口以接收所述第一无线设备后续发送的第二唤醒消息;The processor is configured to generate a first wakeup message, where the first wakeup message carries first identifier information, where the first identifier information is used to identify at least one of the plurality of devices including the second wireless device. The device, the first wake-up message is used to indicate that the device identified by the first identifier information needs to wake up the second communication interface of the device to receive a second wake-up message sent by the first wireless device.所述通信接口,用于以广播方式或组播方式向所述多个设备的第一通信接口发送所述第一唤醒消息;The communication interface is configured to send the first wake-up message to a first communication interface of the multiple devices in a broadcast mode or a multicast manner;所述处理器,还用于生成第二唤醒消息,所述第二唤醒消息中携带有第二标识信息,所述第二标识信息用于标识所述第一无线设备要唤醒的设备,所述第一无线设备要唤醒的设备包括所述第二无线设备,所述第二唤醒消息用于指示所述第二标识信息所标识的设备的第二通信接口需处于工作状态以与所述第一无线设备进行通信;The processor is further configured to generate a second wakeup message, where the second wakeup message carries the second identifier information, where the second identifier information is used to identify the device that the first wireless device is to wake up, The device to be woken up by the first wireless device includes the second wireless device, and the second wake-up message is used to indicate that the second communication interface of the device identified by the second identifier information needs to be in an active state to be the first Wireless device to communicate;所述通信接口,还用于在发送所述第一唤醒消息后,向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第二通信接口发送所述第二唤醒消息。The communication interface is further configured to: after sending the first wake-up message, send the second wake-up message to a second communication interface of the at least one device including the second wireless device in the at least one device .
- 根据权利要求70所述的无线设备,其特征在于,所述第二唤醒消息还用于指示所述第二标识信息未标识的设备的第二通信接口由所述工作状态切换至休眠状态。The wireless device according to claim 70, wherein the second wake-up message is further configured to indicate that the second communication interface of the device not identified by the second identification information is switched from the working state to the sleep state.
- 根据权利要求70或71所述的无线设备,其特征在于,所述第一标识信息包括第一位图信息,所述第一位图信息中包括至少两个比特位,所述第一位图信息中的至少两个比特位与所述多个设备中的至少两组设备中的每个设备组一一对应,所述至少两组设备中的每个设备组包括至少一个设备,所述第一标识信息用于标识所述第一位图信息中值为第一预设值的比特位所对应的设备组,所述第二无线设备为所述第一位图信息中值为第一预设值的比特位所对应的设备组中的一组设备中的一个设备;The wireless device according to claim 70 or 71, wherein the first identification information comprises first bitmap information, the first bitmap information includes at least two bits, the first bitmap At least two bits in the information are in one-to-one correspondence with each of the at least two of the plurality of devices, each of the at least two groups of devices comprising at least one device, the An identifier information is used to identify a device group corresponding to a bit in the first bitmap information that is a first preset value, and the second wireless device is a first pre-value in the first bitmap information. One of a group of devices in a device group corresponding to the set bit;所述第二标识信息包括第二位图信息,所述第二位图信息中包括至少两个 比特位,所述第二位图信息中的至少两个比特位与所述第一位图信息中值为所述第一预设值的比特位所对应的设备组中的设备一一对应,所述第二标识信息用于标识所述第二位图信息中值为第二预设值的比特位所对应的设备。The second identification information includes second bitmap information, and the second bitmap information includes at least two Bits, at least two of the second bitmap information are in one-to-one correspondence with devices in the device group corresponding to the first preset value in the first bitmap information, The second identifier information is used to identify a device corresponding to a bit in the second bitmap information that is a second preset value.
- 根据权利要求70或71所述的无线设备,其特征在于,所述第一标识信息包括所述第二无线设备所在设备组的组地址信息;The wireless device according to claim 70 or 71, wherein the first identification information comprises group address information of a device group in which the second wireless device is located;所述第二标识信息包括第三位图信息,所述第三位图信息中包括至少两个比特位,所述第三位图信息中的至少两个比特位与所述第二无线设备所在设备组中的设备一一对应,所述第二标识信息用于标识所述第三位图信息中值为第二预设值的比特位所对应的设备。The second identifier information includes third bitmap information, where the third bitmap information includes at least two bits, and at least two bits of the third bitmap information are located with the second wireless device. The device in the device group has a one-to-one correspondence, and the second identifier information is used to identify a device corresponding to the second preset value in the third bitmap information.
- 根据权利要70或71所述的无线设备,其特征在于,所述第一标识信息包括第四位图信息,所述第四位图信息中包括至少两个比特位,所述第四位图信息中的至少两个比特位与所述多个设备一一对应,所述第一标识信息用于标识所述第四位图信息中值为第一预设值的比特位所对应的设备。The wireless device according to claim 70 or 71, wherein the first identification information includes fourth bitmap information, and the fourth bitmap information includes at least two bits, the fourth bitmap The at least two bits in the information are in one-to-one correspondence with the plurality of devices, and the first identifier information is used to identify a device corresponding to the bit of the fourth bitmap information whose value is the first preset value.
- 根据权利要求70或71所述的无线设备,其特征在于,所述第一标识信息包括所述多个设备中包括所述第二无线设备在内的至少一个设备的第一通信接口的接口标识,或者,包括所述多个设备中包括所述第二无线设备在内的至少一个设备的设备标识。The wireless device according to claim 70 or 71, wherein the first identification information comprises an interface identifier of a first communication interface of at least one of the plurality of devices including the second wireless device Or, including the device identifier of the at least one device including the second wireless device among the plurality of devices.
- 根据权利要求70、71、74或75中任一项所述的无线设备,其特征在于,所述第二标识信息包括所述第一无线设备要唤醒的设备的设备标识或者包括所述第一无线设备要唤醒的设备的第一通信接口的接口标识。The wireless device according to any one of claims 70, 71, 74 or 75, wherein the second identification information comprises or includes the first device identifier of a device to be awake by the first wireless device The interface identifier of the first communication interface of the device to be woken by the wireless device.
- 根据权利要求70-76中任一项所述的无线设备,其特征在于,所述第一唤醒消息还携带有第一指示信息,所述第一指示信息用于指示所述第一无线设备发送所述第二唤醒消息的时间。The wireless device according to any one of claims 70-76, wherein the first wake-up message further carries first indication information, where the first indication information is used to indicate that the first wireless device sends The time of the second wake-up message.
- 根据权利要求70-77中任一项所述的无线设备,其特征在于,所述第一唤醒消息还携带有第二指示信息,所述第二指示信息用于通知所述第二无线设备:所述第一无线设备使用所述第一唤醒消息和所述第二唤醒消息指示所述第二无线设备唤醒所述第二无线设备的第二通信接口。The wireless device according to any one of claims 70-77, wherein the first wake-up message further carries second indication information, where the second indication information is used to notify the second wireless device: The first wireless device instructs the second wireless device to wake up the second communication interface of the second wireless device using the first wakeup message and the second wakeup message.
- 根据权利要求70-78中任一项所述的无线设备,其特征在于,所述通信接口,还用于在向所述至少一个设备中包括所述第二无线设备在内的至少一个设备的第二通信接口发送所述第二唤醒消息之后,接收所述第二无线设备通过所述第二无线设备的第二通信接口发送的唤醒响应消息,所述唤醒响应消息用于指示所述第二无线设备的第二通信接口处于工作状态;The wireless device according to any one of claims 70-78, wherein the communication interface is further configured to: at least one device including the second wireless device in the at least one device After the second communication interface sends the second wake-up message, receiving a wake-up response message sent by the second wireless device by using the second communications interface of the second wireless device, where the wake-up response message is used to indicate the second The second communication interface of the wireless device is in an active state;所述处理器,还用于通过所述通信接口与所述第二无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。The processor is further configured to negotiate, by using the communication interface, the first identifier information and the second identifier information used by the second wireless device to wake up the second communication interface of the second wireless device.
- 根据权利要求70-79中任一项所述的无线设备,其特征在于,所述第一通信接口为唤醒无线电/接收机WUR接口,所述第二通信接口为无线保真Wi-Fi接口。The wireless device of any of claims 70-79, wherein the first communication interface is a wake-up radio/receiver WUR interface and the second communication interface is a wireless fidelity Wi-Fi interface.
- 一种无线设备,其特征在于,所述无线设备为第二无线设备,所述无 线设备包括:第一通信接口、第二通信接口和处理器;A wireless device, wherein the wireless device is a second wireless device, the The line device includes: a first communication interface, a second communication interface, and a processor;所述第一通信接口,用于接收第一无线设备以组播方式或广播方式发送的第一唤醒消息,所述第一唤醒消息中携带有第一标识信息,所述第一标识信息用于标识接收所述第一唤醒消息的多个设备中的至少一个设备,所述第一唤醒消息用于指示所述第一标识信息所标识的设备唤醒该设备的第二通信接口以接收所述第一无线设备后续发送的第二唤醒消息;The first communication interface is configured to receive a first wake-up message sent by the first wireless device in a multicast mode or a broadcast manner, where the first wake-up message carries first identifier information, where the first identifier information is used by Identifying at least one of the plurality of devices that receive the first wake-up message, the first wake-up message is used to indicate that the device identified by the first identification information wakes up the second communication interface of the device to receive the first a second wake-up message sent by a wireless device;所述处理器,用于若确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,则唤醒所述第二无线设备的第二通信接口;The processor, if it is determined that the second wireless device is one of the devices identified by the first identifier information, waking up the second communication interface of the second wireless device;所述第二通信接口,用于接收所述第一无线设备发送的第二唤醒消息,所述第二唤醒消息中携带有第二标识信息,所述第二标识信息用于标识接收所述第二唤醒消息的至少一个设备中所述第一无线设备要唤醒的设备,所述第二唤醒消息用于指示所述第二标识信息所标识的设备的第二通信接口处于工作状态;The second communication interface is configured to receive a second wakeup message sent by the first wireless device, where the second wakeup message carries second identifier information, where the second identifier information is used to identify the first And the second wake-up message is used to indicate that the second communication interface of the device identified by the second identifier information is in an active state, in the at least one device of the second wake-up message, where the first wireless device is to wake up;所述处理器,还用于若确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,则保持所述第二无线设备的第二通信接口处于所述工作状态。The processor is further configured to: if it is determined that the second wireless device is one of the devices identified by the second identifier information, maintaining the second communication interface of the second wireless device in the working state .
- 根据权利要求81所述的无线设备,其特征在于,所述第一标识信息包括第一位图信息,所述第一位图信息中包括至少两个比特位,所述第一位图信息中的至少两个比特位与所述多个设备中的至少两组设备中的每个设备组一一对应,所述至少两组设备中的每个设备组包括至少一个设备,所述第一标识信息用于标识所述第一位图信息中值为第一预设值的比特位所对应的设备组,所述第二无线设备为所述第一位图信息中值为第一预设值的比特位所对应的设备组中的一组设备中的一个设备;The wireless device according to claim 81, wherein the first identification information comprises first bitmap information, the first bitmap information includes at least two bits, and the first bitmap information is included in the first bitmap information. And at least two bits are in one-to-one correspondence with each of the at least two of the plurality of devices, each of the at least two groups of devices comprising at least one device, the first identifier The information is used to identify the device group corresponding to the bit in the first bitmap information that is the first preset value, and the second wireless device is the first preset value in the first bitmap information. One of a group of devices in a device group corresponding to the bit;所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第一位图信息中与所述第二无线设备所在组对应的比特位的值为所述第一预设值,则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备;The processor is configured to determine, by the second wireless device, one of the devices identified by the first identifier information, where the processor is configured to: if the first bitmap information is related to the second wireless If the value of the bit corresponding to the group of the device is the first preset value, determining that the second wireless device is one of the devices identified by the first identifier information;其中,所述第二标识信息包括第二位图信息,所述第二位图信息中包括至少两个比特位,所述第二位图信息中的至少两个比特位与所述第一位图信息中值为所述第一预设值的比特位所对应的设备组中的设备一一对应,所述第二标识信息用于标识所述第二位图信息中值为第二预设值的比特位所对应的设备;The second identifier information includes second bitmap information, the second bitmap information includes at least two bits, and at least two bits of the second bitmap information and the first bit The information in the figure information is one-to-one corresponding to the devices in the device group corresponding to the first preset value, and the second identifier information is used to identify that the second bitmap information is the second preset. The device corresponding to the bit of the value;所述处理器用于确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第二位图信息中与所述第二无线设备对应的比特位的值为所述第二预设值,则确定所述第二无线设备为所述第二标识信息所标识的设备的一个设备。The processor is configured to determine, by the second wireless device, one of the devices identified by the second identifier information, where the processor is configured to: if the second bitmap information is related to the second wireless The value of the bit corresponding to the device is the second preset value, and determining that the second wireless device is a device of the device identified by the second identifier information.
- 根据权利要求81所述的无线设备,其特征在于,所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第一标识信息中包括所述第二无线设备所在设备组的组地址信息,则确定所述第二无线设备为所述第一标识信息所标识的设备中的 一个设备;The wireless device according to claim 81, wherein the processor is configured to determine that the second wireless device is one of the devices identified by the first identification information, and the processor is configured to: The first identifier information includes the group address information of the device group where the second wireless device is located, and the second wireless device is determined to be in the device identified by the first identifier information. One device其中,所述第二标识信息包括第三位图信息,所述第三位图信息中包括至少两个比特位,所述第三位图信息中的至少两个比特位与所述第二无线设备所在设备组中的设备一一对应,所述第二标识信息用于标识所述第三位图信息中值为第二预设值的比特位所对应的设备;The second identifier information includes third bitmap information, the third bitmap information includes at least two bits, and at least two bits of the third bitmap information and the second wireless The devices in the device group of the device are in one-to-one correspondence, and the second identifier information is used to identify a device corresponding to the second preset value in the third bitmap information;所述处理器用于确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第三位图信息中与所述第二无线设备对应的比特位的值为所述第二预设值,则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。The processor is configured to determine, by the second wireless device, one of the devices identified by the second identifier information, where the processor is configured to: if the third bitmap information is related to the second wireless If the value of the bit corresponding to the device is the second preset value, determining that the second wireless device is one of the devices identified by the second identifier information.
- 根据权利要求81所述的无线设备,其特征在于,所述第一标识信息包括第四位图信息,所述第四位图信息中包括至少两个比特位,所述第四位图信息中的至少两个比特位与所述多个设备一一对应,所述第一标识信息用于标识所述第四位图信息中值为第一预设值的比特位所对应的设备;The wireless device according to claim 81, wherein the first identification information comprises fourth bitmap information, wherein the fourth bitmap information includes at least two bits, wherein the fourth bitmap information The at least two bits are in one-to-one correspondence with the plurality of devices, and the first identifier information is used to identify a device corresponding to a bit of the fourth bitmap information that is a first preset value;所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第四位图信息中与所述第二无线设备对应的比特位的值为所述第一预设值,则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。The processor is configured to determine, by the second wireless device, one of the devices identified by the first identifier information, where the processor is configured to: if the fourth bitmap information is related to the second wireless The value of the bit corresponding to the device is the first preset value, and determining that the second wireless device is one of the devices identified by the first identifier information.
- 根据权利要求81所述的无线设备,其特征在于,所述处理器用于确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第一标识信息中包括所述第二无线设备的第一通信接口的接口标识,或者包括所述第二无线设备的设备标识,则确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备。The wireless device according to claim 81, wherein the processor is configured to determine that the second wireless device is one of the devices identified by the first identification information, and the processor is configured to: Determining, by the first identifier information, an interface identifier of the first communications interface of the second wireless device, or including a device identifier of the second wireless device, determining that the second wireless device is the first identifier information One of the identified devices.
- 根据根据权利要求81、84或85中任一项所述的无线设备,其特征在于,所述处理器用于确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备,包括:所述处理器用于若所述第二标识信息中包括所述第二无线设备的设备标识或者包括所述第二无线设备的第一通信接口的接口标识,则确定所述第二无线设备为所述第二标识信息所标识的设备中的一个设备。The wireless device according to any one of claims 81, 84 or 85, wherein the processor is configured to determine that the second wireless device is one of the devices identified by the second identification information The processor is configured to determine the second wireless if the second identifier information includes the device identifier of the second wireless device or an interface identifier of the first communications interface of the second wireless device The device is one of the devices identified by the second identification information.
- 根据权利要求81-86中任一项所述的无线设备,其特征在于,所述第一唤醒消息还携带有第一指示信息,所述第一指示信息用于指示所述第一无线设备发送所述第二唤醒消息的时间;The wireless device according to any one of claims 81 to 86, wherein the first wake-up message further carries first indication information, where the first indication information is used to indicate that the first wireless device sends The time of the second wake-up message;所述处理器用于若确定所述第二无线设备为所述第一标识信息所标识的设备中的一个设备,则唤醒所述第二无线设备的第二通信接口,包括:所述处理器用于若确定所述第二无线设备为所述第一标识信息所标识的设备,则在所述第一指示信息所指示的时间,唤醒所述第二无线设备的第二通信接口。The processor is configured to: if the second wireless device is determined to be one of the devices identified by the first identifier information, waking up the second communication interface of the second wireless device, where the processor is configured to: And if it is determined that the second wireless device is the device identified by the first identifier information, waking up the second communication interface of the second wireless device at a time indicated by the first indication information.
- 根据权利要求81-87中任一项所述的无线设备,其特征在于,所述处理器,还用于在所述第二通信接口接收所述第二唤醒消息之前,确定所述第一唤醒消息还携带有第二指示信息,所述第二指示信息用于通知所述第二无线设备:所述第一无线设备使用所述第一唤醒消息和所述第二唤醒消息指示所述第二无线设备唤醒所述第二无线设备的第二通信接口。 The wireless device according to any one of claims 81 to 87, wherein the processor is further configured to determine the first wakeup before the second communication interface receives the second wakeup message. The message further carries the second indication information, where the second indication information is used to notify the second wireless device: the first wireless device indicates the second by using the first wakeup message and the second wakeup message The wireless device wakes up the second communication interface of the second wireless device.
- 根据权利要求81-88中任一项所述的无线设备,其特征在于,所述处理器,还用于在所述第一通信接口接收所述第一唤醒消息之后,若确定所述第二无线设备不是所述第一标识信息所标识的设备,则保持所述第二无线设备的第二通信接口处于休眠状态。The wireless device according to any one of claims 81 to 88, wherein the processor is further configured to: after the first communication interface receives the first wakeup message, determine the second The wireless device is not the device identified by the first identification information, and the second communication interface of the second wireless device is kept in a sleep state.
- 根据权利要求81-89中任一项所述的无线设备,其特征在于,所述处理器,还用于在所述第二无线设备接收所述第二唤醒消息之后,若确定所述第二无线设备不是所述第二标识信息所标识的设备,则将所述第二无线设备的第一通信接口和第二通信接口均由工作状态切换至休眠状态。The wireless device according to any one of claims 81 to 89, wherein the processor is further configured to: after the second wireless device receives the second wakeup message, determine the second The wireless device is not the device identified by the second identifier information, and the first communication interface and the second communication interface of the second wireless device are all switched from the working state to the sleep state.
- 根据权利要求81-90中任一项所述的无线设备,其特征在于,所述处理器,还用于在控制所述第二通信接口处于所述工作状态后,生成唤醒响应消息,所述唤醒响应消息用于指示所述第二无线设备的第二通信接口处于工作状态;The wireless device according to any one of claims 81 to 90, wherein the processor is further configured to generate a wakeup response message after controlling the second communication interface to be in the working state, The wakeup response message is used to indicate that the second communication interface of the second wireless device is in an active state;所述第二通信接口,还用于向所述第一无线设备发送所述处理器生成的所述唤醒响应消息;The second communication interface is further configured to send the wakeup response message generated by the processor to the first wireless device;所述处理器,还用于通过所述第二通信接口与所述第一无线设备协商下一次唤醒所述第二无线设备的第二通信接口时所使用的第一标识信息和第二标识信息。The processor is further configured to, by using the second communication interface, negotiate with the first wireless device, the first identifier information and the second identifier information used when the second communication interface of the second wireless device is awake for the next time .
- 根据权利要求81-91中任一项所述的无线设备,其特征在于,所述第一通信接口为唤醒无线电/接收机WUR接口,所述第二通信接口为无线保真Wi-Fi接口。 The wireless device of any of claims 81-91, wherein the first communication interface is a wake-up radio/receiver WUR interface and the second communication interface is a wireless fidelity Wi-Fi interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201780008014.XA CN108702704B (en) | 2017-03-02 | 2017-04-01 | Method and device for waking up wireless device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710121709 | 2017-03-02 | ||
CN201710121709.0 | 2017-03-02 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018157437A1 true WO2018157437A1 (en) | 2018-09-07 |
Family
ID=63371104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/079385 WO2018157437A1 (en) | 2017-03-02 | 2017-04-01 | Method and device for waking up wireless device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108702704B (en) |
WO (1) | WO2018157437A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023098615A1 (en) * | 2021-11-30 | 2023-06-08 | 华为技术有限公司 | Wake-up method, gateway and system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110418397B (en) * | 2019-07-31 | 2022-07-01 | 杭州中科微电子有限公司 | Low-power-consumption communication method and system for Internet of things |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2273828A1 (en) * | 2009-06-30 | 2011-01-12 | Alcatel Lucent | Power savings for wireless access points |
CN103597845A (en) * | 2011-06-09 | 2014-02-19 | 汤姆逊许可公司 | Method for exiting a low-consumption standby mode, and associated device |
CN104756560A (en) * | 2012-10-24 | 2015-07-01 | 高通股份有限公司 | Near passive receivers with regular PS mode and no ULP (AP is not aware of the receiver/circuit mode) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101257665B (en) * | 2007-02-28 | 2012-06-13 | 株式会社日立制作所 | Terminal control device and method |
CN103777732B (en) * | 2012-10-22 | 2016-08-17 | 群联电子股份有限公司 | The control method of adapter, adapter and memorizer memory devices |
US9277448B2 (en) * | 2013-04-05 | 2016-03-01 | Intel Corporation | Method of efficiency improvement for control frames in 802.11ah |
-
2017
- 2017-04-01 CN CN201780008014.XA patent/CN108702704B/en active Active
- 2017-04-01 WO PCT/CN2017/079385 patent/WO2018157437A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2273828A1 (en) * | 2009-06-30 | 2011-01-12 | Alcatel Lucent | Power savings for wireless access points |
CN103597845A (en) * | 2011-06-09 | 2014-02-19 | 汤姆逊许可公司 | Method for exiting a low-consumption standby mode, and associated device |
CN104756560A (en) * | 2012-10-24 | 2015-07-01 | 高通股份有限公司 | Near passive receivers with regular PS mode and no ULP (AP is not aware of the receiver/circuit mode) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023098615A1 (en) * | 2021-11-30 | 2023-06-08 | 华为技术有限公司 | Wake-up method, gateway and system |
Also Published As
Publication number | Publication date |
---|---|
CN108702704B (en) | 2021-01-05 |
CN108702704A (en) | 2018-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018157786A1 (en) | Method and equipment for indicating downlink service data | |
WO2017124850A1 (en) | Method for negotiating about target wakeup time, and access point and station | |
WO2021089022A1 (en) | Method and apparatus for communication between multi-link devices | |
WO2018192374A1 (en) | Site wake-up method and site | |
JP5107189B2 (en) | Wireless communication base station, wireless communication terminal, wireless communication system, and wireless communication method | |
CN105532065B (en) | System and method for OFDMA PS-Poll transmission | |
WO2018076988A1 (en) | Wakeup method and apparatus | |
EP1684465A1 (en) | Apparatus and Method for setting Delivery Traffic Indication Message (DTIM) Periods in a Wireless Network | |
EP1684466A1 (en) | Power saving and handling broadcast as unicast traffic in a WLAN | |
KR20100095524A (en) | Method and apparatus for power management in communication system | |
WO2013139182A1 (en) | Sleeping method and apparatus | |
JP2010519875A (en) | Method and apparatus for power management of WLAN | |
US12127123B2 (en) | Wireless communication method using wake-up radio and wireless communication terminal therefor | |
EP3469759A1 (en) | Indication of transition between wideband and narrowband communications | |
WO2018171374A1 (en) | Instruction method and device for channel access | |
CN107969028B (en) | Communication method, communication device, access point and station of wireless local area network | |
WO2019037747A1 (en) | Wakeup method and device for wur terminal in wireless network | |
WO2019165808A1 (en) | Communication method and apparatus based on internet of things | |
JP2015530036A5 (en) | ||
WO2018157437A1 (en) | Method and device for waking up wireless device | |
CN107809789B (en) | Communication method, communication device, access point and station of wireless local area network | |
CN109429299B (en) | Communication method, communication device and communication equipment of wireless local area network | |
WO2018233646A1 (en) | Wake-up method, access point, and station | |
WO2023179315A1 (en) | Communication method and apparatus | |
WO2018086311A1 (en) | Method and device for waking up communication interface, identifier configuration method for auxiliary wake-up interface, and 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: 17898713 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: 17898713 Country of ref document: EP Kind code of ref document: A1 |