WO2018145363A1 - Method and device for waking up device - Google Patents

Method and device for waking up device Download PDF

Info

Publication number
WO2018145363A1
WO2018145363A1 PCT/CN2017/081855 CN2017081855W WO2018145363A1 WO 2018145363 A1 WO2018145363 A1 WO 2018145363A1 CN 2017081855 W CN2017081855 W CN 2017081855W WO 2018145363 A1 WO2018145363 A1 WO 2018145363A1
Authority
WO
WIPO (PCT)
Prior art keywords
wake
frame
interface
auxiliary
awake
Prior art date
Application number
PCT/CN2017/081855
Other languages
French (fr)
Chinese (zh)
Inventor
程勇
方平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780074314.8A priority Critical patent/CN110036670B/en
Publication of WO2018145363A1 publication Critical patent/WO2018145363A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of communications, and in particular, to a method and device for waking up a device.
  • Wi-Fi Wireless Fidelity
  • IoT Internet of Things
  • Wi-Fi technology introduces a dormancy mechanism, that is, the Wi-Fi module goes to sleep without data transmission (ie, closes the transmitter).
  • the traditional Wi-Fi sleep mechanism can reduce the power consumption of Wi-Fi.
  • the access point cannot send a message to the device. The access point needs to wait until the device wakes up to send a message to the device, which increases the communication delay and does not achieve on-demand (on- Demand real-time data transmission.
  • the device In order to reduce the communication delay caused by the traditional Wi-Fi sleep mechanism, the device usually follows a certain sleep mode, periodically wakes up to check whether the access point has data to be transmitted to the device, and reduces the sleep time ratio of the device. The energy consumption of the equipment.
  • an ultra-low power Wake-up Radio/Receiver (WUR) module that is, an auxiliary wake-up module
  • the auxiliary wake-up module coexists with the device's primary communication module (eg, 802.11 module).
  • the main communication interface of the device's main communication module enters deep sleep, and the auxiliary wake-up interface of the auxiliary wake-up module is turned on for ultra-low power listening.
  • the wake-up device's auxiliary wake-up interface enables the duty cycle, periodically "wake-sleep", as shown in Figure 1.
  • the wake-up device and the wake-up device do not maintain time synchronization.
  • the wake-up device In the asynchronous mode, the wake-up device cannot accurately know the wake-up window of the wake-up interface of the wake-up device, and cannot ensure that many wake-up devices are awake efficiently, and the air interface of the wake-up device is inefficient.
  • the embodiment of the present application provides a method for waking up a device, which is used to ensure that the awake device can effectively wake up multiple awake devices in the asynchronous mode, which can improve the efficiency of waking up multiple awake devices and further reduce the awake device. Power consumption.
  • a first aspect of the embodiments of the present application provides a method for waking up a device, comprising: waking up a device to determine a wake-up time displacement of at least one awake device, the awake device being a device to be awake by the awake device, each of The wake-up device and the wake-up device each have at least one primary communication interface and at least one secondary wake-up interface; each of each The wake-up time of the wake-up device is shifted to a difference between the first time and the second time respectively associated with each of the devices to be woken, and the second time is that the wake-up device sends the wake-up device to the at least one device that is awake a moment at which the last one of the at least two trigger messages triggers the message, and the first time associated with each of the awake devices is a time at which the awake device is to send a wake-up frame to the at least one awake device;
  • the wake-up device generates the at least two trigger messages, where each trigger message is used to indicate that the wake-up device will send a
  • the awakened device determines, according to the trigger message and the wake-up time displacement, the time that the wake-up interface of the wake-up device receives the wake-up frame according to the trigger message and the wake-up time shift, so that the auxiliary wake-up interface of the wake-up device is in as much sleep as possible.
  • the state and avoiding the auxiliary wake-up interface missing the wake-up frame improves the efficiency of waking up multiple wake-up devices in asynchronous mode and further reducing the power consumption of the wake-up device.
  • the wake-up device includes at least a first device and a second device with different wake-up time shifts.
  • the embodiment of the present application increases the situation that the wake-up time of the two wake-up devices is different, which increases the achievability and integrity of the embodiment of the present application.
  • the device that is to be awake includes at least a first device and a second device that have the same wake-up time displacement belonging to the same multicast group.
  • the embodiment of the present application increases the case where the wake-up time shifts of the two wake-up devices are the same, which increases the achievability and integrity of the embodiment of the present application.
  • the wake-up device determines that the wake-up time of the at least one wake-up device is: the wake-up device is the wake-up device Each wake-up device associated with is assigned a wake-up time shift.
  • the embodiment of the present application provides a specific manner for the wake-up device to determine the wake-up time displacement of the wake-up device, which increases the achievability and operability of the embodiment of the present application.
  • the determining, by the wake-up device, the wake-up time of the at least one awake device includes: the wake-up device calculates according to the preset information. A wake-up time shift is obtained for each of the wake-up devices associated with the wake-up device.
  • the embodiment of the present application provides a specific manner for the wake-up device to determine the wake-up time displacement of the wake-up device, which increases the achievability and operability of the embodiment of the present application.
  • the sending, by the waking device, the at least two trigger messages to the auxiliary wake-up interface of the at least one awake device includes: The wake-up device sends N trigger messages to the auxiliary wake-up interface of the at least one wake-up device within a preset duration T, where the preset duration T is a period of a duty cycle of the auxiliary wake-up interface of the at least one wake-up device
  • the N is an integer greater than or equal to 2, and satisfies N greater than or equal to T/W, the W being the wake window length of the duty cycle of the auxiliary wake-up interface of the at least one wake-up device.
  • the embodiment of the present application provides a specific condition for the wake-up device to send a trigger message, so that the embodiment of the present application is more complete in steps.
  • the method further includes: the wake-up device according to the The second time instant and the wake-up time shift determine a first time instant associated with each of the wake-up devices.
  • the embodiment of the present application adds a process for the wake-up device to determine the time at which the trigger message is sent, and the implementation manner of the embodiment of the present application is added.
  • the wake-up device generates the at least two trigger messages, where each trigger message is used to indicate the wake-up device
  • the sending of the wake-up frame includes: the wake-up device generates a broadcast trigger message including at least the wake-up preamble and the frame type information, where the number of the broadcast trigger messages is at least two, and each of the broadcast trigger messages is used to indicate the The wake-up device will send a wake-up frame; the wake-up device transmits the wake-up frame to an auxiliary wake-up interface of the wake-up device associated with the first time instant at a first time associated with each of the wake-up devices,
  • the wake-up frame is configured to indicate that the wake-up device respectively associated with the first moment wakes up the main communication interface of the wake-up device, including: the wake-up device is at a first moment related to each of the wake-up devices Sending the wake-up frame to an auxiliary wake-up interface of the wake-up device that is respectively associated with
  • Wakeup frame to indicate that the wake-up time associated with the first device to wake the device wakes up the primary communication interface.
  • the embodiment of the present application provides a process for the wake-up device to send a wake-up frame when the trigger message is a broadcast trigger message, and the implementation manner of the embodiment of the present application is added.
  • the wake-up device generates the at least two trigger messages, where each trigger message is used to indicate the wake-up device
  • the sending of the wake-up frame includes: the wake-up device generates a multicast trigger message including at least the wake-up preamble, the frame type information, and the multicast address information, where the number of the multicast trigger messages is at least two, each of the groups
  • the broadcast trigger message is used to indicate that the wake-up device will send the wake-up frame;
  • the wake-up device sends a wake-up device related to the first moment respectively at a first moment related to each of the wake-up devices
  • the auxiliary wake-up interface sends the wake-up frame, where the wake-up frame is used to indicate that the wake-up device associated with the first moment wakes up the main communication interface of the wake-up device, including: the wake-up device is in the The first moment related to the awakened device sends the wake-up frame to the auxiliary wake-up interface of the wake
  • a second aspect of the embodiments of the present application provides a method for waking up a device, including: acquiring, by a wake-up device, a wake-up time displacement of the wake-up device, where the wake-up device is a device that wakes up a device to wake up, the wake-up device And the wake-up device has at least one main communication interface and at least one auxiliary wake-up interface; the wake-up time displacement of the wake-up device is a difference between the first time and the second time, and the second time is the wake-up device a moment when the last one of the at least two trigger messages is sent to the awakened device, the first time being a time when the wake-up device is to send a wake-up frame to the awakened device; the wake-up device Receiving at least two trigger messages sent by the wake-up device, where each trigger message is used to indicate that the wake-up device will send a wake-up frame; and the wake-up device according to the at least two trigger messages and the wake-up time Determin
  • the wake-up device acquires the time of receiving the wake-up frame by the auxiliary wake-up interface of the wake-up device in the asynchronous mode, so that the auxiliary wake-up interface of the wake-up device is in a sleep state as much as possible and avoids the auxiliary wake-up interface from being missed.
  • Wake-up frames improve the efficiency of waking up multiple wake-up devices in asynchronous mode and further reduce the power consumption of the wake-up device.
  • the wake-up device acquires a wake-up time shift of the wake-up device, where the wake-up device receives its associated The wake-up time shift of the wake-up device sent by the wake-up device.
  • the embodiment of the present application provides a process for the wake-up device to receive the determined wake-up time displacement from the wake-up device, which increases the achievability and operability of the embodiment of the present application.
  • the wake-up device acquires a wake-up time displacement of the wake-up device, including: the wake-up device according to a preset
  • the information calculation results in a wake-up time shift of the awakened device.
  • the embodiment of the present application provides a process for the wake-up device to calculate the wake-up time displacement of the wake-up device according to the preset information, which increases the achievability and operability of the embodiment of the present application.
  • the wake-up device receives at least two trigger messages sent by the wake-up device, where each trigger message is used to Instructing the wake-up device to send the wake-up frame includes: the wake-up device receiving at least two broadcast trigger messages sent by the wake-up device, where each broadcast trigger message includes at least wake-up preamble and frame type information, where each a broadcast trigger message is used to indicate that the wake-up device will send a wake-up frame; the wake-up device receives the wake-up frame sent by the wake-up device, and the wake-up frame is used to instruct the wake-up device to wake up the
  • the main communication interface of the wake-up device includes: the wake-up device receives a unicast wake-up frame or a multicast wake-up frame sent by the wake-up device, and the unicast wake-up frame or the multicast wake-up frame is used to wake up the wake-up The primary communication interface of the device.
  • the device that is to be awake receives at least two trigger messages sent by the wake-up device, where each trigger message is used.
  • Instructing the wake-up device to send the wake-up frame includes: the wake-up device receiving at least two multicast trigger messages sent by the wake-up device, where each multicast trigger message includes at least a wake-up preamble, a frame type information, and a group Number information, the multicast trigger message is used to indicate that the wake-up device will send a wake-up frame; the wake-up device receives the wake-up frame sent by the wake-up device, and the wake-up frame is used to wake up the
  • the main communication interface of the awake device includes: the awake device receives a unicast wake-up frame or a multicast wake-up frame sent by the wake-up device, and the unicast wake-up frame or the multicast wake-up frame is used to wake up the Wake up the device's main communication interface.
  • the device that is to be awake determines the device to be woken according to the at least two trigger messages and the wake-up time displacement.
  • the working state of the auxiliary wake-up interface includes: determining, by the wake-up device, a sleep duration of the auxiliary wake-up interface of the wake-up device according to the at least two trigger messages and the wake-up time shift; the wake-up device according to the sleep The duration determines the turn-on time of the auxiliary wake-up interface.
  • the embodiment of the present application provides a specific process for determining, by the awake device, the working state of the auxiliary awake interface of the awake device, which increases the achievability and operability of the embodiment of the present application.
  • the device that is to be awake determines the primary communication interface and/or the auxiliary wake-up interface of the wake-up device according to the wake-up frame.
  • the working state includes: the wake-up device wakes up the main communication interface of the wake-up device according to the wake-up frame, and adjusts the auxiliary wake-up interface of the wake-up device to be in an off state; or the wake-up device according to the The wake-up frame wakes up the main communication interface of the wake-up device, and keeps the auxiliary wake-up interface of the wake-up device in an on state; or the wake-up device keeps the main communication of the wake-up device according to the wake-up frame
  • the module is in an on state, and adjusting the auxiliary wakeup interface of the waked device is in an off state; or the wakeup device keeps the main communication module of the awakened device in a closed state according to the wakeup frame, and adjusting the The auxiliary wake-up interface of the wake-
  • the wake-up device after the wake-up device receives the wake-up frame sent by the wake-up device, the wake-up device is configured according to the Before the wake-up frame determines the working state of the main communication interface and/or the auxiliary wake-up interface of the wake-up device, the method further includes: the wake-up device determines that the wake-up frame is authentic, and the true refers to The wake-up frame is sent by the wake-up device associated with the wake-up device to the wake-up device.
  • the embodiment of the present application provides a process for confirming a wake-up frame by a wake-up device, so that the application is more complete in steps.
  • a third aspect of the embodiments of the present application provides an apparatus, including: an auxiliary wake-up interface, a main communication interface, a processor, a memory, and an antenna module connected through a bus;
  • the auxiliary wake-up interface is configured to receive the wake-up frame and the a trigger message;
  • the main communication interface is configured to send the wake-up frame and the trigger message, and receive a wake-up signal sent by the auxiliary wake-up interface;
  • the processor is configured to execute an instruction for generating a wake-up frame and a trigger message;
  • the memory And an instruction for storing the wake-up frame and the trigger message;
  • the antenna module is configured to receive the wake-up frame and the trigger message, or send the wake-up frame and the trigger message.
  • the auxiliary wake-up interface is a communication interface provided by the auxiliary wake-up module, and the auxiliary wake-up interface is at least one.
  • the main communication interface is a communication interface provided by the main communication module, and the main communication interface is at least one.
  • the processor is specifically configured to invoke the memory storage instruction, by using the auxiliary wake-up interface and the Main communication interface execution The method described in each of the above aspects.
  • a fourth aspect of the present application provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods described in the above aspects.
  • a fifth aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
  • the waking device determines a wake-up time displacement of the at least one awake device, where the awake device is a device that the awake device is to wake up, and each of the awake devices has at least one master a communication interface and at least one auxiliary wake-up interface; the wake-up time displacement of each of the wake-up devices is a difference between a first time and a second time respectively associated with each of the wake-up devices, the and each of the The first time that the wake-up device is respectively associated is a time when the wake-up device is to send a wake-up frame to the at least one wake-up device, and the second time is that the wake-up device sends at least the wake-up device to the at least one wake-up device a time at which the last one of the two trigger messages triggers the message; the wake-up device generates the at least two trigger messages, the each trigger message is used to indicate that the wake-up device will send a wake-up frame; Sending, by the auxiliary wake-
  • FIG. 1 is a schematic diagram of a duty cycle of an auxiliary wake-up interface in the present application
  • FIG. 2 is a schematic diagram of a network architecture of the present application.
  • FIG. 3 is a schematic diagram of an embodiment of a method for waking up a device according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of a specific application scenario of a method for waking up a device according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a frame format of a broadcast trigger message according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a frame format of a unicast wake-up frame according to an embodiment of the present application
  • FIG. 7 is a schematic structural diagram of a frame format of a multicast wake-up frame according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of another embodiment of a method for waking up a device according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of another specific application scenario of a method for waking up a device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a frame format of a multicast trigger message according to an embodiment of the present application.
  • Figure 11a is a schematic diagram of an embodiment of a device in an embodiment of the present application.
  • Figure 11b is a schematic diagram of another embodiment of the device in the embodiment of the present application.
  • FIG. 12 is a schematic diagram of another embodiment of a device in an embodiment of the present application.
  • the embodiment of the present application provides a method for waking up a device, which is used to ensure that the awake device can effectively wake up multiple awake devices in the asynchronous mode, improve the air interface efficiency of waking up multiple devices, and further reduce the work of the awake device. Consumption.
  • the main communication module provides a main communication interface
  • the auxiliary wake-up module provides an auxiliary wake-up interface.
  • the first device wake-up device
  • the second device wake-up device
  • the first device first sends a wake-up packet (WUP) to the secondary wake-up interface of the second device.
  • WUP wake-up packet
  • the secondary wake-up interface of the second device checks the receiving address (Receive Address, RA) of the wake-up frame and confirms the correctness and authenticity of the wake-up frame.
  • the secondary wake-up interface of the second device sends a wake-up signal to the primary communication interface of the second device, Wake up the primary communication interface of the second device.
  • the trigger message sent by the awake device may be a broadcast trigger message or a multicast trigger message.
  • the embodiment of the present application One embodiment of a method of waking up a device includes:
  • the wake-up device determines a wake-up time shift of the at least one wake-up device.
  • the wake-up device determines a wake-up time shift of the at least one wake-up device, the wake-up device is a device to be woken up by the wake-up device, each wake-up device and the wake-up device having at least one primary communication interface and at least one auxiliary wake-up interface.
  • the wake-up time of each awake device is the difference between the first moment and the second moment respectively associated with each awake device, and the first moment associated with each awake device is a wake-up device.
  • the moment when the wake-up frame is to be sent to the at least one awake device, the second time is the time at which the wake-up device sends the last one of the at least two broadcast trigger messages to the at least one awake device.
  • the wake-up device can determine the wake-up time displacement of the wake-up device in multiple manners.
  • Mode 1 After the wake-up device acquires the specific number of the wake-up devices or the wake-up device is in the association process, each wake-up device is assigned a wake-up time shift. It may be randomly assigned or allocated according to preset rules.
  • Mode 2 The wake-up device calculates the wake-up time displacement of each wake-up device according to the preset information.
  • the preset information is information common to the wake-up device and the wake-up device.
  • the preset information may be a Media Access Control Address (MAC Address), and the MAC address is 48 bits; the preset information may also be an Association Identifier (AID), and the length is 16 bits.
  • MAC Address Media Access Control Address
  • AID Association Identifier
  • the number of the devices to be awakened may be one, or two, three, four or five, and may be other devices that are awakened, which is not limited herein.
  • the wake-up time shift of each wake-up device may be the same or different, and multiple wake-up devices with the same wake-up time shift may form a multicast group (Group -cast group).
  • the wake-up time shift of each wake-up device may be the same or different.
  • the awake device includes the awake device 1 to the awake device 5, that is, the awake device includes the first device to the fifth device.
  • the device to be awakened includes a first device to a fifth device, and the wake-up time displacement of the fourth device is the same as the wake-up time of the fifth device, and the wake-up time displacement of the first device is different from the wake-up time of the second device.
  • the wake-up time shift of the device is different from the wake-up time shift of the third device.
  • the wake-up device acquires a wake-up time displacement of the wake-up device.
  • the wake-up device acquires the wake-up time displacement of the wake-up device, which is the device that the wake-up device is about to wake up, the wake-up device having at least one primary communication interface and at least one auxiliary wake-up interface.
  • the wake-up time of the wake-up device is the difference between the first time and the second time.
  • the first time is the time when the wake-up device will send the wake-up frame to the wake-up device
  • the second time is the wake-up device is awakened. The moment when the device sends the last one of the at least two broadcast trigger messages.
  • the wake-up device can determine the wake-up time displacement of the wake-up device in multiple ways.
  • Mode 1 The wake-up device receives the allocated wake-up time shift sent by the wake-up device;
  • Mode 2 The wake-up device calculates the wake-up according to the preset information.
  • the wake-up time of the device is shifted.
  • the preset information is information shared by the wake-up device and the wake-up device.
  • the preset information may be a MAC Address, and the MAC address is 48 bits; the preset information may also be an associated identifier. A length of 16 bits, or a partial associated identifier, a length of 9 bits, or a hashed partial associated identifier.
  • the first device to the fifth device respectively acquire respective wake-up time shifts, and the first device to the fifth device each have at least one main communication interface and at least one auxiliary wake-up interface.
  • the first time of the first device is different from the first time of the second device, and the first time of the fourth device is the same as the first time of the fifth device, and there are multiple combinations and combinations according to the actual situation, which is not limited herein.
  • the wake-up device generates at least two broadcast trigger messages.
  • the wake-up device generates at least two broadcast trigger messages, each of which is used to indicate that the wake-up device will send the wake-up frame.
  • the broadcast trigger message is an auxiliary wake-up interface frame
  • the receiving object is an auxiliary wake-up interface of the wake-up device.
  • Each broadcast trigger message includes at least a wakeup preamble and a frame type information.
  • the wakeup preamble may further include a Start Frame Delimiter (SFD).
  • SFD Start Frame Delimiter
  • the frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information.
  • the frame format of the broadcast trigger message may further include a legacy 802.11 preamble, an index information, a broadcast address, a Transmit address, and a basic service set information.
  • a basic service set information One or more of (Basic Service Set information, BSS Info), counter information (Counter), Frame Integrity Code (MIC), and Frame Check Sequence (FCS).
  • the basic service set information may be a basic service with the wake-up device and the wake-up device.
  • the information related to the set identifier may be, for example, a Basic Service Set Identifier (BSSID) having a length of 48 bits; or a hashed Basic Service Set Identifier (Hashed BSSID).
  • the length may be 16 bits; or the basic service set color (BSS color) may be 6 bits in length; or may be the media access control address (MAC Address) of the wake-up device. ) or a hashed media access address (Hashed Media Access Control Address, Hased MAC Address) or a partial media access control address (Partial Media Access Control Address, Partial MAC Address).
  • the purpose of hashing the media access address may be to shorten the MAC address and reduce the number of transmitted bits, for example, 16 bits from 48 bits; or to hide the real MAC address, for security and privacy reasons .
  • the frame format of the broadcast trigger message is as shown in FIG. 5.
  • the broadcast address may include basic service set information, that is, the basic service set information may be part of the broadcast address.
  • the frame format of the broadcast trigger message includes a Transmit Address
  • the transmission address may include basic service set information, that is, the basic service set information may be part of the transmission address.
  • the broadcast trigger message includes frame authentication information (MIC)
  • the broadcast trigger message also includes counter information (Counter)
  • the frame authentication information is generated according to the content of the broadcast trigger message, the counter information, and the key;
  • the authentication information is used to help the receiving device to authenticate the authenticity of the broadcast trigger message, and can prevent the attacker from sending a fake broadcast trigger message to interfere with the asynchronous wake-up operation of the wake-up device.
  • the frame format of the broadcast trigger message includes frame check information
  • the frame check information may be used to help the receiving device verify the correctness of the received broadcast trigger message.
  • the wake-up device sends at least two broadcast trigger messages to the auxiliary wake-up interface of the at least one wake-up device.
  • the wake-up device transmits the generated at least two broadcast trigger messages to the auxiliary wake-up interface of the at least one wake-up device.
  • the wake-up device does not know the location of the wake-up window of the wake-up interface of each wake-up device.
  • the wake-up device needs to send at least two broadcast trigger messages, and it is expected that at least one of the broadcast trigger messages will be received by the wake-up device's auxiliary wake-up interface.
  • each broadcast trigger message is used to indicate that the wake-up device needs to wake up at least one wake-up device, that is, the wake-up device sends a wake-up frame to at least one of the wake-up devices
  • the wake-up frame may be a unicast wake-up frame or a multicast wake-up. frame.
  • the wake-up frame is a unicast wake-up frame
  • the unicast wake-up frame can wake up a wake-up device
  • the wake-up frame is a multicast wake-up frame
  • the multicast wake-up frame can wake up multiple wake-up devices belonging to the same multicast group.
  • the times at which the plurality of awakened devices that receive the multicast wake-up frame expect to receive the wake-up frame are the same.
  • the wake-up device needs to send a series of broadcast trigger messages in time T, which is the duty-cycling of the wake-up device's auxiliary wake-up interface.
  • T is the duty-cycling of the wake-up device's auxiliary wake-up interface.
  • the period is that the number of broadcast trigger messages included in the series of broadcast trigger messages is N, and N is greater than or equal to T/W, and N is an integer greater than or equal to 2.
  • W is the length of the wake-up window of the work cycle of the wake-up device's auxiliary wake-up interface. If the lengths of the wake-up windows of a plurality of different wake-up devices are different, then W is the smallest wake-up window in the wake-up window of all the wake-up devices.
  • the wake-up device in this embodiment includes a first device to a fifth device, where W is the length of the smallest wake-up window in the wake-up window of the first device to the wake-up window of the fifth device.
  • T is the maximum period of the duty cycle of the auxiliary wake-up interface of the first device to the work cycle of the auxiliary wake-up interface of the fifth device.
  • the wake-up device receives at least two broadcast trigger messages sent by the wake-up device.
  • the wake-up device receives at least two broadcast trigger messages sent by the wake-up device, and each broadcast trigger message is used to indicate that the wake-up device will send the wake-up frame.
  • the wake-up device receives the broadcast trigger message sent by the wake-up device through the auxiliary wake-up interface provided by the auxiliary wake-up module.
  • the awakened device determines, according to at least the frame type information (Frame Type) in the received message, whether the received message is a broadcast trigger message.
  • the operations that the wake-up device needs to perform may include:
  • the wake-up device may determine whether the basic service set information carried in the broadcast trigger message matches the basic service set where the wake-up device is located; if not, the device wakes up The device ignores the broadcast trigger message, for example, the wake-up device stops receiving and processing the broadcast trigger message. If it matches, perform other processing steps.
  • the basic service set information carried in the broadcast trigger message may be part of a broadcast address or a broadcast address or as part of a send address.
  • the awake device may authenticate the authenticity of the received broadcast trigger message according to the frame authentication information, that is, whether the broadcast trigger message is from a legally associated wake-up device.
  • the wake-up device may determine, according to the frame check information, whether the received broadcast trigger message is correct, that is, check whether the broadcast trigger message is in error during transmission.
  • the awakened device determines an working state of the auxiliary wake-up interface of the wake-up device according to the at least two broadcast trigger messages and the wake-up time shift.
  • the wake-up device determines the working state of the auxiliary wake-up interface of the wake-up device according to the received at least two broadcast trigger messages and the wake-up time shift.
  • the The wake-up device may determine the working state of the auxiliary wake-up interface of the wake-up device based at least on the content of the received broadcast trigger message.
  • the awake device includes a first device to a fifth device. Determining, by the first device, the sleep duration of the auxiliary wake-up interface of the first device according to the content of the received broadcast trigger message and the wake-up time displacement; the first device causes the auxiliary wake-up interface of the first device to enter the sleep at least according to the sleep duration 1 State, and wake up the auxiliary wake-up interface to wait for the wake-up frame after the sleep duration ends, and the wake-up frame may be a unicast wake-up frame or a multicast wake-up frame. If the at least two broadcast trigger messages include index information, the awake device acquires index information from at least two broadcast trigger messages, the index information indicating the number K of broadcast trigger messages to be transmitted remaining.
  • the first device needs to obtain the minimum time interval M between the two adjacent broadcast trigger messages sent by the wake-up device.
  • the minimum time interval M can be determined by the wake-up device and sent to the first device.
  • the steps performed by the second device to the fifth device are the same as those performed by the first device, and are not described herein again.
  • the device can determine that the sleep duration of the auxiliary wake-up interface is S, and S is the wake-up time shift of the wake-up device.
  • the method of determining the sleep duration of the wake-up interface of the wake-up device can also be used to determine the time at which the wake-up interface of the wake-up device desires to receive the wake-up frame.
  • the sleep duration of the auxiliary wake-up interface is the time at which the auxiliary wake-up interface expects to receive the wake-up frame.
  • the wake-up device generates at least one wake-up frame.
  • the wake-up device generates at least one wake-up frame, and the at least one wake-up frame is used to wake up the primary communication interface of the at least one wake-up device, and the wake-up frame may be a unicast wake-up frame or a multicast wake-up frame.
  • the frame format of the unicast wake-up frame may be as shown in FIG. 6, and the unicast wake-up frame includes at least a wake-up preamble and a frame type information (Frame Type). ) and Receive Address (Receive Address).
  • the wakeup preamble may further include a Start Frame Delimiter (SFD).
  • SFD Start Frame Delimiter
  • the frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information.
  • the Receive Address is a unicast address, and the unicast address may be information related to the identifier of the wake-up device's auxiliary wake-up interface, for example, Wake-up Radio/Receiver Identifier (WUR ID). Wake-up Radio/Receiver Address (WUR Address); or information related to media access control of the device being woken up, for example, MAC Address, Hashed MAC Address, or Partial MAC Address.
  • WUR ID Wake-up Radio/Receiver Identifier
  • WUR Address Wake-up Radio/Receiver Address
  • MAC Address MAC Address
  • Hashed MAC Address Hashed MAC Address
  • Partial MAC Address Partial MAC Address
  • the unicast wakeup frame may further include a legacy 802.11 Preamble, a Transmit Address, a Basic Service Set information (BSS Info), a Control Info, and a counter information. Counter), one or more of Frame Integrity Code (MIC) and Frame Check Sequence (FCS).
  • the basic service set information (BSS Info) may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a BSSID or a Hashed BSSID, or may be a BSS color, or may be a wake-up device.
  • MAC Address or Hashed MAC Address may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a BSSID or a Hashed BSSID, or may be a BSS color, or may be a wake-up device.
  • the frame format of the multicast wake-up frame may be as shown in FIG. 7.
  • the multicast wake-up frame includes at least a wake-up preamble and a frame type information (Frame Type). ) and the multicast address (Group-cast Address).
  • the wakeup preamble may further include frame starter information.
  • the frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information.
  • the multicast address may be a group ID information, or the multicast address may include group number information.
  • the multicast address may also be a combination of multiple unicast addresses, that is, the multicast address may include multiple unicast addresses, and the unicast address may be information related to the identifier of the auxiliary wake-up interface of the wake-up device. For example, WUR ID, WUR Address; or information related to the MAC address of the target device being woken up, for example, MAC Address, Hashed MAC Address, or Partial MAC Address.
  • the multicast wake-up frame may further include a legacy 802.11 Preamble, a Transmit Address, a BSS Info, a Control Info, a Counter, and a frame authentication information.
  • a legacy 802.11 Preamble a Transmit Address
  • BSS Info a BSS Info
  • Control Info a Control Info
  • Counter a frame authentication information
  • FCS Frame Check Information
  • the basic service set information (BSS Info) may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a BSSID or a Hashed BSSID, or may be a BSS color, or may be a wake-up device.
  • MAC Address or Hashed MAC Address If the wake-up device wakes up two or more wake-up devices using multicast mode, the wake-up device needs to group the wake-up devices in advance and divide the associated wake-up devices into multiple multicast groups.
  • the wake-up device determines a time at which the wake-up frame is sent according to the wake-up time shift.
  • the wake-up device determines a first time to transmit a wake-up frame associated with each of the devices being woken up based on the determined wake-up time shift and the second time of each of the wake-up devices.
  • the wake-up frame can be sent.
  • the moment when the wake-up frame is sent is the time at which the wake-up device expects to be able to send the wake-up frame.
  • the exact moment when the wake-up device sends the wake-up frame is random, and the randomness is caused by the wake-up device competing for the channel.
  • the exact moment at which the wake-up device actually sends the wake-up frame is the time at which the wake-up frame is expected to be transmitted, or later than the time at which the wake-up frame is expected to be transmitted (ie, the time to contend for the channel is increased).
  • the wake-up time shift is determined based on the time at which the desired wake-up device sends the wake-up frame.
  • step 308 is after step 306, before step 309, there is no necessary sequence between step 308 and step 307.
  • Step 308 may be performed before step 307, or after step 307, or step 308 and step 307, which are not limited herein.
  • the wake-up device sends a wake-up frame to the auxiliary wake-up interface of the associated wake-up device at a first moment related to each wake-up device.
  • the wake-up device sends a wake-up frame to the auxiliary wake-up interface of each of the wake-up devices associated with the first moment at a first moment associated with each of the wake-up devices, the wake-up frame being used to indicate that the wake-up device associated with the first moment wakes up Main communication interface.
  • the waking device may send a unicast wake-up frame to the awake device according to the determined moment of sending the wake-up frame, and sequentially wake up the plurality of awake devices, as shown in FIG. 4 .
  • the wake-up device can also send a multicast wake-up frame to wake up the plurality of wake-up devices.
  • the fourth device and the fifth device have the same unicast wakeup time offset and can form a multicast group.
  • the multicast wake-up frame may carry the identification information of the auxiliary wake-up interface of two or more wake-up devices; or, if two or more wake-up devices are used as a multicast group, the multicast wake-up frame It can carry the identification information of the multicast group (that is, the Group ID).
  • the wake-up device may only send a unicast wake-up frame; or, the wake-up device may first send a unicast wake-up frame and then send a multicast wake-up frame; or, the wake-up device may first send a multicast wake-up frame, and then send a unicast wake-up frame, specifically No restrictions are imposed.
  • the unicast wake-up frame is different from the receiving device of the multicast wake-up frame.
  • the device that is woken up receives the wake-up frame sent by the wake-up device.
  • the wake-up device receives a wake-up frame sent by the wake-up device, and the wake-up frame is used to wake up the main communication interface of the wake-up device.
  • the wake-up device Since the exact moment when the wake-up device sends the wake-up frame is random (randomness is due to the contention channel), it may take some time for the wake-up device to wait for a period of time to receive the wake-up frame after waking up. Further, in order to prevent the wake-up device from missing the wake-up frame, the wake-up device's auxiliary wake-up interface needs to wake up a certain time in advance to wait for the wake-up frame to be received.
  • the wake-up time of the wake-up device of the wake-up device and the time to wait for receiving the wake-up frame may be determined by a specific device internal implementation, which may not be limited herein.
  • the wake-up device receives the wake-up frame through the auxiliary wake-up interface, and the wake-up frame may be a unicast wake-up frame. Or multicast wake-up frame. If the wakeup frame is a unicast wakeup frame, the awake device needs to check whether the received address carried in the unicast wakeup frame matches the identifier of the local auxiliary wakeup interface; if not, the awake device can ignore the unicast wakeup A frame, for example, the first device (or one or more of the second device to the fifth device) stops receiving and processing the unicast wake frame.
  • the device to be awakened needs to determine whether the multicast address carried in the multicast wake-up frame matches the identifier of the local multicast group, or the wake-up device needs to determine the carried in the multicast wake-up frame. Whether the multicast address includes the identification information of the local auxiliary wake-up interface; if the identifier information of the local auxiliary wake-up interface is not matched or not included, the wake-up device may ignore the multicast wake-up frame, for example, stop receiving and processing the multicast. Wake up the frame.
  • the operation that the wake-up device may perform may further include:
  • the wake-up device may determine whether the basic service set information carried in the wake-up frame matches the basic service set where the wake-up device is located; if not, the wake-up device will The wake-up frame is ignored, for example, the wake-up device stops receiving and processing the wake-up frame.
  • the basic service set information carried in the wake-up frame may be part of the receiving address or the multicast address or as part of the sending address.
  • the wake-up device may authenticate the authenticity of the received wake-up frame according to at least the frame authentication information, that is, whether the wake-up frame is from a legally associated wake-up device.
  • the wake-up device may determine, according to the frame check information, whether the received wake-up frame is correct, that is, check whether the wake-up frame is in error during transmission.
  • the awakened device determines, according to the wake-up frame, an active state of the wake-up device's primary communication interface and/or the auxiliary wake-up interface.
  • the wake-up device determines the operational status of the wake-up device's primary communication interface and/or the auxiliary wake-up interface based on the wake-up frame.
  • the wake-up device After the wake-up device receives a real and correct unicast wake-up frame or multicast wake-up frame associated with itself, the wake-up device determines the local primary communication interface and/or according to at least the content of the received wake-up frame. Or the working state of the auxiliary wake-up interface.
  • the specific determination method is as follows:
  • the wake-up device wakes up the main communication interface of the wake-up device according to the wake-up frame, and adjusts the auxiliary wake-up interface of the wake-up device to be in an off state; or, the wake-up device wakes up the main communication interface of the wake-up device according to the wake-up frame, and keeps the wake-up device
  • the auxiliary wake-up interface is in an on state; or, the wake-up device keeps the main communication module of the wake-up device in an on state according to the wake-up frame, and adjusts the auxiliary wake-up interface of the wake-up device to be in an off state or the wake-up device remains according to the wake-up frame.
  • the main communication module of the wake-up device is turned off, and the auxiliary wake-up interface of the wake-up device is adjusted to be in an off state.
  • the wake-up device determines, according to the broadcast trigger message and the wake-up time displacement, the time that the wake-up interface of the wake-up device receives the wake-up frame, so that the auxiliary wake-up interface of the wake-up device is as much as possible.
  • the state and avoiding the auxiliary wake-up interface missing the wake-up frame improves the air interface efficiency when waking up multiple devices in asynchronous mode and further reduces the power consumption of the wake-up device.
  • another embodiment of the method for waking up the device in the embodiment of the present application includes:
  • the wake-up device determines a wake-up time shift of the at least one wake-up device.
  • the wake-up device determines the wake-up time displacement of the wake-up device according to the multicast group to which the wake-up device belongs, and the wake-up device is a device that the wake-up device is to wake up, and each wake-up device and the wake-up device have at least one primary communication interface and at least An auxiliary wakeup interface.
  • the wake-up time of each awake device is the difference between the first moment and the second moment respectively associated with each awake device, and the first moment associated with each awake device is a wake-up device.
  • the moment when the wake-up frame is to be sent to the at least one awake device, and the second time is the moment when the wake-up device sends the last one of the at least two multicast trigger messages to the at least one awake device.
  • the wake-up device can determine the wake-up time displacement of the wake-up device in multiple ways.
  • Mode 1 After the wake-up device obtains the multicast group to which each wake-up device belongs, or in the association process, allocates each multicast group associated with it.
  • a multicast wake-up time shift can be randomly assigned or allocated according to preset rules.
  • Mode 2 The wake-up device calculates the multicast wake-up time displacement of each multicast group according to the preset information.
  • the preset information is The information shared by the wake-up device and the wake-up device, for example, the preset information may be a Group Identifier (Group ID) or a Hashed Group Identifier (Hashed Group ID).
  • each multicast group there are at least one multicast group, and the number of devices to be woken up in each multicast group is at least two, three, four, or five, and other numbers of devices that are woken up. , specifically here is not limited.
  • the unicast wakeup time of each wake-up device in the multicast group is the same, and the multicast wake-up time of different multicast groups is different.
  • the multicast group includes the device 1 to be woken up to be awakened by the device 5, that is, is awakened.
  • the device includes first to fifth devices.
  • one multicast group of the awakened device includes the first device to the fifth device, and the unicast wake time shift of the first device to the fifth device is the same.
  • the wake-up device acquires a wake-up time shift of the wake-up device.
  • the wake-up device acquires the wake-up time displacement of the wake-up device, which is the device that the wake-up device is about to wake up, the wake-up device having at least one primary communication interface and at least one auxiliary wake-up interface.
  • the wake-up time of the wake-up device is the difference between the first time and the second time
  • the first time is a time when the wake-up device sends a wake-up frame to the multicast group to which the device to be awakened belongs
  • the second time is The moment when the wake-up device sends the last multicast trigger message in at least two multicast trigger messages to the multicast group to which the wake-up device belongs.
  • the wake-up device can determine the wake-up time displacement of the wake-up device in multiple manners.
  • Mode 1 The wake-up device receives the allocated multicast wake-up time offset sent by the wake-up device;
  • Mode 2 The wake-up device calculates according to the preset information.
  • the multicast wake-up time of the wake-up device is shifted.
  • the preset information is information common to the wake-up device and the wake-up device.
  • the preset information may be a Group Identifier (Group ID) or a hashed group. Hashed Group Identifier (Hashed Group ID).
  • the first device to the fifth device respectively acquire respective wake-up time shifts, and the first device to the fifth device each have at least one main communication interface and at least one auxiliary wake-up interface.
  • First moment of the first device The first moments to the fifth device are the same, that is, the times at which the first device to the fifth device in the same multicast group expect to receive the wake-up frame are the same.
  • the wake-up device generates at least two multicast trigger messages.
  • the wake-up device generates at least two multicast trigger messages, and each multicast trigger message is used to indicate that the wake-up device will send the wake-up frame.
  • the multicast trigger message is an auxiliary wake-up interface frame, and the receiving object is an auxiliary wake-up interface of the wake-up device.
  • Each multicast trigger message includes at least a wake-up preamble, a frame type information, and a group-cast address.
  • the wakeup preamble may further include a Start Frame Delimiter (SFD).
  • SFD Start Frame Delimiter
  • the frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information.
  • the multicast address information (Group-cast address) can be a multicast address, that is, the address information of a multicast group; or the identification information of a multicast group, for example, a multicast group number (Group ID); or multiple assistants.
  • the combination of the wake-up interface address may include multiple auxiliary wake-up interface addresses, and the auxiliary wake-up interface address may be Wake-up Radio/Receiver Identifier (WUR ID) or related to the device being woken up.
  • WUR ID Wake-up Radio/Receiver Identifier
  • Identification information such as MAC Address, or Hashed MAC Address.
  • the frame format of the multicast trigger message may further include a legacy 802.11 preamble, an index information, a Transmit Address, and a basic service set information.
  • a basic service set information One or more of BSS Info), Counter Information, Message Integrity Code (MIC), and Frame Check Sequence (FCS).
  • the basic service set information may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a Basic Service Set Identifier (BSSID) or a basic service set of the hash.
  • BSSID Basic Service Set Identifier
  • the identifier (Hashed Basic Service Set Identifier, Hashed BSSID), or the Basic Service Set color (BSS color), or may also be the MAC Address, Hashed MAC Address, or Partial MAC Address of the wake-up device.
  • the frame format of the multicast trigger message is as shown in FIG.
  • a group-cast address may include basic service set information, that is, the basic service set information may be part of a multicast address.
  • the frame format of the multicast trigger message includes frame authentication information (MIC)
  • the multicast trigger message also includes counter information (Counter)
  • the frame authentication information is generated according to the content of the multicast trigger message, the counter information, and the key.
  • the frame authentication information is used to help the receiving device to authenticate the authenticity of the multicast trigger message, and can prevent the attacker from sending a fake multicast trigger message to interfere with the asynchronous wake-up operation of the wake-up device.
  • the frame format of the multicast trigger message includes frame check information
  • the frame check information may be used to help the receiving device verify the correctness of the received multicast trigger message.
  • the wake-up device sends at least two multicast trigger messages to the auxiliary wake-up interface of the at least one wake-up device.
  • the wake-up device sends the generated at least two multicast trigger messages to the auxiliary wake-up interface of the at least one wake-up device.
  • the wake-up device does not know the location of the wake-up window of the wake-up interface of each wake-up device.
  • the wake-up device needs to send at least two multicast trigger messages, and it is expected that at least one of the multicast trigger messages will be received by the wake-up device of the wake-up device.
  • the wake-up device needs to send a series of multicast trigger messages in time T, and the time T is the duty cycle of the wake-up device's auxiliary wake-up interface (duty-cycling) Period, the number of multicast trigger messages included in the series of multicast trigger messages is N, and is full
  • the foot N is greater than or equal to T/W, and N is an integer greater than or equal to 2.
  • W is the length of the wake-up window of the work cycle of the wake-up device's auxiliary wake-up interface. If the lengths of the wake-up windows of a plurality of different wake-up devices are different, then W is the smallest wake-up window in the wake-up window of all the wake-up devices.
  • the awake device in this embodiment includes a first device to a fifth device, where W is the length of the smallest awake window in the awake window of the first device to the awake window of the fifth device.
  • T is the maximum period of the duty cycle of the auxiliary wake-up interface of the first device to the work cycle of the auxiliary wake-up interface of the fifth device.
  • the wake-up device receives at least two multicast trigger messages sent by the wake-up device.
  • the wake-up device receives at least two multicast trigger messages sent by the wake-up device, and each multicast trigger message is used to indicate that the wake-up device will send the wake-up frame.
  • the wake-up device receives the multicast trigger message sent by the wake-up device through the auxiliary wake-up interface provided by the auxiliary wake-up module.
  • the awakened device determines, according to at least the frame type information (Frame Type) in the received message, whether the received message is a multicast trigger message.
  • the operations that the wake-up device needs to perform may include:
  • the awake device can determine whether the basic service set information carried in the multicast trigger message matches the basic service set where the awake device is located; if not, The awakened device ignores the multicast trigger message, for example, the wake-up device stops receiving and processing the multicast trigger message. If it matches, perform other processing steps.
  • the basic service set information carried in the multicast trigger message may be part of the multicast address or part of the sending address.
  • the awake device can authenticate the authenticity of the received multicast trigger message according to the frame authentication information, that is, whether the multicast trigger message is from a legal association. Wake up the device.
  • the wake-up device may determine, according to the frame check information, whether the received multicast trigger message is correct, that is, check the multicast trigger message during the transmission process. Is it wrong?
  • the awakened device determines an working state of the auxiliary wake-up interface of the wake-up device according to the at least two multicast trigger messages and the wake-up time offset.
  • the wake-up device determines the working state of the auxiliary wake-up interface of the wake-up device according to the received at least two multicast trigger messages and the wake-up time offset.
  • the awakened device may determine the working state of the auxiliary wake-up interface of the wake-up device based at least on the content of the received multicast trigger message.
  • the awakened device includes at least a first device to a second device.
  • the awake device includes a first device to a fifth device. Determining, by the first device, the sleep duration of the auxiliary wake-up interface of the first device according to the content of the received multicast trigger message and the wake-up time displacement; the first device first enters the auxiliary wake-up interface of the first device according to the sleep duration 1
  • the sleep state, and wake up the wake-up interface waiting for the wake-up frame after the sleep duration ends, the wake-up frame may be a unicast wake-up frame or a multicast wake-up frame. If at least two multicast trigger messages include index information, the awake device obtains from at least two multicast trigger messages. Information indicating that the number K of multicast trigger messages to be sent remains.
  • the first device needs to obtain the minimum time interval M between the two adjacent multicast trigger messages sent by the wake-up device.
  • the minimum time interval M can be determined by the wake-up device and sent to the first device. .
  • the steps performed by the second device to the fifth device are the same as those performed by the first device, and are not described herein again. If at least two multicast trigger messages do not include index information, the awake device may determine that the sleep duration of the auxiliary wake-up interface is S, and S is the wake-up time shift of the wake-up device.
  • the method of determining the sleep duration of the wake-up interface of the wake-up device can also be used to determine the time at which the wake-up interface of the wake-up device desires to receive the wake-up frame.
  • the sleep duration of the auxiliary wake-up interface is the time at which the auxiliary wake-up interface expects to receive the wake-up frame.
  • the wake-up device generates at least one wake-up frame.
  • the wake-up device generates at least one wake-up frame, and the at least one wake-up frame is used to wake up the primary communication interface of the at least one wake-up device, and the wake-up frame may be a multicast wake-up frame. If the wake-up device wakes up multiple wake-up devices using multicast mode, the wake-up device needs to group the wake-up devices in advance.
  • the frame format of the unicast wake-up frame may be as shown in FIG. 6, and the unicast wake-up frame includes at least a wake-up preamble and a frame type information (Frame Type). ) and Receive Address (Receive Address).
  • the wakeup preamble may further include a Start Frame Delimiter (SFD).
  • SFD Start Frame Delimiter
  • the frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information.
  • the Receive Address is a unicast address
  • the unicast address may be information related to the identifier of the wake-up device's auxiliary wake-up interface, for example, WUR ID, or WUR Address; or media access with the device being woken up.
  • Control related information such as MAC Address, Hashed MAC Address, or Partial MAC Address.
  • the unicast wakeup frame may further include a legacy 802.11 Preamble, a Transmit Address, a Basic Service Set information (BSS Info), a Control Info, and a counter information. Counter), one or more of Frame Integrity Code (MIC) and Frame Check Sequence (FCS).
  • the basic service set information (BSS Info) may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a BSSID or a Hashed BSSID, or may be a BSS color, or may be a wake-up device.
  • MAC Address or Hashed MAC Address may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a BSSID or a Hashed BSSID, or may be a BSS color, or may be a wake-up device.
  • the frame format of the multicast wake-up frame may be as shown in FIG. 7.
  • the multicast wake-up frame includes at least a wake-up preamble and a frame type information (Frame Type). ) and the multicast address (Group-cast Address).
  • the wakeup preamble may further include frame starter information.
  • the frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information.
  • the multicast address may be a group ID information, or the multicast address may include group number information.
  • the multicast address may also be a combination of multiple unicast addresses, that is, the multicast address may include multiple unicast addresses, and the unicast address may be information related to the identifier of the auxiliary wake-up interface of the wake-up device. For example, WUR ID, WUR Address; or information related to the MAC address of the target wake-up device, for example, MAC Address or Hashed MAC Address or Partial MAC Address.
  • the multicast wake-up frame may further include a legacy 802.11 Preamble, a Transmit Address, a BSS Info, a Control Info, a Counter, and a frame authentication information.
  • a legacy 802.11 Preamble a Transmit Address
  • BSS Info a BSS Info
  • Control Info a Control Info
  • Counter a Counter
  • FCS Frame Check Information
  • the basic service set information (BSS Info) may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a BSSID or a Hashed BSSID, or may be a BSS color, or may be a wake-up device.
  • MAC Address or Hashed MAC Address MAC Address or Hashed MAC Address.
  • the multicast address of the multicast wake-up frame may include basic service set information (BSS Info), that is, the basic service set information may be part of the multicast address.
  • BSS Info basic service set information
  • the transmission address may include basic service set information (BSS Info), that is, the basic service set information may be part of the transmission address.
  • BSS Info basic service set information
  • the multicast wake-up frame also includes counter information (Counter), and the frame authentication information is generated according to the content, counter information, and key of the multicast wake-up frame; frame authentication The information is used to help the receiving device authenticate the authenticity of the multicast wake-up frame, and can prevent the attacker from sending a fake multicast wake-up frame to interfere with the wake-up operation.
  • Counter information Counter information
  • the frame check information may be used to help the receiving device verify the correctness of the received multicast wake-up frame.
  • the wake-up device determines a time at which the wake-up frame is sent according to the wake-up time shift.
  • the wake-up device determines, according to at least the wake-up time displacement determined by each wake-up device and the second moment, a first moment of sending a wake-up frame associated with each of the devices being woken, the first of the wake-up devices in the same multicast group The same moment.
  • the wake-up frame can be sent.
  • the moment when the wake-up frame is sent is the time at which the wake-up device expects to be able to send the wake-up frame.
  • the exact moment when the wake-up device sends the wake-up frame is random, and the randomness is caused by the wake-up device competing for the channel.
  • the exact moment at which the wake-up device actually sends the wake-up frame is the time at which the wake-up frame is expected to be transmitted, or later than the time at which the wake-up frame is expected to be transmitted (ie, the time to contend for the channel is increased).
  • the wake-up time shift is determined based on the time at which the desired wake-up device sends the wake-up frame.
  • step 8008 after step 808, after step 809, there is no necessary sequence between step 808 and step 807.
  • Step 808 may be performed before step 807, or after step 807, or step 808 and step 807, which are not limited herein.
  • the wake-up device sends a wake-up frame to the auxiliary wake-up interface of the associated wake-up device at a first moment related to each wake-up device.
  • the wake-up device respectively sends a wake-up frame to the auxiliary wake-up interface of each of the wake-up devices associated with the first moment at a first moment associated with each of the wake-up devices, the wake-up frame being used to indicate that the wake-up device associated with the first moment wakes up the master Communication Interface.
  • the waking device may send multiple unicast wake-up frames or one multicast wake-up frame to the awake device according to the determined time of sending the wake-up frame, and simultaneously wake up at least two awake devices, as shown in FIG. 9.
  • the first device to the fifth device have the same unicast wakeup time displacement, and can form a multicast group.
  • the multicast wake-up frame may carry the identification information of the auxiliary wake-up interface of each wake-up device in the multicast group; or the multicast wake-up frame may carry the identification information of the multicast group of the wake-up device (ie, Group ID) .
  • the awake device may send only the unicast wakeup frame; or the awake device may send only the multicast wakeup frame; or the awake device may send the unicast wakeup frame and the multicast wakeup frame at the same time, which is not limited herein.
  • the device that is woken up receives the wake-up frame sent by the wake-up device.
  • the wake-up device receives a wake-up frame sent by the wake-up device, and the wake-up frame is used to wake up the main communication interface of the wake-up device.
  • the wake-up device Since the exact moment when the wake-up device sends the wake-up frame is random (randomness is due to the contention channel), it may take some time for the wake-up device to wait for a period of time to receive the wake-up frame after waking up. Further, in order to prevent the wake-up device from missing the wake-up frame, the wake-up device's auxiliary wake-up interface needs to wake up a certain time in advance to wait for the wake-up frame to be received.
  • the wake-up time of the wake-up device of the wake-up device and the time to wait for receiving the wake-up frame may be determined by a specific device internal implementation, which may not be limited herein.
  • the awakened device determines, according to the wake-up frame, an active state of the wake-up device's primary communication interface and/or the auxiliary wake-up interface.
  • the wake-up device determines the operational status of the wake-up device's primary communication interface and/or the auxiliary wake-up interface based on the wake-up frame.
  • steps 810 and 811 are similar to the steps 310 and 311, and details are not described herein.
  • the wake-up device determines, according to the multicast trigger message and the wake-up time displacement, the time that the wake-up interface of the wake-up device receives the wake-up frame, so that the auxiliary wake-up interface is in a sleep state as much as possible and avoids
  • the auxiliary wake-up interface misses the wake-up frame, which improves the air interface efficiency when waking up multiple devices in asynchronous mode and further reduces the power consumption of the device being woken up.
  • an embodiment of the device in the embodiment of the present application includes:
  • FIG. 11a is a schematic structural diagram of a device according to an embodiment of the present application, and FIG. 11a is referred to.
  • Fig. 11a shows a possible structural diagram of the apparatus involved in the above embodiment.
  • the device 1100 includes a processing unit 1102 and a communication unit 1103.
  • the processing unit 1102 is configured to perform control management on the actions of the device.
  • the processing unit 1102 is configured to support the device to perform step 301, step 303, step 306 to step 308, and step 311 in FIG. 3, and/or for the description herein. Other processes of technology.
  • the communication unit 1103 is configured to support communication between the device and other network entities, and performs step 302, step 304 to step 305, and step 309 to step 310 in FIG.
  • the device may also include a storage unit 1101 for storing program code and data of the device.
  • the processing unit 1102 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 1103 can be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a collective name and can include one or more interfaces, such as an auxiliary wake-up interface and a main communication interface.
  • the storage unit 1101 may be a memory.
  • the processing unit 1102 is a processor
  • the communication unit 1103 is a communication interface
  • the storage unit 1101 is a memory
  • the device involved in the embodiment of the present application may be the device shown in FIG. 11b.
  • the device 1110 includes a processor 1112, a communication interface 1113, and a memory 1111.
  • the device 1110 may further include a bus 1114.
  • the communication interface 1113, the processor 1112, and the memory 1111 may be connected to each other through a bus 1114; the bus 1114 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA). Bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus 1114 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 11b, but it does not mean that there is only one bus or one type of bus.
  • the device structure shown in FIG. 11a or FIG. 11b may also be a structure of a device part module.
  • the device 1200 includes an auxiliary wake-up interface 1201, a main communication interface 1202, a processor 1203, and a memory 1204 connected through a bus 1206.
  • the auxiliary wake-up interface 1201 is configured to receive the wake-up frame and the trigger message;
  • the main communication interface 1202 is configured to send the wake-up frame and the trigger message, and receive the wake-up signal sent by the auxiliary wake-up interface;
  • the processor 1203 is configured to execute the generated wake-up frame and An instruction to trigger a message;
  • the memory 1204 is configured to store an instruction to generate a wake-up frame and a trigger message;
  • the antenna module 1205 is configured to receive the wake-up frame and the trigger message, or send the wake-up frame and the trigger message.
  • the bus 1206 can be divided into an address bus, a data bus, a control bus, etc. As shown in FIG. 12, the auxiliary wake-up interface 1201, the main communication interface 1202, the processor 1203, the memory 1204, and the antenna module 1205 are connected by the bus 1206 and executed by the above method. Related steps in the example.
  • the auxiliary wake-up interface is a communication interface provided by the auxiliary wake-up module, and the auxiliary wake-up interface is at least one.
  • the main communication interface is a communication interface provided by the main communication module, and the main communication interface is at least one.
  • the processor is specifically configured to invoke a memory storage instruction, and perform the method steps as described in FIG. 3 or FIG. 8 through the auxiliary wake-up interface and the main communication interface.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • wire eg, coaxial cable, fiber optic, Digital Subscriber Line (DSL)
  • wireless eg, infrared, wireless, microwave, etc.
  • the computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner, such as multiple units or groups. Pieces can be combined or 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 an indirect coupling or communication connection through some interface, device or unit, and may be in an 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 the 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.) 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 U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), 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)
  • Electric Clocks (AREA)

Abstract

Disclosed in the embodiments of the present application are a method and device for waking up a device, used for ensuring that a wake up device may effectively wake up a plurality of devices to be woken up in an asynchronous mode, thereby improving air interface efficiency when a plurality of devices are woken up. The method for waking up a device according to the embodiments of the present application comprises: a wake-up device determines the wake-up time displacement of at least one device to be woken up; the wake-up device generates at least two trigger messages; the wake-up device sends the at least two trigger messages to an auxiliary wake-up interface of the at least one device to be woken up; the wake-up device generates at least one wake-up frame; and the wake-up device, at a first time related to the each device to be woken up, sends the wake-up frame to the auxiliary wake-up interface of the devices to be woken up that are related to the first time respectively, the wake-up frame being used for indicating to the device to be woken up that is related to the first time to wake up a main communication interface thereof. Also provided in the embodiments of the present application is a device.

Description

一种唤醒设备的方法和设备Method and device for waking up equipment
本申请要求于2017年2月8日提交中国专利局、申请号为201710069855.3、发明名称为“一种唤醒无线设备的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. JP-A No. No. No. No. No. No. No. No. No. No. No. No. No. No. No. In the application.
技术领域Technical field
本申请涉及通信领域,尤其涉及一种唤醒设备的方法和设备。The present application relates to the field of communications, and in particular, to a method and device for waking up a device.
背景技术Background technique
国际电工电子工程师学会(Institute of Electrical and Electronics Engineers,IEEE)制定了IEEE 802.11标准,并计划制定基于无线保真(Wireless Fidelity,Wi-Fi)的物联网(Internet of things,IoT)标准,目标是将Wi-Fi技术推广应用到IoT设备和可穿戴电子设备。现有的IoT设备和可穿戴电子设备,例如,运动手环、智能手表和数字医疗传感器等,一般体积较小,能携带的电池的体积和容量都很受限,而IoT设备和可穿戴电子设备对电池的续航时间要求比较高。传统Wi-Fi通信技术中,设备空闲侦听(idle listening)信道会浪费大量电能。为了减少设备空闲侦听信道导致的电量浪费,Wi-Fi技术引入了休眠机制,即Wi-Fi模块在没有数据传输的情况下进入休眠(即关闭收发射机)。传统的Wi-Fi休眠机制可以降低Wi-Fi的功耗。然而,如果一个设备处于休眠状态,接入点就不能向设备发送消息,接入点需要等到设备醒来才能向该设备发送消息,这样就会增加通信时延,也不能实现按需(on-demand)实时数据传输。为了降低传统Wi-Fi休眠机制带来的通信时延,设备通常会遵循一定的休眠模式,周期性醒来检查接入点有无数据需要传输给设备,降低了设备的休眠时间比例,增加了设备的能耗。The Institute of Electrical and Electronics Engineers (IEEE) has developed the IEEE 802.11 standard and plans to develop a Wireless Fidelity (Wi-Fi) Internet of Things (IoT) standard. The goal is Promote Wi-Fi technology to IoT devices and wearable electronic devices. Existing IoT devices and wearable electronic devices, such as sports bracelets, smart watches, and digital medical sensors, are generally small in size, and the capacity and capacity of portable batteries are limited, while IoT devices and wearable electronics The equipment has a higher battery life requirement. In traditional Wi-Fi communication technology, a device idle listening channel wastes a lot of power. In order to reduce the waste of power caused by the idle listening channel of the device, Wi-Fi technology introduces a dormancy mechanism, that is, the Wi-Fi module goes to sleep without data transmission (ie, closes the transmitter). The traditional Wi-Fi sleep mechanism can reduce the power consumption of Wi-Fi. However, if a device is in a dormant state, the access point cannot send a message to the device. The access point needs to wait until the device wakes up to send a message to the device, which increases the communication delay and does not achieve on-demand (on- Demand real-time data transmission. In order to reduce the communication delay caused by the traditional Wi-Fi sleep mechanism, the device usually follows a certain sleep mode, periodically wakes up to check whether the access point has data to be transmitted to the device, and reduces the sleep time ratio of the device. The energy consumption of the equipment.
为了解决上述问题,在设备上增加的一个超低功耗的唤醒无线电/接收机(Wake-up Radio/Receiver,WUR)模块,即辅助唤醒模块。该辅助唤醒模块与设备的主通信模块(例如,802.11模块)同时存在。当没有消息需要接收或传输时,设备的主通信模块的主通信接口进入深度休眠,并打开辅助唤醒模块的辅助唤醒接口进行超低功耗侦听。In order to solve the above problem, an ultra-low power Wake-up Radio/Receiver (WUR) module, that is, an auxiliary wake-up module, is added to the device. The auxiliary wake-up module coexists with the device's primary communication module (eg, 802.11 module). When there is no message to receive or transmit, the main communication interface of the device's main communication module enters deep sleep, and the auxiliary wake-up interface of the auxiliary wake-up module is turned on for ultra-low power listening.
被唤醒设备的辅助唤醒接口启用工作循环,周期性“醒来-休眠”,如图1所示。为了避免保持时间同步带来的通信开销和能量开销,唤醒设备与被唤醒设备不保持时间同步。在异步模式下,唤醒设备不能准确知道被唤醒设备的辅助唤醒接口的醒来窗口,不能确保高效的唤醒多个被唤醒设备,被唤醒设备的空口效率低。The wake-up device's auxiliary wake-up interface enables the duty cycle, periodically "wake-sleep", as shown in Figure 1. In order to avoid the communication overhead and energy overhead brought by the time synchronization, the wake-up device and the wake-up device do not maintain time synchronization. In the asynchronous mode, the wake-up device cannot accurately know the wake-up window of the wake-up interface of the wake-up device, and cannot ensure that many wake-up devices are awake efficiently, and the air interface of the wake-up device is inefficient.
发明内容Summary of the invention
本申请实施例提供了一种唤醒设备的方法,用于确保在异步模式下,唤醒设备能有效的唤醒多个被唤醒设备,可以提高唤醒多个被唤醒设备操作的效率和进一步降低被唤醒设备的功耗。The embodiment of the present application provides a method for waking up a device, which is used to ensure that the awake device can effectively wake up multiple awake devices in the asynchronous mode, which can improve the efficiency of waking up multiple awake devices and further reduce the awake device. Power consumption.
本申请实施例的第一方面提供一种唤醒设备的方法,包括:唤醒设备确定至少一个被唤醒设备的唤醒时间位移,所述被唤醒设备是所述唤醒设备将要唤醒的设备,所述每个被唤醒设备和所述唤醒设备均具有至少一个主通信接口和至少一个辅助唤醒接口;所述每个 被唤醒设备的唤醒时间位移为与所述每个被唤醒设备分别相关的第一时刻和第二时刻的差值,所述第二时刻为所述唤醒设备向所述至少一个被唤醒设备发送完至少两个触发消息中的最后一个触发消息的时刻,所述与所述每个被唤醒设备分别相关的第一时刻为所述唤醒设备将要向所述至少一个被唤醒设备发送唤醒帧的时刻;所述唤醒设备生成所述至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧;所述唤醒设备向所述至少一个被唤醒设备的辅助唤醒接口发送所述至少两个触发消息;所述唤醒设备生成至少一个用于唤醒所述至少一个被唤醒设备的主通信接口的唤醒帧;所述唤醒设备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻分别相关的被唤醒设备的辅助唤醒接口,发送用于指示所述与所述第一时刻相关的被唤醒设备唤醒所述被唤醒设备的主通信接口的唤醒帧。本申请实施例中,被唤醒设备在异步模式下,根据触发消息和唤醒时间位移确定被唤醒设备的辅助唤醒接口接收唤醒帧的时间,以使得被唤醒设备的辅助唤醒接口尽可能多的处于休眠状态和避免辅助唤醒接口错过唤醒帧,提高了异步模式下唤醒多个被唤醒设备操作的效率和进一步降低被唤醒设备的功耗。A first aspect of the embodiments of the present application provides a method for waking up a device, comprising: waking up a device to determine a wake-up time displacement of at least one awake device, the awake device being a device to be awake by the awake device, each of The wake-up device and the wake-up device each have at least one primary communication interface and at least one secondary wake-up interface; each of each The wake-up time of the wake-up device is shifted to a difference between the first time and the second time respectively associated with each of the devices to be woken, and the second time is that the wake-up device sends the wake-up device to the at least one device that is awake a moment at which the last one of the at least two trigger messages triggers the message, and the first time associated with each of the awake devices is a time at which the awake device is to send a wake-up frame to the at least one awake device; The wake-up device generates the at least two trigger messages, where each trigger message is used to indicate that the wake-up device will send a wake-up frame; and the wake-up device sends the wake-up device to the auxiliary wake-up interface of the at least one wake-up device Determining at least two trigger messages; the wake-up device generates at least one wake-up frame for waking up the primary communication interface of the at least one awake device; the wake-up device is at a first moment associated with each of the awake devices Sending, to the auxiliary wake-up interface of the device to be awakened that is associated with the first moment, for indicating the called related to the first moment Device wakeup frame of the primary communication interface device is awakened. In the embodiment of the present application, the awakened device determines, according to the trigger message and the wake-up time displacement, the time that the wake-up interface of the wake-up device receives the wake-up frame according to the trigger message and the wake-up time shift, so that the auxiliary wake-up interface of the wake-up device is in as much sleep as possible. The state and avoiding the auxiliary wake-up interface missing the wake-up frame improves the efficiency of waking up multiple wake-up devices in asynchronous mode and further reducing the power consumption of the wake-up device.
在一种可能的设计中,在本申请实施例第一方面的第一种实现方式中,所述被唤醒设备至少包括唤醒时间位移不相同的第一设备和第二设备。本申请实施例增加了两个被唤醒设备的唤醒时间位移不同的情况,增加了本申请实施例的可实现性和完整性。In a possible design, in a first implementation manner of the first aspect of the embodiments of the present application, the wake-up device includes at least a first device and a second device with different wake-up time shifts. The embodiment of the present application increases the situation that the wake-up time of the two wake-up devices is different, which increases the achievability and integrity of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第一方面的第二种实现方式中,所述被唤醒设备至少包括属于同一个组播组的唤醒时间位移相同的第一设备和第二设备。本申请实施例增加了两个被唤醒设备的唤醒时间位移相同的情况,增加了本申请实施例的可实现性和完整性。In a possible implementation, in a second implementation manner of the first aspect of the embodiments, the device that is to be awake includes at least a first device and a second device that have the same wake-up time displacement belonging to the same multicast group. . The embodiment of the present application increases the case where the wake-up time shifts of the two wake-up devices are the same, which increases the achievability and integrity of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第一方面的第三种实现方式中,所述唤醒设备确定至少一个被唤醒设备的唤醒时间位移包括:所述唤醒设备为与所述唤醒设备关联的每一个被唤醒设备分配一个唤醒时间位移。本申请实施例提供了唤醒设备确定被唤醒设备的唤醒时间位移的具体方式,增加了本申请实施例的可实现性和可操作性。In a possible implementation, in a third implementation manner of the first aspect of the embodiments, the wake-up device determines that the wake-up time of the at least one wake-up device is: the wake-up device is the wake-up device Each wake-up device associated with is assigned a wake-up time shift. The embodiment of the present application provides a specific manner for the wake-up device to determine the wake-up time displacement of the wake-up device, which increases the achievability and operability of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第一方面的第四种实现方式中,所述唤醒设备确定至少一个被唤醒设备的唤醒时间位移包括:所述唤醒设备根据预置的信息计算得到与所述唤醒设备关联的每一个被唤醒设备的唤醒时间位移。本申请实施例提供了唤醒设备确定被唤醒设备的唤醒时间位移的具体方式,增加了本申请实施例的可实现性和可操作性。In a possible implementation, in a fourth implementation manner of the first aspect of the embodiments, the determining, by the wake-up device, the wake-up time of the at least one awake device includes: the wake-up device calculates according to the preset information. A wake-up time shift is obtained for each of the wake-up devices associated with the wake-up device. The embodiment of the present application provides a specific manner for the wake-up device to determine the wake-up time displacement of the wake-up device, which increases the achievability and operability of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第一方面的第五种实现方式中,所述唤醒设备向所述至少一个被唤醒设备的辅助唤醒接口发送所述至少两个触发消息包括:所述唤醒设备在预置时长T内向所述至少一个被唤醒设备的辅助唤醒接口发送N个触发消息,所述预置时长T为所述至少一个被唤醒设备的辅助唤醒接口的工作循环的周期,所述N为大于或等于2的整数,并且满足N大于或等于T/W,所述W为所述至少一个被唤醒设备的辅助唤醒接口的工作循环的醒来窗口长度。本申请实施例提供了唤醒设备发送触发消息的具体条件,使本申请实施例在步骤上更完善。In a possible design, in a fifth implementation manner of the first aspect of the embodiment, the sending, by the waking device, the at least two trigger messages to the auxiliary wake-up interface of the at least one awake device includes: The wake-up device sends N trigger messages to the auxiliary wake-up interface of the at least one wake-up device within a preset duration T, where the preset duration T is a period of a duty cycle of the auxiliary wake-up interface of the at least one wake-up device The N is an integer greater than or equal to 2, and satisfies N greater than or equal to T/W, the W being the wake window length of the duty cycle of the auxiliary wake-up interface of the at least one wake-up device. The embodiment of the present application provides a specific condition for the wake-up device to send a trigger message, so that the embodiment of the present application is more complete in steps.
在一种可能的设计中,在本申请实施例第一方面的第六种实现方式中,所述唤醒设备向所述至少一个被唤醒设备的辅助唤醒接口发送所述至少两个触发消息之后,所述唤醒设 备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻相关的被唤醒设备的辅助唤醒接口发送所述唤醒帧之前,所述方法还包括:所述唤醒设备根据所述第二时刻和所述唤醒时间位移确定与所述每个被唤醒设备分别相关的第一时刻。本申请实施例增加了唤醒设备确定发送触发消息的时刻的过程,增加了本申请实施例的实现方式。In a possible implementation, in a sixth implementation manner of the first aspect of the embodiments of the present application, after the wake-up device sends the at least two trigger messages to the auxiliary wake-up interface of the at least one wake-up device, The wake-up setting Before the sending of the wake-up frame to the auxiliary wake-up interface of the wake-up device associated with the first moment, the method further includes: the wake-up device according to the The second time instant and the wake-up time shift determine a first time instant associated with each of the wake-up devices. The embodiment of the present application adds a process for the wake-up device to determine the time at which the trigger message is sent, and the implementation manner of the embodiment of the present application is added.
在一种可能的设计中,在本申请实施例第一方面的第七种实现方式中,所述唤醒设备生成所述至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧包括:所述唤醒设备生成至少包括唤醒前导和帧类型信息的广播触发消息,所述广播触发消息的个数至少为两个,所述每个广播触发消息用于指示所述唤醒设备将会发送唤醒帧;所述唤醒设备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻相关的被唤醒设备的辅助唤醒接口发送所述唤醒帧,所述唤醒帧用于指示所述与所述第一时刻分别相关的被唤醒设备唤醒所述被唤醒设备的主通信接口,包括:所述唤醒设备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻分别相关的被唤醒设备的辅助唤醒接口发送所述唤醒帧,所述唤醒帧可以是单播唤醒帧或组播唤醒帧,所述唤醒帧用于指示所述与所述第一时刻相关的被唤醒设备唤醒所述被唤醒设备的主通信接口。本申请实施例提供了触发消息为广播触发消息时,唤醒设备发送唤醒帧的过程,增加了本申请实施例的实现方式。In a possible design, in a seventh implementation manner of the first aspect of the embodiments, the wake-up device generates the at least two trigger messages, where each trigger message is used to indicate the wake-up device The sending of the wake-up frame includes: the wake-up device generates a broadcast trigger message including at least the wake-up preamble and the frame type information, where the number of the broadcast trigger messages is at least two, and each of the broadcast trigger messages is used to indicate the The wake-up device will send a wake-up frame; the wake-up device transmits the wake-up frame to an auxiliary wake-up interface of the wake-up device associated with the first time instant at a first time associated with each of the wake-up devices, The wake-up frame is configured to indicate that the wake-up device respectively associated with the first moment wakes up the main communication interface of the wake-up device, including: the wake-up device is at a first moment related to each of the wake-up devices Sending the wake-up frame to an auxiliary wake-up interface of the wake-up device that is respectively associated with the first moment, where the wake-up frame may be a unicast wake-up frame or a multicast wake-up frame. Wakeup frame to indicate that the wake-up time associated with the first device to wake the device wakes up the primary communication interface. The embodiment of the present application provides a process for the wake-up device to send a wake-up frame when the trigger message is a broadcast trigger message, and the implementation manner of the embodiment of the present application is added.
在一种可能的设计中,在本申请实施例第一方面的第八种实现方式中,所述唤醒设备生成所述至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧包括:所述唤醒设备生成至少包括唤醒前导、帧类型信息和组播地址信息的组播触发消息,所述组播触发消息的个数至少为两个,所述每个组播触发消息用于指示所述唤醒设备将会发送所述唤醒帧;所述唤醒设备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻分别相关的被唤醒设备的辅助唤醒接口发送所述唤醒帧,所述唤醒帧用于指示所述与该第一时刻相关的被唤醒设备唤醒所述被唤醒设备的主通信接口,包括:所述唤醒设备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻分别相关的被唤醒设备的辅助唤醒接口发送所述唤醒帧,所述唤醒帧可以是单播唤醒帧或组播唤醒帧,所述唤醒帧用于指示所述与所述第一时刻相关的被唤醒设备唤醒所述被唤醒设备的主通信接口。本申请实施例提供了触发消息为组播触发消息时,唤醒设备发送唤醒帧的过程,增加了本申请实施例的实现方式。In a possible design, in an eighth implementation manner of the first aspect of the embodiments, the wake-up device generates the at least two trigger messages, where each trigger message is used to indicate the wake-up device The sending of the wake-up frame includes: the wake-up device generates a multicast trigger message including at least the wake-up preamble, the frame type information, and the multicast address information, where the number of the multicast trigger messages is at least two, each of the groups The broadcast trigger message is used to indicate that the wake-up device will send the wake-up frame; the wake-up device sends a wake-up device related to the first moment respectively at a first moment related to each of the wake-up devices The auxiliary wake-up interface sends the wake-up frame, where the wake-up frame is used to indicate that the wake-up device associated with the first moment wakes up the main communication interface of the wake-up device, including: the wake-up device is in the The first moment related to the awakened device sends the wake-up frame to the auxiliary wake-up interface of the wake-up device respectively associated with the first moment, and the wake-up frame may be a unicast wake-up frame Multicast wake-up frame, the frame is used to indicate the wakeup related to the first time said device is awakened wakes primary communication interface device. The embodiment of the present application provides a process for the wake-up device to send a wake-up frame when the trigger message is a multicast trigger message, and the implementation manner of the embodiment of the present application is added.
本申请实施例的第二方面提供一种唤醒设备的方法,包括:被唤醒设备获取所述被唤醒设备的唤醒时间位移,所述被唤醒设备是唤醒设备将要唤醒的设备,所述被唤醒设备和所述唤醒设备均具有至少一个主通信接口和至少一个辅助唤醒接口;所述被唤醒设备的唤醒时间位移为第一时刻和第二时刻的差值,所述第二时刻为所述唤醒设备向所述被唤醒设备发送完至少两个触发消息中的最后一个触发消息的时刻,所述第一时刻为所述唤醒设备将要向所述被唤醒设备发送唤醒帧的时刻;所述被唤醒设备接收所述唤醒设备发送的至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧;所述被唤醒设备根据所述至少两个触发消息和所述唤醒时间位移确定所述被唤醒设备的辅助唤醒接口的工作状态;所述被唤醒设备接收所述唤醒设备发送的用于指示所述被唤醒设备唤醒所述被唤醒设备的主通信接口的唤醒帧;所述被唤醒设备根据所述唤醒帧确定所述被唤醒设备的 主通信接口和/或辅助唤醒接口的工作状态。本申请实施例中,被唤醒设备在异步模式下,获取被唤醒设备的辅助唤醒接口接收唤醒帧的时间,以使得被唤醒设备的辅助唤醒接口尽可能多的处于休眠状态和避免辅助唤醒接口错过唤醒帧,提高了异步模式下唤醒多个被唤醒设备操作的效率和进一步降低被唤醒设备的功耗。A second aspect of the embodiments of the present application provides a method for waking up a device, including: acquiring, by a wake-up device, a wake-up time displacement of the wake-up device, where the wake-up device is a device that wakes up a device to wake up, the wake-up device And the wake-up device has at least one main communication interface and at least one auxiliary wake-up interface; the wake-up time displacement of the wake-up device is a difference between the first time and the second time, and the second time is the wake-up device a moment when the last one of the at least two trigger messages is sent to the awakened device, the first time being a time when the wake-up device is to send a wake-up frame to the awakened device; the wake-up device Receiving at least two trigger messages sent by the wake-up device, where each trigger message is used to indicate that the wake-up device will send a wake-up frame; and the wake-up device according to the at least two trigger messages and the wake-up time Determining an operational state of the auxiliary wake-up interface of the wake-up device; the wake-up device receiving the transmit by the wake-up device Indicating the device to wake up the wake-up frame is awakened master communication interface device is awake; the device is awakened by the wake-up according to the wake-up frame determination device The working status of the primary communication interface and/or the secondary wake-up interface. In the embodiment of the present application, the wake-up device acquires the time of receiving the wake-up frame by the auxiliary wake-up interface of the wake-up device in the asynchronous mode, so that the auxiliary wake-up interface of the wake-up device is in a sleep state as much as possible and avoids the auxiliary wake-up interface from being missed. Wake-up frames improve the efficiency of waking up multiple wake-up devices in asynchronous mode and further reduce the power consumption of the wake-up device.
在一种可能的设计中,在本申请实施例第二方面的第一种实现方式中,所述被唤醒设备获取所述被唤醒设备的唤醒时间位移包括:所述被唤醒设备接收其关联的所述唤醒设备发送的所述被唤醒设备的唤醒时间位移。本申请实施例提供了被唤醒设备从唤醒设备处接收已确定的唤醒时间位移的过程,增加了本申请实施例的可实现性和可操作性。In a possible implementation, in a first implementation manner of the second aspect of the embodiment, the wake-up device acquires a wake-up time shift of the wake-up device, where the wake-up device receives its associated The wake-up time shift of the wake-up device sent by the wake-up device. The embodiment of the present application provides a process for the wake-up device to receive the determined wake-up time displacement from the wake-up device, which increases the achievability and operability of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第二方面的第二种实现方式中,所述被唤醒设备获取所述被唤醒设备的唤醒时间位移包括:所述被唤醒设备根据预置的信息计算得到所述被唤醒设备的唤醒时间位移。本申请实施例提供了被唤醒设备根据预置的信息计算得到被唤醒设备的唤醒时间位移的过程,增加了本申请实施例的可实现性和可操作性。In a possible implementation, in a second implementation manner of the second aspect of the embodiment of the present application, the wake-up device acquires a wake-up time displacement of the wake-up device, including: the wake-up device according to a preset The information calculation results in a wake-up time shift of the awakened device. The embodiment of the present application provides a process for the wake-up device to calculate the wake-up time displacement of the wake-up device according to the preset information, which increases the achievability and operability of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第二方面的第三种实现方式中,所述被唤醒设备接收所述唤醒设备发送的至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧包括:所述被唤醒设备接收所述唤醒设备发送的至少两个广播触发消息,所述每个广播触发消息至少包括唤醒前导和帧类型信息,所述每个广播触发消息用于指示所述唤醒设备将会发送唤醒帧;所述被唤醒设备接收所述唤醒设备发送的所述唤醒帧,所述唤醒帧用于指示所述被唤醒设备唤醒所述被唤醒设备的主通信接口包括:所述被唤醒设备接收所述唤醒设备发送的单播唤醒帧或组播唤醒帧,所述单播唤醒帧或所述组播唤醒帧用于唤醒所述被唤醒设备的主通信接口。本申请实施例提供了触发消息为广播触发消息时,被唤醒设备接收唤醒帧的过程,增加了本申请实施例的实现方式。In a possible implementation, in a third implementation manner of the second aspect of the embodiments of the present application, the wake-up device receives at least two trigger messages sent by the wake-up device, where each trigger message is used to Instructing the wake-up device to send the wake-up frame includes: the wake-up device receiving at least two broadcast trigger messages sent by the wake-up device, where each broadcast trigger message includes at least wake-up preamble and frame type information, where each a broadcast trigger message is used to indicate that the wake-up device will send a wake-up frame; the wake-up device receives the wake-up frame sent by the wake-up device, and the wake-up frame is used to instruct the wake-up device to wake up the The main communication interface of the wake-up device includes: the wake-up device receives a unicast wake-up frame or a multicast wake-up frame sent by the wake-up device, and the unicast wake-up frame or the multicast wake-up frame is used to wake up the wake-up The primary communication interface of the device. The embodiment of the present application provides a process for the wake-up device to receive the wake-up frame when the trigger message is a broadcast trigger message, and the implementation manner of the embodiment of the present application is added.
在一种可能的设计中,在本申请实施例第二方面的第四种实现方式中,所述被唤醒设备接收所述唤醒设备发送的至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧包括:所述被唤醒设备接收所述唤醒设备发送的至少两个组播触发消息,所述每个组播触发消息至少包括唤醒前导、帧类型信息和组号信息,所述每个组播触发消息用于指示所述唤醒设备将会发送唤醒帧;所述被唤醒设备接收所述唤醒设备发送的所述唤醒帧,所述唤醒帧用于唤醒所述被唤醒设备的主通信接口包括:所述被唤醒设备接收所述唤醒设备发送的单播唤醒帧或组播唤醒帧,所述单播唤醒帧或所述组播唤醒帧用于唤醒所述被唤醒设备的主通信接口。本申请实施例提供了触发消息为组播触发消息时,被唤醒设备接收唤醒帧的过程,增加了本申请实施例的实现方式。In a possible implementation, in a fourth implementation manner of the second aspect of the embodiments, the device that is to be awake receives at least two trigger messages sent by the wake-up device, where each trigger message is used. Instructing the wake-up device to send the wake-up frame includes: the wake-up device receiving at least two multicast trigger messages sent by the wake-up device, where each multicast trigger message includes at least a wake-up preamble, a frame type information, and a group Number information, the multicast trigger message is used to indicate that the wake-up device will send a wake-up frame; the wake-up device receives the wake-up frame sent by the wake-up device, and the wake-up frame is used to wake up the The main communication interface of the awake device includes: the awake device receives a unicast wake-up frame or a multicast wake-up frame sent by the wake-up device, and the unicast wake-up frame or the multicast wake-up frame is used to wake up the Wake up the device's main communication interface. The embodiment of the present application provides a process for the wake-up device to receive a wake-up frame when the trigger message is a multicast trigger message, and the implementation manner of the embodiment of the present application is added.
在一种可能的设计中,在本申请实施例第二方面的第五种实现方式中,所述被唤醒设备根据所述至少两个触发消息和所述唤醒时间位移确定所述被唤醒设备的辅助唤醒接口的工作状态包括:所述被唤醒设备根据所述至少两个触发消息和所述唤醒时间位移确定所述被唤醒设备的辅助唤醒接口的休眠时长;所述被唤醒设备根据所述休眠时长确定所述辅助唤醒接口的开启时刻。本申请实施例提供了被唤醒设备确定被唤醒设备的辅助唤醒接口的工作状态的具体过程,增加了本申请实施例的可实现性和可操作性。In a possible implementation, in a fifth implementation manner of the second aspect of the embodiments, the device that is to be awake determines the device to be woken according to the at least two trigger messages and the wake-up time displacement. The working state of the auxiliary wake-up interface includes: determining, by the wake-up device, a sleep duration of the auxiliary wake-up interface of the wake-up device according to the at least two trigger messages and the wake-up time shift; the wake-up device according to the sleep The duration determines the turn-on time of the auxiliary wake-up interface. The embodiment of the present application provides a specific process for determining, by the awake device, the working state of the auxiliary awake interface of the awake device, which increases the achievability and operability of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第二方面的第六种实现方式中,所述被唤醒设 备根据所述至少两个触发消息和所述唤醒时间位移确定所述被唤醒设备的辅助唤醒接口的休眠时长包括:若所述至少两个触发消息里包括索引信息,则所述被唤醒设备从所述至少两个触发消息获取索引信息,所述索引信息指示唤醒设备将发送的剩余触发消息的个数K;所述被唤醒设备可以根据如下公式确定所述辅助唤醒接口的休眠时长I:I=K*M+S;所述M为相邻的两个触发消息之间的最小时间间隔,所述S为所述被唤醒设备的唤醒时间位移,所述K为大于或等于0的整数;若所述至少两个触发消息里不包括索引信息,则所述被唤醒设备可以确定所述辅助唤醒接口的休眠时长为S,所述S为所述被唤醒设备的唤醒时间位移。本申请实施例提供了被唤醒设备确定辅助唤醒接口的休眠时长的具体过程,增加了本申请实施例的可实现性和可操作性。In a possible design, in the sixth implementation manner of the second aspect of the embodiment of the present application, the awakened device Determining, according to the at least two trigger messages and the wake-up time displacement, determining a sleep duration of the auxiliary wake-up interface of the device to be woken: if the at least two trigger messages include index information, the wake-up device The at least two trigger messages acquire index information, where the index information indicates the number K of remaining trigger messages that the wake-up device will send; the wake-up device may determine the sleep duration I: I of the auxiliary wake-up interface according to the following formula: =K*M+S; the M is a minimum time interval between two adjacent trigger messages, the S is a wake-up time shift of the wake-up device, and the K is an integer greater than or equal to 0; If the index information is not included in the at least two trigger messages, the wake-up device may determine that the sleep duration of the auxiliary wake-up interface is S, where S is a wake-up time shift of the wake-up device. The embodiment of the present application provides a specific process for the wake-up device to determine the sleep duration of the auxiliary wake-up interface, which increases the achievability and operability of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第二方面的第七种实现方式中,所述被唤醒设备根据所述唤醒帧确定所述被唤醒设备的主通信接口和/或辅助唤醒接口的工作状态包括:所述被唤醒设备根据所述唤醒帧唤醒所述被唤醒设备的主通信接口,并调整所述被唤醒设备的辅助唤醒接口为关闭状态;或,所述被唤醒设备根据所述唤醒帧唤醒所述被唤醒设备的主通信接口,并且保持所述被唤醒设备的辅助唤醒接口为开启状态;或,所述被唤醒设备根据所述唤醒帧保持所述被唤醒设备的主通信模块为开启状态,并且调整所述被唤醒设备的辅助唤醒接口为关闭状态;或,所述被唤醒设备根据所述唤醒帧保持所述被唤醒设备的主通信模块为关闭状态,并且调整所述被唤醒设备的辅助唤醒接口为关闭状态。本申请实施例提供了被唤醒设备的辅助唤醒接口和主通信接口的具体工作状态,增加了本申请实施例的可实现性和可操作性。In a possible design, in a seventh implementation manner of the second aspect of the embodiments, the device that is to be awake determines the primary communication interface and/or the auxiliary wake-up interface of the wake-up device according to the wake-up frame. The working state includes: the wake-up device wakes up the main communication interface of the wake-up device according to the wake-up frame, and adjusts the auxiliary wake-up interface of the wake-up device to be in an off state; or the wake-up device according to the The wake-up frame wakes up the main communication interface of the wake-up device, and keeps the auxiliary wake-up interface of the wake-up device in an on state; or the wake-up device keeps the main communication of the wake-up device according to the wake-up frame The module is in an on state, and adjusting the auxiliary wakeup interface of the waked device is in an off state; or the wakeup device keeps the main communication module of the awakened device in a closed state according to the wakeup frame, and adjusting the The auxiliary wake-up interface of the wake-up device is off. The embodiment of the present application provides a specific working state of the auxiliary wake-up interface and the main communication interface of the device to be awakened, which increases the achievability and operability of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第二方面的第八种实现方式中,所述被唤醒设备接收所述唤醒设备发送的所述唤醒帧之后,所述被唤醒设备根据所述唤醒帧确定所述被唤醒设备的主通信接口和/或辅助唤醒接口的工作状态之前,所述方法还包括:所述被唤醒设备确定所述唤醒帧是真实的,所述是真实的是指所述唤醒帧是由所述被唤醒设备关联的所述唤醒设备发送给所述被唤醒设备的。本申请实施例提供了被唤醒设备对唤醒帧的确认过程,使本申请在步骤上更完善。In a possible implementation, in an eighth implementation manner of the second aspect of the embodiments of the present application, after the wake-up device receives the wake-up frame sent by the wake-up device, the wake-up device is configured according to the Before the wake-up frame determines the working state of the main communication interface and/or the auxiliary wake-up interface of the wake-up device, the method further includes: the wake-up device determines that the wake-up frame is authentic, and the true refers to The wake-up frame is sent by the wake-up device associated with the wake-up device to the wake-up device. The embodiment of the present application provides a process for confirming a wake-up frame by a wake-up device, so that the application is more complete in steps.
本申请实施例的第三方面提供一种设备,包括:通过总线相连的辅助唤醒接口、主通信接口、处理器、存储器以及天线模块;所述辅助唤醒接口用于接收所述唤醒帧和所述触发消息;所述主通信接口用于发送所述唤醒帧和所述触发消息,接收所述辅助唤醒接口发送的唤醒信号;所述处理器用于执行生成唤醒帧和触发消息的指令;所述存储器用于存储所述生成唤醒帧和触发消息的指令;所述天线模块用于接收所述唤醒帧和所述触发消息,或发送所述唤醒帧和所述触发消息。A third aspect of the embodiments of the present application provides an apparatus, including: an auxiliary wake-up interface, a main communication interface, a processor, a memory, and an antenna module connected through a bus; the auxiliary wake-up interface is configured to receive the wake-up frame and the a trigger message; the main communication interface is configured to send the wake-up frame and the trigger message, and receive a wake-up signal sent by the auxiliary wake-up interface; the processor is configured to execute an instruction for generating a wake-up frame and a trigger message; the memory And an instruction for storing the wake-up frame and the trigger message; the antenna module is configured to receive the wake-up frame and the trigger message, or send the wake-up frame and the trigger message.
在一种可能的设计中,在本申请实施例第三方面的第一种实现方式中,包括:所述辅助唤醒接口为辅助唤醒模块提供的通信接口,所述辅助唤醒接口为至少一个。In a possible design, in a first implementation manner of the third aspect of the embodiments of the present application, the auxiliary wake-up interface is a communication interface provided by the auxiliary wake-up module, and the auxiliary wake-up interface is at least one.
在一种可能的设计中,在本申请实施例第三方面的第二种实现方式中,包括:所述主通信接口为主通信模块提供的通信接口,所述主通信接口为至少一个。In a possible design, in a second implementation manner of the third aspect of the embodiments of the present application, the main communication interface is a communication interface provided by the main communication module, and the main communication interface is at least one.
在一种可能的设计中,在本申请实施例第三方面的第三种实现方式中,包括:所述处理器具体用于调用所述存储器存储的指令,通过所述辅助唤醒接口和所述主通信接口执行 上述各方面所述的方法。In a possible design, in a third implementation manner of the third aspect of the embodiments of the present application, the processor is specifically configured to invoke the memory storage instruction, by using the auxiliary wake-up interface and the Main communication interface execution The method described in each of the above aspects.
本申请的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。A fourth aspect of the present application provides a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods described in the above aspects.
本申请的第五方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。A fifth aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
本申请实施例提供的技术方案中,唤醒设备确定至少一个被唤醒设备的唤醒时间位移,所述被唤醒设备是所述唤醒设备将要唤醒的设备,所述每个被唤醒设备均具有至少一个主通信接口和至少一个辅助唤醒接口;所述每个被唤醒设备的唤醒时间位移为与所述每个被唤醒设备分别相关的第一时刻和第二时刻的差值,所述与所述每个被唤醒设备分别相关的第一时刻为所述唤醒设备将要向所述至少一个被唤醒设备发送唤醒帧的时刻,所述第二时刻为所述唤醒设备向所述至少一个被唤醒设备发送完至少两个触发消息中的最后一个触发消息的时刻;所述唤醒设备生成所述至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧;所述唤醒设备向所述至少一个被唤醒设备的辅助唤醒接口发送所述至少两个触发消息;所述唤醒设备生成至少一个唤醒帧,所述至少一个唤醒帧用于唤醒所述至少一个被唤醒设备的主通信接口;所述唤醒设备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻分别相关的被唤醒设备的辅助唤醒接口发送所述唤醒帧,所述唤醒帧用于指示所述与所述第一时刻相关的被唤醒设备唤醒所述被唤醒设备的主通信接口。本申请实施例中,在异步模式下,唤醒设备能有效的唤醒多个被唤醒设备,提高唤醒多个被唤醒设备操作的效率和进一步降低被唤醒设备的功耗。In the technical solution provided by the embodiment of the present application, the waking device determines a wake-up time displacement of the at least one awake device, where the awake device is a device that the awake device is to wake up, and each of the awake devices has at least one master a communication interface and at least one auxiliary wake-up interface; the wake-up time displacement of each of the wake-up devices is a difference between a first time and a second time respectively associated with each of the wake-up devices, the and each of the The first time that the wake-up device is respectively associated is a time when the wake-up device is to send a wake-up frame to the at least one wake-up device, and the second time is that the wake-up device sends at least the wake-up device to the at least one wake-up device a time at which the last one of the two trigger messages triggers the message; the wake-up device generates the at least two trigger messages, the each trigger message is used to indicate that the wake-up device will send a wake-up frame; Sending, by the auxiliary wake-up interface of the at least one awake device, the at least two trigger messages; the wake-up device generates at least one a wake-up frame, the at least one wake-up frame is configured to wake up a primary communication interface of the at least one awake device; the wake-up device is respectively at a first time associated with each of the awake devices The wake-up frame is sent by the auxiliary wake-up interface of the associated wake-up device, and the wake-up frame is used to indicate that the wake-up device associated with the first moment wakes up the main communication interface of the wake-up device. In the embodiment of the present application, in the asynchronous mode, the wake-up device can effectively wake up multiple wake-up devices, improve the efficiency of waking up multiple wake-up devices, and further reduce the power consumption of the wake-up device.
附图说明DRAWINGS
图1为本申请中辅助唤醒接口的工作循环周期的示意图;1 is a schematic diagram of a duty cycle of an auxiliary wake-up interface in the present application;
图2为本申请的网络架构示意图;2 is a schematic diagram of a network architecture of the present application;
图3为本申请实施例中唤醒设备的方法的一个实施例示意图;FIG. 3 is a schematic diagram of an embodiment of a method for waking up a device according to an embodiment of the present application;
图4为本申请实施例中唤醒设备的方法一个具体应用场景示意图;FIG. 4 is a schematic diagram of a specific application scenario of a method for waking up a device according to an embodiment of the present disclosure;
图5为本申请实施例中广播触发消息的帧格式结构示意图;FIG. 5 is a schematic structural diagram of a frame format of a broadcast trigger message according to an embodiment of the present application;
图6为本申请实施例中单播唤醒帧的帧格式结构示意图;FIG. 6 is a schematic structural diagram of a frame format of a unicast wake-up frame according to an embodiment of the present application;
图7为本申请实施例中组播唤醒帧的帧格式结构示意图;FIG. 7 is a schematic structural diagram of a frame format of a multicast wake-up frame according to an embodiment of the present application;
图8为本申请实施例中唤醒设备的方法的另一个实施例示意图;FIG. 8 is a schematic diagram of another embodiment of a method for waking up a device according to an embodiment of the present application;
图9为本申请实施例中唤醒设备的方法另一个具体应用场景示意图;FIG. 9 is a schematic diagram of another specific application scenario of a method for waking up a device according to an embodiment of the present disclosure;
图10为本申请实施例中组播触发消息的帧格式结构示意图;FIG. 10 is a schematic structural diagram of a frame format of a multicast trigger message according to an embodiment of the present application;
图11a为本申请实施例中设备的一个实施例的示意图;Figure 11a is a schematic diagram of an embodiment of a device in an embodiment of the present application;
图11b为本申请实施例中设备的另一个实施例的示意图;Figure 11b is a schematic diagram of another embodiment of the device in the embodiment of the present application;
图12为本申请实施例中设备的另一个实施例的示意图。FIG. 12 is a schematic diagram of another embodiment of a device in an embodiment of the present application.
具体实施方式detailed description
本申请实施例提供了一种唤醒设备的方法,用于确保在异步模式下,唤醒设备能有效的唤醒多个被唤醒设备,提高唤醒多个设备操作的空口效率和进一步降低被唤醒设备的功耗。 The embodiment of the present application provides a method for waking up a device, which is used to ensure that the awake device can effectively wake up multiple awake devices in the asynchronous mode, improve the air interface efficiency of waking up multiple devices, and further reduce the work of the awake device. Consumption.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例进行描述。The embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”或“具有”及其任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present application and the above figures are used to distinguish similar objects without having to use To describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than what is illustrated or described herein. In addition, the term "comprises" or "comprises" or any variations thereof, is intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to those that are clearly listed Steps or units, but may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
如图2所示,在该网络架构中,主通信模块提供主通信接口,辅助唤醒模块提供辅助唤醒接口。当第一设备(唤醒设备)有消息需要传输给第二设备(被唤醒设备)时,第一设备先向第二设备的辅助唤醒接口发送唤醒帧(Wake-up Packet,WUP)。第二设备的辅助唤醒接口收到唤醒帧后,查看唤醒帧的接收地址(Receive Address,RA)和确认唤醒帧的正确性和真实性。如果唤醒帧携带的RA匹配第二设备的辅助唤醒接口的地址,并且该唤醒帧是正确的和真实的,则第二设备的辅助唤醒接口会发送唤醒信号给第二设备的主通信接口,以唤醒第二设备的主通信接口。As shown in FIG. 2, in the network architecture, the main communication module provides a main communication interface, and the auxiliary wake-up module provides an auxiliary wake-up interface. When the first device (wake-up device) has a message to be transmitted to the second device (wake-up device), the first device first sends a wake-up packet (WUP) to the secondary wake-up interface of the second device. After receiving the wake-up frame, the secondary wake-up interface of the second device checks the receiving address (Receive Address, RA) of the wake-up frame and confirms the correctness and authenticity of the wake-up frame. If the RA carried by the wake-up frame matches the address of the secondary wake-up interface of the second device, and the wake-up frame is correct and true, the secondary wake-up interface of the second device sends a wake-up signal to the primary communication interface of the second device, Wake up the primary communication interface of the second device.
为便于理解,下面对本申请实施例的具体流程进行描述,唤醒设备发送的触发消息可以为广播触发消息或组播触发消息,请参阅图3,当触发消息为广播触发消息时,本申请实施例中唤醒设备的方法一个实施例包括:For the sake of understanding, the specific process of the embodiment of the present application is described below. The trigger message sent by the awake device may be a broadcast trigger message or a multicast trigger message. Referring to FIG. 3, when the trigger message is a broadcast trigger message, the embodiment of the present application One embodiment of a method of waking up a device includes:
301、唤醒设备确定至少一个被唤醒设备的唤醒时间位移。301. The wake-up device determines a wake-up time shift of the at least one wake-up device.
唤醒设备确定至少一个被唤醒设备的唤醒时间位移,被唤醒设备是该唤醒设备将要唤醒的设备,每个唤醒设备和被唤醒设备均具有至少一个主通信接口和至少一个辅助唤醒接口。The wake-up device determines a wake-up time shift of the at least one wake-up device, the wake-up device is a device to be woken up by the wake-up device, each wake-up device and the wake-up device having at least one primary communication interface and at least one auxiliary wake-up interface.
需要说明的是,每个被唤醒设备的唤醒时间位移为与每个被唤醒设备分别相关的第一时刻和第二时刻的差值,与每个被唤醒设备分别相关的第一时刻为唤醒设备将要向至少一个被唤醒设备发送唤醒帧的时刻,第二时刻为唤醒设备向至少一个被唤醒设备发送完至少两个广播触发消息中的最后一个广播触发消息的时刻。It should be noted that the wake-up time of each awake device is the difference between the first moment and the second moment respectively associated with each awake device, and the first moment associated with each awake device is a wake-up device. The moment when the wake-up frame is to be sent to the at least one awake device, the second time is the time at which the wake-up device sends the last one of the at least two broadcast trigger messages to the at least one awake device.
唤醒设备可以通过多种方式确定被唤醒设备的唤醒时间位移,方式一:唤醒设备获取到被唤醒设备的具体数量后或者唤醒设备在关联过程中,为每个被唤醒设备分配一个唤醒时间位移,可以是随机分配,也可以按照预置规则进行分配;方式二:唤醒设备根据预置的信息计算得到每个被唤醒设备的唤醒时间位移,预置的信息是唤醒设备和被唤醒设备共有的信息,预置的信息可以是媒体接入地址(Media Access Control Address,MAC Address),MAC地址是48个比特;预置的信息还可以是关联标识符(Association Identifier,AID),长度为16个比特,或部分关联标识符(Partial Association Identifier,PAID),或哈希的部分关联标识符(Hashed Partial Association Identifier,Hashed PAID),长度为9个比特。例如,计算方法可以是:唤醒时间位移=PAID*W,或,唤醒时间位移=(Hashed PAID)*W,其中,W是被唤醒设备的辅助唤醒接口的醒来窗口的长度。 The wake-up device can determine the wake-up time displacement of the wake-up device in multiple manners. Mode 1: After the wake-up device acquires the specific number of the wake-up devices or the wake-up device is in the association process, each wake-up device is assigned a wake-up time shift. It may be randomly assigned or allocated according to preset rules. Mode 2: The wake-up device calculates the wake-up time displacement of each wake-up device according to the preset information. The preset information is information common to the wake-up device and the wake-up device. The preset information may be a Media Access Control Address (MAC Address), and the MAC address is 48 bits; the preset information may also be an Association Identifier (AID), and the length is 16 bits. , or Partial Association Identifier (PAID), or Hashed Partial Association Identifier (Hashed PAID), with a length of 9 bits. For example, the calculation method may be: wake-up time shift = PAID * W, or wake-up time shift = (Hashed PAID) * W, where W is the length of the wake-up window of the wake-up device's auxiliary wake-up interface.
可以理解的是,被唤醒设备的个数可以是一个,也可以是两个、三个、四个或五个,还可以是其他数量的被唤醒设备,具体此处不做限定。当被唤醒设备的个数为两个或两个以上时,每个被唤醒设备的唤醒时间位移可能相同,也可能不同,唤醒时间位移相同的多个被唤醒设备可以组成一个组播组(Group-cast group)。It can be understood that the number of the devices to be awakened may be one, or two, three, four or five, and may be other devices that are awakened, which is not limited herein. When the number of devices to be woken up is two or more, the wake-up time shift of each wake-up device may be the same or different, and multiple wake-up devices with the same wake-up time shift may form a multicast group (Group -cast group).
举例说明,当被唤醒设备的个数为两个或两个以上时,每个被唤醒设备的唤醒时间位移之间可能相同,也可能不同。如图4所示,被唤醒设备包括被唤醒设备1至被唤醒设备5,即被唤醒设备包括第一设备至第五设备。例如,被唤醒设备包括第一设备至第五设备,第四设备的唤醒时间位移和第五设备的唤醒时间位移相同,第一设备的唤醒时间位移和第二设备的唤醒时间位移不同,第一设备的唤醒时间位移和第三设备的唤醒时间位移不同。For example, when the number of devices to be woken up is two or more, the wake-up time shift of each wake-up device may be the same or different. As shown in FIG. 4, the awake device includes the awake device 1 to the awake device 5, that is, the awake device includes the first device to the fifth device. For example, the device to be awakened includes a first device to a fifth device, and the wake-up time displacement of the fourth device is the same as the wake-up time of the fifth device, and the wake-up time displacement of the first device is different from the wake-up time of the second device. The wake-up time shift of the device is different from the wake-up time shift of the third device.
302、被唤醒设备获取被唤醒设备的唤醒时间位移。302. The wake-up device acquires a wake-up time displacement of the wake-up device.
被唤醒设备获取被唤醒设备的唤醒时间位移,被唤醒设备是唤醒设备将要唤醒的设备,被唤醒设备具有至少一个主通信接口和至少一个辅助唤醒接口。The wake-up device acquires the wake-up time displacement of the wake-up device, which is the device that the wake-up device is about to wake up, the wake-up device having at least one primary communication interface and at least one auxiliary wake-up interface.
需要说明的是,被唤醒设备的唤醒时间位移为第一时刻和第二时刻的差值,第一时刻为唤醒设备将要向被唤醒设备发送唤醒帧的时刻,第二时刻为唤醒设备向被唤醒设备发送完至少两个广播触发消息中的最后一个广播触发消息的时刻。It should be noted that the wake-up time of the wake-up device is the difference between the first time and the second time. The first time is the time when the wake-up device will send the wake-up frame to the wake-up device, and the second time is the wake-up device is awakened. The moment when the device sends the last one of the at least two broadcast trigger messages.
被唤醒设备可以通过多种方式确定被唤醒设备的唤醒时间位移,方式一:被唤醒设备接收唤醒设备发送的已经分配的唤醒时间位移;方式二:被唤醒设备根据预置的信息计算得到被唤醒设备的唤醒时间位移,预置的信息是唤醒设备和被唤醒设备共有的信息,例如,预置的信息可以是MAC Address,MAC地址是48个比特;预置的信息还可以是关联标识符,长度为16个比特,或部分关联标识符,长度为9个比特,或哈希的部分关联标识符。例如,计算方法可以是:唤醒时间位移=PAID*W,或,唤醒时间位移=(Hashed PAID)*W,其中,W是被唤醒设备的辅助唤醒接口的醒来窗口的长度。The wake-up device can determine the wake-up time displacement of the wake-up device in multiple ways. Mode 1: The wake-up device receives the allocated wake-up time shift sent by the wake-up device; Mode 2: The wake-up device calculates the wake-up according to the preset information. The wake-up time of the device is shifted. The preset information is information shared by the wake-up device and the wake-up device. For example, the preset information may be a MAC Address, and the MAC address is 48 bits; the preset information may also be an associated identifier. A length of 16 bits, or a partial associated identifier, a length of 9 bits, or a hashed partial associated identifier. For example, the calculation method may be: wake-up time shift = PAID * W, or wake-up time shift = (Hashed PAID) * W, where W is the length of the wake-up window of the wake-up device's auxiliary wake-up interface.
举例说明,如图4所示,第一设备至第五设备分别获取各自的唤醒时间位移,第一设备至第五设备都具有至少一个主通信接口和至少一个辅助唤醒接口。第一设备的第一时刻和第二设备的第一时刻不同,第四设备的第一时刻和第五设备的第一时刻相同,根据实际情况有多种比较组合,具体此处不做限定。For example, as shown in FIG. 4, the first device to the fifth device respectively acquire respective wake-up time shifts, and the first device to the fifth device each have at least one main communication interface and at least one auxiliary wake-up interface. The first time of the first device is different from the first time of the second device, and the first time of the fourth device is the same as the first time of the fifth device, and there are multiple combinations and combinations according to the actual situation, which is not limited herein.
303、唤醒设备生成至少两个广播触发消息。303. The wake-up device generates at least two broadcast trigger messages.
唤醒设备生成至少两个广播触发消息,每个广播触发消息用于指示唤醒设备将会发送唤醒帧。广播触发消息是辅助唤醒接口帧,接收对象是被唤醒设备的辅助唤醒接口。The wake-up device generates at least two broadcast trigger messages, each of which is used to indicate that the wake-up device will send the wake-up frame. The broadcast trigger message is an auxiliary wake-up interface frame, and the receiving object is an auxiliary wake-up interface of the wake-up device.
每个广播触发消息至少包括唤醒前导(Wakeup Preamble)和帧类型信息(Frame Type)。唤醒前导可以进一步包括帧起始符信息(Start Frame Delimiter,SFD)。帧类型信息可以是唤醒前导的一部分,即唤醒前导可以进一步包括帧类型信息。Each broadcast trigger message includes at least a wakeup preamble and a frame type information. The wakeup preamble may further include a Start Frame Delimiter (SFD). The frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information.
需要说明的是,该广播触发消息的帧格式里还可以进一步包括传统802.11前导(Legacy802.11Preamble)、索引信息(Index)、广播地址(Broadcast Address)、发送地址(Transmit Address)、基本服务集信息(Basic Service Set information,BSS Info)、计数器信息(Counter)、帧认证信息(Message Integrity Code,MIC)和帧校验信息(Frame Check Sequence,FCS)中的一个或多个。其中,基本服务集信息可以是与唤醒设备和被唤醒设备所在的基本服务 集的标识相关的信息,例如,可以是基本服务集标识符(Basic Service Set Identifier,BSSID),长度为48个比特;或哈希的基本服务集标识符(Hashed Basic Service Set Identifier,Hashed BSSID),长度可以为16个比特;或者基本服务集颜色值(Basic Service Set color,BSS color),长度可以为6个比特;或还可以是唤醒设备的媒体接入地址(Media Access Control Address,MAC Address)或哈希的媒体接入地址(Hashed Media Access Control Address,Hashed MAC Address)或部分媒体接入地址(Partial Media Access Control Address,Partial MAC Address)。媒体接入地址做哈希的目的可以是为了缩短MAC地址,减少传输的比特数,例如,从48个比特里取出来16个比特;也可能是为了隐藏真实的MAC地址,为了安全和隐私考虑。该广播触发消息的帧格式如图5所示。It should be noted that the frame format of the broadcast trigger message may further include a legacy 802.11 preamble, an index information, a broadcast address, a Transmit address, and a basic service set information. One or more of (Basic Service Set information, BSS Info), counter information (Counter), Frame Integrity Code (MIC), and Frame Check Sequence (FCS). The basic service set information may be a basic service with the wake-up device and the wake-up device. The information related to the set identifier may be, for example, a Basic Service Set Identifier (BSSID) having a length of 48 bits; or a hashed Basic Service Set Identifier (Hashed BSSID). The length may be 16 bits; or the basic service set color (BSS color) may be 6 bits in length; or may be the media access control address (MAC Address) of the wake-up device. ) or a hashed media access address (Hashed Media Access Control Address, Hased MAC Address) or a partial media access control address (Partial Media Access Control Address, Partial MAC Address). The purpose of hashing the media access address may be to shorten the MAC address and reduce the number of transmitted bits, for example, 16 bits from 48 bits; or to hide the real MAC address, for security and privacy reasons . The frame format of the broadcast trigger message is as shown in FIG. 5.
举例说明,如果广播触发消息的帧格式里包括广播地址(Broadcast Address),则广播地址可以包括基本服务集信息,即基本服务集信息可以是广播地址的一部分。如果广播触发消息的帧格式里包括发送地址(Transmit Address),则发送地址可以包括基本服务集信息,即基本服务集信息可以是发送地址的一部分。如果广播触发消息的帧格式里包括帧认证信息(MIC),则广播触发消息里也包括计数器信息(Counter),并且帧认证信息是根据广播触发消息的内容、计数器信息和密钥生成的;帧认证信息用于帮助接收设备认证广播触发消息的真实性,可以防止攻击者发送假的广播触发消息来干扰唤醒设备的异步唤醒操作。如果广播触发消息的帧格式里包括帧校验信息,则帧校验信息可以用于帮助接收设备校验所收到的广播触发消息的正确性。For example, if the broadcast format of the broadcast trigger message includes a broadcast address (Broadcast Address), the broadcast address may include basic service set information, that is, the basic service set information may be part of the broadcast address. If the frame format of the broadcast trigger message includes a Transmit Address, the transmission address may include basic service set information, that is, the basic service set information may be part of the transmission address. If the frame format of the broadcast trigger message includes frame authentication information (MIC), the broadcast trigger message also includes counter information (Counter), and the frame authentication information is generated according to the content of the broadcast trigger message, the counter information, and the key; The authentication information is used to help the receiving device to authenticate the authenticity of the broadcast trigger message, and can prevent the attacker from sending a fake broadcast trigger message to interfere with the asynchronous wake-up operation of the wake-up device. If the frame format of the broadcast trigger message includes frame check information, the frame check information may be used to help the receiving device verify the correctness of the received broadcast trigger message.
304、唤醒设备向至少一个被唤醒设备的辅助唤醒接口发送至少两个广播触发消息。304. The wake-up device sends at least two broadcast trigger messages to the auxiliary wake-up interface of the at least one wake-up device.
唤醒设备向至少一个被唤醒设备的辅助唤醒接口发送生成的至少两个广播触发消息。在异步模式下,唤醒设备不知道每个被唤醒设备的辅助唤醒接口的醒来窗口的位置。唤醒设备需要发送至少两个广播触发消息,期望其中至少有一个广播触发消息会被被唤醒设备的辅助唤醒接口接收到。The wake-up device transmits the generated at least two broadcast trigger messages to the auxiliary wake-up interface of the at least one wake-up device. In asynchronous mode, the wake-up device does not know the location of the wake-up window of the wake-up interface of each wake-up device. The wake-up device needs to send at least two broadcast trigger messages, and it is expected that at least one of the broadcast trigger messages will be received by the wake-up device's auxiliary wake-up interface.
需要说明的是,每个广播触发消息用于指示唤醒设备需要唤醒至少一个被唤醒设备,即唤醒设备会向至少一个被唤醒设备发送唤醒帧,该唤醒帧可以是单播唤醒帧或组播唤醒帧。当唤醒帧为单播唤醒帧时,该单播唤醒帧可以唤醒一个被唤醒设备;当唤醒帧为组播唤醒帧时,该组播唤醒帧可以唤醒属于同一组播组的多个被唤醒设备,接收到该组播唤醒帧的多个被唤醒设备的期望接收唤醒帧的时刻相同。It should be noted that each broadcast trigger message is used to indicate that the wake-up device needs to wake up at least one wake-up device, that is, the wake-up device sends a wake-up frame to at least one of the wake-up devices, and the wake-up frame may be a unicast wake-up frame or a multicast wake-up. frame. When the wake-up frame is a unicast wake-up frame, the unicast wake-up frame can wake up a wake-up device; when the wake-up frame is a multicast wake-up frame, the multicast wake-up frame can wake up multiple wake-up devices belonging to the same multicast group. The times at which the plurality of awakened devices that receive the multicast wake-up frame expect to receive the wake-up frame are the same.
可以理解的是,当唤醒设备需要唤醒至少两个被唤醒设备时,唤醒设备需要在时间T内发送一系列广播触发消息,时间T是被唤醒设备的辅助唤醒接口的工作循环(duty-cycling)的周期,该系列广播触发消息里包含的广播触发消息的个数为N,并且满足N大于或等于T/W,N为大于或等于2的整数。其中,W是被唤醒设备的辅助唤醒接口的工作循环的醒来窗口的长度。如果多个不同的被唤醒设备的醒来窗口的长度不同,则W为所有被唤醒设备的醒来窗口中长度最小的醒来窗口。It can be understood that when the wake-up device needs to wake up at least two wake-up devices, the wake-up device needs to send a series of broadcast trigger messages in time T, which is the duty-cycling of the wake-up device's auxiliary wake-up interface. The period is that the number of broadcast trigger messages included in the series of broadcast trigger messages is N, and N is greater than or equal to T/W, and N is an integer greater than or equal to 2. Where W is the length of the wake-up window of the work cycle of the wake-up device's auxiliary wake-up interface. If the lengths of the wake-up windows of a plurality of different wake-up devices are different, then W is the smallest wake-up window in the wake-up window of all the wake-up devices.
举例说明,如图4所示,本实施例中被唤醒设备包括第一设备至第五设备,W是第一设备的醒来窗口至第五设备的醒来窗口中最小的醒来窗口的长度,T是第一设备的辅助唤醒接口的工作循环周期至第五设备的辅助唤醒接口的工作循环周期中最大的周期。 For example, as shown in FIG. 4, the wake-up device in this embodiment includes a first device to a fifth device, where W is the length of the smallest wake-up window in the wake-up window of the first device to the wake-up window of the fifth device. , T is the maximum period of the duty cycle of the auxiliary wake-up interface of the first device to the work cycle of the auxiliary wake-up interface of the fifth device.
305、被唤醒设备接收唤醒设备发送的至少两个广播触发消息。305. The wake-up device receives at least two broadcast trigger messages sent by the wake-up device.
被唤醒设备接收唤醒设备发送的至少两个广播触发消息,每个广播触发消息用于指示唤醒设备将会发送唤醒帧。The wake-up device receives at least two broadcast trigger messages sent by the wake-up device, and each broadcast trigger message is used to indicate that the wake-up device will send the wake-up frame.
需要说明的是,被唤醒设备通过辅助唤醒模块提供的辅助唤醒接口接收唤醒设备发送的广播触发消息。被唤醒设备至少根据所接收到的一个消息里的帧类型信息(Frame Type)判断所收到的一个消息是否为一个广播触发消息。It should be noted that the wake-up device receives the broadcast trigger message sent by the wake-up device through the auxiliary wake-up interface provided by the auxiliary wake-up module. The awakened device determines, according to at least the frame type information (Frame Type) in the received message, whether the received message is a broadcast trigger message.
可以理解的是,当被唤醒设备收到一个广播触发消息后,该被唤醒设备需要执行的操作可以包括:It can be understood that, after the wake-up device receives a broadcast trigger message, the operations that the wake-up device needs to perform may include:
如果该广播触发消息的帧格式里包括基本服务集信息,被唤醒设备可以判断该广播触发消息里携带的基本服务集信息是否与被唤醒设备所在的基本服务集匹配;如果不匹配,则被唤醒设备会忽略该广播触发消息,例如,被唤醒设备停止接收和处理该广播触发消息。若匹配,则进行其他处理步骤。该广播触发消息里携带的基本服务集信息可以是作为广播地址或广播地址的一部分,或者是作为发送地址的一部分。If the frame format of the broadcast trigger message includes the basic service set information, the wake-up device may determine whether the basic service set information carried in the broadcast trigger message matches the basic service set where the wake-up device is located; if not, the device wakes up The device ignores the broadcast trigger message, for example, the wake-up device stops receiving and processing the broadcast trigger message. If it matches, perform other processing steps. The basic service set information carried in the broadcast trigger message may be part of a broadcast address or a broadcast address or as part of a send address.
如果该广播触发消息的帧格式里包括帧认证信息,被唤醒设备可以至少根据该帧认证信息认证所接收到的广播触发消息的真实性,即认证该广播触发消息是否来自合法关联的唤醒设备。If the frame format of the broadcast trigger message includes frame authentication information, the awake device may authenticate the authenticity of the received broadcast trigger message according to the frame authentication information, that is, whether the broadcast trigger message is from a legally associated wake-up device.
如果该广播触发消息的帧格式里包括帧校验信息,被唤醒设备可以至少根据该帧校验信息判断所收到的广播触发消息是否正确,即检查该广播触发消息在传输过程中是否出错。If the frame format of the broadcast trigger message includes frame check information, the wake-up device may determine, according to the frame check information, whether the received broadcast trigger message is correct, that is, check whether the broadcast trigger message is in error during transmission.
306、被唤醒设备根据至少两个广播触发消息和唤醒时间位移确定被唤醒设备的辅助唤醒接口的工作状态。306. The awakened device determines an working state of the auxiliary wake-up interface of the wake-up device according to the at least two broadcast trigger messages and the wake-up time shift.
被唤醒设备根据接收到的至少两个广播触发消息和唤醒时间位移确定被唤醒设备的辅助唤醒接口的工作状态。The wake-up device determines the working state of the auxiliary wake-up interface of the wake-up device according to the received at least two broadcast trigger messages and the wake-up time shift.
需要说明的是,当被唤醒设备确定所接收到的广播触发消息是与自己相关的、真实的和正确的,即与被唤醒设备关联的唤醒设备发送给被唤醒设备正确的唤醒帧,该被唤醒设备可以至少根据接收到的广播触发消息的内容确定被唤醒设备的辅助唤醒接口的工作状态。It should be noted that when the wake-up device determines that the received broadcast trigger message is related to itself, true and correct, that is, the wake-up device associated with the wake-up device sends the correct wake-up frame to the wake-up device, the The wake-up device may determine the working state of the auxiliary wake-up interface of the wake-up device based at least on the content of the received broadcast trigger message.
举例说明,如图4所示,被唤醒设备包括第一设备至第五设备。第一设备至少根据接收到的广播触发消息的内容和唤醒时间位移确定第一设备的辅助唤醒接口的休眠时长1;第一设备至少根据该休眠时长1让第一设备的辅助唤醒接口先进入休眠状态,并且在休眠时长结束后再唤醒该辅助唤醒接口等待唤醒帧,该唤醒帧可以是单播唤醒帧或组播唤醒帧。若至少两个广播触发消息里包括索引信息,则被唤醒设备从至少两个广播触发消息获取索引信息,该索引信息指示剩余将发送的广播触发消息的个数K。第一设备可以根据如下公式确定辅助唤醒接口的休眠时长I:休眠时长I=K*M+S;M是相邻的两个广播触发消息之间的最小时间间隔;S是被唤醒设备的唤醒时间位移。在这种情况下,第一设备需要获得唤醒设备发送相邻的两个广播触发消息之间的最小时间间隔M,例如,可以由唤醒设备确定最小时间间隔M并将其发送给第一设备。第二设备至第五设备执行的步骤与第一设备执行的步骤相同,此处不再赘述。若至少两个广播触发消息里不包括索引信息,则被唤醒 设备可以确定辅助唤醒接口的休眠时长为S,S为被唤醒设备的唤醒时间位移。For example, as shown in FIG. 4, the awake device includes a first device to a fifth device. Determining, by the first device, the sleep duration of the auxiliary wake-up interface of the first device according to the content of the received broadcast trigger message and the wake-up time displacement; the first device causes the auxiliary wake-up interface of the first device to enter the sleep at least according to the sleep duration 1 State, and wake up the auxiliary wake-up interface to wait for the wake-up frame after the sleep duration ends, and the wake-up frame may be a unicast wake-up frame or a multicast wake-up frame. If the at least two broadcast trigger messages include index information, the awake device acquires index information from at least two broadcast trigger messages, the index information indicating the number K of broadcast trigger messages to be transmitted remaining. The first device may determine the sleep duration I of the auxiliary wake-up interface according to the following formula: I sleep duration I=K*M+S; M is the minimum time interval between two adjacent broadcast trigger messages; S is wake-up of the wake-up device Time shift. In this case, the first device needs to obtain the minimum time interval M between the two adjacent broadcast trigger messages sent by the wake-up device. For example, the minimum time interval M can be determined by the wake-up device and sent to the first device. The steps performed by the second device to the fifth device are the same as those performed by the first device, and are not described herein again. Wake up if at least two broadcast trigger messages do not include index information The device can determine that the sleep duration of the auxiliary wake-up interface is S, and S is the wake-up time shift of the wake-up device.
可以理解的是,确定被唤醒设备的辅助唤醒接口的休眠时长的方法也可以用来确定被唤醒设备的辅助唤醒接口期望接收唤醒帧的时刻。例如,该辅助唤醒接口的休眠时长结束后即为该辅助唤醒接口期望接收唤醒帧的时刻。It can be understood that the method of determining the sleep duration of the wake-up interface of the wake-up device can also be used to determine the time at which the wake-up interface of the wake-up device desires to receive the wake-up frame. For example, the sleep duration of the auxiliary wake-up interface is the time at which the auxiliary wake-up interface expects to receive the wake-up frame.
307、唤醒设备生成至少一个唤醒帧。307. The wake-up device generates at least one wake-up frame.
唤醒设备生成至少一个唤醒帧,至少一个唤醒帧用于唤醒至少一个被唤醒设备的主通信接口,该唤醒帧可以是单播唤醒帧或组播唤醒帧。The wake-up device generates at least one wake-up frame, and the at least one wake-up frame is used to wake up the primary communication interface of the at least one wake-up device, and the wake-up frame may be a unicast wake-up frame or a multicast wake-up frame.
需要说明的是,当唤醒帧为单播唤醒帧时,该单播唤醒帧的帧格式可以如图6所示,该单播唤醒帧至少包括唤醒前导(Wakeup Preamble)、帧类型信息(Frame Type)和接收地址(Receive Address)。该唤醒前导可以进一步包括帧起始符信息(Start Frame Delimiter,SFD)。该帧类型信息可以是唤醒前导的一部分,即唤醒前导可以进一步包括帧类型信息。该接收地址(Receive Address)是单播地址,单播地址可以是与被唤醒设备的辅助唤醒接口的标识相关的信息,例如,辅助唤醒接口标识符(Wake-up Radio/Receiver Identifier,WUR ID),辅助唤醒接口地址(Wake-up Radio/Receiver Address,WUR Address);或者是与被唤醒设备的媒体接入控制相关的信息,例如,MAC Address、Hashed MAC Address或Partial MAC Address。It should be noted that when the wake-up frame is a unicast wake-up frame, the frame format of the unicast wake-up frame may be as shown in FIG. 6, and the unicast wake-up frame includes at least a wake-up preamble and a frame type information (Frame Type). ) and Receive Address (Receive Address). The wakeup preamble may further include a Start Frame Delimiter (SFD). The frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information. The Receive Address is a unicast address, and the unicast address may be information related to the identifier of the wake-up device's auxiliary wake-up interface, for example, Wake-up Radio/Receiver Identifier (WUR ID). Wake-up Radio/Receiver Address (WUR Address); or information related to media access control of the device being woken up, for example, MAC Address, Hashed MAC Address, or Partial MAC Address.
该单播唤醒帧里还可以进一步包括传统802.11前导(Legacy 802.11Preamble)、发送地址(Transmit Address)、基本服务集信息(Basic Service Set information,BSS Info)、控制信息(Control Info)、计数器信息(Counter)、帧认证信息(Message Integrity Code,MIC)和帧校验信息(Frame Check Sequence,FCS)中的一个或多个。其中,基本服务集信息(BSS Info)可以是与唤醒设备和被唤醒设备所在的基本服务集的标识相关的信息,例如,可以是BSSID或Hashed BSSID,或者可以是BSS color,或者可以是唤醒设备的MAC Address或Hashed MAC Address。The unicast wakeup frame may further include a legacy 802.11 Preamble, a Transmit Address, a Basic Service Set information (BSS Info), a Control Info, and a counter information. Counter), one or more of Frame Integrity Code (MIC) and Frame Check Sequence (FCS). The basic service set information (BSS Info) may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a BSSID or a Hashed BSSID, or may be a BSS color, or may be a wake-up device. MAC Address or Hashed MAC Address.
可以理解的是,当唤醒帧为组播唤醒帧时,该组播唤醒帧的帧格式可以如图7所示,该组播唤醒帧至少包括唤醒前导(Wakeup Preamble)、帧类型信息(Frame Type)和组播地址(Group-cast Address)。该唤醒前导可以进一步包括帧起始符信息。该帧类型信息可以是唤醒前导的一部分,即唤醒前导可以进一步包括帧类型信息。该组播地址可以是组号信息(Group ID),或者组播地址可以包括组号信息。该组播地址(Group-cast Address)也可是多个单播地址的组合,即组播地址可以包括多个单播地址,单播地址可以是与被唤醒设备的辅助唤醒接口的标识相关的信息,例如,WUR ID,WUR Address;或者是与目标被唤醒设备的MAC地址相关的信息,例如,MAC Address、Hashed MAC Address或Partial MAC Address。It can be understood that, when the wake-up frame is a multicast wake-up frame, the frame format of the multicast wake-up frame may be as shown in FIG. 7. The multicast wake-up frame includes at least a wake-up preamble and a frame type information (Frame Type). ) and the multicast address (Group-cast Address). The wakeup preamble may further include frame starter information. The frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information. The multicast address may be a group ID information, or the multicast address may include group number information. The multicast address (Group-cast address) may also be a combination of multiple unicast addresses, that is, the multicast address may include multiple unicast addresses, and the unicast address may be information related to the identifier of the auxiliary wake-up interface of the wake-up device. For example, WUR ID, WUR Address; or information related to the MAC address of the target device being woken up, for example, MAC Address, Hashed MAC Address, or Partial MAC Address.
该组播唤醒帧还可以进一步包括传统802.11前导(Legacy 802.11Preamble)、发送地址(Transmit Address)、基本服务集信息(BSS Info)、控制信息(Control Info)、计数器信息(Counter)、帧认证信息(MIC)和帧校验信息(FCS)中的一个或多个。其中,基本服务集信息(BSS Info)可以是与唤醒设备和被唤醒设备所在的基本服务集的标识相关的信息,例如,可以是BSSID或Hashed BSSID,或者可以是BSS color,或者可以是唤醒设备的MAC  Address或Hashed MAC Address。如果唤醒设备使用组播方式唤醒两个或两个以上的被唤醒设备,唤醒设备需要事先对被唤醒设备进行分组,将其关联的被唤醒设备分成多个组播组。The multicast wake-up frame may further include a legacy 802.11 Preamble, a Transmit Address, a BSS Info, a Control Info, a Counter, and a frame authentication information. One or more of (MIC) and Frame Check Information (FCS). The basic service set information (BSS Info) may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a BSSID or a Hashed BSSID, or may be a BSS color, or may be a wake-up device. MAC Address or Hashed MAC Address. If the wake-up device wakes up two or more wake-up devices using multicast mode, the wake-up device needs to group the wake-up devices in advance and divide the associated wake-up devices into multiple multicast groups.
308、唤醒设备根据唤醒时间位移确定发送唤醒帧的时刻。308. The wake-up device determines a time at which the wake-up frame is sent according to the wake-up time shift.
唤醒设备根据每个被唤醒设备已确定的唤醒时间位移和第二时刻确定与每个被唤醒设备分别相关的发送唤醒帧的第一时刻。The wake-up device determines a first time to transmit a wake-up frame associated with each of the devices being woken up based on the determined wake-up time shift and the second time of each of the wake-up devices.
由于唤醒设备需要先竞争到信道,然后才能发送唤醒帧,这里所说的发送唤醒帧的时刻是唤醒设备期望能够发送唤醒帧的时刻。而实际上唤醒设备发送唤醒帧的确切时刻是随机的,随机性是由于唤醒设备竞争信道引起的。实际上唤醒设备发送唤醒帧的确切时刻是期望的发送唤醒帧的时刻,或者是比期望的发送唤醒帧的时刻要晚(即增加了竞争信道的时间)。唤醒时间位移都是根据期望的唤醒设备发送唤醒帧的时刻来确定的。Since the wake-up device needs to compete for the channel first, then the wake-up frame can be sent. The moment when the wake-up frame is sent is the time at which the wake-up device expects to be able to send the wake-up frame. In fact, the exact moment when the wake-up device sends the wake-up frame is random, and the randomness is caused by the wake-up device competing for the channel. The exact moment at which the wake-up device actually sends the wake-up frame is the time at which the wake-up frame is expected to be transmitted, or later than the time at which the wake-up frame is expected to be transmitted (ie, the time to contend for the channel is increased). The wake-up time shift is determined based on the time at which the desired wake-up device sends the wake-up frame.
需要说明的是,步骤308在步骤306之后,步骤309之前,步骤308与步骤307之间无必然的先后顺序。步骤308可以在步骤307之前,或在步骤307之后,或者步骤308与步骤307同时执行,具体此处不做限定。It should be noted that step 308 is after step 306, before step 309, there is no necessary sequence between step 308 and step 307. Step 308 may be performed before step 307, or after step 307, or step 308 and step 307, which are not limited herein.
309、唤醒设备在与每个被唤醒设备相关的第一时刻向相关的被唤醒设备的辅助唤醒接口分别发送唤醒帧。309. The wake-up device sends a wake-up frame to the auxiliary wake-up interface of the associated wake-up device at a first moment related to each wake-up device.
唤醒设备在与每个被唤醒设备相关的第一时刻向与第一时刻相关的各个被唤醒设备的辅助唤醒接口分别发送唤醒帧,唤醒帧用于指示与第一时刻相关的被唤醒设备唤醒的主通信接口。The wake-up device sends a wake-up frame to the auxiliary wake-up interface of each of the wake-up devices associated with the first moment at a first moment associated with each of the wake-up devices, the wake-up frame being used to indicate that the wake-up device associated with the first moment wakes up Main communication interface.
需要说明的是,唤醒设备可以根据确定的发送唤醒帧的时刻向被唤醒设备发送单播唤醒帧,依次唤醒多个被唤醒设备,如图4所示。It should be noted that the waking device may send a unicast wake-up frame to the awake device according to the determined moment of sending the wake-up frame, and sequentially wake up the plurality of awake devices, as shown in FIG. 4 .
可以理解的是,如果有两个或两个以上的被唤醒设备的单播唤醒时间位移是相同的,则唤醒设备也可以发送组播唤醒帧,以唤醒多个被唤醒设备。如图4所示,第四设备和第五设备具有相同的单播唤醒时间位移,可以组成一个组播组。组播唤醒帧里可以携带两个或两个以上的被唤醒设备的辅助唤醒接口的标识信息;或者,如果两个或两个以上的被唤醒设备作为一个组播组,则组播唤醒帧里可以携带组播组的标识信息(即Group ID)。唤醒设备可以只发送单播唤醒帧;或者,唤醒设备可以先发送单播唤醒帧,再发送组播唤醒帧;或者,唤醒设备可以先发送组播唤醒帧,再发送单播唤醒帧,具体此处不做限定。单播唤醒帧和组播唤醒帧的接收设备不同。It can be understood that if there are two or more unicast wake-up time shifts of the device being awakened, the wake-up device can also send a multicast wake-up frame to wake up the plurality of wake-up devices. As shown in FIG. 4, the fourth device and the fifth device have the same unicast wakeup time offset and can form a multicast group. The multicast wake-up frame may carry the identification information of the auxiliary wake-up interface of two or more wake-up devices; or, if two or more wake-up devices are used as a multicast group, the multicast wake-up frame It can carry the identification information of the multicast group (that is, the Group ID). The wake-up device may only send a unicast wake-up frame; or, the wake-up device may first send a unicast wake-up frame and then send a multicast wake-up frame; or, the wake-up device may first send a multicast wake-up frame, and then send a unicast wake-up frame, specifically No restrictions are imposed. The unicast wake-up frame is different from the receiving device of the multicast wake-up frame.
310、被唤醒设备接收唤醒设备发送的唤醒帧。310. The device that is woken up receives the wake-up frame sent by the wake-up device.
被唤醒设备接收唤醒设备发送的唤醒帧,该唤醒帧用于唤醒被唤醒设备的主通信接口。The wake-up device receives a wake-up frame sent by the wake-up device, and the wake-up frame is used to wake up the main communication interface of the wake-up device.
由于唤醒设备发送唤醒帧的确切时刻是随机的(随机性是由于竞争信道引起的),被唤醒设备的辅助唤醒接口醒来后可能需要等待一段时间才能接收到唤醒帧。进一步的,为了避免被唤醒设备错过唤醒帧,被唤醒设备的辅助唤醒接口需要提前一段时间醒来等待接收唤醒帧。唤醒设备的辅助唤醒接口提前醒来的时间和等待接收唤醒帧的时间可以是有具体设备内部实现决定的,这里可以不作限定。Since the exact moment when the wake-up device sends the wake-up frame is random (randomness is due to the contention channel), it may take some time for the wake-up device to wait for a period of time to receive the wake-up frame after waking up. Further, in order to prevent the wake-up device from missing the wake-up frame, the wake-up device's auxiliary wake-up interface needs to wake up a certain time in advance to wait for the wake-up frame to be received. The wake-up time of the wake-up device of the wake-up device and the time to wait for receiving the wake-up frame may be determined by a specific device internal implementation, which may not be limited herein.
需要说明的是,被唤醒设备通过辅助唤醒接口接收唤醒帧,唤醒帧可以是单播唤醒帧 或组播唤醒帧。如果唤醒帧是单播唤醒帧,则被唤醒设备需要检查该单播唤醒帧里携带的接收地址与本地的辅助唤醒接口的标识是否匹配;如果不匹配,则被唤醒设备可以忽略该单播唤醒帧,例如,第一设备(或,第二设备至第五设备中的一个或多个)停止接收和处理该单播唤醒帧。It should be noted that the wake-up device receives the wake-up frame through the auxiliary wake-up interface, and the wake-up frame may be a unicast wake-up frame. Or multicast wake-up frame. If the wakeup frame is a unicast wakeup frame, the awake device needs to check whether the received address carried in the unicast wakeup frame matches the identifier of the local auxiliary wakeup interface; if not, the awake device can ignore the unicast wakeup A frame, for example, the first device (or one or more of the second device to the fifth device) stops receiving and processing the unicast wake frame.
如果唤醒帧是组播唤醒帧,则被唤醒设备需要判断组播唤醒帧里携带的组播地址与本地的组播组的标识是否匹配,或者,被唤醒设备需要判断组播唤醒帧里携带的组播地址是否包括本地的辅助唤醒接口的标识信息;如果不匹配或者不包括本地的辅助唤醒接口的标识信息,则被唤醒设备可以忽略该组播唤醒帧,例如,停止接收和处理该组播唤醒帧。If the wake-up frame is a multicast wake-up frame, the device to be awakened needs to determine whether the multicast address carried in the multicast wake-up frame matches the identifier of the local multicast group, or the wake-up device needs to determine the carried in the multicast wake-up frame. Whether the multicast address includes the identification information of the local auxiliary wake-up interface; if the identifier information of the local auxiliary wake-up interface is not matched or not included, the wake-up device may ignore the multicast wake-up frame, for example, stop receiving and processing the multicast. Wake up the frame.
可以理解的是,被唤醒设备收到唤醒帧后,被唤醒设备可能执行的操作还可以进一步包括:It can be understood that, after the wake-up device receives the wake-up frame, the operation that the wake-up device may perform may further include:
如果该唤醒帧的帧格式里包括基本服务集信息,被唤醒设备可以判断该唤醒帧里携带的基本服务集信息是否与被唤醒设备所在的基本服务集匹配;如果不匹配,则被唤醒设备会忽略该唤醒帧,例如,被唤醒设备停止接收和处理该唤醒帧。该唤醒帧里携带的基本服务集信息可以是作为接收地址或组播地址的一部分,或者是作为发送地址的一部分。If the frame format of the wake-up frame includes basic service set information, the wake-up device may determine whether the basic service set information carried in the wake-up frame matches the basic service set where the wake-up device is located; if not, the wake-up device will The wake-up frame is ignored, for example, the wake-up device stops receiving and processing the wake-up frame. The basic service set information carried in the wake-up frame may be part of the receiving address or the multicast address or as part of the sending address.
如果该唤醒帧的帧格式里包括帧认证信息,被唤醒设备可以至少根据该帧认证信息认证所接收到的唤醒帧的真实性,即认证该唤醒帧是否来自合法关联的唤醒设备。If the frame format of the wake-up frame includes frame authentication information, the wake-up device may authenticate the authenticity of the received wake-up frame according to at least the frame authentication information, that is, whether the wake-up frame is from a legally associated wake-up device.
如果该唤醒帧的帧格式里包括帧校验信息,被唤醒设备可以至少根据该帧校验信息判断所接收到的唤醒帧是否正确,即检查该唤醒帧在传输过程中是否出错。If the frame format of the wake-up frame includes frame check information, the wake-up device may determine, according to the frame check information, whether the received wake-up frame is correct, that is, check whether the wake-up frame is in error during transmission.
311、被唤醒设备根据唤醒帧确定被唤醒设备的主通信接口和/或辅助唤醒接口的工作状态。311. The awakened device determines, according to the wake-up frame, an active state of the wake-up device's primary communication interface and/or the auxiliary wake-up interface.
被唤醒设备根据唤醒帧确定被唤醒设备的主通信接口和/或辅助唤醒接口的工作状态。The wake-up device determines the operational status of the wake-up device's primary communication interface and/or the auxiliary wake-up interface based on the wake-up frame.
当被唤醒设备在接收到一个与自己相关的、真实的和正确的单播唤醒帧或组播唤醒帧之后,该被唤醒设备至少根据所接收的唤醒帧的内容确定本地的主通信接口和/或辅助唤醒接口的工作状态。具体确定方式如下:After the wake-up device receives a real and correct unicast wake-up frame or multicast wake-up frame associated with itself, the wake-up device determines the local primary communication interface and/or according to at least the content of the received wake-up frame. Or the working state of the auxiliary wake-up interface. The specific determination method is as follows:
被唤醒设备根据唤醒帧唤醒被唤醒设备的主通信接口,并调整被唤醒设备的辅助唤醒接口为关闭状态;或,被唤醒设备根据唤醒帧唤醒被唤醒设备的主通信接口,并且保持被唤醒设备的辅助唤醒接口为开启状态;或,被唤醒设备根据唤醒帧保持被唤醒设备的主通信模块为开启状态,并且调整被唤醒设备的辅助唤醒接口为关闭状态或,被唤醒设备根据唤醒帧保持被唤醒设备的主通信模块为关闭状态,并且调整被唤醒设备的辅助唤醒接口为关闭状态。The wake-up device wakes up the main communication interface of the wake-up device according to the wake-up frame, and adjusts the auxiliary wake-up interface of the wake-up device to be in an off state; or, the wake-up device wakes up the main communication interface of the wake-up device according to the wake-up frame, and keeps the wake-up device The auxiliary wake-up interface is in an on state; or, the wake-up device keeps the main communication module of the wake-up device in an on state according to the wake-up frame, and adjusts the auxiliary wake-up interface of the wake-up device to be in an off state or the wake-up device remains according to the wake-up frame. The main communication module of the wake-up device is turned off, and the auxiliary wake-up interface of the wake-up device is adjusted to be in an off state.
本申请实施例中,唤醒设备在异步模式下,根据广播触发消息和唤醒时间位移确定被唤醒设备的辅助唤醒接口接收唤醒帧的时间,以使得被唤醒设备的辅助唤醒接口尽可能多的处于休眠状态和避免辅助唤醒接口错过唤醒帧,提高了异步模式下唤醒多个设备操作时的空口效率和进一步降低被唤醒设备的功耗。In the embodiment of the present application, in the asynchronous mode, the wake-up device determines, according to the broadcast trigger message and the wake-up time displacement, the time that the wake-up interface of the wake-up device receives the wake-up frame, so that the auxiliary wake-up interface of the wake-up device is as much as possible. The state and avoiding the auxiliary wake-up interface missing the wake-up frame improves the air interface efficiency when waking up multiple devices in asynchronous mode and further reduces the power consumption of the wake-up device.
为便于理解,下面对本申请实施例的具体流程进行描述,请参阅图8,当触发消息为组播触发消息时,本申请实施例中唤醒设备的方法另一实施例包括:For the sake of understanding, the following describes the specific process of the embodiment of the present application. Referring to FIG. 8 , when the trigger message is a multicast trigger message, another embodiment of the method for waking up the device in the embodiment of the present application includes:
801、唤醒设备确定至少一个被唤醒设备的唤醒时间位移。 801. The wake-up device determines a wake-up time shift of the at least one wake-up device.
唤醒设备根据被唤醒设备所属的组播组确定该被唤醒设备的唤醒时间位移,被唤醒设备是该唤醒设备将要唤醒的设备,每个唤醒设备和被唤醒设备均具有至少一个主通信接口和至少一个辅助唤醒接口。The wake-up device determines the wake-up time displacement of the wake-up device according to the multicast group to which the wake-up device belongs, and the wake-up device is a device that the wake-up device is to wake up, and each wake-up device and the wake-up device have at least one primary communication interface and at least An auxiliary wakeup interface.
需要说明的是,每个被唤醒设备的唤醒时间位移为与每个被唤醒设备分别相关的第一时刻和第二时刻的差值,与每个被唤醒设备分别相关的第一时刻为唤醒设备将要向至少一个被唤醒设备发送唤醒帧的时刻,第二时刻为唤醒设备向至少一个被唤醒设备发送完至少两个组播触发消息中的最后一个组播触发消息的时刻。It should be noted that the wake-up time of each awake device is the difference between the first moment and the second moment respectively associated with each awake device, and the first moment associated with each awake device is a wake-up device. The moment when the wake-up frame is to be sent to the at least one awake device, and the second time is the moment when the wake-up device sends the last one of the at least two multicast trigger messages to the at least one awake device.
唤醒设备可以通过多种方式确定被唤醒设备的唤醒时间位移,方式一:唤醒设备获取到每个被唤醒设备所属的组播组后或者在关联过程中,为与其关联的每一个组播组分配一个组播唤醒时间位移,可以是随机分配,也可以按照预置规则进行分配;方式二:唤醒设备根据预置的信息计算得到每个组播组的组播唤醒时间位移,预置的信息是唤醒设备和被唤醒设备共有的信息,例如,预置的信息可以是组播组号(Group Identifier,Group ID),或哈希的组播组号(Hashed Group Identifier,Hashed Group ID)。例如,计算方法可以是:唤醒时间位移=(Group ID)*W,或,唤醒时间位移=(Hashed Group ID)*W,其中,W是被唤醒设备的辅助唤醒接口的醒来窗口的长度。The wake-up device can determine the wake-up time displacement of the wake-up device in multiple ways. Mode 1: After the wake-up device obtains the multicast group to which each wake-up device belongs, or in the association process, allocates each multicast group associated with it. A multicast wake-up time shift can be randomly assigned or allocated according to preset rules. Mode 2: The wake-up device calculates the multicast wake-up time displacement of each multicast group according to the preset information. The preset information is The information shared by the wake-up device and the wake-up device, for example, the preset information may be a Group Identifier (Group ID) or a Hashed Group Identifier (Hashed Group ID). For example, the calculation method may be: wake-up time shift = (Group ID) * W, or wake-up time shift = (Hashed Group ID) * W, where W is the length of the wake-up window of the wake-up device's auxiliary wake-up interface.
可以理解的是,组播组至少为一个,每个组播组中被唤醒设备的个数至少为两个,也可以是三个、四个或五个,还可以是其他数量的被唤醒设备,具体此处不做限定。组播组中每个被唤醒设备的单播唤醒时间位移相同,不同的组播组的多播唤醒时间位移不同。It can be understood that there are at least one multicast group, and the number of devices to be woken up in each multicast group is at least two, three, four, or five, and other numbers of devices that are woken up. , specifically here is not limited. The unicast wakeup time of each wake-up device in the multicast group is the same, and the multicast wake-up time of different multicast groups is different.
举例说明,当被唤醒设备的个数为两个或两个以上,并属于一个组播组时,如图9所示,该组播组包括被唤醒设备1至被唤醒设备5,即被唤醒设备包括第一设备至第五设备。例如,被唤醒设备的一个组播组包括第一设备至第五设备,第一设备的唤醒时间位移至第五设备的单播唤醒时间位移都相同。For example, when the number of devices to be woken up is two or more and belongs to a multicast group, as shown in FIG. 9, the multicast group includes the device 1 to be woken up to be awakened by the device 5, that is, is awakened. The device includes first to fifth devices. For example, one multicast group of the awakened device includes the first device to the fifth device, and the unicast wake time shift of the first device to the fifth device is the same.
802、被唤醒设备获取被唤醒设备的唤醒时间位移。802. The wake-up device acquires a wake-up time shift of the wake-up device.
被唤醒设备获取被唤醒设备的唤醒时间位移,被唤醒设备是唤醒设备将要唤醒的设备,被唤醒设备具有至少一个主通信接口和至少一个辅助唤醒接口。The wake-up device acquires the wake-up time displacement of the wake-up device, which is the device that the wake-up device is about to wake up, the wake-up device having at least one primary communication interface and at least one auxiliary wake-up interface.
需要说明的是,被唤醒设备的唤醒时间位移为第一时刻和第二时刻的差值,第一时刻为唤醒设备将要向被唤醒设备所属的组播组发送唤醒帧的时刻,第二时刻为唤醒设备向被唤醒设备所属的组播组发送完至少两个组播触发消息中的最后一个组播触发消息的时刻。It should be noted that the wake-up time of the wake-up device is the difference between the first time and the second time, and the first time is a time when the wake-up device sends a wake-up frame to the multicast group to which the device to be awakened belongs, and the second time is The moment when the wake-up device sends the last multicast trigger message in at least two multicast trigger messages to the multicast group to which the wake-up device belongs.
被唤醒设备可以通过多种方式确定被唤醒设备的唤醒时间位移,方式一:被唤醒设备接收唤醒设备发送的已经分配的组播唤醒时间位移;方式二:被唤醒设备根据预置的信息计算得到被唤醒设备的组播唤醒时间位移,预置的信息是唤醒设备和被唤醒设备共有的信息,例如,预置的信息可以是组播组号(Group Identifier,Group ID),或哈希的组播组号(Hashed Group Identifier,Hashed Group ID)。例如,计算方法可以是:唤醒时间位移=(Group ID)*W,或,唤醒时间位移=(Hashed Group ID)*W,其中,W是被唤醒设备的辅助唤醒接口的醒来窗口的长度。The wake-up device can determine the wake-up time displacement of the wake-up device in multiple manners. Mode 1: The wake-up device receives the allocated multicast wake-up time offset sent by the wake-up device; Mode 2: The wake-up device calculates according to the preset information. The multicast wake-up time of the wake-up device is shifted. The preset information is information common to the wake-up device and the wake-up device. For example, the preset information may be a Group Identifier (Group ID) or a hashed group. Hashed Group Identifier (Hashed Group ID). For example, the calculation method may be: wake-up time shift = (Group ID) * W, or wake-up time shift = (Hashed Group ID) * W, where W is the length of the wake-up window of the wake-up device's auxiliary wake-up interface.
举例说明,如图9所示,第一设备至第五设备分别获取各自的唤醒时间位移,第一设备至第五设备都具有至少一个主通信接口和至少一个辅助唤醒接口。第一设备的第一时刻 至第五设备的第一时刻相同,即同一个组播组中的第一设备至第五设备期望接收唤醒帧的时刻相同。For example, as shown in FIG. 9, the first device to the fifth device respectively acquire respective wake-up time shifts, and the first device to the fifth device each have at least one main communication interface and at least one auxiliary wake-up interface. First moment of the first device The first moments to the fifth device are the same, that is, the times at which the first device to the fifth device in the same multicast group expect to receive the wake-up frame are the same.
803、唤醒设备生成至少两个组播触发消息。803. The wake-up device generates at least two multicast trigger messages.
唤醒设备生成至少两个组播触发消息,每个组播触发消息用于指示唤醒设备将会发送唤醒帧。组播触发消息是辅助唤醒接口帧,接收对象是被唤醒设备的辅助唤醒接口。The wake-up device generates at least two multicast trigger messages, and each multicast trigger message is used to indicate that the wake-up device will send the wake-up frame. The multicast trigger message is an auxiliary wake-up interface frame, and the receiving object is an auxiliary wake-up interface of the wake-up device.
每个组播触发消息至少包括唤醒前导(Wakeup Preamble)、帧类型信息(Frame Type)和组播地址信息(Group-cast Address)。唤醒前导可以进一步包括帧起始符信息(Start Frame Delimiter,SFD)。帧类型信息可以是唤醒前导的一部分,即唤醒前导可以进一步包括帧类型信息。组播地址信息(Group-cast Address)可以是组播地址,即一个组播组的地址信息;或者是组播组的标识信息,例如,组播组号(Group ID);或者是多个辅助唤醒接口地址的组合,即组播地址信息可以包括多个辅助唤醒接口地址,辅助唤醒接口地址可以是辅助唤醒接口标识信息(Wake-up Radio/Receiver Identifier,WUR ID),或者与被唤醒设备相关的标识信息,如MAC Address,或Hashed MAC Address。Each multicast trigger message includes at least a wake-up preamble, a frame type information, and a group-cast address. The wakeup preamble may further include a Start Frame Delimiter (SFD). The frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information. The multicast address information (Group-cast address) can be a multicast address, that is, the address information of a multicast group; or the identification information of a multicast group, for example, a multicast group number (Group ID); or multiple assistants. The combination of the wake-up interface address, that is, the multicast address information may include multiple auxiliary wake-up interface addresses, and the auxiliary wake-up interface address may be Wake-up Radio/Receiver Identifier (WUR ID) or related to the device being woken up. Identification information, such as MAC Address, or Hashed MAC Address.
需要说明的是,该组播触发消息的帧格式里还可以进一步包括传统802.11前导(Legacy802.11Preamble)、索引信息(Index)、发送地址(Transmit Address)、基本服务集信息(Basic Service Set information,BSS Info)、计数器信息(Counter)、帧认证信息(Message Integrity Code,MIC)和帧校验信息(Frame Check Sequence,FCS)中的一个或多个。其中,基本服务集信息可以是与唤醒设备和被唤醒设备所在的基本服务集的标识相关的信息,例如,可以是基本服务集标识符(Basic Service Set Identifier,BSSID)或哈希的基本服务集标识符(Hashed Basic Service Set Identifier,Hashed BSSID),或者是基本服务集颜色值(Basic Service Set color,BSS color),或还可以是唤醒设备的MAC Address、Hashed MAC Address或Partial MAC Address。该组播触发消息的帧格式如图10所示。It should be noted that the frame format of the multicast trigger message may further include a legacy 802.11 preamble, an index information, a Transmit Address, and a basic service set information. One or more of BSS Info), Counter Information, Message Integrity Code (MIC), and Frame Check Sequence (FCS). The basic service set information may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a Basic Service Set Identifier (BSSID) or a basic service set of the hash. The identifier (Hashed Basic Service Set Identifier, Hashed BSSID), or the Basic Service Set color (BSS color), or may also be the MAC Address, Hashed MAC Address, or Partial MAC Address of the wake-up device. The frame format of the multicast trigger message is as shown in FIG.
举例说明,组播地址(Group-cast Address)可以包括基本服务集信息,即基本服务集信息可以是组播地址的一部分。如果组播触发消息的帧格式里包括帧认证信息(MIC),则组播触发消息里也包括计数器信息(Counter),并且帧认证信息是根据组播触发消息的内容、计数器信息和密钥生成的;帧认证信息用于帮助接收设备认证组播触发消息的真实性,可以防止攻击者发送假的组播触发消息来干扰唤醒设备的异步唤醒操作。如果组播触发消息的帧格式里包括帧校验信息,则帧校验信息可以用于帮助接收设备校验所收到的组播触发消息的正确性。For example, a group-cast address may include basic service set information, that is, the basic service set information may be part of a multicast address. If the frame format of the multicast trigger message includes frame authentication information (MIC), the multicast trigger message also includes counter information (Counter), and the frame authentication information is generated according to the content of the multicast trigger message, the counter information, and the key. The frame authentication information is used to help the receiving device to authenticate the authenticity of the multicast trigger message, and can prevent the attacker from sending a fake multicast trigger message to interfere with the asynchronous wake-up operation of the wake-up device. If the frame format of the multicast trigger message includes frame check information, the frame check information may be used to help the receiving device verify the correctness of the received multicast trigger message.
804、唤醒设备向至少一个被唤醒设备的辅助唤醒接口发送至少两个组播触发消息。804. The wake-up device sends at least two multicast trigger messages to the auxiliary wake-up interface of the at least one wake-up device.
唤醒设备向至少一个被唤醒设备的辅助唤醒接口发送生成的至少两个组播触发消息。在异步模式下,唤醒设备不知道每个被唤醒设备的辅助唤醒接口的醒来窗口的位置。唤醒设备需要发送至少两个组播触发消息,期望其中至少有一个组播触发消息会被被唤醒设备的辅助唤醒接口接收到。The wake-up device sends the generated at least two multicast trigger messages to the auxiliary wake-up interface of the at least one wake-up device. In asynchronous mode, the wake-up device does not know the location of the wake-up window of the wake-up interface of each wake-up device. The wake-up device needs to send at least two multicast trigger messages, and it is expected that at least one of the multicast trigger messages will be received by the wake-up device of the wake-up device.
可以理解的是,当唤醒设备需要唤醒至少两个被唤醒设备时,唤醒设备需要在时间T内发送一系列组播触发消息,时间T是被唤醒设备的辅助唤醒接口的工作循环(duty-cycling)的周期,该系列组播触发消息里包含的组播触发消息的个数为N,并且满 足N大于或等于T/W,N为大于或等于2的整数。其中,W是被唤醒设备的辅助唤醒接口的工作循环的醒来窗口的长度。如果多个不同的被唤醒设备的醒来窗口的长度不同,则W为所有被唤醒设备的醒来窗口中长度最小的醒来窗口。It can be understood that when the wake-up device needs to wake up at least two wake-up devices, the wake-up device needs to send a series of multicast trigger messages in time T, and the time T is the duty cycle of the wake-up device's auxiliary wake-up interface (duty-cycling) Period, the number of multicast trigger messages included in the series of multicast trigger messages is N, and is full The foot N is greater than or equal to T/W, and N is an integer greater than or equal to 2. Where W is the length of the wake-up window of the work cycle of the wake-up device's auxiliary wake-up interface. If the lengths of the wake-up windows of a plurality of different wake-up devices are different, then W is the smallest wake-up window in the wake-up window of all the wake-up devices.
举例说明,如图9所示,本实施例中被唤醒设备包括第一设备至第五设备,W是第一设备的醒来窗口至第五设备的醒来窗口中最小的醒来窗口的长度,T是第一设备的辅助唤醒接口的工作循环周期至第五设备的辅助唤醒接口的工作循环周期中最大的周期。For example, as shown in FIG. 9, the awake device in this embodiment includes a first device to a fifth device, where W is the length of the smallest awake window in the awake window of the first device to the awake window of the fifth device. , T is the maximum period of the duty cycle of the auxiliary wake-up interface of the first device to the work cycle of the auxiliary wake-up interface of the fifth device.
805、被唤醒设备接收唤醒设备发送的至少两个组播触发消息。805. The wake-up device receives at least two multicast trigger messages sent by the wake-up device.
被唤醒设备接收唤醒设备发送的至少两个组播触发消息,每个组播触发消息用于指示唤醒设备将会发送唤醒帧。The wake-up device receives at least two multicast trigger messages sent by the wake-up device, and each multicast trigger message is used to indicate that the wake-up device will send the wake-up frame.
需要说明的是,被唤醒设备通过辅助唤醒模块提供的辅助唤醒接口接收唤醒设备发送的组播触发消息。被唤醒设备至少根据所接收到的一个消息里的帧类型信息(Frame Type)判断所收到的一个消息是否为一个组播触发消息。It should be noted that the wake-up device receives the multicast trigger message sent by the wake-up device through the auxiliary wake-up interface provided by the auxiliary wake-up module. The awakened device determines, according to at least the frame type information (Frame Type) in the received message, whether the received message is a multicast trigger message.
可以理解的是,当被唤醒设备收到一个组播触发消息后,该被唤醒设备需要执行的操作可以包括:It can be understood that, after the wake-up device receives a multicast trigger message, the operations that the wake-up device needs to perform may include:
如果该组播触发消息的帧格式里包括基本服务集信息,被唤醒设备可以判断该组播触发消息里携带的基本服务集信息是否与被唤醒设备所在的基本服务集匹配;如果不匹配,则被唤醒设备会忽略该组播触发消息,例如,被唤醒设备停止接收和处理该组播触发消息。若匹配,则进行其他处理步骤。该组播触发消息里携带的基本服务集信息可以是作为组播地址的一部分,或者是作为发送地址的一部分。If the frame format of the multicast trigger message includes the basic service set information, the awake device can determine whether the basic service set information carried in the multicast trigger message matches the basic service set where the awake device is located; if not, The awakened device ignores the multicast trigger message, for example, the wake-up device stops receiving and processing the multicast trigger message. If it matches, perform other processing steps. The basic service set information carried in the multicast trigger message may be part of the multicast address or part of the sending address.
如果该组播触发消息的帧格式里包括帧认证信息,被唤醒设备可以至少根据该帧认证信息认证所接收到的组播触发消息的真实性,即认证该组播触发消息是否来自合法关联的唤醒设备。If the frame format of the multicast trigger message includes the frame authentication information, the awake device can authenticate the authenticity of the received multicast trigger message according to the frame authentication information, that is, whether the multicast trigger message is from a legal association. Wake up the device.
如果该组播触发消息的帧格式里包括帧校验信息,被唤醒设备可以至少根据该帧校验信息判断所收到的组播触发消息是否正确,即检查该组播触发消息在传输过程中是否出错。If the frame format of the multicast trigger message includes the frame check information, the wake-up device may determine, according to the frame check information, whether the received multicast trigger message is correct, that is, check the multicast trigger message during the transmission process. Is it wrong?
806、被唤醒设备根据至少两个组播触发消息和唤醒时间位移确定被唤醒设备的辅助唤醒接口的工作状态。806. The awakened device determines an working state of the auxiliary wake-up interface of the wake-up device according to the at least two multicast trigger messages and the wake-up time offset.
被唤醒设备根据接收到的至少两个组播触发消息和唤醒时间位移确定被唤醒设备的辅助唤醒接口的工作状态。The wake-up device determines the working state of the auxiliary wake-up interface of the wake-up device according to the received at least two multicast trigger messages and the wake-up time offset.
需要说明的是,当被唤醒设备确定所接收到的组播触发消息是与自己相关的、真实的和正确的,即与被唤醒设备关联的唤醒设备发送给被唤醒设备正确的唤醒帧,该被唤醒设备可以至少根据接收到的组播触发消息的内容确定被唤醒设备的辅助唤醒接口的工作状态。被唤醒设备至少包括第一设备至第二设备。It should be noted that when the awake device determines that the received multicast trigger message is related to itself, authentic and correct, that is, the wake-up device associated with the awake device sends the correct wake-up frame to the awake device, The awakened device may determine the working state of the auxiliary wake-up interface of the wake-up device based at least on the content of the received multicast trigger message. The awakened device includes at least a first device to a second device.
举例说明,如图9所示,被唤醒设备包括第一设备至第五设备。第一设备至少根据接收到的组播触发消息的内容和唤醒时间位移确定第一设备的辅助唤醒接口的休眠时长1;第一设备至少根据该休眠时长1让第一设备的辅助唤醒接口先进入休眠状态,并且在休眠时长结束后再唤醒该辅助唤醒接口等待唤醒帧,该唤醒帧可以是单播唤醒帧或组播唤醒帧。若至少两个组播触发消息里包括索引信息,则被唤醒设备从至少两个组播触发消息获取索 引信息,该索引信息指示剩余将发送的组播触发消息的个数K。第一设备可以根据如下公式确定辅助唤醒接口的休眠时长I:休眠时长I=K*M+S;M是相邻的两个组播触发消息之间的最小时间间隔;S是被唤醒设备的唤醒时间位移。在这种情况下,第一设备需要获得唤醒设备发送相邻的两个组播触发消息之间的最小时间间隔M,例如,可以由唤醒设备确定最小时间间隔M并将其发送给第一设备。第二设备至第五设备执行的步骤与第一设备执行的步骤相同,此处不再赘述。若至少两个组播触发消息里不包括索引信息,则被唤醒设备可以确定辅助唤醒接口的休眠时长为S,S为被唤醒设备的唤醒时间位移。For example, as shown in FIG. 9, the awake device includes a first device to a fifth device. Determining, by the first device, the sleep duration of the auxiliary wake-up interface of the first device according to the content of the received multicast trigger message and the wake-up time displacement; the first device first enters the auxiliary wake-up interface of the first device according to the sleep duration 1 The sleep state, and wake up the wake-up interface waiting for the wake-up frame after the sleep duration ends, the wake-up frame may be a unicast wake-up frame or a multicast wake-up frame. If at least two multicast trigger messages include index information, the awake device obtains from at least two multicast trigger messages. Information indicating that the number K of multicast trigger messages to be sent remains. The first device may determine the sleep duration I of the auxiliary wake-up interface according to the following formula: I sleep duration I=K*M+S; M is the minimum time interval between two adjacent multicast trigger messages; S is the wake-up device Wake up time displacement. In this case, the first device needs to obtain the minimum time interval M between the two adjacent multicast trigger messages sent by the wake-up device. For example, the minimum time interval M can be determined by the wake-up device and sent to the first device. . The steps performed by the second device to the fifth device are the same as those performed by the first device, and are not described herein again. If at least two multicast trigger messages do not include index information, the awake device may determine that the sleep duration of the auxiliary wake-up interface is S, and S is the wake-up time shift of the wake-up device.
可以理解的是,确定被唤醒设备的辅助唤醒接口的休眠时长的方法也可以用来确定被唤醒设备的辅助唤醒接口期望接收唤醒帧的时刻。例如,该辅助唤醒接口的休眠时长结束后即为该辅助唤醒接口期望接收唤醒帧的时刻。It can be understood that the method of determining the sleep duration of the wake-up interface of the wake-up device can also be used to determine the time at which the wake-up interface of the wake-up device desires to receive the wake-up frame. For example, the sleep duration of the auxiliary wake-up interface is the time at which the auxiliary wake-up interface expects to receive the wake-up frame.
807、唤醒设备生成至少一个唤醒帧。807. The wake-up device generates at least one wake-up frame.
唤醒设备生成至少一个唤醒帧,至少一个唤醒帧用于唤醒至少一个被唤醒设备的主通信接口,该唤醒帧可以是组播唤醒帧。如果唤醒设备使用组播方式唤醒多个被唤醒设备,唤醒设备需要事先对被唤醒设备进行分组。The wake-up device generates at least one wake-up frame, and the at least one wake-up frame is used to wake up the primary communication interface of the at least one wake-up device, and the wake-up frame may be a multicast wake-up frame. If the wake-up device wakes up multiple wake-up devices using multicast mode, the wake-up device needs to group the wake-up devices in advance.
需要说明的是,当唤醒帧为单播唤醒帧时,该单播唤醒帧的帧格式可以如图6所示,该单播唤醒帧至少包括唤醒前导(Wakeup Preamble)、帧类型信息(Frame Type)和接收地址(Receive Address)。该唤醒前导可以进一步包括帧起始符信息(Start Frame Delimiter,SFD)。该帧类型信息可以是唤醒前导的一部分,即唤醒前导可以进一步包括帧类型信息。该接收地址(Receive Address)是单播地址,单播地址可以是与被唤醒设备的辅助唤醒接口的标识相关的信息,例如,WUR ID,或WUR Address;或者是与被唤醒设备的媒体接入控制相关的信息,例如,MAC Address、Hashed MAC Address或Partial MAC Address。It should be noted that when the wake-up frame is a unicast wake-up frame, the frame format of the unicast wake-up frame may be as shown in FIG. 6, and the unicast wake-up frame includes at least a wake-up preamble and a frame type information (Frame Type). ) and Receive Address (Receive Address). The wakeup preamble may further include a Start Frame Delimiter (SFD). The frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information. The Receive Address is a unicast address, and the unicast address may be information related to the identifier of the wake-up device's auxiliary wake-up interface, for example, WUR ID, or WUR Address; or media access with the device being woken up. Control related information, such as MAC Address, Hashed MAC Address, or Partial MAC Address.
该单播唤醒帧里还可以进一步包括传统802.11前导(Legacy 802.11Preamble)、发送地址(Transmit Address)、基本服务集信息(Basic Service Set information,BSS Info)、控制信息(Control Info)、计数器信息(Counter)、帧认证信息(Message Integrity Code,MIC)和帧校验信息(Frame Check Sequence,FCS)中的一个或多个。其中,基本服务集信息(BSS Info)可以是与唤醒设备和被唤醒设备所在的基本服务集的标识相关的信息,例如,可以是BSSID或Hashed BSSID,或者可以是BSS color,或者可以是唤醒设备的MAC Address或Hashed MAC Address。The unicast wakeup frame may further include a legacy 802.11 Preamble, a Transmit Address, a Basic Service Set information (BSS Info), a Control Info, and a counter information. Counter), one or more of Frame Integrity Code (MIC) and Frame Check Sequence (FCS). The basic service set information (BSS Info) may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a BSSID or a Hashed BSSID, or may be a BSS color, or may be a wake-up device. MAC Address or Hashed MAC Address.
需要说明的是,当唤醒帧为组播唤醒帧时,该组播唤醒帧的帧格式可以如图7所示,该组播唤醒帧至少包括唤醒前导(Wakeup Preamble)、帧类型信息(Frame Type)和组播地址(Group-cast Address)。该唤醒前导可以进一步包括帧起始符信息。该帧类型信息可以是唤醒前导的一部分,即唤醒前导可以进一步包括帧类型信息。该组播地址可以是组号信息(Group ID),或者组播地址可以包括组号信息。该组播地址(Group-cast Address)也可是多个单播地址的组合,即组播地址可以包括多个单播地址,单播地址可以是与被唤醒设备的辅助唤醒接口的标识相关的信息,例如,WUR ID,WUR Address;或者是与目标被唤醒设备的MAC地址相关的信息,例如,MAC Address或Hashed MAC Address或Partial MAC Address。 It should be noted that when the wake-up frame is a multicast wake-up frame, the frame format of the multicast wake-up frame may be as shown in FIG. 7. The multicast wake-up frame includes at least a wake-up preamble and a frame type information (Frame Type). ) and the multicast address (Group-cast Address). The wakeup preamble may further include frame starter information. The frame type information may be part of a wakeup preamble, ie the wakeup preamble may further include frame type information. The multicast address may be a group ID information, or the multicast address may include group number information. The multicast address (Group-cast address) may also be a combination of multiple unicast addresses, that is, the multicast address may include multiple unicast addresses, and the unicast address may be information related to the identifier of the auxiliary wake-up interface of the wake-up device. For example, WUR ID, WUR Address; or information related to the MAC address of the target wake-up device, for example, MAC Address or Hashed MAC Address or Partial MAC Address.
该组播唤醒帧还可以进一步包括传统802.11前导(Legacy 802.11Preamble)、发送地址(Transmit Address)、基本服务集信息(BSS Info)、控制信息(Control Info)、计数器信息(Counter)、帧认证信息(MIC)和帧校验信息(FCS)中的一个或多个。其中,基本服务集信息(BSS Info)可以是与唤醒设备和被唤醒设备所在的基本服务集的标识相关的信息,例如,可以是BSSID或Hashed BSSID,或者可以是BSS color,或者可以是唤醒设备的MAC Address或Hashed MAC Address。The multicast wake-up frame may further include a legacy 802.11 Preamble, a Transmit Address, a BSS Info, a Control Info, a Counter, and a frame authentication information. One or more of (MIC) and Frame Check Information (FCS). The basic service set information (BSS Info) may be information related to the identifier of the basic service set where the wake-up device and the wake-up device are located, for example, may be a BSSID or a Hashed BSSID, or may be a BSS color, or may be a wake-up device. MAC Address or Hashed MAC Address.
组播唤醒帧的组播地址可以包括基本服务集信息(BSS Info),即基本服务集信息可以是组播地址的一部分。The multicast address of the multicast wake-up frame may include basic service set information (BSS Info), that is, the basic service set information may be part of the multicast address.
如果组播唤醒帧的帧格式里包括发送地址,则发送地址可以包括基本服务集信息(BSS Info),即基本服务集信息可以是发送地址的一部分。If the frame format of the multicast wake-up frame includes a transmission address, the transmission address may include basic service set information (BSS Info), that is, the basic service set information may be part of the transmission address.
如果组播唤醒帧的帧格式里包括帧认证信息,则组播唤醒帧也包括计数器信息(Counter),并且帧认证信息是根据组播唤醒帧的内容、计数器信息和密钥生成的;帧认证信息用于帮助接收设备认证组播唤醒帧的真实性,可以防止攻击者发送假的组播唤醒帧来干扰唤醒操作。If the frame format of the multicast wake-up frame includes frame authentication information, the multicast wake-up frame also includes counter information (Counter), and the frame authentication information is generated according to the content, counter information, and key of the multicast wake-up frame; frame authentication The information is used to help the receiving device authenticate the authenticity of the multicast wake-up frame, and can prevent the attacker from sending a fake multicast wake-up frame to interfere with the wake-up operation.
如果组播唤醒帧的帧格式里包括帧校验信息,帧校验信息可以用于帮助接收设备校验所收到的组播唤醒帧的正确性。If the frame format of the multicast wake-up frame includes frame check information, the frame check information may be used to help the receiving device verify the correctness of the received multicast wake-up frame.
808、唤醒设备根据唤醒时间位移确定发送唤醒帧的时刻。808. The wake-up device determines a time at which the wake-up frame is sent according to the wake-up time shift.
唤醒设备至少根据每个被唤醒设备已确定的唤醒时间位移和第二时刻确定与每个被唤醒设备分别相关的发送唤醒帧的第一时刻,同一个组播组中的被唤醒设备的第一时刻相同。The wake-up device determines, according to at least the wake-up time displacement determined by each wake-up device and the second moment, a first moment of sending a wake-up frame associated with each of the devices being woken, the first of the wake-up devices in the same multicast group The same moment.
由于唤醒设备需要先竞争到信道,然后才能发送唤醒帧,这里所说的发送唤醒帧的时刻是唤醒设备期望能够发送唤醒帧的时刻。而实际上唤醒设备发送唤醒帧的确切时刻是随机的,随机性是由于唤醒设备竞争信道引起的。实际上唤醒设备发送唤醒帧的确切时刻是期望的发送唤醒帧的时刻,或者是比期望的发送唤醒帧的时刻要晚(即增加了竞争信道的时间)。唤醒时间位移都是根据期望的唤醒设备发送唤醒帧的时刻来确定的。Since the wake-up device needs to compete for the channel first, then the wake-up frame can be sent. The moment when the wake-up frame is sent is the time at which the wake-up device expects to be able to send the wake-up frame. In fact, the exact moment when the wake-up device sends the wake-up frame is random, and the randomness is caused by the wake-up device competing for the channel. The exact moment at which the wake-up device actually sends the wake-up frame is the time at which the wake-up frame is expected to be transmitted, or later than the time at which the wake-up frame is expected to be transmitted (ie, the time to contend for the channel is increased). The wake-up time shift is determined based on the time at which the desired wake-up device sends the wake-up frame.
需要说明的是,步骤808在步骤806之后,步骤809之前,步骤808与步骤807之间无必然的先后顺序。步骤808可以在步骤807之前,或在步骤807之后,或者步骤808与步骤807同时执行,具体此处不做限定。It should be noted that, after step 808, after step 809, there is no necessary sequence between step 808 and step 807. Step 808 may be performed before step 807, or after step 807, or step 808 and step 807, which are not limited herein.
809、唤醒设备在与每个被唤醒设备相关的第一时刻向相关的被唤醒设备的辅助唤醒接口分别发送唤醒帧。809. The wake-up device sends a wake-up frame to the auxiliary wake-up interface of the associated wake-up device at a first moment related to each wake-up device.
唤醒设备在与每个被唤醒设备相关的第一时刻向与第一时刻相关的各个被唤醒设备的辅助唤醒接口分别发送唤醒帧,唤醒帧用于指示与第一时刻相关的被唤醒设备唤醒主通信接口。The wake-up device respectively sends a wake-up frame to the auxiliary wake-up interface of each of the wake-up devices associated with the first moment at a first moment associated with each of the wake-up devices, the wake-up frame being used to indicate that the wake-up device associated with the first moment wakes up the master Communication Interface.
需要说明的是,唤醒设备可以根据确定的发送唤醒帧的时刻向被唤醒设备发送多个单播唤醒帧或一个组播唤醒帧,同时唤醒至少两个被唤醒设备,如图9所示。It should be noted that the waking device may send multiple unicast wake-up frames or one multicast wake-up frame to the awake device according to the determined time of sending the wake-up frame, and simultaneously wake up at least two awake devices, as shown in FIG. 9.
可以理解的是,如图9所示,第一设备至第五设备具有相同的单播唤醒时间位移,可以组成一个组播组。组播唤醒帧里可以携带该组播组中的每个被唤醒设备的辅助唤醒接口的标识信息;或者,组播唤醒帧里可以携带被唤醒设备的组播组的标识信息(即Group ID)。 唤醒设备可以只发送单播唤醒帧;或者,唤醒设备可以只发送组播唤醒帧;或者,唤醒设备同时发送单播唤醒帧和组播唤醒帧,具体此处不做限定。It can be understood that, as shown in FIG. 9, the first device to the fifth device have the same unicast wakeup time displacement, and can form a multicast group. The multicast wake-up frame may carry the identification information of the auxiliary wake-up interface of each wake-up device in the multicast group; or the multicast wake-up frame may carry the identification information of the multicast group of the wake-up device (ie, Group ID) . The awake device may send only the unicast wakeup frame; or the awake device may send only the multicast wakeup frame; or the awake device may send the unicast wakeup frame and the multicast wakeup frame at the same time, which is not limited herein.
810、被唤醒设备接收唤醒设备发送的唤醒帧。810. The device that is woken up receives the wake-up frame sent by the wake-up device.
被唤醒设备接收唤醒设备发送的唤醒帧,该唤醒帧用于唤醒被唤醒设备的主通信接口。The wake-up device receives a wake-up frame sent by the wake-up device, and the wake-up frame is used to wake up the main communication interface of the wake-up device.
由于唤醒设备发送唤醒帧的确切时刻是随机的(随机性是由于竞争信道引起的),被唤醒设备的辅助唤醒接口醒来后可能需要等待一段时间才能接收到唤醒帧。进一步的,为了避免被唤醒设备错过唤醒帧,被唤醒设备的辅助唤醒接口需要提前一段时间醒来等待接收唤醒帧。唤醒设备的辅助唤醒接口提前醒来的时间和等待接收唤醒帧的时间可以是有具体设备内部实现决定的,这里可以不作限定。Since the exact moment when the wake-up device sends the wake-up frame is random (randomness is due to the contention channel), it may take some time for the wake-up device to wait for a period of time to receive the wake-up frame after waking up. Further, in order to prevent the wake-up device from missing the wake-up frame, the wake-up device's auxiliary wake-up interface needs to wake up a certain time in advance to wait for the wake-up frame to be received. The wake-up time of the wake-up device of the wake-up device and the time to wait for receiving the wake-up frame may be determined by a specific device internal implementation, which may not be limited herein.
811、被唤醒设备根据唤醒帧确定被唤醒设备的主通信接口和/或辅助唤醒接口的工作状态。811. The awakened device determines, according to the wake-up frame, an active state of the wake-up device's primary communication interface and/or the auxiliary wake-up interface.
被唤醒设备根据唤醒帧确定被唤醒设备的主通信接口和/或辅助唤醒接口的工作状态。The wake-up device determines the operational status of the wake-up device's primary communication interface and/or the auxiliary wake-up interface based on the wake-up frame.
需要说明的是,步骤810、811分别与步骤310、311类似,具体此处不再赘述。It should be noted that the steps 810 and 811 are similar to the steps 310 and 311, and details are not described herein.
本申请实施例中,唤醒设备在异步模式下,根据组播触发消息和唤醒时间位移确定被唤醒设备的辅助唤醒接口接收唤醒帧的时间,以使得辅助唤醒接口尽可能多的处于休眠状态和避免辅助唤醒接口错过唤醒帧,提高了异步模式下唤醒多个设备操作时的空口效率和进一步降低被唤醒设备的功耗。In the embodiment of the present application, in the asynchronous mode, the wake-up device determines, according to the multicast trigger message and the wake-up time displacement, the time that the wake-up interface of the wake-up device receives the wake-up frame, so that the auxiliary wake-up interface is in a sleep state as much as possible and avoids The auxiliary wake-up interface misses the wake-up frame, which improves the air interface efficiency when waking up multiple devices in asynchronous mode and further reduces the power consumption of the device being woken up.
上面对本申请实施例中唤醒设备的方法进行了描述,下面对本申请实施例中的设备进行描述,请参阅图11,本申请实施例中设备的一个实施例包括:The method for waking up the device in the embodiment of the present application is described above. The following describes the device in the embodiment of the present application. Referring to FIG. 11, an embodiment of the device in the embodiment of the present application includes:
图11a是本申请实施例提供的一种设备结构示意图,参考图11a。在采用集成的单元的情况下,图11a示出了上述实施例中所涉及的设备的一种可能的结构示意图。设备1100包括:处理单元1102和通信单元1103。处理单元1102用于对设备的动作进行控制管理,例如,处理单元1102用于支持设备执行图3中的步骤301、步骤303、步骤306至步骤308和步骤311,和/或用于本文所描述的技术的其它过程。通信单元1103用于支持设备与其他网络实体的通信,执行图3中的步骤302、步骤304至步骤305及步骤309至步骤310。该设备还可以包括存储单元1101,用于存储设备的程序代码和数据。FIG. 11a is a schematic structural diagram of a device according to an embodiment of the present application, and FIG. 11a is referred to. In the case of an integrated unit, Fig. 11a shows a possible structural diagram of the apparatus involved in the above embodiment. The device 1100 includes a processing unit 1102 and a communication unit 1103. The processing unit 1102 is configured to perform control management on the actions of the device. For example, the processing unit 1102 is configured to support the device to perform step 301, step 303, step 306 to step 308, and step 311 in FIG. 3, and/or for the description herein. Other processes of technology. The communication unit 1103 is configured to support communication between the device and other network entities, and performs step 302, step 304 to step 305, and step 309 to step 310 in FIG. The device may also include a storage unit 1101 for storing program code and data of the device.
其中,处理单元1102可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元1103可以是通信接口、收发器、收发电路等,其中,通信接口是统称,可以包括一个或多个接口,例如辅助唤醒接口、主通信接口。存储单元1101可以是存储器。The processing unit 1102 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication unit 1103 can be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a collective name and can include one or more interfaces, such as an auxiliary wake-up interface and a main communication interface. The storage unit 1101 may be a memory.
当处理单元1102为处理器,通信单元1103为通信接口,存储单元1101为存储器时,本申请实施例所涉及的设备可以为图11b所示的设备。 When the processing unit 1102 is a processor, the communication unit 1103 is a communication interface, and the storage unit 1101 is a memory, the device involved in the embodiment of the present application may be the device shown in FIG. 11b.
参阅图11b所示,该设备1110包括:处理器1112、通信接口1113、存储器1111。可选的,设备1110还可以包括总线1114。其中,通信接口1113、处理器1112以及存储器1111可以通过总线1114相互连接;总线1114可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线1114可以分为地址总线、数据总线、控制总线等。为便于表示,图11b中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 11b, the device 1110 includes a processor 1112, a communication interface 1113, and a memory 1111. Optionally, the device 1110 may further include a bus 1114. The communication interface 1113, the processor 1112, and the memory 1111 may be connected to each other through a bus 1114; the bus 1114 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA). Bus, etc. The bus 1114 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 11b, but it does not mean that there is only one bus or one type of bus.
上述图11a或图11b所示的设备结构还可以是设备部分模块的结构,如图12所示,设备1200包括通过总线1206相连的辅助唤醒接口1201、主通信接口1202、处理器1203、存储器1204以及天线模块1205;辅助唤醒接口1201用于接收唤醒帧和触发消息;主通信接口1202用于发送唤醒帧和触发消息,接收辅助唤醒接口发送的唤醒信号;处理器1203用于执行生成唤醒帧和触发消息的指令;存储器1204用于存储生成唤醒帧和触发消息的指令;天线模块1205用于接收唤醒帧和触发消息,或发送唤醒帧和触发消息。The device structure shown in FIG. 11a or FIG. 11b may also be a structure of a device part module. As shown in FIG. 12, the device 1200 includes an auxiliary wake-up interface 1201, a main communication interface 1202, a processor 1203, and a memory 1204 connected through a bus 1206. And an antenna module 1205; the auxiliary wake-up interface 1201 is configured to receive the wake-up frame and the trigger message; the main communication interface 1202 is configured to send the wake-up frame and the trigger message, and receive the wake-up signal sent by the auxiliary wake-up interface; the processor 1203 is configured to execute the generated wake-up frame and An instruction to trigger a message; the memory 1204 is configured to store an instruction to generate a wake-up frame and a trigger message; the antenna module 1205 is configured to receive the wake-up frame and the trigger message, or send the wake-up frame and the trigger message.
总线1206可以分为地址总线、数据总线、控制总线等,如图12所示,辅助唤醒接口1201、主通信接口1202、处理器1203、存储器1204和天线模块1205通过总线1206连接并执行上述方法实施例中的相关步骤。The bus 1206 can be divided into an address bus, a data bus, a control bus, etc. As shown in FIG. 12, the auxiliary wake-up interface 1201, the main communication interface 1202, the processor 1203, the memory 1204, and the antenna module 1205 are connected by the bus 1206 and executed by the above method. Related steps in the example.
可选的,辅助唤醒接口为辅助唤醒模块提供的通信接口,辅助唤醒接口为至少一个。Optionally, the auxiliary wake-up interface is a communication interface provided by the auxiliary wake-up module, and the auxiliary wake-up interface is at least one.
可选的,主通信接口为主通信模块提供的通信接口,主通信接口为至少一个。Optionally, the main communication interface is a communication interface provided by the main communication module, and the main communication interface is at least one.
可选的,处理器具体用于调用存储器存储的指令,通过辅助唤醒接口和主通信接口执行如图3或图8中所述的方法步骤。Optionally, the processor is specifically configured to invoke a memory storage instruction, and perform the method steps as described in FIG. 3 or FIG. 8 through the auxiliary wake-up interface and the main communication interface.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be stored by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组 件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。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 unit is only a logical function division, and the actual implementation may have another division manner, such as multiple units or groups. Pieces can be combined or 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 an indirect coupling or communication connection through some interface, device or unit, and may be in an 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 the 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.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。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.) 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 U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。 The above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents. The modifications and substitutions of the embodiments do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (24)

  1. 一种唤醒设备的方法,其特征在于,包括:A method for waking up a device, comprising:
    唤醒设备确定至少一个被唤醒设备的唤醒时间位移,所述被唤醒设备是所述唤醒设备将要唤醒的设备,所述每个被唤醒设备均具有至少一个主通信接口和至少一个辅助唤醒接口;The wake-up device determines a wake-up time shift of the at least one wake-up device, the wake-up device is a device to be woken up by the wake-up device, each of the wake-up devices having at least one primary communication interface and at least one auxiliary wake-up interface;
    所述每个被唤醒设备的唤醒时间位移为与所述每个被唤醒设备分别相关的第一时刻和第二时刻的差值,所述与所述每个被唤醒设备分别相关的第一时刻为所述唤醒设备将要向所述至少一个被唤醒设备发送唤醒帧的时刻,所述第二时刻为所述唤醒设备向所述至少一个被唤醒设备发送完至少两个触发消息中的最后一个触发消息的时刻;The wake-up time of each of the awake devices is a difference between a first time and a second time respectively associated with each of the awake devices, and the first time associated with each of the awake devices a time at which the wake-up device is to send a wake-up frame to the at least one awake device, where the second time is that the wake-up device sends the last one of the at least two trigger messages to the at least one awake device The moment of the message;
    所述唤醒设备生成所述至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧;The wake-up device generates the at least two trigger messages, where each trigger message is used to indicate that the wake-up device will send a wake-up frame;
    所述唤醒设备向所述至少一个被唤醒设备的辅助唤醒接口发送所述至少两个触发消息;The wake-up device sends the at least two trigger messages to the auxiliary wake-up interface of the at least one wake-up device;
    所述唤醒设备生成至少一个唤醒帧,所述至少一个唤醒帧用于唤醒所述至少一个被唤醒设备的主通信接口;The wake-up device generates at least one wake-up frame, and the at least one wake-up frame is used to wake up a main communication interface of the at least one awake device;
    所述唤醒设备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻分别相关的被唤醒设备的辅助唤醒接口发送所述唤醒帧,所述唤醒帧用于指示所述与所述第一时刻相关的被唤醒设备唤醒所述被唤醒设备的主通信接口。The wake-up device transmits the wake-up frame to an auxiliary wake-up interface of the wake-up device respectively associated with the first moment at a first moment associated with each of the wake-up devices, the wake-up frame being used to indicate the The awake device associated with the first moment wakes up the primary communication interface of the awake device.
  2. 根据权利要求1所述的方法,所述被唤醒设备至少包括第一设备和第二设备,其中,所述第一设备的唤醒时间位移和所述第二设备的唤醒时间位移不同。The method of claim 1, the wake-up device comprising at least a first device and a second device, wherein a wake-up time shift of the first device and a wake-up time shift of the second device are different.
  3. 根据权利要求1所述的方法,所述被唤醒设备至少包括属于同一个组播组的第一设备和第二设备,其中,所述第一设备的唤醒时间位移和所述第二设备的唤醒时间位移相同。The method according to claim 1, wherein the awake device includes at least a first device and a second device belonging to the same multicast group, wherein a wake-up time shift of the first device and a wake-up of the second device The time shift is the same.
  4. 根据权利要求1所述的方法,其特征在于,所述唤醒设备确定至少一个被唤醒设备的唤醒时间位移包括:The method according to claim 1, wherein the waking device determines that the wake-up time shift of the at least one awake device comprises:
    所述唤醒设备为与所述唤醒设备关联的每一个被唤醒设备分配一个唤醒时间位移。The wake-up device assigns a wake-up time shift to each of the wake-up devices associated with the wake-up device.
  5. 根据权利要求1所述的方法,其特征在于,所述唤醒设备确定至少一个被唤醒设备的唤醒时间位移包括:The method according to claim 1, wherein the waking device determines that the wake-up time shift of the at least one awake device comprises:
    所述唤醒设备根据预置的信息计算得到与所述唤醒设备关联的每一个被唤醒设备的唤醒时间位移。The wake-up device calculates a wake-up time shift of each of the wake-up devices associated with the wake-up device according to the preset information.
  6. 根据权利要求1所述的方法,其特征在于,所述唤醒设备向所述至少一个被唤醒设备的辅助唤醒接口发送所述至少两个触发消息包括:The method according to claim 1, wherein the sending, by the wake-up device, the at least two trigger messages to the auxiliary wake-up interface of the at least one wake-up device comprises:
    所述唤醒设备在预置时长T内向所述至少一个被唤醒设备的辅助唤醒接口发送N个触发消息,并且满足N大于或等于T/W,所述N为大于或等于2的整数,所述W为所述至少一个被唤醒设备的辅助唤醒接口的工作循环的醒来窗口长度,所述预置时长T为所述至少一个被唤醒设备的辅助唤醒接口的工作循环的周期。The wake-up device sends N trigger messages to the auxiliary wake-up interface of the at least one wake-up device within a preset time length T, and satisfies that N is greater than or equal to T/W, and the N is an integer greater than or equal to 2, W is the wake-up window length of the duty cycle of the auxiliary wake-up interface of the at least one wake-up device, the preset duration T being the period of the duty cycle of the auxiliary wake-up interface of the at least one wake-up device.
  7. 根据权利要求1所述的方法,其特征在于,所述唤醒设备向所述至少一个被唤醒设备的辅助唤醒接口发送所述至少两个触发消息之后,所述唤醒设备在与所述每个被唤醒设 备相关的第一时刻向与所述第一时刻相关的被唤醒设备的辅助唤醒接口发送所述唤醒帧之前,所述方法还包括:The method according to claim 1, wherein after the wake-up device sends the at least two trigger messages to the auxiliary wake-up interface of the at least one wake-up device, the wake-up device is Wake up The method further includes: before the sending the wake-up frame to the auxiliary wake-up interface of the wake-up device related to the first moment, the method further includes:
    所述唤醒设备根据所述唤醒时间位移和所述第二时刻确定与所述每个被唤醒设备分别相关的第一时刻。The wake-up device determines a first time instant associated with each of the awakened devices according to the wake-up time displacement and the second time.
  8. 根据权利要求7所述的方法,其特征在于,所述唤醒设备生成所述至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧包括:The method according to claim 7, wherein the wake-up device generates the at least two trigger messages, where each trigger message is used to indicate that the wake-up device will send a wake-up frame includes:
    所述唤醒设备生成至少两个广播触发消息,所述每个广播触发消息至少包括唤醒前导和帧类型信息,所述每个广播触发消息用于指示所述唤醒设备将会发送唤醒帧;The wake-up device generates at least two broadcast trigger messages, where each broadcast trigger message includes at least a wake-up preamble and frame type information, where each broadcast trigger message is used to indicate that the wake-up device will send a wake-up frame;
    所述唤醒设备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻分别相关的被唤醒设备的辅助唤醒接口发送所述唤醒帧,所述唤醒帧用于指示所述与所述第一时刻相关的被唤醒设备唤醒所述被唤醒设备的主通信接口,包括:The wake-up device transmits the wake-up frame to an auxiliary wake-up interface of the wake-up device respectively associated with the first moment at a first moment associated with each of the wake-up devices, the wake-up frame being used to indicate the The wake-up device associated with the first moment waking up the main communication interface of the awake device includes:
    所述唤醒设备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻分别相关的被唤醒设备的辅助唤醒接口发送单播唤醒帧或组播唤醒帧,所述单播唤醒帧或所述组播唤醒帧用于指示所述与所述第一时刻相关的被唤醒设备唤醒所述被唤醒设备的主通信接口。The wake-up device sends a unicast wake-up frame or a multicast wake-up frame to the auxiliary wake-up interface of the awake device respectively associated with the first moment at a first moment associated with each of the awake devices, the unicast The wake-up frame or the multicast wake-up frame is used to indicate that the wake-up device associated with the first moment wakes up the main communication interface of the wake-up device.
  9. 根据权利要求7所述的方法,其特征在于,所述唤醒设备生成所述至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧包括:The method according to claim 7, wherein the wake-up device generates the at least two trigger messages, where each trigger message is used to indicate that the wake-up device will send a wake-up frame includes:
    所述唤醒设备生成至少两个组播触发消息,所述每个组播触发消息至少包括唤醒前导、帧类型信息和组播地址信息,所述每个组播触发消息用于指示所述唤醒设备将会发送唤醒帧;The waking device generates at least two multicast trigger messages, where each multicast trigger message includes at least a wakeup preamble, frame type information, and multicast address information, where each multicast trigger message is used to indicate the wakeup device. Will send a wake-up frame;
    所述唤醒设备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻分别相关的被唤醒设备的辅助唤醒接口发送所述唤醒帧,所述唤醒帧用于指示所述与该第一时刻相关的被唤醒设备唤醒所述被唤醒设备的主通信接口,包括:The wake-up device transmits the wake-up frame to an auxiliary wake-up interface of the wake-up device respectively associated with the first moment at a first moment associated with each of the wake-up devices, the wake-up frame being used to indicate the The wake-up device associated with the first moment wakes up the main communication interface of the wake-up device, including:
    所述唤醒设备在与所述每个被唤醒设备相关的第一时刻向与所述第一时刻分别相关的被唤醒设备的辅助唤醒接口发送单播唤醒帧或组播唤醒帧,所述单播唤醒帧或所述组播唤醒帧用于指示所述与所述第一时刻相关的被唤醒设备唤醒所述被唤醒设备的主通信接口。The wake-up device sends a unicast wake-up frame or a multicast wake-up frame to the auxiliary wake-up interface of the awake device respectively associated with the first moment at a first moment associated with each of the awake devices, the unicast The wake-up frame or the multicast wake-up frame is used to indicate that the wake-up device associated with the first moment wakes up the main communication interface of the wake-up device.
  10. 一种唤醒设备的方法,其特征在于,包括:A method for waking up a device, comprising:
    被唤醒设备获取所述被唤醒设备的唤醒时间位移,所述被唤醒设备是唤醒设备将要唤醒的设备,所述被唤醒设备具有至少一个主通信接口和至少一个辅助唤醒接口;The wake-up device acquires a wake-up time shift of the wake-up device, where the wake-up device is a device that wakes up the device to wake up, the wake-up device has at least one primary communication interface and at least one auxiliary wake-up interface;
    所述被唤醒设备的唤醒时间位移为第一时刻和第二时刻的差值,所述第一时刻为所述唤醒设备将要向所述被唤醒设备发送唤醒帧的时刻,所述第二时刻为所述唤醒设备向所述被唤醒设备发送完至少两个触发消息中的最后一个触发消息的时刻;The wake-up time of the wake-up device is a difference between a first time and a second time, where the first time is a time when the wake-up device is to send a wake-up frame to the awakened device, where the second time is a moment when the wake-up device sends the last one of the at least two trigger messages to the awakened device;
    所述被唤醒设备接收所述唤醒设备发送的至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧;Receiving, by the wake-up device, at least two trigger messages sent by the wake-up device, where each trigger message is used to indicate that the wake-up device will send a wake-up frame;
    所述被唤醒设备根据所述至少两个触发消息和所述唤醒时间位移确定所述被唤醒设备的辅助唤醒接口的工作状态;Determining, by the wake-up device, an operating state of the auxiliary wake-up interface of the wake-up device according to the at least two trigger messages and the wake-up time displacement;
    所述被唤醒设备接收所述唤醒设备发送的唤醒帧,所述唤醒帧用于指示所述被唤醒设备唤醒所述被唤醒设备的主通信接口; Receiving, by the wake-up device, a wake-up frame sent by the wake-up device, where the wake-up frame is used to instruct the wake-up device to wake up a main communication interface of the wake-up device;
    所述被唤醒设备根据所述唤醒帧确定所述被唤醒设备的主通信接口和/或辅助唤醒接口的工作状态。The wake-up device determines an operating state of the wake-up device's primary communication interface and/or the auxiliary wake-up interface according to the wake-up frame.
  11. 根据权利要求10所述的方法,其特征在于,所述被唤醒设备获取所述被唤醒设备的唤醒时间位移包括:The method according to claim 10, wherein the wake-up device acquires the wake-up time shift of the wake-up device, including:
    所述被唤醒设备接收其关联的所述唤醒设备发送的所述被唤醒设备的唤醒时间位移。The wake-up device receives a wake-up time shift of the wake-up device sent by the associated wake-up device.
  12. 根据权利要求10所述的方法,其特征在于,所述被唤醒设备获取所述被唤醒设备的唤醒时间位移包括:The method according to claim 10, wherein the wake-up device acquires the wake-up time shift of the wake-up device, including:
    所述被唤醒设备根据预置的信息计算得到所述被唤醒设备的唤醒时间位移。The wake-up device calculates a wake-up time shift of the wake-up device according to preset information.
  13. 根据权利要求10所述的方法,其特征在于,所述被唤醒设备接收所述唤醒设备发送的至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧包括:The method according to claim 10, wherein the wake-up device receives at least two trigger messages sent by the wake-up device, and each of the trigger messages is used to indicate that the wake-up device will send a wake-up frame. :
    所述被唤醒设备接收所述唤醒设备发送的至少两个广播触发消息,所述每个广播触发消息至少包括唤醒前导和帧类型信息,所述每个广播触发消息用于指示所述唤醒设备将会发送唤醒帧;Receiving, by the wake-up device, at least two broadcast trigger messages sent by the wake-up device, where each broadcast trigger message includes at least a wake-up preamble and frame type information, where each broadcast trigger message is used to indicate that the wake-up device will Will send a wake-up frame;
    所述被唤醒设备接收所述唤醒设备发送的所述唤醒帧,所述唤醒帧用于指示所述被唤醒设备唤醒所述被唤醒设备的主通信接口包括:The wake-up device receives the wake-up frame sent by the wake-up device, and the wake-up frame is used to indicate that the wake-up device wakes up the main communication interface of the wake-up device, including:
    所述被唤醒设备接收所述唤醒设备发送的单播唤醒帧或组播唤醒帧,所述单播唤醒帧或所述组播唤醒帧用于唤醒所述被唤醒设备的主通信接口。The awake device receives the unicast wake-up frame or the multicast wake-up frame sent by the awake device, and the unicast wake-up frame or the multicast wake-up frame is used to wake up the main communication interface of the awake device.
  14. 根据权利要求10所述的方法,其特征在于,所述被唤醒设备接收所述唤醒设备发送的至少两个触发消息,所述每个触发消息用于指示所述唤醒设备将会发送唤醒帧包括:The method according to claim 10, wherein the wake-up device receives at least two trigger messages sent by the wake-up device, and each of the trigger messages is used to indicate that the wake-up device will send a wake-up frame. :
    所述被唤醒设备接收所述唤醒设备发送的至少两个组播触发消息,所述每个组播触发消息至少包括唤醒前导、帧类型信息和组播地址信息,所述每个组播触发消息用于指示所述唤醒设备将会发送唤醒帧;The awakened device receives at least two multicast trigger messages sent by the wake-up device, where each multicast trigger message includes at least a wake-up preamble, frame type information, and multicast address information, where each multicast trigger message Used to indicate that the wake-up device will send a wake-up frame;
    所述被唤醒设备接收所述唤醒设备发送的所述唤醒帧,所述唤醒帧用于唤醒所述被唤醒设备的主通信接口包括:The wake-up device receives the wake-up frame sent by the wake-up device, where the wake-up frame is used to wake up the main communication interface of the wake-up device, including:
    所述被唤醒设备接收所述唤醒设备发送的单播唤醒帧或组播唤醒帧,所述单播唤醒帧或所述组播唤醒帧用于唤醒所述被唤醒设备的主通信接口。The awake device receives the unicast wake-up frame or the multicast wake-up frame sent by the awake device, and the unicast wake-up frame or the multicast wake-up frame is used to wake up the main communication interface of the awake device.
  15. 根据权利要求10所述的方法,其特征在于,所述被唤醒设备根据所述至少两个触发消息和所述唤醒时间位移确定所述被唤醒设备的辅助唤醒接口的工作状态包括:The method according to claim 10, wherein determining, by the wake-up device, the working state of the auxiliary wake-up interface of the wake-up device according to the at least two trigger messages and the wake-up time displacement comprises:
    所述被唤醒设备根据所述至少两个触发消息和所述唤醒时间位移确定所述被唤醒设备的辅助唤醒接口的休眠时长;Determining, by the wake-up device, a sleep duration of the auxiliary wake-up interface of the wake-up device according to the at least two trigger messages and the wake-up time displacement;
    所述被唤醒设备根据所述休眠时长确定所述辅助唤醒接口的开启时刻。The wake-up device determines an opening time of the auxiliary wake-up interface according to the sleep duration.
  16. 根据权利要求15所述的方法,其特征在于,所述被唤醒设备根据所述至少两个触发消息和所述唤醒时间位移确定所述被唤醒设备的辅助唤醒接口的休眠时长包括:The method according to claim 15, wherein the wake-up device determines, according to the at least two trigger messages and the wake-up time displacement, a sleep duration of the auxiliary wake-up interface of the wake-up device, including:
    若所述至少两个触发消息里包括索引信息,则所述被唤醒设备从所述至少两个触发消息获取索引信息,所述索引信息指示剩余将发送的触发消息的个数K;If the at least two trigger messages include index information, the awake device acquires index information from the at least two trigger messages, where the index information indicates the number K of trigger messages to be sent remaining;
    所述被唤醒设备可以根据如下公式确定所述辅助唤醒接口的休眠时长I:The wake-up device may determine the sleep duration I of the auxiliary wake-up interface according to the following formula:
    I=K*M+S; I=K*M+S;
    所述M为相邻的两个触发消息之间的最小时间间隔,所述S为所述被唤醒设备的唤醒时间位移,所述K为大于或等于0的整数;The M is a minimum time interval between two adjacent trigger messages, where S is a wake-up time shift of the wake-up device, and the K is an integer greater than or equal to 0;
    若所述至少两个触发消息里不包括索引信息,则所述被唤醒设备可以确定所述辅助唤醒接口的休眠时长为S,所述S为所述被唤醒设备的唤醒时间位移。If the index information is not included in the at least two trigger messages, the wake-up device may determine that the sleep duration of the auxiliary wake-up interface is S, where S is a wake-up time shift of the wake-up device.
  17. 根据权利要求10所述的方法,其特征在于,所述被唤醒设备根据所述唤醒帧确定所述被唤醒设备的主通信接口和/或辅助唤醒接口的工作状态包括:The method according to claim 10, wherein determining, by the awake device, the working status of the main communication interface and/or the auxiliary awake interface of the awake device according to the awake frame comprises:
    所述被唤醒设备根据所述唤醒帧唤醒所述被唤醒设备的主通信接口,并调整所述被唤醒设备的辅助唤醒接口为关闭状态;The wake-up device wakes up the main communication interface of the wake-up device according to the wake-up frame, and adjusts the auxiliary wake-up interface of the wake-up device to be in an off state;
    或,or,
    所述被唤醒设备根据所述唤醒帧唤醒所述被唤醒设备的主通信接口,并且保持所述被唤醒设备的辅助唤醒接口为开启状态;The wake-up device wakes up the main communication interface of the wake-up device according to the wake-up frame, and keeps the auxiliary wake-up interface of the wake-up device in an on state;
    或,or,
    所述被唤醒设备根据所述唤醒帧保持所述被唤醒设备的主通信模块为开启状态,并且调整所述被唤醒设备的辅助唤醒接口为关闭状态;The awake device keeps the main communication module of the awake device in an on state according to the awake frame, and adjusts the auxiliary awake interface of the awake device to be in an off state;
    或,or,
    所述被唤醒设备根据所述唤醒帧保持所述被唤醒设备的主通信模块为关闭状态,并且调整所述被唤醒设备的辅助唤醒接口为关闭状态。The awake device keeps the main communication module of the awake device in an off state according to the awake frame, and adjusts the auxiliary awake interface of the awake device to be in an off state.
  18. 根据权利要求10至17中任一项所述的方法,其特征在于,所述被唤醒设备接收所述唤醒设备发送的所述唤醒帧之后,所述被唤醒设备根据所述唤醒帧确定所述被唤醒设备的主通信接口和/或辅助唤醒接口的工作状态之前,所述方法还包括:The method according to any one of claims 10 to 17, wherein after the wake-up device receives the wake-up frame sent by the wake-up device, the wake-up device determines the Before the operating state of the main communication interface and/or the auxiliary wake-up interface of the device being awakened, the method further includes:
    所述被唤醒设备确定所述唤醒帧是真实的,所述是真实的是指所述唤醒帧是由所述被唤醒设备关联的所述唤醒设备发送给所述被唤醒设备的。The wake-up device determines that the wake-up frame is authentic, and the true is that the wake-up frame is sent by the wake-up device associated with the wake-up device to the wake-up device.
  19. 一种设备,其特征在于,包括:An apparatus, comprising:
    通过总线相连的辅助唤醒接口、主通信接口、处理器、存储器以及天线模块;An auxiliary wake-up interface, a main communication interface, a processor, a memory, and an antenna module connected by a bus;
    所述辅助唤醒接口用于接收所述唤醒帧和所述触发消息;The auxiliary wake-up interface is configured to receive the wake-up frame and the trigger message;
    所述主通信接口用于发送所述唤醒帧和所述触发消息,接收所述辅助唤醒接口发送的唤醒信号;The main communication interface is configured to send the wake-up frame and the trigger message, and receive a wake-up signal sent by the auxiliary wake-up interface;
    所述处理器用于执行生成唤醒帧和触发消息的指令;The processor is configured to execute an instruction to generate a wake-up frame and a trigger message;
    所述存储器用于存储所述生成唤醒帧和触发消息的指令;The memory is configured to store the instruction to generate a wake-up frame and a trigger message;
    所述天线模块用于接收所述唤醒帧和所述触发消息,或发送所述唤醒帧和所述触发消息。The antenna module is configured to receive the wake-up frame and the trigger message, or send the wake-up frame and the trigger message.
  20. 根据权利要求19所述的设备,其特征在于,包括:The device according to claim 19, comprising:
    所述辅助唤醒接口为辅助唤醒模块提供的通信接口,所述辅助唤醒接口为至少一个。The auxiliary wake-up interface is a communication interface provided by the auxiliary wake-up module, and the auxiliary wake-up interface is at least one.
  21. 根据权利要求19所述的设备,其特征在于,包括:The device according to claim 19, comprising:
    所述主通信接口为主通信模块提供的通信接口,所述主通信接口为至少一个。The main communication interface is a communication interface provided by the main communication module, and the main communication interface is at least one.
  22. 根据权利要求19所述的设备,其特征在于,包括:The device according to claim 19, comprising:
    所述处理器具体用于调用所述存储器存储的指令,通过所述辅助唤醒接口和所述主通 信接口执行如权利要求1至18中任一项所述的方法。The processor is specifically configured to invoke an instruction stored by the memory, by using the auxiliary wake-up interface and the main pass The letter interface performs the method of any one of claims 1 to 18.
  23. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-18任意一项所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1-18.
  24. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如权利要求1-18任意一项所述的方法。 A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-18.
PCT/CN2017/081855 2017-02-08 2017-04-25 Method and device for waking up device WO2018145363A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780074314.8A CN110036670B (en) 2017-02-08 2017-04-25 Method and device for waking up device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710069855 2017-02-08
CN201710069855.3 2017-02-08

Publications (1)

Publication Number Publication Date
WO2018145363A1 true WO2018145363A1 (en) 2018-08-16

Family

ID=63107878

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/081855 WO2018145363A1 (en) 2017-02-08 2017-04-25 Method and device for waking up device

Country Status (2)

Country Link
CN (1) CN110036670B (en)
WO (1) WO2018145363A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021212988A1 (en) * 2020-04-21 2021-10-28 华为技术有限公司 Sleep and wakeup method for data interface, and related apparatus and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391691A (en) * 2021-06-03 2021-09-14 深圳市广和通无线股份有限公司 Equipment awakening method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737597A (en) * 2012-10-24 2015-06-24 高通股份有限公司 Method and apparatus using an ultra low power signal with scheduled power save modes
WO2016073593A1 (en) * 2014-11-06 2016-05-12 Qualcomm Incorporated Systems and methods for synchronization within a neighborhood aware network
CN105723780A (en) * 2013-12-16 2016-06-29 英特尔公司 Remote wakeup for wi-fi devices
WO2016107128A1 (en) * 2014-12-31 2016-07-07 华为技术有限公司 Method, apparatus and device for waking up devices in batches

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7110783B2 (en) * 2002-04-17 2006-09-19 Microsoft Corporation Power efficient channel scheduling in a wireless network
US7230933B2 (en) * 2002-04-17 2007-06-12 Microsoft Corporation Reducing idle power consumption in a networked battery operated device
CN101415147B (en) * 2007-10-19 2011-04-13 华为技术有限公司 Method and apparatus for paging user equipment
CN102625423B (en) * 2011-03-10 2015-06-03 深圳市华奥通通信技术有限公司 Wireless communication system and wake up method thereof
JP5836491B2 (en) * 2012-08-24 2015-12-24 ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. Method, apparatus, terminal, computer program, and storage medium for adjusting rising period of terminal
US9544848B2 (en) * 2012-10-24 2017-01-10 Qualcomm Incorporated Methods and apparatus for communicating short paging messages in a wireless communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104737597A (en) * 2012-10-24 2015-06-24 高通股份有限公司 Method and apparatus using an ultra low power signal with scheduled power save modes
CN105723780A (en) * 2013-12-16 2016-06-29 英特尔公司 Remote wakeup for wi-fi devices
WO2016073593A1 (en) * 2014-11-06 2016-05-12 Qualcomm Incorporated Systems and methods for synchronization within a neighborhood aware network
WO2016107128A1 (en) * 2014-12-31 2016-07-07 华为技术有限公司 Method, apparatus and device for waking up devices in batches

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021212988A1 (en) * 2020-04-21 2021-10-28 华为技术有限公司 Sleep and wakeup method for data interface, and related apparatus and system

Also Published As

Publication number Publication date
CN110036670A (en) 2019-07-19
CN110036670B (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN108541047B (en) Indication method and device of downlink service data
EP3499977B1 (en) Method and device for sending and receiving wur frame
KR102032989B1 (en) Traffic advertisement in neighbor aware network (nan) data path
US9553769B2 (en) Devices and methods for communication in ad-hoc networks
CN105532065B (en) System and method for OFDMA PS-Poll transmission
KR102330244B1 (en) Traffic advertisement in neighbor aware network (nan) data path
US9949236B2 (en) Traffic advertisement in neighbor aware network (NAN) data path
US10555336B2 (en) Method and terminal for requesting and acquiring information relating to channel access in wireless LAN, and apparatus for providing information relating to channel access in wireless LAN
WO2016094435A2 (en) Traffic advertisement in neighbor aware network (nan) data path
WO2016094448A2 (en) Traffic advertisement in neighbor aware network (nan) data path
CN111226467A (en) Communication apparatus and communication method
WO2016094449A2 (en) Traffic advertisement in neighbor aware network (nan) data path
WO2018145363A1 (en) Method and device for waking up device
CN109845346B (en) Method for awakening wireless device, transmitting device and receiving device
WO2021212511A1 (en) Data transmission method and apparatus, and storage medium
WO2018086311A1 (en) Method and device for waking up communication interface, identifier configuration method for auxiliary wake-up interface, and device
CN108012315B (en) Communication method, network equipment and terminal
WO2018233646A1 (en) Wake-up method, access point, and station
CN114786243A (en) Indication method for validity of reference signal transmission opportunity and user equipment
WO2018161477A1 (en) Method and device for transmitting wur message
WO2022156801A1 (en) Method for determining validity of reference signal transmission occasion, and user equipment
WO2023005846A1 (en) Method for paging and communication apparatus
CN109314946B (en) Method and equipment for receiving wake-up frame
CN117880941A (en) Test method, terminal device and computer readable storage medium
US8818425B1 (en) Synchronization of paging and sleep cycles in wireless communication systems

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: 17896116

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: 17896116

Country of ref document: EP

Kind code of ref document: A1