WO2018054117A1 - Method and device for sending wake-up frame - Google Patents
Method and device for sending wake-up frame Download PDFInfo
- Publication number
- WO2018054117A1 WO2018054117A1 PCT/CN2017/090379 CN2017090379W WO2018054117A1 WO 2018054117 A1 WO2018054117 A1 WO 2018054117A1 CN 2017090379 W CN2017090379 W CN 2017090379W WO 2018054117 A1 WO2018054117 A1 WO 2018054117A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- frame
- wake
- wireless device
- check sequence
- wireless
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0229—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
- H04W52/0235—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal where the received signal is a power saving command
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W68/00—User notification, e.g. alerting and paging, for incoming communication, change of service or the like
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method for transmitting a wake-up frame.
- Wi-Fi Wireless-Fidelity
- IoT Internet of Things
- the existing Wi-Fi modules consume too much power and cannot be directly applied to IoT devices such as wearable electronic devices.
- IoT devices such as wearables, such as sports bracelets, smart watches, digital medical devices, etc.
- wearables such as sports bracelets, smart watches, digital medical devices, etc.
- the capacity and capacity of portable batteries are limited, while the wearable electronic devices have battery life.
- it has relatively high requirements.
- Wi-Fi technology In order to apply Wi-Fi technology to the Internet of Things, such as wearable electronic devices, it is necessary to improve and reduce the power consumption of Wi-Fi communication technology.
- a station (STA, i.e.) idle listening channel supporting the 802.11 protocol is employed.
- the STA idle listening channel wastes a lot of power.
- Wi-Fi technology introduces a dormancy mechanism, that is, the Wi-Fi module (ie, Wi-Fi interface) goes to sleep and closes the transmitter without data transmission. .
- the traditional Wi-Fi sleep mechanism can reduce the power consumption of Wi-Fi.
- AP Access Point
- the AP needs to wait until the STA wakes up, which increases the communication delay and does not implement On-Demand. Real-time data transmission.
- Auxiliary Wake-up Radio/Receiver is an ultra-low-power wireless interface added to wireless devices that coexists with the wireless device's primary communication module (eg, Wi-Fi module). When there is no message to receive or transmit, the primary communication module of the second wireless device (eg, Wi-Fi module) enters deep sleep and turns on the WUR module for ultra low power listening.
- the first wireless device When the first wireless device (wake-up device, eg, AP) has a message to transmit to the second wireless device (wake-up device, eg, STA), the first wireless device first sends a wake-up frame to the WUR interface of the second wireless device ( Wake-up Packet (WUP) to wake up the primary communication module (eg, 802.11 module) of the second wireless device.
- WUP Wake-up Packet
- a wake-up frame in the prior art does not carry a frame check sequence (FCS) or a short frame check sequence.
- FCS frame check sequence
- the frame check sequence of such a wake-up frame is too short, and the error check capability of the frame check sequence is limited, which is likely to cause false wake-up.
- a wake-up frame carrying a fixed length frame check sequence carrying a fixed length frame check sequence (FCS)
- the check object of the frame check sequence includes a network identifier (Network ID), a receive address (Receive Address), and control information in the wake-up frame.
- Network ID network identifier
- Receiveive Address receive address
- Control Info control information in the wake-up frame.
- the frame check sequence of the wake-up frame has too many check objects, and the content to be verified is relatively long, which requires a relatively long frame check sequence.
- the frame check sequence of the wake-up frame is too long, the frame check sequence is prone to error, which is likely to cause re-transmission of the wake-up frame, that is, the probability that the wake-up frame needs to be retransmitted is relatively large.
- Embodiments of the present invention provide a method and a device for transmitting a wake-up frame to reduce false wake-up and retransmission during wake-up.
- an embodiment of the present invention provides a method for transmitting a wake-up frame, including: determining, by a first wireless device, a frame check of a wake-up frame sent by the first wireless device to a second wireless interface of the second wireless device An attribute of the sequence FCS; the determined attribute of the FCS includes at least one of a type, a length, and a check object of the frame check sequence; the wake-up frame is used to wake up the first wireless of the second wireless device
- the first wireless device transmits, by the first wireless interface of the first wireless device, indication information indicating an attribute of the frame check sequence to the second wireless device; the first wireless device is configured according to the first wireless device Determining an attribute of the frame check sequence, generating a wake-up frame, and sending the wake-up frame to a second wireless interface of the second wireless device to wake up the first wireless interface of the second wireless device .
- an embodiment of the present invention provides an apparatus.
- the device includes a processor and a transceiver.
- the processor is configured to determine an attribute of a frame check sequence FCS of the wake-up frame of the second wireless interface sent to the second wireless device; and the processor is configured to generate a wake-up frame according to the determined attribute of the FCS;
- the wake-up frame is used to wake up the first wireless interface of the second wireless device;
- the determined attribute of the FCS includes at least one of a type, a length, and a check object of the FCS; and a transceiver for
- the second wireless device sends indication information indicating an attribute of the frame check sequence, and configured to send the wake-up frame to a second wireless interface of the second wireless device to wake up the second wireless device First wireless interface
- the embodiment of the present invention determines, by the first wireless device, one or more types, lengths, and check objects of the frame check sequence of the wake-up frame, and controls the frame check sequence while improving the error detection capability of the frame check sequence.
- the communication overhead brought by it reduces the false wake-up rate and the retransmission rate of the wake-up frame.
- the determined attribute of the FCS is at least one attribute selected from a list of frame check sequence FCS attributes stored by the first wireless device.
- the first wireless device determines an attribute of a frame check sequence FCS of the wake-up frame sent by the first wireless device to the second wireless interface of the second wireless device, specifically: the first Determining, by the wireless device, the second wireless interface sent by the first wireless device to the second wireless device according to one or more of the number of the second wireless device, the false wake-up rate, and the retransmission rate of the wake-up frame The property of the frame check sequence of the wake-up frame.
- the wireless device before the determining, by the first wireless device, the attribute of the frame check sequence of the wake-up frame of the second wireless interface sent by the first wireless device to the second wireless device, Obtaining, by the wireless device, at least one of a false wake-up rate of the second wireless device and a retransmission rate of the wake-up frame; wherein the false wake-up rate is the first wireless interface of the second wireless device in the first time period The ratio of the number of times the second wireless interface is awake by the second wireless interface to the first time period; the retransmission rate is the number of times the first wireless device retransmits the wake-up frame to the second wireless device in the second time period The ratio to the second time period.
- the frame of the wake-up frame can be determined according to at least one of the false wake-up rate and the retransmission rate of the wake-up frame. At least one of the type, length, and check object of the check sequence.
- the first wireless device in the embodiment of the present invention greatly reduces the calculation amount of the first wireless device by selecting the attribute of the frame check sequence of the wake-up frame from the pre-stored list, and further reduces the communication overhead.
- the wake-up frame includes at least a wake-up preamble and a receive address.
- the length of the wake-up frame is short, and the communication overhead and the error rate of the wake-up frame are reduced.
- the wake-up frame further includes any one or more of the following: an 802.11 preamble, a network identification, control information, and a frame check sequence.
- the check object of the frame check sequence FCS of the wake-up frame includes control information and/or network identification.
- the frame check sequence of the wake-up frame has a length of 0 or 1; when the length of the frame check sequence of the wake-up frame is 0, it indicates that the wake-up frame does not carry a frame check sequence; When the length of the frame check sequence of the wake-up frame is 1, it indicates that the wake-up frame carries a parity bit of one bit.
- the embodiment of the present invention can determine the length of the frame check sequence of the wake-up frame according to the condition of the communication environment, thereby achieving an effective balance between the error detection capability of the frame check sequence and the communication overhead of the frame check sequence.
- the parity bit is used to verify the correctness of the received address or to verify the correctness of the wake-up frame.
- the second wireless interface is an auxiliary wake-up interface
- the receive address is an address of an auxiliary wake-up interface of the second wireless device
- the receive address is assigned by the first wireless device to the first An auxiliary wake-up interface of the second wireless device
- a distance between the second wireless device and an address of the auxiliary wake-up interface of another wireless device in the same basic service set of the second wireless device is greater than a first distance
- the first distance is determined by the first wireless device according to the number of second wireless devices associated with the first wireless device and/or the length of an address of the secondary wake-up interface of the second wireless device.
- the error that occurs when the receiving end detects the address of the wireless device is less than or equal to M. Bits. Therefore, in the embodiment of the present invention, when the length of the frame check sequence is constant, the retransmission rate of the wake-up frame is reduced.
- the first wireless interface is a primary communication interface; the first wireless device is a wireless access node AP; and the second wireless device is a site STA supporting an 802.11 protocol.
- an embodiment of the present invention provides a method for transmitting a wake-up frame, including: in a first communication environment, a first wireless device generates a first wake-up frame, and passes the first wireless device of the first wireless device. Interface to the first The second wireless device sends the first wake-up frame, the attribute of the frame check sequence FCS included in the first wake-up frame adopts a first attribute; in the second communication environment, the first wireless device generates a second wake-up frame Transmitting, by the first wireless interface of the first wireless device, the second wake-up frame to the second wireless device, where the attribute of the frame check sequence FCS included in the second wake-up frame adopts a second attribute; The first communication environment is different from the second communication environment, and the first attribute is different from the second attribute; the first and second wake-up frames are sent by the first wireless device to the second wireless device. a frame of the second wireless interface, and the first and second wake-up frames are used to wake up the first wireless interface of the second wireless device.
- an embodiment of the present invention provides an apparatus, including: a processor, configured to generate a first wake-up frame in a first communication environment, and to generate a second wake-up frame in a second communication environment.
- a transceiver configured to send, in the first communications environment, the first wake-up frame to a second wireless device, where an attribute of a frame check sequence FCS included in the first wake-up frame adopts a first attribute;
- the second wake-up frame is sent to the second wireless device in the second communication environment, and the attribute of the frame check sequence FCS included in the second wake-up frame adopts a second attribute;
- the first communication environment is superior to the second communication environment, the first attribute is different from the second attribute;
- the first and second wake-up frames are second sent by the first wireless device to the second wireless device a frame of the wireless interface, and the first and second wake-up frames are used to wake up the first wireless interface of the second wireless device.
- the false wake-up rate of the wake-up frame in the first communication environment is lower than the false wake-up rate of the wake-up frame in the second communication environment, and/or the re-transmission of the wake-up frame in the first communication environment The rate is lower than the retransmission rate of the wake-up frame in the second communication environment.
- the first attribute is a length of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame check included in the second wake-up frame in the second communication environment.
- the length of the sequence FCS and in the case where the false wake-up rate of the wake-up frame in the second communication environment is higher than the false wake-up rate of the wake-up frame in the first communication environment, the frame included in the second wake-up frame
- the length of the check sequence is greater than the length of the frame check sequence included in the first wake-up frame.
- the first attribute is a length of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame check included in the second wake-up frame in the second communication environment.
- the length of the sequence FCS and in the case where the retransmission rate of the wake-up frame in the second communication environment is higher than the retransmission rate of the wake-up frame in the first communication environment, the frame included in the second wake-up frame
- the length of the check sequence is less than the length of the frame check sequence included in the first wake-up frame.
- the first attribute is a check object of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame included in the second wake-up frame in the second communication environment. Verifying the verification object of the sequence FCS; and in the case where the false wake-up rate of the wake-up frame in the second communication environment is higher than the false wake-up rate of the wake-up frame in the first communication environment, the second wake-up The frame check sequence included in the frame has more check objects than the frame check sequence included in the first wake frame.
- the first attribute is a check object of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame included in the second wake-up frame in the second communication environment. Verifying the verification object of the sequence FCS; and in the case where the retransmission rate of the wake-up frame in the second communication environment is higher than the retransmission rate of the wake-up frame in the first communication environment, the second wake-up The frame check sequence included in the frame has a check object smaller than the check object of the frame check sequence included in the first wake frame.
- the false wake-up rate is the first wireless interface of the second wireless device during the first time period
- the retransmission rate is the number of times the first wireless device retransmits the wake-up frame to the second wireless device in the second time period The ratio to the second time period.
- the wake-up frame includes at least a wake-up preamble and a receive address.
- the wake-up frame further includes any one or more of the following: a legacy 802.11 preamble, a network ID, a control information, and a frame check sequence.
- the check object of the frame check sequence of the wake-up frame includes control information and/or network identification.
- the frame check sequence of the wake-up frame has a length of 0 or 1; when the length of the frame check sequence of the wake-up frame is 0, it indicates that the wake-up frame does not carry a frame check sequence; When the length of the frame check sequence of the wake-up frame is 1, it indicates that the wake-up frame carries a parity bit of one bit.
- the parity bit is used to verify the correctness of the received address or to verify the correctness of the wake-up frame.
- the second wireless interface is an auxiliary wake-up interface
- the receive address is an address of an auxiliary wake-up interface of the second wireless device
- the receive address is assigned by the first wireless device to the first An auxiliary wake-up interface of the second wireless device
- a distance between the second wireless device and an address of the auxiliary wake-up interface of another wireless device in the same basic service set of the second wireless device is greater than a first distance
- the first distance is determined by the first wireless device according to the number of second wireless devices associated with the first wireless device and/or the length of an address of the secondary wake-up interface of the second wireless device.
- the first wireless interface is a primary communication interface; the first wireless device is a wireless access node AP; and the second wireless device is a site STA supporting an 802.11 protocol.
- the embodiment of the invention determines the attribute of the frame check sequence FCS of the wake-up frame and generates the wake-up frame according to the attribute of the FCS, thereby reducing the re-transmission of the false wake-up and the wake-up frame with less communication overhead.
- FIG. 1 is a schematic diagram of a system for an AP to wake up a STA
- FIG. 2 is a schematic diagram of a wake-up frame structure
- FIG. 3 is a schematic structural diagram of another wake-up frame
- FIG. 4 is a schematic diagram of a method for an AP to send a wake-up frame to a STA according to an embodiment of the present invention
- Figure 5 is a schematic diagram of a WUR ID group
- FIG. 6 is a schematic diagram of a method for an AP to send a wake-up frame to a STA according to another embodiment of the present invention
- FIG. 7 is a schematic diagram of a method for an AP to send a wake-up frame to an STA according to another embodiment of the present invention.
- FIG. 8 is a schematic diagram showing another structure of a wake-up frame
- FIG. 9 is a schematic diagram of an apparatus for sending a wake-up frame according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram of an apparatus for sending a wake-up frame according to another embodiment of the present invention.
- the Wi-Fi communication technology in order to reduce power consumption, a sleep mechanism is introduced, but the conventional sleep mechanism brings about a problem of communication delay.
- the STA In order to reduce the communication delay caused by the traditional Wi-Fi sleep mechanism, the STA usually wakes up periodically to check whether the AP has data to transmit to the STA.
- this solution will reduce the sleep time ratio of the STA and increase the energy consumption of the STA.
- the IEEE 802.11 standards organization recently established a Task Group (TG) to study ultra-low power Wake-up Radio/Receiver (WUR) technology and develop WUR-based standards. It is expected that the average power consumption of Wi-Fi communication technology can be reduced by WUR technology.
- TG Task Group
- WUR Wake-up Radio/Receiver
- FIG. 1 is a schematic diagram of a system for an AP to wake up a STA.
- the STA is a wake-up device
- the AP is a wake-up device, that is, the wake-up device AP wakes up the wake-up device STA.
- the STA can be a client in a Wireless Local Area Networks (WLAN).
- WLAN Wireless Local Area Networks
- a wireless sensor network node or a smartphone with a Wi-Fi module, and the like.
- An AP is an access point device of a wireless local area network, for example, a wireless access point in a Wi-Fi network.
- the AP is used to connect multiple STAs together to form a small wireless local area network.
- the STA 110 includes a first primary communication module 111 and a first secondary wakeup module 112.
- the AP 120 includes a second primary communication module 121 and a second secondary wakeup module 122.
- the auxiliary wake-up module can be a WUR module.
- the first primary communication module 111 is an 802.11 module, such as a Wi-Fi module.
- the first auxiliary wake-up module 112 is a WUR interface with ultra low power consumption.
- the second primary communication module 121 is an 802.11 module, such as a Wi-Fi module.
- the second auxiliary wake-up module 122 is a WUR interface with ultra low power consumption.
- the first primary communication module 111 eg, Wi-Fi module
- the first primary communication module 111 enters deep sleep, enters a state in which power consumption is close to zero
- STA 110 eg, a processor in STA 110, Figure 1 is not shown
- STA 110 turning on the first auxiliary wake-up module 112 for ultra low power listening.
- the second primary communication module 121 of the AP 120 transmits a wake-up packet (WUP) to the first auxiliary wake-up module 112 of the STA 110.
- WUP wake-up packet
- the first auxiliary wake-up module 112 of the STA 110 After receiving the wake-up frame, the first auxiliary wake-up module 112 of the STA 110 checks the receiving address of the wake-up frame and confirms the correctness and authenticity of the wake-up frame. If the receiving address carried by the wake-up frame matches the address of the first auxiliary wake-up module 112 of the STA 110, and the wake-up frame is correct and true, the first auxiliary wake-up module 112 of the STA 110, to the first master of the STA 110 The communication module 111 transmits a wake-up signal to wake up the first main communication module 111. After the first auxiliary wake-up module 112 sends the wake-up signal, the first auxiliary wake-up module 112 enters a deep sleep state, that is, enters a state in which the power consumption is close to zero.
- the above method uses a particularly simple circuit and signal processing method, so the average power consumption of the first auxiliary wake-up module 112 in the STA 110 is very low.
- a duty cycle Duty-Cycling
- the average power consumption of the first auxiliary wake-up module 112 in the STA 110 is about 100 ⁇ W (microwatts), probably only
- the first main communication module 111 is 0.1% of the average power consumption of the Wi-Fi module.
- the method for transmitting the wake-up frame to the first main communication module 111 by using the first auxiliary wake-up module 112 is significantly lower than that of the first main communication module 111 such as the Wi-Fi module. Average power consumption.
- the reception and decoding of the wake-up frame WUP is much simpler than the standard Wi-Fi listening channel.
- the wake-up frame WUP can adopt a modulation method that is easy to be demodulated by the receiving end, for example, On-Off Keying (OOK) modulation.
- OOK modulation the STA 110 judges the information carried by the received signal by the presence or absence of energy, for example, the energy is "1" and the no energy is "0".
- BCC Binary Convolutional Coding
- LDPC Low-Density Parity Check Codes
- Inverse Fast Inverse Fast Fourier Transform
- IFFT Fourier Transformation
- FFT Fast Fourier Transformation
- BCC/LDPC decoding complex signal processing operations
- the wake-up frame WUP should be as short as possible, and the content should be kept as little as possible.
- the embodiment of the present invention proposes a possible frame structure, see FIG.
- FIG. 2 is a possible WUP Frame Format according to an embodiment of the present invention.
- the wake-up frame WUP includes a legacy 802.11 Preamble, a Wake-up Preamble, a Control Info, a Network ID, a Receive Address, and a parity check. Parity bit, Frame Check Sequence (FCS).
- FCS Frame Check Sequence
- the parity bit in the wake-up frame may also be one of the received addresses. If the length of the frame check sequence is not 0, and the check object of the frame check sequence includes one or two of control information and network identifier, the parity bit may also be used to verify Describe the correctness of the receiving address.
- a legacy 802.11 preamble (Legacy 802.11 Preamble) can be used for backward compatibility, so that the legacy Wi-Fi device AP 120 can judge the current frame as a Wi-Fi frame, thereby selecting a corresponding channel listening decision threshold and backoff time. Because the first auxiliary wake-up module 112 in the STA 110 does not need to receive the preamble portion of the legacy 802.11, the wake-up frame may not be preceded by the legacy 802.11 for transmission efficiency considerations.
- Wake-up Preamble is used for symbol synchronization and Automatic Gain Control (AGC) settings.
- AGC Automatic Gain Control
- Control Info can be used to indicate the frame type and other information of the wake-up frame WUP.
- the control information (Control Info) is 6 bits; 1 bit indicates that the transmission direction of the frame is uplink or downlink; 1 bit indicates the frame type, such as "1" indicates that the frame type is a wake-up frame, "0" Indicates that the frame is not a wake-up frame; 4 bits show the working channel used after wake-up.
- the Network ID can be used to identify the Basic Service Set (BSS) and/or AP information to which the Wakeup Frame WUP belongs.
- the AP information is an AP Media Access Control (MAC) address, or a BSS color, or a compressed MAC address, or a BSSID, or a compressed BSSID.
- MAC Media Access Control
- the network identifiers of all WUR WUR IDs are the same.
- the network identification portion can be a BSS color.
- the first 6 bits (the highest 6 bits) of the WUR ID of all WURs in a basic service set BSS are the same, both BSS color.
- the Receive Address is used to indicate the target recipient of the wake-up frame WUP, and the receive address may be a WUR address (WUR ID), that is, the address of the first auxiliary wake-up module 112.
- WUR ID WUR address
- FIG. 2 is a wake-up frame WUP including a legacy 802.11 Preamble, a Wake-up Preamble, a Control Info, a Network ID, and a Receive Address. ), wake-up frame check sequence FCS as an example.
- the Receive Address can be a WUR ID.
- the receiving address may include the parity bit, or the receiving address may not include the parity bit.
- the wake-up frame WUP may also include a legacy 802.11 Preamble, a Wake-up Preamble, a Control Info, a Receive Address, and a Wakeup Frame Check Sequence FCS;
- the Network ID is included in the Receive Address.
- the Receive Address may include a Network ID and a WUR ID. See Figure 3.
- the parity bit can be used to verify the correctness of the Receive Address or to verify the correctness of the wake-up frame WUP.
- the parity bit is part of the Receive Address.
- the Receive Address is the WUR ID
- the last bit (the lowest bit) of the WUR ID is the parity bit.
- a parity check is: if there is an even number of "1"s in the upper (N-1) bits of a WUR ID, and a bit of the lowest bit of the WUR ID is also "1", the parity of the WUR ID
- the parity bit belongs to the even parity; if there is an odd number of "1"s in the upper (N-1) bits of a WUR ID, and the lowest bit of the WUR ID is also "1", the parity of the WUR ID Bits are odd parity.
- an even parity is that if there is an even number of "1"s in the upper (N-1) bits of a WUR ID, then one bit of the lowest bit of the WUR ID is "1"; if a WUR ID If there are an odd number of "1"s in the upper (N-1) bits, then one bit of the lowest bit of the WUR ID is "0".
- the frame check sequence FCS can be used to help the receiver verify the correctness of the content of the received wake-up frame WUP, that is, check whether the content of the received wake-up frame WUP has an error during transmission.
- the checksum object of the frame check sequence FCS of the wakeup frame WUP may include one or both of control information (Control Info) and network identifier (Network ID). That is, the frame check sequence FCS in the wake-up frame is calculated according to control information (Control Info) and/or network ID (Network ID).
- the main function of the frame check sequence FCS of the wake-up frame WUP is to prevent false wake-up.
- the false wake-up means that the first auxiliary wake-up module 112 of the STA 110 receives a wake-up frame WUP. Although the wake-up frame WUP is not sent to the STA 110, the receiving address of the wake-up frame is incorrect due to an error occurring during transmission. It becomes the address of the first auxiliary wake-up module 112 of the STA 110, causing a false wake-up.
- the length of the FCS carrying the frame check sequence in the wakeup frame WUP is fixed.
- the frame check sequence FCS of the wakeup frame WUP is too short, the error check capability of the frame check sequence FCS is limited, and it is likely that the frame check sequence FCS cannot be detected. Errors that occur during transmission are prone to false wake-ups.
- the frame check sequence FCS of the wakeup frame WUP is too long, the frame check sequence FCS of the wakeup frame has too many check objects.
- the verification object includes the control information (Control Info), the network identifier (Network ID), the receive address (Receive Address), and the like in the aforementioned wake-up frame, which may cause excessive communication overhead.
- an embodiment of the present invention provides a method for waking up a wireless device.
- the method calculates the false wake-up rate and the retransmission rate of the wake-up frame over a period of time, and the self-adaptation
- the length of the frame check sequence FCS should be adjusted to reduce false wake-up and retransmission of the wake-up frame.
- the method for the AP to wake up the STA provided by the embodiment of the present invention is mainly applied to a Wi-Fi network.
- a Wi-Fi network For example, it is applied to Wi-Fi-based Internet of Things (IoT) and wearable Wi-Fi networks.
- IoT Internet of Things
- a wearable Wi-Fi network refers to a Wi-Fi network composed of a mobile phone as a virtual access point (SoftAP) and an associated wearable device (for example, a smart watch).
- FIG. 4 is a schematic diagram of a method for an AP to send a wake-up frame to a STA according to an embodiment of the present invention.
- the AP 120 determines the attribute of the frame check sequence FCS of the wake-up frame sent by the AP 120 to the first auxiliary wake-up module 112 of the STA 110.
- the attribute of the frame check sequence FCS of the wake-up frame includes at least one of the type of the frame check sequence FCS of the wake-up frame, the length of the frame check sequence FCS of the wake-up frame, and the check object of the frame check sequence FCS of the wake-up frame. .
- the wake-up frame is used to wake up the main communication module 111 of the STA 110.
- the type of frame check sequence FCS of the wake-up frame may be the type of the frame check sequence of the default wake-up frame.
- the type is a Cyclic Redundancy Check (CRC), a hash algorithm (Hash), or an encryption algorithm (Encryption).
- the frame check sequence FCS of the wake-up frame may be 32 bits, 16 bits, 8 bits, or the like.
- the check object of the frame check sequence of the wake-up frame may include control information (Control Info) and/or network ID (Network ID), as shown in FIG. 2.
- the check object of the frame check sequence of the wake-up frame may also include Control Info and/or Network ID and/or Receive Address.
- the check object of the frame check sequence of the wake-up frame may also include one or more of Control Info, Network ID, and Receive Address.
- the AP 120 may also determine one or more of the WUR ID, the network identification (Network ID), the parity bit setting information, and the frame check sequence FCS of the first auxiliary wake-up module 111 of the STA 110.
- the network identifier is network identification information determined by the AP. There is only one network identifier in a basic service set (BSS).
- BSS basic service set
- the network identifier information may be a BSS color, or a BSSID, or a compressed BSSID.
- the parity bit setting information refers to the position of the parity bit (Parity bit) contained in the WUR ID and whether the parity bit is even parity or odd parity, or the parity flag is not included in the WUR ID. Information about the parity bit settings.
- the WUR ID can be used as the Receive Address in the wake-up frame, as shown in Figure 2.
- the WUR ID can also be used as part of the Receive Address of the wake-up frame.
- the receiving address (Receive Address) of the wake-up frame includes a network ID (Network ID) in addition to the WUR ID, as shown in FIG.
- AP 120 estimates the number of STAs that may be associated with it, and determines the WUR ID for STA 110.
- the AP 120 may randomly generate multiple WUR IDs. Assume that the AP 120 randomly generates K WUR IDs, each WUR ID has a length of N bits, and the distance between any two different WUR IDs is greater than M.
- the parameters K, N, and M are 100, 32, and 16, respectively.
- the parameters K, N, and M may also be 10, 32, and 16, respectively.
- the parameters K, N, and M are 3, 32, and 16, respectively.
- the distance of any two WUR IDs is the Hamming distance. That is, the distance between the two WUR IDs is the number of different bits on the corresponding positions of the two WUR IDs. For example, a plurality of randomly generated WUR IDs each having a length of 32 bits; one WUR ID being 0000 0000 0000 0000 0000, and another WUR ID being 0000 0000 0000 0000 1111 1111 1111. Since the bits of the corresponding 12 positions of the two WUR IDs are different, the distance between the two WUR IDs is 12.
- the AP 120 estimates that the number of possible STAs in the Wi-Fi network is 10.
- Step 402 In the process of associating the STA 110 with the AP 120, the AP 120 sends, by using the second primary communication module 121, indication information for indicating the attributes of the FCS, including the type of the frame check sequence, the length of the frame check sequence, and the frame check. One or more of the sequences of objects.
- the AP 120 may also send one or more of the WUR ID (obtained by step 401), the parity bit setting information, and the network identity to the STA 110.
- the AP 120 may send one of the following contents through a Public Action Frame or a Probe Response Frame or an Association Response Frame or a Reassociation Response Frame. Or multiple to STA110: WUR ID, frame check sequence FCS type of wake-up frame, frame check sequence FCS length of wake-up frame, frame check sequence of wake-up frame FCS check object, network ID (Network ID) , parity bit setting information.
- the AP 120 loads the information that needs to be sent to the STA 110 as a new information element (IE) in a common action frame or probe response frame or association response frame or reassociation response frame.
- IE information element
- the verification object of the FCS is Control Info and/or Network ID.
- Control Info is used to indicate information such as the frame type of the wake-up frame. For example, one bit in the Control Info is used to indicate the transmission direction (uplink or downlink) of the frame, another bit is used to indicate the frame type, and other bits are used to indicate the working channel after the STA is woken up. Therefore, the control information of different wake-up frames (Control Info) may be different.
- the network ID is used to indicate the basic service set (BSS) and/or AP information to which the wake-up frame WUP belongs.
- the AP information is, for example, an AP's Media Access Control (MAC) address, or a compressed MAC address, or a BSS color, or a BSSID, or a compressed BSSID. Since the same Wi-Fi network, the basic service set BSS and AP information is determined, so the network identity (Network ID) is ok.
- MAC Media Access Control
- the checksum object of the frame check sequence FCS includes control information (Control Info) and/or network identifier (Network ID). For different wake-up frames sent by the AP to different STAs, the Control Info is different, and the Network ID is the same.
- the frame check sequence FCS is calculated by a specific algorithm (for example, including control information, network identification, etc.), which is related to the FCS type.
- a specific algorithm for example, including control information, network identification, etc.
- the algorithm used is the CRC algorithm.
- the frame check sequence FCS corresponds to the control information (Control Info) one by one. That is to say, the control information (Control Info) changes, and the frame check sequence FCS of the wake-up frame changes accordingly.
- the AP 120 can calculate the frame check sequence FCS according to the control information, the network identifier, and a corresponding algorithm such as a CRC algorithm.
- the AP 120 stores the control information (Control Info) and the calculated frame check sequence FCS in a table manner to generate a "Control Info-FCS Table", see Table 1 below.
- the check object of the frame check sequence FCS of the wake-up frame may only include control information (Control Info) and/or network ID (Network ID), so the frame check in the "Control Info-FCS Table" The sequence FCS is generated based on Control Info and/or Network ID.
- the frame check sequence of the wake-up frame may also include control information (Control Info), network identifier (Network ID), and receive address (Receive Address), then the frame check sequence in the "Control Info-FCS Table" FCS is generated based on Control Info, Network ID, and Receive Address.
- the frame check sequence of the wake-up frame may also include control information (Control Info) and/or network identifier (Network ID) and/or receive address (Receive Address), then in the "Control Info-FCS Table"
- the frame check sequence FCS is generated based on Control Info and/or Network ID and/or Receive Address.
- the generation algorithm ie, the type of FCS
- Control Info-FCS Table that is, Table 1
- the “Control Info-FCS Table” may be separately generated by the AP 120 and the STA 110 and stored separately; the “Control Info-FCS Table” may also be generated by the AP 120. ”, and then send the “Control Info-FCS Table” to STA110, which is saved by STA110. Stored locally. Whether the AP 120 and the STA 110 respectively generate respective "Control Info-FCS Tables", or the AP 120 generates the "Control Info-FCS Table” and then sends the "Control Info-FCS Table” to the STA 110, and stores the "Control Info-FCS Table” and the storage in the AP 120.
- the "Control Info-FCS Table” in STA110 is exactly the same.
- the STA 110 may choose to confirm that it has received indication information from the AP 120 for indicating the FCS attribute.
- Step 404 when the AP 120 needs to wake up the STA 110, the AP 120 generates a wake-up frame.
- the AP 120 obtains corresponding control information, such as the generated control information, according to the actual situation, for example, the transmission direction of the frame, the working channel used after the STA 120 is woken up, and the like. Then, the AP 120 queries the "Control Info-FCS correspondence table" in the AP 120 according to the control information 011100, that is, the query table 1, obtains the frame check sequence FCS corresponding to the control information 011100, and loads the frame check sequence into the wakeup. Frames, thereby generating wake-up frames. Alternatively, the AP 120 may also calculate the frame check sequence FCS of the wake-up frame locally, for example, using a CRC algorithm, and load the calculated frame check sequence into the wake-up frame to generate a wake-up frame. In this case, the "Control Info-FCS Correspondence Table" is not required.
- step 405 the AP 120 sends the wake-up frame to the first auxiliary wake-up module 112 of the STA 110.
- Step 406 The STA 110 checks whether the wake-up frame is correct according to the wake-up frame received by the STA and the "Control Info-FCS correspondence table" stored by the STA 110.
- the STA 110 acquires control information (Control Info) from the wake-up frame received by the STA 110. Then, the "Control Info-FCS correspondence table" in the STA 110 is queried to obtain a frame check sequence FCS corresponding to the control information (Control Info). The AP 120 compares the frame check sequence FCS obtained by the lookup table with the frame check sequence FCS carried in the wake-up frame received by the AP 120. If the two are the same, the wake-up frame is correct. If the two are different, the There is an error in the wakeup frame.
- the STA 110 may also calculate the frame check sequence FCS of the received wake-up frame locally, for example, using a CRC algorithm, and then compare with the frame check sequence FCS carried in the wake-up frame received therefrom, if If the two are the same, the wake-up frame is correct. If the two are different, the wake-up frame has an error.
- Step 407 In the case that the STA 110 determines that the received wake-up frame is correct, the first auxiliary wake-up module 112 of the STA 110 sends a wake-up signal to the first main communication module 111 to wake up the first main communication module 111.
- the STA 110 may choose to feed back to the AP 120 that the received wake-up frame is correct or the wake-up frame is erroneous.
- FIG. 6 is a schematic diagram of a method for an AP to send a wake-up frame to a STA according to another embodiment of the present invention.
- step 601 the AP 120 collects the false wake-up rate and/or the wake-up frame retransmission rate of the STA within a certain period of time.
- the false wake-up rate refers to the ratio of the number of times the STA 110's primary communication module (eg, Wi-Fi interface) is erroneously awakened over a period of time to the time period.
- the wake-up frame retransmission rate refers to the ratio of the number of times the AP 120 retransmits the wake-up frame to the STA 110 within a time period and the time period.
- the AP 120 can count the number of times that the main communication module (for example, the Wi-Fi interface) of the STA 110 is erroneously awake in a time period, thereby obtaining the false wake-up of the main communication module (eg, Wi-Fi interface) of the STA 110. rate.
- the STA 110 counts the number of times the main communication module (for example, the Wi-Fi interface) of the STA 110 is erroneously awake in a time period, thereby obtaining the false wake-up rate of the main communication module (eg, Wi-Fi interface) of the STA 110, and Feedback to the AP120.
- the AP 120 can count the number of times the wake-up frame is retransmitted to the STA 110 in a time period, thereby obtaining the retransmission rate of the wake-up frame sent to the STA 110.
- the STA 10 counts the number of times of the wake-up frame that is retransmitted to the STA 110 in a period of time, thereby obtaining the retransmission rate of the wake-up frame sent to the STA 110, and feeding back to the AP 120.
- Step 602 The AP 120 determines, according to the false wake-up rate and/or the retransmission rate of the wake-up frame, the attribute of the frame check sequence FCS of the wake-up frame sent to the STA 110, including the type of the frame check sequence FCS, and the length of the frame check sequence FCS. At least one of the check objects of the frame check sequence FCS.
- the length of the frame check sequence FCS is updated if the false wake-up rate of the wake-up frame exceeds a respective threshold, and/or the retransmission rate of the wake-up frame exceeds a respective threshold.
- the false wake-up rate of the wake-up frame exceeds the target false wake-up rate threshold, the false wake-up rate exceeds 10% of the target wake-up rate. Then, increase the length of the frame check sequence FCS of the wake-up frame.
- the length of the frame check sequence FCS such as the wake-up frame can be increased from 8 bits to 10 bits.
- the retransmission rate of the wake-up frame exceeds the target retransmission rate threshold, for example, the retransmission rate exceeds 10% of the target retransmission rate.
- the length of the frame check sequence FCS of the wake-up frame is reduced. For example, it is reduced from 8 bits to 6 bits.
- the probability of the FCS error of the wake-up frame frame check sequence is reduced, thereby effectively reducing the retransmission rate of the wake-up frame.
- the check object of the frame check sequence of the wake-up frame is updated.
- the check object of the frame check sequence of the wake-up frame is updated, and the frame of the wake-up frame is reduced. Check the length of the sequence FCS.
- the checksum object of the frame check sequence FCS of the wake-up frame is Control Info, Network ID, and Receive Address, as shown in FIG.
- the adjustment object of the FCS is adjusted to Control Information and Network ID, as shown in 2, while reducing the frame of the wake-up frame.
- the type of frame check sequence FCS of the wake-up frame is a CRC or a hash algorithm or an encryption algorithm (Encryption). If the false wake-up rate of the wake-up frame exceeds the corresponding threshold and/or the retransmission rate of the wake-up frame exceeds the corresponding threshold, the type of the frame check sequence FCS is changed. For example, change the CRC algorithm to a hash algorithm.
- the AP 120 assigns a WUR ID to the STA 110 according to the estimated number of STAs associated with it, if the assigned WUR ID satisfies the Hamming distance described above (see step 401), the wake-up frame is reduced.
- the frame check sequence is the length of the FCS, and/or the FCS type is changed to a simple algorithm, and/or the test object is reduced.
- Step 603 The AP 120 calculates a frame check sequence FCS according to the control information (Control Info) and the check object of the frame check sequence FCS, and generates a "Control Info-FCS table" by using a corresponding algorithm (ie, the type of the FCS). , that is, Table 1.
- the method of Table 1 is specifically generated, as described in step 402 and corresponding content.
- the AP 120 can directly send the above table 1 to the STA 110.
- the AP 120 may also send at least one of the attributes of the frame check sequence FCS updated by the AP 120, including the length of the FCS, the type of the FCS, and the check object of the FCS, to the STA 110.
- the above table 1 is calculated and generated by the STA 110. The following will be generated by STA110 The "Control Info-FCS Table" is an example and continues to be elaborated.
- the AP 120 sends at least one of the attributes of the frame check sequence FCS of the AP 120, including the length of the FCS, the type of the FCS, and the check object of the FCS, to the STA 110.
- the AP 120 may also send one or more of the WUR ID, parity setting information, and network identity to the STA 110.
- the AP 120 may send one of the following contents through a Public Action Frame or a Probe Response Frame or an Association Response Frame or a Reassociation Response Frame. Or multiple to STA110: WUR ID, frame check sequence FCS type of wake-up frame, frame check sequence FCS length of wake-up frame, frame check sequence of wake-up frame FCS check object, network ID (Network ID) , parity bit setting information.
- the AP 120 loads the information that needs to be sent to the STA 110 as a new information element (IE) in a common action frame or probe response frame or association response frame or reassociation response frame.
- IE information element
- step 605 the STA 110 generates a “Control Info-FCS Table” according to the attribute of the frame check sequence FCS received by the STA. For details, refer to step 402 and related content description.
- Step 606 when the AP 120 needs to wake up the STA 110, the AP 120 generates a wake-up frame.
- the AP 120 obtains corresponding control information, such as the generated control information, according to the actual situation, for example, the transmission direction of the frame, the working channel used after the STA 120 is woken up, and the like. Then, the AP 120 queries the "Control Info-FCS correspondence table" in the AP 120 according to the control information 011100, that is, the query table 1, obtains the frame check sequence FCS corresponding to the control information 011100, and loads the frame check sequence into the wake-up frame. Inside, thereby generating a wake-up frame.
- the AP 120 may also calculate the frame check sequence FCS of the wake-up frame locally, for example, using a CRC algorithm, and load the calculated frame check sequence into the wake-up frame to generate a wake-up frame.
- FCS frame check sequence
- the "Control Info-FCS Correspondence Table" is not required.
- step 607 the AP 120 sends the wake-up frame to the first auxiliary wake-up module 112 of the STA 110.
- Step 608 the STA 110 checks whether the wake-up frame is correct according to the wake-up frame received by the STA and the "Control Info-FCS correspondence table" stored by the STA 110.
- the STA 110 acquires control information (Control Info) from the wake-up frame received by the STA 110. Then, the "Control Info-FCS correspondence table" in the STA 110 is queried to obtain a frame check sequence FCS corresponding to the control information (Control Info). The AP 120 compares the frame check sequence FCS obtained by the lookup table with the frame check sequence FCS carried in the wake-up frame received by the AP 120. If the two are the same, the wake-up frame is correct. If the two are different, the There is an error in the wakeup frame.
- the STA 110 may also calculate the frame check sequence FCS of the received wake-up frame locally, for example, using a CRC algorithm, and then compare with the frame check sequence FCS carried in the wake-up frame received therefrom, if If the two are the same, the wake-up frame is correct. If the two are different, the wake-up frame has an error. In this case, the "Control Info-FCS Correspondence Table" is not required.
- Step 609 in the case that the STA 110 determines that the received wake-up frame is correct, the first auxiliary wake-up module 112 of the STA 110 sends a wake-up signal to the first main communication module 111 to wake up the first main communication module 111.
- step 610 the STA 110 may choose to feed back to the AP 120 that the received wake-up frame is correct or incorrect.
- FIG. 7 is a schematic diagram of a method for an AP to send a wake-up frame to a STA according to another embodiment of the present invention.
- Step 701 The AP 120 determines that the AP 120 sends the wakeup of the first auxiliary wake-up module 112 to the STA 110.
- the frame check sequence of the frame is the property of the FCS.
- the wake-up frame is used to wake up the main communication module 111 of the STA 110.
- the properties of the FCS are parity setting information.
- the parity bit setting information refers to the position of the parity bit contained in the WUR ID and whether the parity bit is an even parity or an odd parity.
- the parity bit setting information is even parity, and if the high (N-1) bits of the WUR ID contain an even number of 1, the lowest bit of the WUR ID is one bit "1", otherwise the lowest bit of the WUR ID Is a bit "0".
- the parity setting information is an odd parity, and if the high (N-1) bits of the WUR ID include an odd number of 1, the lowest bit of the WUR ID is one bit "1", otherwise the WUR ID The lowest bit is one bit "0".
- the AP 120 further determines the WUR ID of the first auxiliary wake-up module 112 of the STA 110. For details, refer to step 401 and related content description.
- step 702 the AP 120 sends the WUR ID assigned to the STA 110 to the STA 110, and sends parity bit setting information to the STA 110.
- the parity setting information sent by the AP 120 to the STA 110 is even parity, and if the high (N-1) bits of the WUR ID contain an even number of 1, the lowest bit of the WUR ID is one bit "1"; otherwise The lowest bit of the WUR ID is one bit "0".
- the AP 120 may send the WUR ID to the STA 110 through a Public Action Frame or a Probe Response Frame or an Association Response Frame or a Reassociation Response Frame. Parity bit setting information.
- Step 703 the STA 110 saves the parity bit setting information it receives locally.
- STA 110 feeds back to AP 120 that WUR ID and parity bit setup information has been received.
- Step 704 when the AP 120 needs to wake up the STA 110, the AP 120 generates a wake-up frame, as shown in FIG. 8.
- FIG. 8 is a schematic structural diagram of still another wake-up frame according to an embodiment of the present invention.
- the wake-up frame includes a legacy 802.11 Preamble, a Wake-up Preamble, and a Receive Address, and the received address includes a parity bit.
- the last bit of the received address is a parity bit.
- a legacy 802.11 preamble (Legacy 802.11 Preamble) can be used for backward compatibility, so that the legacy Wi-Fi device AP 120 can judge the current frame as a Wi-Fi frame, thereby selecting a corresponding channel listening decision threshold and backoff. time.
- the wake-up frame can also be without the preamble of the traditional 802.11.
- the Receive Address is used to indicate the target recipient of the wake-up frame WUP.
- the receiving address can be a WUR ID.
- the receiving address may also include a network identifier and a WUR ID.
- Step 705 the AP 120 sends the wake-up frame to the first auxiliary wake-up module 112 of the STA 110.
- the wake-up frame is shown in FIG. 8.
- Step 706 after the STA 110 receives the wake-up frame, the STA 110 determines, according to the parity setting information stored in the local (obtained by step 702), whether the wake-up frame is correct or incorrect.
- the STA 110 stores the local parity bit setting information as if the WUR ID is high (N-1) If the bit has an even number of "1"s, the last bit of the WUR ID is "1"; otherwise the last bit of the WUR ID is "0". The STA 110 checks that the high (N-1) bits of the WUR ID of the received wake-up frame have four "1"s, indicating that the high (N-1) bits of the WUR ID have an even number of "1”s. The STA 110 checks that the last bit of the WUR ID is "1". The STA 110 can then determine that the wake-up frame is correct.
- Step 707 If the STA 110 determines that the received wake-up frame is correct, the first auxiliary wake-up module 112 of the STA 110 sends a wake-up signal to the first primary communication module 111 to wake up the first primary communication module 111, for example, to wake up Wi- Fi module.
- FIG. 9 is a schematic diagram of a wireless device according to an embodiment of the present invention.
- the wireless device is an AP device.
- the wireless device 900 includes a first primary communication module 910, a first auxiliary wake-up module 920, a processor 930, a memory 940, and a transceiver 950.
- the first primary communication module 910 can be an 802.11 module, such as a Wi-Fi module, for transmitting wake-up frames and transmitting and receiving other frames.
- 802.11 module such as a Wi-Fi module
- the first auxiliary wake-up module 920 is configured to receive a wake-up frame (WUP) sent by another wireless device (for example, an AP device); and after receiving the wake-up frame, send a wake-up signal to the first primary communication module 910 to wake up the primary communication.
- WUP wake-up frame
- Module 910 The first auxiliary wake-up module 920 is configured to receive a wake-up frame (WUP) sent by another wireless device (for example, an AP device); and after receiving the wake-up frame, send a wake-up signal to the first primary communication module 910 to wake up the primary communication. Module 910.
- WUP wake-up frame
- the processor 930 is configured to determine an attribute of a frame check sequence FCS of the wake-up frame of the second wireless interface (such as the second auxiliary wake-up module, not shown in FIG. 9) sent to the second wireless device (such as the STA device); the wake-up frame
- the frame check sequence FCS has at least two attributes.
- the attribute of the frame check sequence of the wake-up frame determined by the processor 930 is one attribute selected from the at least two attributes.
- the attribute of the FCS includes at least one of a type, a length, and a check object of the frame check sequence.
- the wake-up frame is used to wake up the main communication module 910.
- the processor 930 is further configured to generate a wake-up frame according to the determined attribute of the FCS.
- Memory 940 is used to store corresponding instructions and programs for use by processor 930.
- the transceiver 950 is configured to send, to the second wireless device, indication information for indicating an attribute of the frame check sequence, and a second wireless interface, configured to send the wake-up frame to the second wireless device, to Wake up the first wireless interface of the second wireless device.
- the first primary communication module 910 and the first secondary wake-up module 920 can share the same transceiver 950.
- the purpose of sharing the transceiver 950 is to reduce the hardware cost of the device and to simplify the implementation in the future.
- the first primary communication module 910 and the first secondary wake-up module 920 may also correspond to different transceivers, particularly when the two operate in different frequency bands.
- the wireless device 900 can be implemented by a system on a chip (SoC) or by an integrated circuit or by two hardware modules.
- SoC system on a chip
- the second wireless device is a station STA supporting an 802.11 protocol; the first wireless interface is a primary communication interface; and the second wireless interface is an auxiliary wake-up interface.
- the processor 930 is specifically configured to determine, according to one or more of the number of the second wireless device, the false wake-up rate, and the retransmission rate of the wake-up frame, to send to the second wireless device.
- the processor 930 is further configured to: acquire at least one of a false wakeup rate of the second wireless device, and a retransmission rate of the wakeup frame; wherein the false wakeup rate is the second wireless The ratio of the number of times the first wireless interface of the device is awake by the second wireless interface to the first time period in the first time period; the retransmission rate is the first wireless device in the second time period The number and the number of times the second wireless device retransmits the wake-up frame The ratio of the second time period is described.
- the attribute of the frame check sequence of the wake-up frame is selected by the processor from a list of attributes of a frame check sequence stored by the first wireless device.
- the wake-up frame includes at least a wake-up preamble and a receive address.
- the wake-up frame includes any one or more of the following: an 802.11 preamble, a network identification, control information, a frame check sequence.
- the check object of the frame check sequence FCS of the wake-up frame includes control information and a network identifier.
- the frame check sequence of the wake-up frame has a length of 0 or 1; when the length of the frame check sequence of the wake-up frame is 0, it indicates that the wake-up frame does not carry a frame check sequence; When the length of the frame check sequence of the wake-up frame is 1, it indicates that the wake-up frame carries a parity bit of one bit.
- the parity bit is used to verify the correctness of the received address or to verify the correctness of the wake-up frame.
- the second wireless interface is an auxiliary wake-up interface
- the receive address is an address of an auxiliary wake-up interface of the second wireless device
- the receive address is assigned by the first wireless device to the first An auxiliary wake-up interface of the second wireless device
- a distance between the second wireless device and an address of the auxiliary wake-up interface of another wireless device in the same basic service set of the second wireless device is greater than a first distance
- a distance is determined by the first wireless device based on a number of second wireless devices associated with the first wireless device and/or a length of an address of the secondary wake-up interface of the second wireless device.
- the wireless device 900 can perform any of the steps 401 to 408, 601 to 610, and 701 to 707, and details are not described herein.
- FIG. 10 is a schematic diagram of another wireless device according to an embodiment of the present invention.
- the wireless device is an AP device.
- the wireless device 100 includes a first primary communication module 110, a first auxiliary wake-up module 120, a processor 130, a memory 140, and a transceiver 150.
- the first primary communication module 110 may be an 802.11 module, such as a Wi-Fi module, for transmitting wake-up frames and transmitting and receiving other frames.
- 802.11 module such as a Wi-Fi module
- the first auxiliary wake-up module 120 is configured to receive a wake-up frame (WUP) sent by another wireless device (for example, an AP device); and after receiving the wake-up frame, send a wake-up signal to the first primary communication module 110 to wake up the primary communication. Module 110.
- WUP wake-up frame
- the processor 130 is configured to generate a wake-up frame; and in the first communication environment, the attribute of the frame check sequence FCS included in the wake-up frame adopts a first attribute; the wake-up frame is sent by the first wireless device to the second wireless a frame of a second wireless interface of the device (eg, a STA device) (eg, an auxiliary wake-up module of the second wireless device, not shown in FIG. 10), and the wake-up frame is used to wake up the second wireless device (eg, STA device) a first wireless interface (eg, a primary communication module of the second wireless device, not shown in FIG. 10); in the second communication environment, the attribute of the frame check sequence FCS included in the wake-up frame adopts a second attribute
- the first communication environment is superior to the second communication environment, the first attribute being different from the second attribute.
- the memory 140 is used to store corresponding instructions and programs for the processor 130 to call.
- the transceiver 150 is configured to send the wake-up frame to a second wireless interface of the second wireless device (eg, an auxiliary wake-up module of the second wireless device) to wake up the first wireless interface of the second wireless device (eg, , the first The main communication module of the second wireless device).
- a second wireless interface of the second wireless device eg, an auxiliary wake-up module of the second wireless device
- the transceiver 150 is configured to send the wake-up frame to a second wireless interface of the second wireless device (eg, an auxiliary wake-up module of the second wireless device) to wake up the first wireless interface of the second wireless device (eg, , the first The main communication module of the second wireless device).
- the first main communication module 110 and the first auxiliary wake-up module 120 can share the same transceiver 150.
- the purpose of sharing the transceiver 150 is to reduce the hardware cost of the device and to simplify the implementation in the future.
- the first primary communication module 110 and the first secondary wake-up module 120 may also correspond to different transceivers, especially when the two operate in different frequency bands.
- the wireless device 100 can be implemented by a system on a chip (SoC) or by an integrated circuit or by two hardware modules.
- SoC system on a chip
- the false wake-up rate of the wake-up frame in the first communication environment is lower than the false wake-up rate of the wake-up frame in the second communication environment, and/or the re-transmission of the wake-up frame in the first communication environment The rate is lower than the retransmission rate of the wake-up frame in the second communication environment.
- the first attribute is a length of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame check included in the second wake-up frame in the second communication environment.
- the length of the sequence FCS and in the case where the false wake-up rate of the wake-up frame in the second communication environment is higher than the false wake-up rate of the wake-up frame in the first communication environment, the frame included in the second wake-up frame
- the length of the check sequence is greater than the length of the frame check sequence included in the first wake-up frame.
- the first attribute is a length of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame check included in the second wake-up frame in the second communication environment.
- the length of the sequence FCS and in the case where the retransmission rate of the wake-up frame in the second communication environment is higher than the retransmission rate of the wake-up frame in the first communication environment, the frame included in the second wake-up frame
- the length of the check sequence is less than the length of the frame check sequence included in the first wake-up frame.
- the first attribute is a check object of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame included in the second wake-up frame in the second communication environment. Verifying the verification object of the sequence FCS; and in the case where the false wake-up rate of the wake-up frame in the second communication environment is higher than the false wake-up rate of the wake-up frame in the first communication environment, the second wake-up The frame check sequence included in the frame has more check objects than the frame check sequence included in the first wake frame.
- the first attribute is a check object of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame included in the second wake-up frame in the second communication environment. Verifying the verification object of the sequence FCS; and in the case where the retransmission rate of the wake-up frame in the second communication environment is higher than the retransmission rate of the wake-up frame in the first communication environment, the second wake-up The frame check sequence included in the frame has a check object smaller than the check object of the frame check sequence included in the first wake frame.
- the false wake-up rate is a ratio of the number of times the first wireless interface of the second wireless device is awake by the second wireless interface to the first time period in the first time period;
- the transmission rate is a ratio of the number of times the first wireless device retransmits the wake-up frame to the second wireless device in the second time period and the second time period.
- the wake-up frame includes at least a wake-up preamble and a receive address.
- the wake-up frame further includes any one or more of the following: an 802.11 preamble, a network identification, control information, and a frame check sequence.
- the check object of the frame check sequence of the wake-up frame includes control information and a network identifier.
- the frame check sequence of the wake-up frame has a length of 0 or 1; the frame check sequence of the wake-up frame When the length of the column is 0, it indicates that the wake-up frame does not carry a frame check sequence; when the length of the frame check sequence of the wake-up frame is 1, it indicates that the wake-up frame carries a parity bit of one bit.
- the parity bit is used to verify the correctness of the received address or to verify the correctness of the wake-up frame.
- the second wireless interface is an auxiliary wake-up interface
- the receiving address is an address of an auxiliary wake-up interface of the second wireless device
- the receiving address may be assigned by the first wireless device An auxiliary wake-up interface of the second wireless device
- a distance between the second wireless device and an address of the secondary wake-up interface of another wireless device in the same basic service set of the second wireless device is greater than the first distance;
- the first distance is determined by the first wireless device according to the number of second wireless devices associated with the first wireless device and/or the length of an address of the secondary wake-up interface of the second wireless device.
- the first wireless interface is a primary communication interface; the first wireless device is a wireless access node AP; and the second wireless device is a site STA supporting an 802.11 protocol.
- the wireless device 100 may perform any of the foregoing steps 401 to 408, 601 to 610, and 701 to 707, and details are not described herein again.
- the main communication interface can be called the main communication module; the auxiliary wake-up interface can also be called the auxiliary wake-up module or the WUR module or the WUR interface.
- each device embodiment may refer to related methods in the related method embodiments. Partial understanding.
- the device configuration diagrams given in the various device embodiments of the present invention show only a simplified design of the corresponding device.
- the device may include any number of transceivers, auxiliary wake-up modules, processors, memories, antennas, etc., to implement the functions or operations performed by the device in various embodiments of the present invention, and all of which may be implemented.
- the device to be applied is within the scope of this application.
- a person skilled in the art should further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本申请要求于2016年9月26日提交中国专利局、申请号为201610852694.0、发明名称为“一种发送唤醒帧的方法和设备”的中国专利申请的优先权,并要求于2017年4月7日提交中国专利局、申请号为201710224920.5、发明名称为“一种发送唤醒帧的方法及设备”的中国专利申请的优先权,它们的全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201610852694.0, entitled "Method and Apparatus for Sending Wakeup Frames", filed on September 26, 2016, and is filed on April 7, 2017. The priority of the Chinese Patent Application, which is hereby incorporated by reference in its entirety in its entirety in its entirety in the the the the the the the the the the
本发明涉及通信技术领域,尤其涉及发送唤醒帧的方法。The present invention relates to the field of communications technologies, and in particular, to a method for transmitting a wake-up frame.
IEEE 802.11标准组织计划制定基于无线保真(Wireless-Fidelity,Wi-Fi)的物联网(Internet of Things,IoT)标准,目标是将Wi-Fi技术推广应用到物联网领域,包括可穿戴电子设备和数字医疗设备。作为IoT设备如可穿戴电子设备的主要功耗模块,现有的Wi-Fi模块的功耗太大,不能直接应用于可穿戴电子设备等IoT设备中。这是因为可穿戴等IoT设备,例如,运动手环、智能手表、数字医疗设备等,一般体积较小,能携带的电池的体积和容量都很有限,而可穿戴电子设备对电池的续航时间却有着比较高的要求。为了将Wi-Fi技术应用到可穿戴电子设备等物联网领域中,改进和降低Wi-Fi通信技术的功耗是非常有必要的。The IEEE 802.11 standard organization plans to develop a Wireless-Fidelity (Wi-Fi)-based Internet of Things (IoT) standard, with the goal of promoting Wi-Fi technology to the Internet of Things, including wearable electronic devices. And digital medical equipment. As the main power consumption module of IoT devices such as wearable electronic devices, the existing Wi-Fi modules consume too much power and cannot be directly applied to IoT devices such as wearable electronic devices. This is because IoT devices such as wearables, such as sports bracelets, smart watches, digital medical devices, etc., are generally small in size, and the capacity and capacity of portable batteries are limited, while the wearable electronic devices have battery life. However, it has relatively high requirements. In order to apply Wi-Fi technology to the Internet of Things, such as wearable electronic devices, it is necessary to improve and reduce the power consumption of Wi-Fi communication technology.
在Wi-Fi通信技术中,采用支持802.11协议的站点(Station,STA)空闲侦听(idle listening)信道。然而,STA空闲侦听信道会浪费大量的电能。为了减少STA空闲侦听信道而带来的能量浪费,Wi-Fi技术引入了休眠机制,即Wi-Fi模块(即Wi-Fi接口)在没有数据传输的情况下,进入休眠并关闭收发射机。传统的Wi-Fi休眠机制可以降低Wi-Fi的功耗。然而,如果一个STA处于休眠状态,接入点(Access Point,AP)就不能向STA发送数据,AP需要等到STA醒来,这样就会增加通信时延,也不能实现按需(On-Demand)实时数据传输。In the Wi-Fi communication technology, a station (STA, i.e.) idle listening channel supporting the 802.11 protocol is employed. However, the STA idle listening channel wastes a lot of power. In order to reduce the energy waste caused by the STA idle listening channel, Wi-Fi technology introduces a dormancy mechanism, that is, the Wi-Fi module (ie, Wi-Fi interface) goes to sleep and closes the transmitter without data transmission. . The traditional Wi-Fi sleep mechanism can reduce the power consumption of Wi-Fi. However, if an STA is in a dormant state, the Access Point (AP) cannot send data to the STA. The AP needs to wait until the STA wakes up, which increases the communication delay and does not implement On-Demand. Real-time data transmission.
现有的一种解决方案是引入了超低功耗唤醒无线电/接收机(Wake-up Radio/Receiver,WUR)技术,期望能通过唤醒无线电/接收机降低Wi-Fi通信技术的平均功耗,同时可以实现按需(On-Demand)实时数据传输。辅助的唤醒无线电/接收机(WUR)是在无线设备上增加的一个超低功耗无线接口,与无线设备的主通信模块(例如,Wi-Fi模块)同时存在。当没有消息需要接收或传输时,第二无线设备的主通信模块(例如,Wi-Fi模块)进入深度休眠,并打开WUR模块进行超低功耗侦听。当第一无线设备(唤醒设备,例如,AP)有消息需要传输给第二无线设备(被唤醒设备,例如,STA)时,第一无线设备先向第二无线设备的WUR接口发送唤醒帧(Wake-up Packet,WUP),以唤醒第二无线设备的主通信模块(例如,802.11模块)。 One existing solution is to introduce an ultra-low power Wake-up Radio/Receiver (WUR) technology that is expected to reduce the average power consumption of Wi-Fi communication technology by waking up the radio/receiver. At the same time, on-demand real-time data transmission can be realized. Auxiliary Wake-up Radio/Receiver (WUR) is an ultra-low-power wireless interface added to wireless devices that coexists with the wireless device's primary communication module (eg, Wi-Fi module). When there is no message to receive or transmit, the primary communication module of the second wireless device (eg, Wi-Fi module) enters deep sleep and turns on the WUR module for ultra low power listening. When the first wireless device (wake-up device, eg, AP) has a message to transmit to the second wireless device (wake-up device, eg, STA), the first wireless device first sends a wake-up frame to the WUR interface of the second wireless device ( Wake-up Packet (WUP) to wake up the primary communication module (eg, 802.11 module) of the second wireless device.
现有技术中的一种唤醒帧里不携带帧校验序列(FCS)或很短的帧校验序列。这种唤醒帧的帧校验序列过短,帧校验序列的检错能力有限,容易造成误唤醒。A wake-up frame in the prior art does not carry a frame check sequence (FCS) or a short frame check sequence. The frame check sequence of such a wake-up frame is too short, and the error check capability of the frame check sequence is limited, which is likely to cause false wake-up.
还有一种唤醒帧,其携带固定长度的帧校验序列(FCS),所述帧校验序列的校验对象包括唤醒帧里的网络标识(Network ID)、接收地址(Receive Address)和控制信息(Control Info),即唤醒帧里的帧校验序列是根据网络标识(Network ID)、接收地址(Receive Address)和控制信息(Control Info)计算得到的。唤醒帧的帧校验序列的校验对象太多,需要校验的内容比较长,就要求需要比较长的帧校验序列。如果唤醒帧的帧校验序列过长,则帧校验序列容易出错,容易造成唤醒帧重传,即唤醒帧需要重传的概率会比较大。There is also a wake-up frame carrying a fixed length frame check sequence (FCS), and the check object of the frame check sequence includes a network identifier (Network ID), a receive address (Receive Address), and control information in the wake-up frame. (Control Info), that is, the frame check sequence in the wake-up frame is calculated according to the network ID (Network ID), the receive address (Receive Address), and the control information (Control Info). The frame check sequence of the wake-up frame has too many check objects, and the content to be verified is relatively long, which requires a relatively long frame check sequence. If the frame check sequence of the wake-up frame is too long, the frame check sequence is prone to error, which is likely to cause re-transmission of the wake-up frame, that is, the probability that the wake-up frame needs to be retransmitted is relatively large.
发明内容Summary of the invention
本发明实施例提供了一种发送唤醒帧的方法及设备,以减少唤醒过程中的误唤醒和重传。Embodiments of the present invention provide a method and a device for transmitting a wake-up frame to reduce false wake-up and retransmission during wake-up.
在第一方面,本发明实施例提供了一种发送唤醒帧的方法,包括:第一无线设备确定所述第一无线设备发送给第二无线设备的第二无线接口的唤醒帧的帧校验序列FCS的属性;所述确定出的FCS的属性包括所述帧校验序列的类型、长度和校验对象中的至少一个;所述唤醒帧用于唤醒所述第二无线设备的第一无线接口;所述第一无线设备通过所述第一无线设备的第一无线接口向所述第二无线设备发送用于指示所述帧校验序列的属性的指示信息;所述第一无线设备根据所述确定出的所述帧校验序列的属性,生成唤醒帧,并发送所述唤醒帧给所述第二无线设备的第二无线接口,以唤醒所述第二无线设备的第一无线接口。In a first aspect, an embodiment of the present invention provides a method for transmitting a wake-up frame, including: determining, by a first wireless device, a frame check of a wake-up frame sent by the first wireless device to a second wireless interface of the second wireless device An attribute of the sequence FCS; the determined attribute of the FCS includes at least one of a type, a length, and a check object of the frame check sequence; the wake-up frame is used to wake up the first wireless of the second wireless device The first wireless device transmits, by the first wireless interface of the first wireless device, indication information indicating an attribute of the frame check sequence to the second wireless device; the first wireless device is configured according to the first wireless device Determining an attribute of the frame check sequence, generating a wake-up frame, and sending the wake-up frame to a second wireless interface of the second wireless device to wake up the first wireless interface of the second wireless device .
在第二方面,本发明实施例提供了一种设备。该设备包括处理器和收发机。处理器用于确定发送给第二无线设备的第二无线接口的唤醒帧的帧校验序列FCS的属性;以及所述处理器用于根据所述确定出的所述FCS的属性,生成唤醒帧;所述唤醒帧用于唤醒所述第二无线设备的第一无线接口;所述确定出的FCS的属性包括所述FCS的类型、长度和校验对象中的至少一个;收发机,用于向所述第二无线设备发送用于指示所述帧校验序列的属性的指示信息,以及用于向所述第二无线设备的第二无线接口发送所述唤醒帧,以唤醒所述第二无线设备的第一无线接口In a second aspect, an embodiment of the present invention provides an apparatus. The device includes a processor and a transceiver. The processor is configured to determine an attribute of a frame check sequence FCS of the wake-up frame of the second wireless interface sent to the second wireless device; and the processor is configured to generate a wake-up frame according to the determined attribute of the FCS; The wake-up frame is used to wake up the first wireless interface of the second wireless device; the determined attribute of the FCS includes at least one of a type, a length, and a check object of the FCS; and a transceiver for The second wireless device sends indication information indicating an attribute of the frame check sequence, and configured to send the wake-up frame to a second wireless interface of the second wireless device to wake up the second wireless device First wireless interface
本发明实施例通过第一无线设备确定唤醒帧的帧校验序列的类型、长度、校验对象中的一个或多个,在提高帧校验序列的检错能力的同时控制了帧校验序列带来的通信开销,降低了误唤醒率和唤醒帧的重传率。The embodiment of the present invention determines, by the first wireless device, one or more types, lengths, and check objects of the frame check sequence of the wake-up frame, and controls the frame check sequence while improving the error detection capability of the frame check sequence. The communication overhead brought by it reduces the false wake-up rate and the retransmission rate of the wake-up frame.
在一个示例中,所述确定出的FCS的属性是从所述第一无线设备存储的帧校验序列FCS属性列表中选择出的至少一个属性。In one example, the determined attribute of the FCS is at least one attribute selected from a list of frame check sequence FCS attributes stored by the first wireless device.
在一个示例中,所述第一无线设备确定所述第一无线设备发送给所述第二无线设备的第二无线接口的唤醒帧的帧校验序列FCS的属性,具体为:所述第一无线设备根据所述第二无线设备的数量、误唤醒率、唤醒帧的重传率中的一个或多个,确定所述第一无线设备发送给所述第二无线设备的第二无线接口的唤醒帧的帧校验序列的属性。 In one example, the first wireless device determines an attribute of a frame check sequence FCS of the wake-up frame sent by the first wireless device to the second wireless interface of the second wireless device, specifically: the first Determining, by the wireless device, the second wireless interface sent by the first wireless device to the second wireless device according to one or more of the number of the second wireless device, the false wake-up rate, and the retransmission rate of the wake-up frame The property of the frame check sequence of the wake-up frame.
在一个示例中,在所述第一无线设备确定所述第一无线设备发送给所述第二无线设备的第二无线接口的唤醒帧的帧校验序列的属性之前,还包括:所述第一无线设备获取所述第二无线设备的误唤醒率、唤醒帧的重传率中的至少一个;其中,所述误唤醒率为所述第二无线设备的第一无线接口在第一时间段内被第二无线接口错误唤醒的次数与所述第一时间段的比值;所述重传率为所述第一无线设备在第二时间段内向所述第二无线设备重传唤醒帧的次数与所述第二时间段的比值。In an example, before the determining, by the first wireless device, the attribute of the frame check sequence of the wake-up frame of the second wireless interface sent by the first wireless device to the second wireless device, Obtaining, by the wireless device, at least one of a false wake-up rate of the second wireless device and a retransmission rate of the wake-up frame; wherein the false wake-up rate is the first wireless interface of the second wireless device in the first time period The ratio of the number of times the second wireless interface is awake by the second wireless interface to the first time period; the retransmission rate is the number of times the first wireless device retransmits the wake-up frame to the second wireless device in the second time period The ratio to the second time period.
本发明实施例通过获取第二无线设备的误唤醒率、唤醒帧的重传率中的至少一个,进而能够根据该误唤醒率、唤醒帧的重传率中的至少一个,确定唤醒帧的帧校验序列的类型、长度、校验对象中的至少一个。In the embodiment of the present invention, by acquiring at least one of a false wake-up rate and a retransmission rate of the wake-up frame of the second wireless device, the frame of the wake-up frame can be determined according to at least one of the false wake-up rate and the retransmission rate of the wake-up frame. At least one of the type, length, and check object of the check sequence.
本发明实施例的第一无线设备通过从预先存储的列表中选取唤醒帧的帧校验序列的属性,大大降低了第一无线设备的计算量,并进一步降低了通信开销。The first wireless device in the embodiment of the present invention greatly reduces the calculation amount of the first wireless device by selecting the attribute of the frame check sequence of the wake-up frame from the pre-stored list, and further reduces the communication overhead.
在一个示例中,所述唤醒帧至少包括唤醒前导和接收地址。In one example, the wake-up frame includes at least a wake-up preamble and a receive address.
本发明实施例,通过通过使唤醒帧仅包含唤醒前导和接收地址,从而使得唤醒帧的长度很短,降低了通信开销和唤醒帧的出错率。In the embodiment of the present invention, by making the wake-up frame only include the wake-up preamble and the receive address, the length of the wake-up frame is short, and the communication overhead and the error rate of the wake-up frame are reduced.
在一个示例中,所述唤醒帧还包括以下任意一个或多个:802.11前导、网络标识、控制信息、帧校验序列。In one example, the wake-up frame further includes any one or more of the following: an 802.11 preamble, a network identification, control information, and a frame check sequence.
在一个示例中,所述唤醒帧的帧校验序列FCS的校验对象包括控制信息和/或网络标识。In one example, the check object of the frame check sequence FCS of the wake-up frame includes control information and/or network identification.
在一个示例中,所述唤醒帧的帧校验序列的长度为0或1;所述唤醒帧的帧校验序列的长度为0时,表示所述唤醒帧不携带帧校验序列;所述唤醒帧的帧校验序列的长度为1时,表示所述唤醒帧携带一个比特的奇偶校验位。In one example, the frame check sequence of the wake-up frame has a length of 0 or 1; when the length of the frame check sequence of the wake-up frame is 0, it indicates that the wake-up frame does not carry a frame check sequence; When the length of the frame check sequence of the wake-up frame is 1, it indicates that the wake-up frame carries a parity bit of one bit.
本发明实施例能够根据通信环境的状况,确定唤醒帧的帧校验序列的长度,从而达到了帧校验序列的检错能力和帧校验序列的通信开销的有效平衡。The embodiment of the present invention can determine the length of the frame check sequence of the wake-up frame according to the condition of the communication environment, thereby achieving an effective balance between the error detection capability of the frame check sequence and the communication overhead of the frame check sequence.
在一个示例中,所述奇偶校验位用于校验所述接收地址的正确性,或者用于校验所述唤醒帧的正确性。In one example, the parity bit is used to verify the correctness of the received address or to verify the correctness of the wake-up frame.
在一个示例中,所述第二无线接口是辅助唤醒接口,所述接收地址是所述第二无线设备的辅助唤醒接口的地址;所述接收地址由所述第一无线设备分配给所述第二无线设备的辅助唤醒接口;且所述第二无线设备与所述第二无线设备在同一个基本服务集内的另一无线设备的辅助唤醒接口的地址之间的距离大于第一距离;所述第一距离由所述第一无线设备根据所述第一无线设备关联的第二无线设备的数量和/或所述第二无线设备的辅助唤醒接口的地址的长度确定。In one example, the second wireless interface is an auxiliary wake-up interface, the receive address is an address of an auxiliary wake-up interface of the second wireless device; the receive address is assigned by the first wireless device to the first An auxiliary wake-up interface of the second wireless device; and a distance between the second wireless device and an address of the auxiliary wake-up interface of another wireless device in the same basic service set of the second wireless device is greater than a first distance; The first distance is determined by the first wireless device according to the number of second wireless devices associated with the first wireless device and/or the length of an address of the secondary wake-up interface of the second wireless device.
本发明实施例通过在同一个基本服务集内的任意两个无线设备的辅助唤醒接口的地址之间的距离大于第一距离M,使得接收端在检测无线设备的地址时发生的错误小于等于M个比特。因此,本发明实施例在帧校验序列的长度一定情况下,降低了唤醒帧的重传率。In the embodiment of the present invention, when the distance between the addresses of the auxiliary wake-up interfaces of any two wireless devices in the same basic service set is greater than the first distance M, the error that occurs when the receiving end detects the address of the wireless device is less than or equal to M. Bits. Therefore, in the embodiment of the present invention, when the length of the frame check sequence is constant, the retransmission rate of the wake-up frame is reduced.
在一个示例中,所述第一无线接口为主通信接口;所述第一无线设备为无线访问节点AP;所述第二无线设备为支持802.11协议的站点STA。In one example, the first wireless interface is a primary communication interface; the first wireless device is a wireless access node AP; and the second wireless device is a site STA supporting an 802.11 protocol.
在第三方面,本发明实施例提供了一种发送唤醒帧的方法,包括:在第一通信环境下,第一无线设备生成第一唤醒帧,并通过所述第一无线设备的第一无线接口向第 二无线设备发送所述第一唤醒帧,所述第一唤醒帧中包含的帧校验序列FCS的属性采用第一属性;在第二通信环境下,所述第一无线设备生成第二唤醒帧,并通过所述第一无线设备的第一无线接口向所述第二无线设备发送所述第二唤醒帧,所述第二唤醒帧中包含的帧校验序列FCS的属性采用第二属性;其中,所述第一通信环境优于所述第二通信环境,所述第一属性与所述第二属性不同;所述第一、第二唤醒帧为第一无线设备发送给第二无线设备的第二无线接口的帧,且所述第一、第二唤醒帧用于唤醒所述第二无线设备的第一无线接口。In a third aspect, an embodiment of the present invention provides a method for transmitting a wake-up frame, including: in a first communication environment, a first wireless device generates a first wake-up frame, and passes the first wireless device of the first wireless device. Interface to the first The second wireless device sends the first wake-up frame, the attribute of the frame check sequence FCS included in the first wake-up frame adopts a first attribute; in the second communication environment, the first wireless device generates a second wake-up frame Transmitting, by the first wireless interface of the first wireless device, the second wake-up frame to the second wireless device, where the attribute of the frame check sequence FCS included in the second wake-up frame adopts a second attribute; The first communication environment is different from the second communication environment, and the first attribute is different from the second attribute; the first and second wake-up frames are sent by the first wireless device to the second wireless device. a frame of the second wireless interface, and the first and second wake-up frames are used to wake up the first wireless interface of the second wireless device.
在第四方面,本发明实施例提供了一种设备,包括:处理器,用于在第一通信环境下,生成第一唤醒帧;还用于在第二通信环境下,生成第二唤醒帧;收发机,用于在所述第一通信环境下,向第二无线设备发送所述第一唤醒帧,所述第一唤醒帧中包含的帧校验序列FCS的属性采用第一属性;还用于在所述第二通信环境下,向所述第二无线设备发送所述第二唤醒帧,所述第二唤醒帧中包含的帧校验序列FCS的属性采用第二属性;其中,所述第一通信环境优于所述第二通信环境,所述第一属性与所述第二属性不同;所述第一、第二唤醒帧为第一无线设备发送给第二无线设备的第二无线接口的帧,且所述第一、第二唤醒帧用于唤醒所述第二无线设备的第一无线接口。In a fourth aspect, an embodiment of the present invention provides an apparatus, including: a processor, configured to generate a first wake-up frame in a first communication environment, and to generate a second wake-up frame in a second communication environment. a transceiver, configured to send, in the first communications environment, the first wake-up frame to a second wireless device, where an attribute of a frame check sequence FCS included in the first wake-up frame adopts a first attribute; The second wake-up frame is sent to the second wireless device in the second communication environment, and the attribute of the frame check sequence FCS included in the second wake-up frame adopts a second attribute; The first communication environment is superior to the second communication environment, the first attribute is different from the second attribute; the first and second wake-up frames are second sent by the first wireless device to the second wireless device a frame of the wireless interface, and the first and second wake-up frames are used to wake up the first wireless interface of the second wireless device.
在一个示例中,所述第一通信环境下的唤醒帧的误唤醒率低于所述第二通信环境下唤醒帧的误唤醒率,和/或所述第一通信环境下唤醒帧的重传率低于所述第二通信环境下唤醒帧的重传率。In one example, the false wake-up rate of the wake-up frame in the first communication environment is lower than the false wake-up rate of the wake-up frame in the second communication environment, and/or the re-transmission of the wake-up frame in the first communication environment The rate is lower than the retransmission rate of the wake-up frame in the second communication environment.
在一个示例中,所述第一属性为第一通信环境下第一唤醒帧包含的帧校验序列FCS的长度;所述第二属性为第二通信环境下第二唤醒帧包含的帧校验序列FCS的长度;且在所述第二通信环境下的唤醒帧的误唤醒率高于所述第一通信环境下的唤醒帧的误唤醒率的情况下,所述第二唤醒帧包含的帧校验序列的长度大于所述第一唤醒帧包含的帧校验序列的长度。In one example, the first attribute is a length of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame check included in the second wake-up frame in the second communication environment. The length of the sequence FCS; and in the case where the false wake-up rate of the wake-up frame in the second communication environment is higher than the false wake-up rate of the wake-up frame in the first communication environment, the frame included in the second wake-up frame The length of the check sequence is greater than the length of the frame check sequence included in the first wake-up frame.
在一个示例中,所述第一属性为第一通信环境下第一唤醒帧包含的帧校验序列FCS的长度;所述第二属性为第二通信环境下第二唤醒帧包含的帧校验序列FCS的长度;且在所述第二通信环境下的唤醒帧的重传率高于所述第一通信环境下的唤醒帧的重传率的情况下,所述第二唤醒帧包含的帧校验序列的长度小于所述第一唤醒帧包含的帧校验序列的长度。In one example, the first attribute is a length of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame check included in the second wake-up frame in the second communication environment. The length of the sequence FCS; and in the case where the retransmission rate of the wake-up frame in the second communication environment is higher than the retransmission rate of the wake-up frame in the first communication environment, the frame included in the second wake-up frame The length of the check sequence is less than the length of the frame check sequence included in the first wake-up frame.
在一个示例中,所述第一属性为第一通信环境下第一唤醒帧包含的帧校验序列FCS的校验对象;所述第二属性为第二通信环境下第二唤醒帧包含的帧校验序列FCS的校验对象;且在所述第二通信环境下的唤醒帧的误唤醒率高于所述第一通信环境下的唤醒帧的误唤醒率的情况下,所述第二唤醒帧包含的帧校验序列的校验对象多于所述第一唤醒帧包含的帧校验序列的校验对象。In one example, the first attribute is a check object of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame included in the second wake-up frame in the second communication environment. Verifying the verification object of the sequence FCS; and in the case where the false wake-up rate of the wake-up frame in the second communication environment is higher than the false wake-up rate of the wake-up frame in the first communication environment, the second wake-up The frame check sequence included in the frame has more check objects than the frame check sequence included in the first wake frame.
在一个示例中,所述第一属性为第一通信环境下第一唤醒帧包含的帧校验序列FCS的校验对象;所述第二属性为第二通信环境下第二唤醒帧包含的帧校验序列FCS的校验对象;且在所述第二通信环境下的唤醒帧的重传率高于所述第一通信环境下的唤醒帧的重传率的情况下,所述第二唤醒帧包含的帧校验序列的校验对象少于所述第一唤醒帧包含的帧校验序列的校验对象。In one example, the first attribute is a check object of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame included in the second wake-up frame in the second communication environment. Verifying the verification object of the sequence FCS; and in the case where the retransmission rate of the wake-up frame in the second communication environment is higher than the retransmission rate of the wake-up frame in the first communication environment, the second wake-up The frame check sequence included in the frame has a check object smaller than the check object of the frame check sequence included in the first wake frame.
在一个示例中,所述误唤醒率为所述第二无线设备的第一无线接口在第一时间段 内被第二无线接口错误唤醒的次数与所述第一时间段的比值;所述重传率为所述第一无线设备在第二时间段内向所述第二无线设备重传唤醒帧的次数与所述第二时间段的比值。In one example, the false wake-up rate is the first wireless interface of the second wireless device during the first time period The ratio of the number of times the second wireless interface is awake by the second wireless interface to the first time period; the retransmission rate is the number of times the first wireless device retransmits the wake-up frame to the second wireless device in the second time period The ratio to the second time period.
在一个示例中,所述唤醒帧至少包括唤醒前导和接收地址。In one example, the wake-up frame includes at least a wake-up preamble and a receive address.
在另一个示例中,所述唤醒帧还包括以下任意一个或多个:传统802.11前导(Legacy 802.11Preamble)、网络标识(Network ID)、控制信息、帧校验序列。In another example, the wake-up frame further includes any one or more of the following: a legacy 802.11 preamble, a network ID, a control information, and a frame check sequence.
在又一个示例中,所述唤醒帧的帧校验序列的校验对象包括控制信息和/或网络标识In yet another example, the check object of the frame check sequence of the wake-up frame includes control information and/or network identification.
在一个示例中,所述唤醒帧的帧校验序列的长度为0或1;所述唤醒帧的帧校验序列的长度为0时,表示所述唤醒帧不携带帧校验序列;所述唤醒帧的帧校验序列的长度为1时,表示所述唤醒帧携带一个比特的奇偶校验位。In one example, the frame check sequence of the wake-up frame has a length of 0 or 1; when the length of the frame check sequence of the wake-up frame is 0, it indicates that the wake-up frame does not carry a frame check sequence; When the length of the frame check sequence of the wake-up frame is 1, it indicates that the wake-up frame carries a parity bit of one bit.
在一个示例中,所述奇偶校验位用于校验所述接收地址的正确性,或者用于校验所述唤醒帧的正确性。In one example, the parity bit is used to verify the correctness of the received address or to verify the correctness of the wake-up frame.
在一个示例中,所述第二无线接口是辅助唤醒接口,所述接收地址是所述第二无线设备的辅助唤醒接口的地址;所述接收地址由所述第一无线设备分配给所述第二无线设备的辅助唤醒接口;且所述第二无线设备与所述第二无线设备在同一个基本服务集内的另一无线设备的辅助唤醒接口的地址之间的距离大于第一距离;所述第一距离由所述第一无线设备根据所述第一无线设备关联的第二无线设备的数量和/或所述第二无线设备的辅助唤醒接口的地址的长度确定。In one example, the second wireless interface is an auxiliary wake-up interface, the receive address is an address of an auxiliary wake-up interface of the second wireless device; the receive address is assigned by the first wireless device to the first An auxiliary wake-up interface of the second wireless device; and a distance between the second wireless device and an address of the auxiliary wake-up interface of another wireless device in the same basic service set of the second wireless device is greater than a first distance; The first distance is determined by the first wireless device according to the number of second wireless devices associated with the first wireless device and/or the length of an address of the secondary wake-up interface of the second wireless device.
在一个示例中,所述第一无线接口为主通信接口;所述第一无线设备为无线访问节点AP;所述第二无线设备为支持802.11协议的站点STA。In one example, the first wireless interface is a primary communication interface; the first wireless device is a wireless access node AP; and the second wireless device is a site STA supporting an 802.11 protocol.
本发明实施例通过确定唤醒帧的帧校验序列FCS的属性,以及根据所述FCS的属性生成唤醒帧,从而在较少通信开销的同时降低了误唤醒和唤醒帧的重传。The embodiment of the invention determines the attribute of the frame check sequence FCS of the wake-up frame and generates the wake-up frame according to the attribute of the FCS, thereby reducing the re-transmission of the false wake-up and the wake-up frame with less communication overhead.
图1为AP唤醒STA的系统示意图;FIG. 1 is a schematic diagram of a system for an AP to wake up a STA;
图2为一种唤醒帧结构示意图;2 is a schematic diagram of a wake-up frame structure;
图3为另一种唤醒帧结构示意图;FIG. 3 is a schematic structural diagram of another wake-up frame;
图4为本发明一个实施例提供的AP向STA发送唤醒帧的方法示意图;FIG. 4 is a schematic diagram of a method for an AP to send a wake-up frame to a STA according to an embodiment of the present invention;
图5为一个WUR ID组示意图;Figure 5 is a schematic diagram of a WUR ID group;
图6为本发明另一个实施例提供的AP向STA发送唤醒帧的方法示意图;FIG. 6 is a schematic diagram of a method for an AP to send a wake-up frame to a STA according to another embodiment of the present invention;
图7为本发明又一个实施例提供的AP向STA发送唤醒帧的方法示意图;FIG. 7 is a schematic diagram of a method for an AP to send a wake-up frame to an STA according to another embodiment of the present invention;
图8为又一种唤醒帧结构示意图;FIG. 8 is a schematic diagram showing another structure of a wake-up frame;
图9为本发明一个实施例提供的发送唤醒帧的设备示意图;FIG. 9 is a schematic diagram of an apparatus for sending a wake-up frame according to an embodiment of the present invention;
图10为本发明另一个实施例提供的发送唤醒帧的设备示意图。FIG. 10 is a schematic diagram of an apparatus for sending a wake-up frame according to another embodiment of the present invention.
下面结合附图,对本发明实施例进行详细描述。 The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
在Wi-Fi通信技术中,为了降低功耗,引入了休眠机制,然而传统的休眠机制会带来通信时延的问题。为了降低传统Wi-Fi休眠机制带来的通信时延,STA通常会周期性醒来,检查AP有无数据需要传输给STA。然而此种方案,又会降低STA休眠时间比例,增加STA的能耗。为了解决上述问题,IEEE 802.11标准组织最近新成立了一个工作组(Task Group,TG),研究超低功耗唤醒无线电/接收机(Wake-upRadio/Receiver,WUR)技术和制定基于WUR的标准,期望能通过WUR技术降低Wi-Fi通信技术的平均功耗。In the Wi-Fi communication technology, in order to reduce power consumption, a sleep mechanism is introduced, but the conventional sleep mechanism brings about a problem of communication delay. In order to reduce the communication delay caused by the traditional Wi-Fi sleep mechanism, the STA usually wakes up periodically to check whether the AP has data to transmit to the STA. However, this solution will reduce the sleep time ratio of the STA and increase the energy consumption of the STA. In order to solve the above problems, the IEEE 802.11 standards organization recently established a Task Group (TG) to study ultra-low power Wake-up Radio/Receiver (WUR) technology and develop WUR-based standards. It is expected that the average power consumption of Wi-Fi communication technology can be reduced by WUR technology.
如图1所示,图1是AP唤醒STA的系统示意图。As shown in FIG. 1, FIG. 1 is a schematic diagram of a system for an AP to wake up a STA.
图1中,STA是被唤醒设备,AP是唤醒设备,即由唤醒设备AP唤醒被唤醒设备STA。In FIG. 1, the STA is a wake-up device, and the AP is a wake-up device, that is, the wake-up device AP wakes up the wake-up device STA.
STA可以是无线局域网(Wireless Local Area Networks,WLAN)中的客户端。例如,无线传感器网络节点,或者具有Wi-Fi模块的智能手机等。The STA can be a client in a Wireless Local Area Networks (WLAN). For example, a wireless sensor network node, or a smartphone with a Wi-Fi module, and the like.
AP是无线局域网的接入点设备,例如,Wi-Fi网络中的无线访问接入点。AP用于将多个STA连接在一起,以组建小型无线局域网。An AP is an access point device of a wireless local area network, for example, a wireless access point in a Wi-Fi network. The AP is used to connect multiple STAs together to form a small wireless local area network.
图1中,STA 110包括第一主通信模块111和第一辅助唤醒模块112。AP 120包括第二主通信模块121和第二辅助唤醒模块122。所述辅助唤醒模块可以为WUR模块。In FIG. 1, the
在一个示例中,该第一主通信模块111为802.11模块,例如Wi-Fi模块。该第一辅助唤醒模块112是具有超低功耗的WUR接口。In one example, the first primary communication module 111 is an 802.11 module, such as a Wi-Fi module. The first auxiliary wake-up module 112 is a WUR interface with ultra low power consumption.
在一个示例中,该第二主通信模块121为802.11模块,例如Wi-Fi模块。该第二辅助唤醒模块122是具有超低功耗的WUR接口。In one example, the second primary communication module 121 is an 802.11 module, such as a Wi-Fi module. The second auxiliary wake-up module 122 is a WUR interface with ultra low power consumption.
在STA 110中,当没有消息需要传输时,第一主通信模块111(如,Wi-Fi模块)进入深度休眠,进入功耗接近于零的状态,并且STA110(例如,STA110中的处理器,图1未示出)打开第一辅助唤醒模块112,进行超低功耗侦听。In
当唤醒设备AP 120有消息需要传输给被唤醒设备STA 110时,AP 120的第二主通信模块121向STA110的第一辅助唤醒模块112发送唤醒帧(Wake-up Packet,WUP)。When the wake-up
STA110的第一辅助唤醒模块112接收到该唤醒帧后,查看该唤醒帧的接收地址,并确认该唤醒帧的正确性和真实性。如果该唤醒帧携带的接收地址与STA110的第一辅助唤醒模块112的地址相匹配,并且该唤醒帧是正确的、真实的,那么该STA110的第一辅助唤醒模块112,向STA110的第一主通信模块111发送唤醒信号,以唤醒该第一主通信模块111。该第一辅助唤醒模块112在发送完唤醒信号以后,该第一辅助唤醒模块112进入深度休眠状态,即进入功耗接近于零的状态。After receiving the wake-up frame, the first auxiliary wake-up module 112 of the
上述方法由于使用了特别简单的电路以及信号处理方法,因此,STA110中的第一辅助唤醒模块112的平均能耗非常低。例如,当采用工作循环(Duty-Cycling)时,即所述辅助唤醒模块周期性醒来和休眠,该STA110中的第一辅助唤醒模块112的平均功耗大约是100μW(微瓦),大概只有第一主通信模块111如Wi-Fi模块的平均功耗的0.1%。相比直接开启第一主通信模块111如Wi-Fi模块进行信道侦听方法来说,上述采用第一辅助唤醒模块112向第一主通信模块111发送唤醒帧的方式,能够显著降低无线设备STA的平均功耗。唤醒帧WUP的接收和译码,比标准的Wi-Fi侦听信道而言,要简单很多。
The above method uses a particularly simple circuit and signal processing method, so the average power consumption of the first auxiliary wake-up module 112 in the
此外,唤醒帧WUP可采用易于接收端解调的调制方式,例如,二进制通断键控(On-Off Keying,OOK)调制。以OOK调制为例,STA 110通过有无能量判断接收信号承载的信息,例如,有能量为“1”,无能量为“0”。而对于标准的Wi-Fi帧,在AP需要进行二进制卷积编码(Binary Convolutional Coding,BCC)/低密度奇偶检验码(Low-Density Parity Check Codes,LDPC)和逆快速傅里叶变换(Inverse Fast Fourier Transformation,IFFT)等操作时,相应的在STA端需要执行快速傅里叶变换(Fast Fourier Transformation,FFT)和BCC/LDPC解码等复杂信号处理操作,而这些操作会耗费大量电能。In addition, the wake-up frame WUP can adopt a modulation method that is easy to be demodulated by the receiving end, for example, On-Off Keying (OOK) modulation. Taking OOK modulation as an example, the
目前,为了降低STA110中的第一辅助唤醒模块112的能耗并降低唤醒帧WUP出错的概率,唤醒帧WUP应该尽量短,且携带内容应该尽量少。为了降低唤醒帧WUP的误唤醒率且降低唤醒帧WUP的重传率,本发明实施例提出了一种可能的帧结构,参见图2。Currently, in order to reduce the power consumption of the first auxiliary wake-up module 112 in the
图2是本发明实施例提出的一种可能的唤醒帧结构(WUP Frame Format)。FIG. 2 is a possible WUP Frame Format according to an embodiment of the present invention.
图2中,该唤醒帧WUP包括传统802.11前导(Legacy 802.11Preamble)、唤醒前导(Wake-up Preamble)、控制信息(Control Info)、网络标识(Network ID)、接收地址(Receive Address)、奇偶校验位(Parity bit)、帧校验序列(Frame Check Sequence,FCS)。In FIG. 2, the wake-up frame WUP includes a legacy 802.11 Preamble, a Wake-up Preamble, a Control Info, a Network ID, a Receive Address, and a parity check. Parity bit, Frame Check Sequence (FCS).
需要说明的是,所述唤醒帧里可以没有奇偶校验位。或者所述唤醒帧里的奇偶校验位也可以是所述接收地址中的一个比特位。如果所述帧校验序列的长度不为0,且所述帧校验序列的校验对象包括控制信息和网络标识中一个或两个,则所述奇偶校验位也可以用来校验所述接收地址的正确性。It should be noted that there may be no parity bits in the wake-up frame. Or the parity bit in the wake-up frame may also be one of the received addresses. If the length of the frame check sequence is not 0, and the check object of the frame check sequence includes one or two of control information and network identifier, the parity bit may also be used to verify Describe the correctness of the receiving address.
传统802.11前导(Legacy 802.11Preamble)可以用于后向兼容,使得传统Wi-Fi设备AP 120能据此判断当前帧为Wi-Fi帧,从而选择相应的信道侦听判决阈值和退避时间。因为STA110中的第一辅助唤醒模块112不需要接收传统802.11的前导部分,因此出于传输效率的考虑,唤醒帧也可以不加传统802.11的前导。A legacy 802.11 preamble (Legacy 802.11 Preamble) can be used for backward compatibility, so that the legacy Wi-
唤醒前导(Wake-up Preamble)用于符号同步和自动增益控制(Automatic Gain Control,AGC)设置等。Wake-up Preamble is used for symbol synchronization and Automatic Gain Control (AGC) settings.
控制信息(Control Info)可以用于指示唤醒帧WUP的帧类型和其它信息。例如,控制信息(Control Info)为6比特(bit);1个bit指示帧的传输方向是上行或下行;1个bit指示帧类型,如“1”表示该帧类型为唤醒帧,“0”表示该帧不是唤醒帧;4个bit示出唤醒后使用的工作频道。Control Info can be used to indicate the frame type and other information of the wake-up frame WUP. For example, the control information (Control Info) is 6 bits; 1 bit indicates that the transmission direction of the frame is uplink or downlink; 1 bit indicates the frame type, such as "1" indicates that the frame type is a wake-up frame, "0" Indicates that the frame is not a wake-up frame; 4 bits show the working channel used after wake-up.
网络标识(Network ID)可以用于识别唤醒帧WUP所属的基本服务集(Basic Service Set,BSS)和/或AP信息。例如,该AP信息为AP媒体访问控制(Media Access Control,MAC)地址,或BSS color,或压缩的MAC地址,或BSSID,或压缩的BSSID。The Network ID can be used to identify the Basic Service Set (BSS) and/or AP information to which the Wakeup Frame WUP belongs. For example, the AP information is an AP Media Access Control (MAC) address, or a BSS color, or a compressed MAC address, or a BSSID, or a compressed BSSID.
在一个基本服务集BSS内,所有WUR的WUR ID的网络标识,都是相同的。该网络标识部分可以为BSS color。例如,一个基本服务集BSS内的所有WUR的WUR ID的前面6个比特(最高位6个比特)都是一样的,都是BSS color。In a basic service set BSS, the network identifiers of all WUR WUR IDs are the same. The network identification portion can be a BSS color. For example, the first 6 bits (the highest 6 bits) of the WUR ID of all WURs in a basic service set BSS are the same, both BSS color.
接收地址(Receive Address)用于指示唤醒帧WUP的目标接收者,该接收地址可以是WUR地址(WUR ID),即第一辅助唤醒模块112的地址。 The Receive Address is used to indicate the target recipient of the wake-up frame WUP, and the receive address may be a WUR address (WUR ID), that is, the address of the first auxiliary wake-up module 112.
需要说明的是,图2是以唤醒帧WUP包括传统802.11前导(Legacy 802.11Preamble)、唤醒前导(Wake-up Preamble)、控制信息(Control Info)、网络标识(Network ID)、接收地址(Receive Address)、唤醒帧校验序列FCS为例。此种情况下,接收地址(Receive Address)可以为WUR ID。其中,所述接收地址可以包括所述奇偶校验位,或者所述接收地址也可以不包括所述奇偶校验位。It should be noted that FIG. 2 is a wake-up frame WUP including a legacy 802.11 Preamble, a Wake-up Preamble, a Control Info, a Network ID, and a Receive Address. ), wake-up frame check sequence FCS as an example. In this case, the Receive Address can be a WUR ID. The receiving address may include the parity bit, or the receiving address may not include the parity bit.
实际上,唤醒帧WUP也可以包括传统802.11前导(Legacy 802.11Preamble)、唤醒前导(Wake-up Preamble)、控制信息(Control Info)、接收地址(Receive Address)、唤醒帧校验序列FCS;而网络标识(Network ID)包含于接收地址(Receive Address)中。此种情况下,接收地址(Receive Address)可以包括网络标识(Network ID)和WUR ID。参见图3。In fact, the wake-up frame WUP may also include a legacy 802.11 Preamble, a Wake-up Preamble, a Control Info, a Receive Address, and a Wakeup Frame Check Sequence FCS; The Network ID is included in the Receive Address. In this case, the Receive Address may include a Network ID and a WUR ID. See Figure 3.
图2中,奇偶校验位(Parity bit)可以用于校验接收地址(Receive Address)的正确性或者用于校验唤醒帧WUP的正确性。In FIG. 2, the parity bit (Parity bit) can be used to verify the correctness of the Receive Address or to verify the correctness of the wake-up frame WUP.
在一个示例中,该奇偶校验位(Parity bit)属于接收地址(Receive Address)的一部分。例如,接收地址(Receive Address)为WUR ID,且该WUR ID的最后一个比特(最低位)是奇偶校验位。In one example, the parity bit is part of the Receive Address. For example, the Receive Address is the WUR ID, and the last bit (the lowest bit) of the WUR ID is the parity bit.
例如,一种奇偶校验为:如果一个WUR ID的高位(N-1)个比特中有偶数个“1”,并且WUR ID的最低位的一个比特也为“1”,则WUR ID的奇偶校验位属于偶校验;如果一个WUR ID的高位(N-1)个比特中有奇数个“1”,并且WUR ID的最低位一个比特也为“1”,则WUR ID的奇偶校验位属于奇校验。For example, a parity check is: if there is an even number of "1"s in the upper (N-1) bits of a WUR ID, and a bit of the lowest bit of the WUR ID is also "1", the parity of the WUR ID The parity bit belongs to the even parity; if there is an odd number of "1"s in the upper (N-1) bits of a WUR ID, and the lowest bit of the WUR ID is also "1", the parity of the WUR ID Bits are odd parity.
又如,一种偶校验为,如果一个WUR ID的高位(N-1)个比特中有偶数个“1”,则该WUR ID的最低位的一个比特为“1”;如果一个WUR ID高位(N-1)个比特中有奇数个“1”,则该WUR ID的最低位的一个比特为“0”。For another example, an even parity is that if there is an even number of "1"s in the upper (N-1) bits of a WUR ID, then one bit of the lowest bit of the WUR ID is "1"; if a WUR ID If there are an odd number of "1"s in the upper (N-1) bits, then one bit of the lowest bit of the WUR ID is "0".
帧校验序列FCS可以用于帮助接收者校验所收到的唤醒帧WUP的内容的正确性,即检查所收到的唤醒帧WUP的内容在传输过程中有没有出错。The frame check sequence FCS can be used to help the receiver verify the correctness of the content of the received wake-up frame WUP, that is, check whether the content of the received wake-up frame WUP has an error during transmission.
唤醒帧WUP的帧校验序列FCS的校验对象可以包括控制信息(Control Info)和网络标识(Network ID)中的一个或两个。即唤醒帧里的帧校验序列FCS是根据控制信息(Control Info)和/或网络标识(Network ID)计算得到的。The checksum object of the frame check sequence FCS of the wakeup frame WUP may include one or both of control information (Control Info) and network identifier (Network ID). That is, the frame check sequence FCS in the wake-up frame is calculated according to control information (Control Info) and/or network ID (Network ID).
唤醒帧WUP的帧校验序列FCS的主要作用是防止误唤醒。该误唤醒是指STA 110的第一辅助唤醒模块112收到一个唤醒帧WUP,虽然该唤醒帧WUP不是发给STA 110的,但是由于在传输过程中发生了错误,该唤醒帧的接收地址错误成了STA 110的第一辅助唤醒模块112的地址,造成了误唤醒。The main function of the frame check sequence FCS of the wake-up frame WUP is to prevent false wake-up. The false wake-up means that the first auxiliary wake-up module 112 of the
目前,唤醒帧WUP里携带帧校验序列FCS的长度是固定的,然而,如果唤醒帧WUP的帧校验序列FCS过短,则帧校验序列FCS的检错能力有限,很可能检测不出来传输过程中发生的错误,容易造成误唤醒。如果唤醒帧WUP的帧校验序列FCS过长,唤醒帧的帧校验序列FCS的校验对象太多。例如,校验对象包括前述的唤醒帧里的控制信息(Control Info)、网络标识(Network ID)、接收地址(Receive Address)等,会造成通信开销过大。另外,过长的帧校验序列在传输过程中也容易出错,从而造成唤醒帧校验失败,需要重传唤醒帧。针对上述问题,本发明实施例提供了一种唤醒无线设备的方法。该方法通过统计一段时间内唤醒帧的误唤醒率以及重传率,自适 应调整帧校验序列FCS的长度,减少了唤醒帧的误唤醒以及重传。At present, the length of the FCS carrying the frame check sequence in the wakeup frame WUP is fixed. However, if the frame check sequence FCS of the wakeup frame WUP is too short, the error check capability of the frame check sequence FCS is limited, and it is likely that the frame check sequence FCS cannot be detected. Errors that occur during transmission are prone to false wake-ups. If the frame check sequence FCS of the wakeup frame WUP is too long, the frame check sequence FCS of the wakeup frame has too many check objects. For example, the verification object includes the control information (Control Info), the network identifier (Network ID), the receive address (Receive Address), and the like in the aforementioned wake-up frame, which may cause excessive communication overhead. In addition, an excessively long frame check sequence is also prone to errors during transmission, which causes a wake-up frame check failure and requires retransmission of the wake-up frame. In response to the above problem, an embodiment of the present invention provides a method for waking up a wireless device. The method calculates the false wake-up rate and the retransmission rate of the wake-up frame over a period of time, and the self-adaptation The length of the frame check sequence FCS should be adjusted to reduce false wake-up and retransmission of the wake-up frame.
本发明实施例提供的AP唤醒STA的方法主要应用于Wi-Fi网络中。例如,应用于基于Wi-Fi的物联网(IoT)和可穿戴式Wi-Fi网络中。可穿戴式Wi-Fi网络是指手机作为虚拟接入点(SoftAP)和关联的可穿戴设备(例如,智能手表)组成的Wi-Fi网络。The method for the AP to wake up the STA provided by the embodiment of the present invention is mainly applied to a Wi-Fi network. For example, it is applied to Wi-Fi-based Internet of Things (IoT) and wearable Wi-Fi networks. A wearable Wi-Fi network refers to a Wi-Fi network composed of a mobile phone as a virtual access point (SoftAP) and an associated wearable device (for example, a smart watch).
图4是本发明一个实施例提供的AP向STA发送唤醒帧的方法示意图。FIG. 4 is a schematic diagram of a method for an AP to send a wake-up frame to a STA according to an embodiment of the present invention.
步骤401,AP120确定该AP120发送给STA110的第一辅助唤醒模块112的唤醒帧的帧校验序列FCS的属性。该唤醒帧的帧校验序列FCS的属性至少包括唤醒帧的帧校验序列FCS的类型、唤醒帧的帧校验序列FCS的长度、唤醒帧的帧校验序列FCS的校验对象中的一个。该唤醒帧用于唤醒该STA110的主通信模块111。In step 401, the
唤醒帧的帧校验序列FCS的类型可以是默认的唤醒帧的帧校验序列的类型。例如,类型为循环冗余校验(Cyclic Redundancy Check,CRC)、哈希算法(Hash)或加密算法(Encryption)。The type of frame check sequence FCS of the wake-up frame may be the type of the frame check sequence of the default wake-up frame. For example, the type is a Cyclic Redundancy Check (CRC), a hash algorithm (Hash), or an encryption algorithm (Encryption).
唤醒帧的帧校验序列FCS的长度可以为32比特、16比特、8比特等。The frame check sequence FCS of the wake-up frame may be 32 bits, 16 bits, 8 bits, or the like.
唤醒帧的帧校验序列的校验对象可以包括控制信息(Control Info)和/或网络标识(Network ID),如图2所示。The check object of the frame check sequence of the wake-up frame may include control information (Control Info) and/or network ID (Network ID), as shown in FIG. 2.
唤醒帧的帧校验序列的校验对象也可以包括控制信息(Control Info)和/或网络标识(Network ID)和/或接收地址(Receive Address)。The check object of the frame check sequence of the wake-up frame may also include Control Info and/or Network ID and/or Receive Address.
唤醒帧的帧校验序列的校验对象也可以包括控制信息(Control Info)、网络标识(Network ID)和接收地址(Receive Address)中的一个或多个。The check object of the frame check sequence of the wake-up frame may also include one or more of Control Info, Network ID, and Receive Address.
在一个示例中,AP120还可以确定STA110的第一辅助唤醒模块111的WUR ID、网络标识(Network ID)、奇偶校验位设置信息和帧校验序列FCS中的一个或多个。In one example, the
该网络标识(Network ID)是AP确定的网络标识信息,一个基本服务集(BSS)内只有一个网络标识,例如,网络标识信息可以是BSS color,或者BSSID,或者压缩的BSSID。The network identifier (Network ID) is network identification information determined by the AP. There is only one network identifier in a basic service set (BSS). For example, the network identifier information may be a BSS color, or a BSSID, or a compressed BSSID.
该奇偶校验位设置信息是指WUR ID里面包含的奇偶校验位(Parity bit)的位置以及该奇偶校验位是偶校验还是奇校验,或者是WUR ID里面不包含奇偶校验位等有关奇偶校验位设置的相关信息。The parity bit setting information refers to the position of the parity bit (Parity bit) contained in the WUR ID and whether the parity bit is even parity or odd parity, or the parity flag is not included in the WUR ID. Information about the parity bit settings.
该WUR ID可以作为该唤醒帧中的接收地址(Receive Address),如图2所示。该WUR ID也可以作为该唤醒帧的接收地址(Receive Address)的一部分。此种情况下,该唤醒帧的接收地址(Receive Address)除包括WUR ID之外,还包括网络标识(Network ID),如图3所示。The WUR ID can be used as the Receive Address in the wake-up frame, as shown in Figure 2. The WUR ID can also be used as part of the Receive Address of the wake-up frame. In this case, the receiving address (Receive Address) of the wake-up frame includes a network ID (Network ID) in addition to the WUR ID, as shown in FIG.
下面详细阐述AP120如何确定STA110的第一辅助唤醒模块111的WUR ID。How the
在一个示例中,AP120估计可能会与其关联的STA的数量,为STA110确定WUR ID。In one example,
具体地,AP120可以随机生成多个WUR ID。假设,AP120随机生成K个WUR ID,每个WUR ID的长度为N比特(bit),任意两个不同的WUR ID之间的距离大于M。例如,参数K、N和M分别为100、32和16。或者,参数K、N和M也可以分别为10、32和16。又或者,参数K、N和M分别为3、32和16。
Specifically, the
在一个示例中,任意两个WUR ID的距离为汉明距离(Hamming distance)。即两个WUR ID的距离为两个WUR ID的对应位置上的不同的比特的个数。例如,随机生成的多个WUR ID,每个WUR ID的长度为32比特;一个WUR ID为0000 0000 0000 0000 0000 0000 0000 0000,另一个WUR ID为0000 0000 0000 0000 0000 1111 1111 1111。由于该两个WUR ID高12位对应位置的比特不同,所以该两个WUR ID的距离为12。In one example, the distance of any two WUR IDs is the Hamming distance. That is, the distance between the two WUR IDs is the number of different bits on the corresponding positions of the two WUR IDs. For example, a plurality of randomly generated WUR IDs each having a length of 32 bits; one WUR ID being 0000 0000 0000 0000 0000 0000 0000 0000, and another WUR ID being 0000 0000 0000 0000 0000 1111 1111 1111. Since the bits of the corresponding 12 positions of the two WUR IDs are different, the distance between the two WUR IDs is 12.
在WUR ID的长度N固定的情况下,例如,WUR ID的长度为32,则可以根据参数K和/或M的取值,生成多个WUR ID组(WUR ID Group)。例如,在N取值为32,且有两个WUR ID组的情况下,第一个WUR ID组中,K=3、M=16,参见图5,WUR ID数量为3,各WUR ID的距离大于16;第二个WUR ID组中,K=11、M=16(图5未示出)。When the length N of the WUR ID is fixed, for example, the length of the WUR ID is 32, a plurality of WUR ID groups can be generated according to the values of the parameters K and/or M. For example, if the value of N is 32 and there are two WUR ID groups, K=3 and M=16 in the first WUR ID group. See Figure 5, the number of WUR IDs is 3, and the WUR IDs are The distance is greater than 16; in the second WUR ID group, K = 11 and M = 16 (not shown in Fig. 5).
一个应用场景为,在可穿戴式Wi-Fi网络中,AP120估计该Wi-Fi网络中可能的STA数量为10。该AP120选择WUR ID组中K取值与其估计的AP120关联的WUR ID的数量,最接近的WUR ID组。以上述第一WUR ID组(N=32,K=3,M=16)和第二WUR ID组(N=32,K=11,M=16)为例,AP120会选择K=11的第二WUR ID组。原因是,AP120估计的可能与其关联的STA的数量10与K=11最接近。AP120选择该第二WUR ID组之后,从该WUR ID组中随机选取一个WUR ID分配给该STA110。One application scenario is that in a wearable Wi-Fi network, the
步骤402,在AP120关联STA110过程中,AP120通过第二主通信模块121向该STA110发送用于指示FCS的属性的指示信息,包括帧校验序列的类型、帧校验序列的长度、帧校验序列的对象中的一个或多个。Step 402: In the process of associating the
在一个示例中,AP120还可以向STA110发送WUR ID(由步骤401得到)、奇偶校验位设置信息、网络标识中的一个或多个。In one example, the
在一个示例中,AP120可以通过公共动作帧(Public Action Frame)或探测响应帧(Probe Response Frame)或关联响应帧(Association Response Frame)或重新关联响应帧(Reassociation Response Frame)发送以下内容中的一个或多个给STA110:WUR ID、唤醒帧的帧校验序列FCS的类型、唤醒帧的帧校验序列FCS的长度、唤醒帧的帧校验序列FCS的校验对象、网络标识(Network ID)、奇偶校验位设置信息。In one example, the
进一步地,AP120将需要发送给STA110的信息,作为一个新的信息元素(IE)装载在公共动作帧或探测响应帧或关联响应帧或重新关联响应帧中。Further, the
在一个示例中,FCS的校验对象是控制信息(Control Info)和/或网络标识(Network ID)。In one example, the verification object of the FCS is Control Info and/or Network ID.
由于,控制信息(Control Info)用于指示唤醒帧的帧类型等信息。例如,控制信息(Control Info)中的一个比特位用于指示帧的传输方向(上行或下行),另一个比特位用于指示帧类型,其它比特位用于指示STA被唤醒后的工作频道。因此,不同唤醒帧(Control Info)的控制信息可能不相同。Since, Control Info is used to indicate information such as the frame type of the wake-up frame. For example, one bit in the Control Info is used to indicate the transmission direction (uplink or downlink) of the frame, another bit is used to indicate the frame type, and other bits are used to indicate the working channel after the STA is woken up. Therefore, the control information of different wake-up frames (Control Info) may be different.
而网络标识(Network ID)用于指示唤醒帧WUP所属的基本服务集(Basic Service Set,BSS)和/或AP信息。该AP信息如AP的媒体访问控制(Media Access Control,MAC)地址,或者压缩的MAC地址,或者BSS color,或者BSSID,或者压缩的BSSID。由于,同一Wi-Fi网络,基本服务集BSS和AP信息是确定的,因此网络标识(Network ID)是确定的。The network ID is used to indicate the basic service set (BSS) and/or AP information to which the wake-up frame WUP belongs. The AP information is, for example, an AP's Media Access Control (MAC) address, or a compressed MAC address, or a BSS color, or a BSSID, or a compressed BSSID. Since the same Wi-Fi network, the basic service set BSS and AP information is determined, so the network identity (Network ID) is ok.
帧校验序列FCS的校验对象包括控制信息(Control Info)和/或网络标识(Network ID)。对于AP发送给不同STA的不同的唤醒帧,控制信息(Control Info)是不相同的,而网络标识(Network ID)是相同的。The checksum object of the frame check sequence FCS includes control information (Control Info) and/or network identifier (Network ID). For different wake-up frames sent by the AP to different STAs, the Control Info is different, and the Network ID is the same.
在唤醒帧中,帧校验序列FCS是将校验对象(例如,包括控制信息、网络标识等)通过特定算法计算得出的,该特定算法与FCS类型有关。例如,FCS类型为CRC时,则采用的算法为CRC算法。In the wake-up frame, the frame check sequence FCS is calculated by a specific algorithm (for example, including control information, network identification, etc.), which is related to the FCS type. For example, when the FCS type is CRC, the algorithm used is the CRC algorithm.
因此,帧校验序列FCS与控制信息(Control Info)一一相对应。也就是说,控制信息(Control Info)改变,唤醒帧的帧校验序列FCS随之改变。基于此,AP120可以根据控制信息、网络标识并采用相应算法如CRC算法,计算得出帧校验序列FCS。Therefore, the frame check sequence FCS corresponds to the control information (Control Info) one by one. That is to say, the control information (Control Info) changes, and the frame check sequence FCS of the wake-up frame changes accordingly. Based on this, the
在一个示例中,AP120将控制信息(Control Info)与计算得出的帧校验序列FCS通过表格的方式存储起来,生成“Control Info-FCS表”,参见下表1。In one example, the
表1Table 1
表1中,在控制信息为“000000”时,计算得出的FCS为“FCS#0”;在控制信息为“000001”时,计算得出的FCS为“FCS#1”;在控制信息为“000010”时,计算得出的FCS为“FCS#2”;……;在控制信息为“111111”时,计算得出的FCS为“FCS#63”。其中,“FCS#0”、“FCS#1”、“FCS#2”……“FCS#63”分别为根据相应控制信息的数值,得出的FCS值。In Table 1, when the control information is "000000", the calculated FCS is "FCS#0"; when the control information is "000001", the calculated FCS is "
在本实施例中,唤醒帧的帧校验序列FCS的校验对象可以只包括控制信息(Control Info)和/或网络标识(Network ID),所以“Control Info-FCS表”中的帧校验序列FCS是根据控制信息(Control Info)和/或网络标识(Network ID)生成的。唤醒帧的帧校验序列FCS的校验对象还可以包括控制信息(Control Info)、网络标识(Network ID)和接收地址(Receive Address),那么“Control Info-FCS表”中的帧校验序列FCS就是根据控制信息(Control Info)、网络标识(Network ID)和接收地址(Receive Address)生成。唤醒帧的帧校验序列FCS的校验对象还可以包括控制信息(Control Info)和/或网络标识(Network ID)和/或接收地址(Receive Address),那么“Control Info-FCS表”中的帧校验序列FCS就是根据控制信息(Control Info)和/或网络标识(Network ID)和/或接收地址(Receive Address)生成。该生成算法(即FCS的类型)可以是CRC算法或Hash算法或加密算法等。In this embodiment, the check object of the frame check sequence FCS of the wake-up frame may only include control information (Control Info) and/or network ID (Network ID), so the frame check in the "Control Info-FCS Table" The sequence FCS is generated based on Control Info and/or Network ID. The frame check sequence of the wake-up frame The check object of the FCS may also include control information (Control Info), network identifier (Network ID), and receive address (Receive Address), then the frame check sequence in the "Control Info-FCS Table" FCS is generated based on Control Info, Network ID, and Receive Address. The frame check sequence of the wake-up frame The check object of the FCS may also include control information (Control Info) and/or network identifier (Network ID) and/or receive address (Receive Address), then in the "Control Info-FCS Table" The frame check sequence FCS is generated based on Control Info and/or Network ID and/or Receive Address. The generation algorithm (ie, the type of FCS) may be a CRC algorithm or a hash algorithm or an encryption algorithm or the like.
需要说明的是,该“Control Info-FCS表”,即表1,可以由AP120和STA110分别生成,并分别存储;该“Control Info-FCS表”也可以由AP120生成该“Control Info-FCS表”,然后再将该“Control Info-FCS表”后发送给STA110,由STA110存
储在本地。无论是由AP120和STA110分别生成各自的“Control Info-FCS表”,还是由AP120生成该“Control Info-FCS表”后再发送给该STA110,存储在AP120的“Control Info-FCS表”和存储在STA110的“Control Info-FCS表”是完全一样的。It should be noted that the “Control Info-FCS Table”, that is, Table 1, may be separately generated by the
步骤403,STA110可以选择确认其已经接收到来自AP120的用于指示FCS属性的指示信息。In step 403, the
步骤404,当AP120需要唤醒STA110时,该AP120生成唤醒帧。Step 404, when the
具体地,AP120根据实际情况,例如,帧的传输方向、STA120被唤醒后使用的工作频道等,得到相应控制信息如生成的控制信息为011100。然后,AP120根据控制信息011100查询AP120中的“Control Info–FCS对应表”,即查询表1,得到该控制信息011100对应的帧校验序列FCS,并将该帧校验序列,装填到该唤醒帧里,从而生成唤醒帧。或者该AP120也可以在其本地计算该唤醒帧的帧校验序列FCS,例如,使用CRC算法,并将该计算的帧校验序列装填到该唤醒帧里,从而生成唤醒帧。这种情况下就不需要“Control Info–FCS对应表”。Specifically, the
步骤405,AP120向STA110的第一辅助唤醒模块112发送该唤醒帧。In step 405, the
步骤406,该STA110根据其接收到的该唤醒帧,以及该STA110存储的“Control Info–FCS对应表”,检查该唤醒帧是否正确。Step 406: The
具体地,该STA110从其接收到的该唤醒帧中,获取控制信息(Control Info)。然后,查询该STA110中的“Control Info–FCS对应表”,得到该控制信息(Control Info)对应的帧校验序列FCS。AP120将查表得到的帧校验序列FCS,与从其接收到的该唤醒帧里携带的帧校验序列FCS进行比较,如果两者相同,则该唤醒帧正确,如果两者不同,则该唤醒帧有错误。或者该STA110也可以在其本地计算所收到的唤醒帧的帧校验序列FCS,例如,使用CRC算法,再与从其接收到的该唤醒帧里携带的帧校验序列FCS进行比较,如果两者相同,则该唤醒帧正确,如果两者不同,则该唤醒帧有错误。Specifically, the
步骤407,在STA110确定其接收到的唤醒帧是正确的情况下,STA110的第一辅助唤醒模块112向第一主通信模块111发送唤醒信号,以唤醒该第一主通信模块111。Step 407: In the case that the
步骤408,STA110可以选择向AP120反馈其接收到的唤醒帧正确或者该唤醒帧是错误的。In step 408, the
图6是本发明另一个实施例提供的AP向STA发送唤醒帧的方法示意图。FIG. 6 is a schematic diagram of a method for an AP to send a wake-up frame to a STA according to another embodiment of the present invention.
步骤601,AP120统计一段时间内STA的误唤醒率和/或唤醒帧重传率。In step 601, the
在一个示例中,该误唤醒率是指STA110的主通信模块(如,Wi-Fi接口)在一个时间段内,被误唤醒的次数与该时间段的比值。In one example, the false wake-up rate refers to the ratio of the number of times the
在一个示例中,该唤醒帧重传率是指AP120在一个时间段内重传唤醒帧给STA110的次数与该时间段的比值。In one example, the wake-up frame retransmission rate refers to the ratio of the number of times the
需要说明的是,AP120可以统计一个时间段内STA110的主通信模块(如,Wi-Fi接口)被误唤醒的次数,从而得到该STA110的主通信模块(如,Wi-Fi接口)的误唤醒率。或者由STA110统计一个时间段内该STA110的主通信模块(如,Wi-Fi接口)被误唤醒的次数,从而得到该STA110的主通信模块(如,Wi-Fi接口)的误唤醒率,并反馈给AP120。
It should be noted that the
同样,AP120可以统计一个时间段内重传给STA110的唤醒帧的次数,从而得到发送给该STA110的唤醒帧的重传率。或者由STA10统计一个时间段内,重传给该STA110的唤醒帧的次数,从而得到发送给该STA110的唤醒帧的重传率,并反馈给AP120。Similarly, the
步骤602,AP120根据误唤醒率和/或唤醒帧的重传率,确定发送给STA110的唤醒帧的帧校验序列FCS的属性,包括帧校验序列FCS的类型、帧校验序列FCS的长度、帧校验序列FCS的校验对象中的至少一个。Step 602: The
在一个示例中,在唤醒帧的误唤醒率超出相应阈值,和/或唤醒帧的重传率超出相应阈值的情况下,更新帧校验序列FCS的长度。In one example, the length of the frame check sequence FCS is updated if the false wake-up rate of the wake-up frame exceeds a respective threshold, and/or the retransmission rate of the wake-up frame exceeds a respective threshold.
例如,在唤醒帧的误唤醒率超过目标误唤醒率阈值的情况下,如误唤醒率超过目标唤醒率的10%。那么,增加唤醒帧的帧校验序列FCS的长度。如唤醒帧的帧校验序列FCS的长度可以由8比特增加到10比特。For example, if the false wake-up rate of the wake-up frame exceeds the target false wake-up rate threshold, the false wake-up rate exceeds 10% of the target wake-up rate. Then, increase the length of the frame check sequence FCS of the wake-up frame. The length of the frame check sequence FCS such as the wake-up frame can be increased from 8 bits to 10 bits.
又如,在唤醒帧的重传率超过目标重传率阈值的情况下,如重传率超过目标重传率的10%。那么,减小唤醒帧的帧校验序列FCS的长度。例如,由8比特减小到6比特。本发明实施例,通过截短唤醒帧的帧校验序列FCS的长度,减少了唤醒帧帧校验序列FCS出错的概率,从而有效地降低唤醒帧的重传率。For another example, if the retransmission rate of the wake-up frame exceeds the target retransmission rate threshold, for example, the retransmission rate exceeds 10% of the target retransmission rate. Then, the length of the frame check sequence FCS of the wake-up frame is reduced. For example, it is reduced from 8 bits to 6 bits. In the embodiment of the present invention, by shortening the length of the frame check sequence FCS of the wake-up frame, the probability of the FCS error of the wake-up frame frame check sequence is reduced, thereby effectively reducing the retransmission rate of the wake-up frame.
在一个示例中,在唤醒帧的误唤醒率超出相应阈值,和/或唤醒帧的重传率超出相应阈值的情况下,则更新唤醒帧的帧校验序列的校验对象。In one example, where the false wake-up rate of the wake-up frame exceeds a respective threshold, and/or the retransmission rate of the wake-up frame exceeds a respective threshold, then the check object of the frame check sequence of the wake-up frame is updated.
进一步地,在唤醒帧的误唤醒率超出相应阈值,和/或唤醒帧的重传率超出相应阈值的情况下,更新唤醒帧的帧校验序列的校验对象,并且减小唤醒帧的帧校验序列FCS的长度。Further, in the case that the false wake-up rate of the wake-up frame exceeds the corresponding threshold, and/or the retransmission rate of the wake-up frame exceeds the corresponding threshold, the check object of the frame check sequence of the wake-up frame is updated, and the frame of the wake-up frame is reduced. Check the length of the sequence FCS.
例如,唤醒帧的帧校验序列FCS的校验对象为控制信息(Control Info)、网络标识(Network ID)和接收地址(Receive Address),如图3所示,当AP120统计一段时间内误唤醒率低于相应阈值和/或重传率低于相应阈值时,调整FCS的校验对象为控制信息(Control Info)和网络标识(Network ID),如2所示,同时减小唤醒帧的帧校验序列FCS的长度。For example, the checksum object of the frame check sequence FCS of the wake-up frame is Control Info, Network ID, and Receive Address, as shown in FIG. When the rate is lower than the corresponding threshold and/or the retransmission rate is lower than the corresponding threshold, the adjustment object of the FCS is adjusted to Control Information and Network ID, as shown in 2, while reducing the frame of the wake-up frame. Check the length of the sequence FCS.
在一个示例中,该唤醒帧的帧校验序列FCS的类型是CRC或哈希算法(Hash)或加密算法(Encryption)。如果唤醒帧的误唤醒率超出相应阈值和/或唤醒帧的重传率超出相应阈值,则改变帧校验序列FCS的类型。例如,将CRC算法改为哈希算法。In one example, the type of frame check sequence FCS of the wake-up frame is a CRC or a hash algorithm or an encryption algorithm (Encryption). If the false wake-up rate of the wake-up frame exceeds the corresponding threshold and/or the retransmission rate of the wake-up frame exceeds the corresponding threshold, the type of the frame check sequence FCS is changed. For example, change the CRC algorithm to a hash algorithm.
在一个示例中,在AP120根据其估计的与其关联的STA的数量,为STA110分配WUR ID时,若分配的该WUR ID满足前文所述的汉明距离(参见步骤401),则减小唤醒帧的帧校验序列FCS的长度,和/或将FCS的类型改为简单的算法,和/或减少检验对象等。In one example, when the
步骤603,AP120根据控制信息(Control Info)以及帧校验序列FCS的校验对象,并通过相应算法(即FCS的类型),计算得到帧校验序列FCS,并生成“Control Info-FCS表”,即上表1。具体生成表1的方法,详见步骤402及相应内容阐述。Step 603: The
需要说明的是,AP120可以直接将上表1发送给STA110。AP120也可以将AP120更新后的帧校验序列FCS的属性,包括FCS的长度、FCS的类型、FCS的校验对象中的至少一个,发送给STA110。由STA110计算并生成上表1。下面将以STA110生成
该“Control Info-FCS表”为例,继续阐述。It should be noted that the
步骤604,AP120将AP120更新后的帧校验序列FCS的属性,包括FCS的长度、FCS的类型、FCS的校验对象中的至少一个,发送给STA110。In step 604, the
在一个示例中,AP120还可以向STA110发送WUR ID、奇偶校验位设置信息、网络标识中的一个或多个。In one example, the
在一个示例中,AP120可以通过公共动作帧(Public Action Frame)或探测响应帧(Probe Response Frame)或关联响应帧(Association Response Frame)或重新关联响应帧(Reassociation Response Frame)发送以下内容中的一个或多个给STA110:WUR ID、唤醒帧的帧校验序列FCS的类型、唤醒帧的帧校验序列FCS的长度、唤醒帧的帧校验序列FCS的校验对象、网络标识(Network ID)、奇偶校验位设置信息。In one example, the
进一步地,AP120将需要发送给STA110的信息,作为一个新的信息元素(IE)装载在公共动作帧或探测响应帧或关联响应帧或重新关联响应帧中。Further, the
步骤605,STA110根据其收到的帧校验序列FCS的属性,生成“Control Info-FCS表”,具体生成方法,参见步骤402及相关内容描述。In step 605, the
步骤606,当AP120需要唤醒STA110时,该AP120生成唤醒帧。Step 606, when the
具体地,AP120根据实际情况,例如,帧的传输方向、STA120被唤醒后使用的工作频道等,得到相应控制信息如生成的控制信息为011100。然后,AP120根据控制信息011100查询AP120中的“Control Info–FCS对应表”,即查询表1,得到该控制信息011100对应的帧校验序列FCS,并将该帧校验序列装填到该唤醒帧里,从而生成唤醒帧。或者该AP120也可以在其本地计算该唤醒帧的帧校验序列FCS,例如,使用CRC算法,并将该计算的帧校验序列装填到该唤醒帧里,从而生成唤醒帧。这种情况下就不需要“Control Info–FCS对应表”。Specifically, the
步骤607,AP120向STA110的第一辅助唤醒模块112发送该唤醒帧。In step 607, the
步骤608,该STA110根据其接收到的该唤醒帧,以及该STA110存储的“Control Info–FCS对应表”,检查该唤醒帧是否正确。Step 608, the
具体地,该STA110从其接收到的该唤醒帧中,获取控制信息(Control Info)。然后,查询该STA110中的“Control Info–FCS对应表”,得到该控制信息(Control Info)对应的帧校验序列FCS。AP120将查表得到的帧校验序列FCS,与从其接收到的该唤醒帧里携带的帧校验序列FCS进行比较,如果两者相同,则该唤醒帧正确,如果两者不同,则该唤醒帧有错误。或者该STA110也可以在其本地计算所收到的唤醒帧的帧校验序列FCS,例如,使用CRC算法,再与从其接收到的该唤醒帧里携带的帧校验序列FCS进行比较,如果两者相同,则该唤醒帧正确,如果两者不同,则该唤醒帧有错误。这种情况下就不需要“Control Info–FCS对应表”。Specifically, the
步骤609,在STA110确定其接收到的唤醒帧是正确的情况下,STA110的第一辅助唤醒模块112向第一主通信模块111发送唤醒信号,以唤醒该第一主通信模块111。Step 609, in the case that the
步骤610,STA110可以选择向AP120反馈其接收到的唤醒帧是正确或者是错误的。In step 610, the
图7是本发明又一个实施例提供的AP向STA发送唤醒帧的方法示意图。FIG. 7 is a schematic diagram of a method for an AP to send a wake-up frame to a STA according to another embodiment of the present invention.
步骤701,AP120确定该AP120发送给STA110的第一辅助唤醒模块112的唤醒
帧的帧校验序列FCS的属性。该唤醒帧用于唤醒该STA110的主通信模块111。该FCS的属性为奇偶校验位设置信息。该奇偶校验位设置信息是指WUR ID里面包含的奇偶校验位的位置以及该奇偶校验位是偶校验还是奇校验。Step 701: The
假设WUR ID的长度为N。例如,奇偶校验位设置信息为偶校验,且若WUR ID的高(N-1)位中包含偶数个1,则WUR ID的最低位为一个比特“1”,否则WUR ID的最低位为一个比特“0”。Assume that the length of the WUR ID is N. For example, the parity bit setting information is even parity, and if the high (N-1) bits of the WUR ID contain an even number of 1, the lowest bit of the WUR ID is one bit "1", otherwise the lowest bit of the WUR ID Is a bit "0".
又如,该奇偶校验位设置信息为奇校验,且若WUR ID的高(N-1)位中包含奇数个1,则WUR ID的最低位为一个比特“1”,否则WUR ID的最低位为一个比特“0”。For another example, the parity setting information is an odd parity, and if the high (N-1) bits of the WUR ID include an odd number of 1, the lowest bit of the WUR ID is one bit "1", otherwise the WUR ID The lowest bit is one bit "0".
在一个示例中,AP120还确定STA110的第一辅助唤醒模块112的WUR ID,具体方法参见步骤401及相关内容描述。In an example, the
步骤702,AP120向STA110发送分配给该STA110的WUR ID,以及向该STA110发送奇偶校验位设置信息。In step 702, the
例如,AP120向STA110发送的奇偶校验位设置信息为偶校验,且若WUR ID的高(N-1)位中包含偶数个1,则WUR ID的最低位为一个比特“1”;否则,WUR ID的最低位为一个比特“0”。For example, the parity setting information sent by the
在一个示例中,AP120可以通过公共动作帧(Public Action Frame)或探测响应帧(Probe Response Frame)或关联响应帧(Association Response Frame)或重新关联响应帧(Reassociation Response Frame)向STA110发送WUR ID以及奇偶校验位设置信息。In an example, the
步骤703,STA110将其接收到的奇偶校验位设置信息保存在本地,Step 703, the
在一个示例中,STA110向AP120反馈已经接收到WUR ID及奇偶校验位设置信息。In one example,
步骤704,当AP120需要唤醒STA110时,该AP120生成唤醒帧,该唤醒帧如图8所示。Step 704, when the
图8是本发明实施例提供的又一种唤醒帧结构示意图。该唤醒帧包括传统802.11前导(Legacy 802.11Preamble)、唤醒前导(Wake-up Preamble)、、接收地址(Receive Address),且该接收地址包含奇偶校验位。例如,该接收地址的末位为奇偶校验位。FIG. 8 is a schematic structural diagram of still another wake-up frame according to an embodiment of the present invention. The wake-up frame includes a legacy 802.11 Preamble, a Wake-up Preamble, and a Receive Address, and the received address includes a parity bit. For example, the last bit of the received address is a parity bit.
图8中,传统802.11前导(Legacy 802.11Preamble)可以用于后向兼容,使得传统Wi-Fi设备AP 120能据此判断当前帧为Wi-Fi帧,从而选择相应的信道侦听判决阈值和退避时间。出于传输效率的考虑,唤醒帧也可以不加传统802.11的前导。In FIG. 8, a legacy 802.11 preamble (Legacy 802.11 Preamble) can be used for backward compatibility, so that the legacy Wi-
唤醒前导(Wake-up Preamble)用于符号同步和自动增益控制(Automatic Gain Control,AGC)设置等Wake-up Preamble for Symbol Synchronization and Automatic Gain Control (AGC) settings, etc.
接收地址(Receive Address)用于指示唤醒帧WUP的目标接收者。该接收地址可以是WUR ID。该接收地址也可以包括网络标识和WUR ID。The Receive Address is used to indicate the target recipient of the wake-up frame WUP. The receiving address can be a WUR ID. The receiving address may also include a network identifier and a WUR ID.
步骤705,AP120向STA110的第一辅助唤醒模块112发送该唤醒帧,该唤醒帧参见图8。Step 705, the
步骤706,STA110收到该唤醒帧之后,STA110根据其保存在本地的该奇偶校验位设置信息(由步骤702得到),确定该唤醒帧是正确或者是错误的。Step 706, after the
例如,该STA110保存在本地的奇偶校验位设置信息为,若WUR ID的高(N-1)
位有偶数个“1”,则WUR ID的最后一个比特位为“1”;否则该WUR ID的最后一个比特位为“0”。该STA110查看其接收到的唤醒帧的WUR ID的高(N-1)位共有4个“1“,表示该WUR ID的高(N-1)位有偶数个“1”。该STA110查看该WUR ID的最后一个比特位是“1”。则STA110可以确定该唤醒帧正确。For example, the
步骤707,若STA110确定其接收到的唤醒帧正确,则该STA110的第一辅助唤醒模块112向第一主通信模块111发送唤醒信号,以唤醒该第一主通信模块111,例如,唤醒Wi-Fi模块。Step 707: If the
图9是本发明实施例提供的一种无线设备示意图。该无线设备如AP设备。FIG. 9 is a schematic diagram of a wireless device according to an embodiment of the present invention. The wireless device is an AP device.
图9中,无线设备900包括第一主通信模块910、第一辅助唤醒模块920、处理器930、存储器940、收发机950。In FIG. 9, the wireless device 900 includes a first primary communication module 910, a first auxiliary wake-up module 920, a
第一主通信模块910可以是802.11模块,例如Wi-Fi模块,其用于发送唤醒帧以及发送和接收其它帧。The first primary communication module 910 can be an 802.11 module, such as a Wi-Fi module, for transmitting wake-up frames and transmitting and receiving other frames.
第一辅助唤醒模块920用于接收其它无线设备(例如AP设备)发送的唤醒帧(WUP);并在收到该唤醒帧后,向第一主通信模块910发送唤醒信号,以唤醒该主通信模块910。The first auxiliary wake-up module 920 is configured to receive a wake-up frame (WUP) sent by another wireless device (for example, an AP device); and after receiving the wake-up frame, send a wake-up signal to the first primary communication module 910 to wake up the primary communication. Module 910.
处理器930用于确定发送给第二无线设备(如STA设备)的第二无线接口(如第二辅助唤醒模块,图9未示出)唤醒帧的帧校验序列FCS的属性;该唤醒帧的帧校验序列FCS的属性至少包括两种。且该处理器930用于确定出的所述唤醒帧的帧校验序列的属性是从所述至少两种属性中选择出的一种属性。且所述FCS的属性包括所述帧校验序列的类型、长度和校验对象中的至少一个。该唤醒帧用于唤醒该主通信模块910。并且该处理器930还用于根据该确定出的该FCS的属性,生成唤醒帧。The
存储器940用于存储相应指令和程序,以供处理器930调用。
收发机950用于向所述第二无线设备发送用于指示所述帧校验序列的属性的指示信息;以及用于发送所述唤醒帧给所述第二无线设备的第二无线接口,以唤醒所述第二无线设备的第一无线接口。The
图9中,第一主通信模块910和第一辅助唤醒模块920可以共享同一个收发机950,共享收发机950的目的是降低设备硬件成本以及未来实现简单。In FIG. 9, the first primary communication module 910 and the first secondary wake-up module 920 can share the
此外,第一主通信模块910和第一辅助唤醒模块920也可以对应不同的收发机,特别是当两者工作在不同的频段上时。在实际产品中,无线设备900可以由一个片上系统(SoC)实现或者通过集成电路实现或者通过两个硬件模块实现。In addition, the first primary communication module 910 and the first secondary wake-up module 920 may also correspond to different transceivers, particularly when the two operate in different frequency bands. In an actual product, the wireless device 900 can be implemented by a system on a chip (SoC) or by an integrated circuit or by two hardware modules.
在一个示例中,所述第二无线设备为支持802.11协议的站点STA;所述第一无线接口为主通信接口;所述第二无线接口为辅助唤醒接口。In one example, the second wireless device is a station STA supporting an 802.11 protocol; the first wireless interface is a primary communication interface; and the second wireless interface is an auxiliary wake-up interface.
在一个示例中,所述处理器930具体用于,根据所述第二无线设备的数量、误唤醒率、唤醒帧的重传率中的一个或多个,确定发送给所述第二无线设备的第二无线接口的唤醒帧的帧校验序列的属性。In one example, the
在一个示例中,所述处理器930还用于:获取所述第二无线设备的误唤醒率、唤醒帧的重传率中的至少一个;其中,所述误唤醒率为所述第二无线设备的第一无线接口在第一时间段内被第二无线接口错误唤醒的次数与所述第一时间段的比值;所述重传率为所述第一无线设备在第二时间段内向所述第二无线设备重传唤醒帧的次数与所
述第二时间段的比值。In an example, the
在一个示例中,所述唤醒帧的帧校验序列的属性是所述处理器从所述第一无线设备存储的帧校验序列的属性列表里选择的。In one example, the attribute of the frame check sequence of the wake-up frame is selected by the processor from a list of attributes of a frame check sequence stored by the first wireless device.
在另一个示例中,所述唤醒帧至少包括唤醒前导和接收地址。In another example, the wake-up frame includes at least a wake-up preamble and a receive address.
在又一个示例中,所述唤醒帧包括以下任意一个或多个:802.11前导、网络标识、控制信息、帧校验序列。In yet another example, the wake-up frame includes any one or more of the following: an 802.11 preamble, a network identification, control information, a frame check sequence.
在一个示例中,所述唤醒帧的帧校验序列FCS的校验对象包括控制信息和网络标识。In one example, the check object of the frame check sequence FCS of the wake-up frame includes control information and a network identifier.
在一个示例中,所述唤醒帧的帧校验序列的长度为0或1;所述唤醒帧的帧校验序列的长度为0时,表示所述唤醒帧不携带帧校验序列;所述唤醒帧的帧校验序列的长度为1时,表示所述唤醒帧携带一个比特的奇偶校验位。In one example, the frame check sequence of the wake-up frame has a length of 0 or 1; when the length of the frame check sequence of the wake-up frame is 0, it indicates that the wake-up frame does not carry a frame check sequence; When the length of the frame check sequence of the wake-up frame is 1, it indicates that the wake-up frame carries a parity bit of one bit.
在一个示例中,所述奇偶校验位用于校验所述接收地址的正确性,或者用于校验所述唤醒帧的正确性。In one example, the parity bit is used to verify the correctness of the received address or to verify the correctness of the wake-up frame.
在一个示例中,所述第二无线接口是辅助唤醒接口,所述接收地址是所述第二无线设备的辅助唤醒接口的地址;所述接收地址由所述第一无线设备分配给所述第二无线设备的辅助唤醒接口;且所述第二无线设备与所第二无线设备在同一基本服务集内的另一无线设备的辅助唤醒接口的地址之间的距离大于第一距离;所述第一距离由所述第一无线设备根据所述第一无线设备关联的第二无线设备的数量和/或所述第二无线设备的辅助唤醒接口的地址的长度确定。In one example, the second wireless interface is an auxiliary wake-up interface, the receive address is an address of an auxiliary wake-up interface of the second wireless device; the receive address is assigned by the first wireless device to the first An auxiliary wake-up interface of the second wireless device; and a distance between the second wireless device and an address of the auxiliary wake-up interface of another wireless device in the same basic service set of the second wireless device is greater than a first distance; A distance is determined by the first wireless device based on a number of second wireless devices associated with the first wireless device and/or a length of an address of the secondary wake-up interface of the second wireless device.
需要说明的是,该无线设备900可以执行上述步骤401至步骤408、步骤601至步骤610、步骤701至步骤707中的任意步骤,在此不再赘述。It should be noted that the wireless device 900 can perform any of the steps 401 to 408, 601 to 610, and 701 to 707, and details are not described herein.
图10是本发明实施例提供的另一种无线设备示意图。该无线设备如AP设备。FIG. 10 is a schematic diagram of another wireless device according to an embodiment of the present invention. The wireless device is an AP device.
图10中,无线设备100包括第一主通信模块110、第一辅助唤醒模块120、处理器130、存储器140、收发机150。In FIG. 10, the wireless device 100 includes a first
第一主通信模块110可以是802.11模块,例如Wi-Fi模块,其用于发送唤醒帧以及发送和接收其它帧。The first
第一辅助唤醒模块120用于接收其它无线设备(例如AP设备)发送的唤醒帧(WUP);并在收到该唤醒帧后,向第一主通信模块110发送唤醒信号,以唤醒该主通信模块110。The first auxiliary wake-up
处理器130用于用于生成唤醒帧;且在第一通信环境下,唤醒帧中包含的帧校验序列FCS的属性采用第一属性;所述唤醒帧为第一无线设备发送给第二无线设备(例如STA设备)的第二无线接口(例如,第二无线设备的辅助唤醒模块,图10未示出)的帧,且所述唤醒帧用于唤醒所述第二无线设备(例如STA设备)的第一无线接口(例如,第二无线设备的主通信模块,图10未示出);在第二通信环境下,所述唤醒帧中包含的帧校验序列FCS的属性采用第二属性;所述第一通信环境优于所述第二通信环境,所述第一属性与所述第二属性不同。The processor 130 is configured to generate a wake-up frame; and in the first communication environment, the attribute of the frame check sequence FCS included in the wake-up frame adopts a first attribute; the wake-up frame is sent by the first wireless device to the second wireless a frame of a second wireless interface of the device (eg, a STA device) (eg, an auxiliary wake-up module of the second wireless device, not shown in FIG. 10), and the wake-up frame is used to wake up the second wireless device (eg, STA device) a first wireless interface (eg, a primary communication module of the second wireless device, not shown in FIG. 10); in the second communication environment, the attribute of the frame check sequence FCS included in the wake-up frame adopts a second attribute The first communication environment is superior to the second communication environment, the first attribute being different from the second attribute.
存储器140用于存储相应指令和程序,以供处理器130调用。The
收发机150用于发送所述唤醒帧给所述第二无线设备的第二无线接口(例如,第二无线设备的辅助唤醒模块),以唤醒所述第二无线设备的第一无线接口(例如,第
二无线设备的主通信模块)。The
图错误!未找到引用源。10中,第一主通信模块110和第一辅助唤醒模块120可以共享同一个收发机150,共享收发机150的目的是降低设备硬件成本以及未来实现简单。Figure error! The reference source was not found. In 10, the first
此外,第一主通信模块110和第一辅助唤醒模块120也可以对应不同的收发机,特别是当两者工作在不同的频段上时。在实际产品中,无线设备100可以由一个片上系统(SoC)实现或者通过集成电路实现或者通过两个硬件模块实现。In addition, the first
在一个示例中,所述第一通信环境下的唤醒帧的误唤醒率低于所述第二通信环境下唤醒帧的误唤醒率,和/或所述第一通信环境下唤醒帧的重传率低于所述第二通信环境下唤醒帧的重传率。In one example, the false wake-up rate of the wake-up frame in the first communication environment is lower than the false wake-up rate of the wake-up frame in the second communication environment, and/or the re-transmission of the wake-up frame in the first communication environment The rate is lower than the retransmission rate of the wake-up frame in the second communication environment.
在一个示例中,所述第一属性为第一通信环境下第一唤醒帧包含的帧校验序列FCS的长度;所述第二属性为第二通信环境下第二唤醒帧包含的帧校验序列FCS的长度;且在所述第二通信环境下的唤醒帧的误唤醒率高于所述第一通信环境下的唤醒帧的误唤醒率的情况下,所述第二唤醒帧包含的帧校验序列的长度大于所述第一唤醒帧包含的帧校验序列的长度。In one example, the first attribute is a length of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame check included in the second wake-up frame in the second communication environment. The length of the sequence FCS; and in the case where the false wake-up rate of the wake-up frame in the second communication environment is higher than the false wake-up rate of the wake-up frame in the first communication environment, the frame included in the second wake-up frame The length of the check sequence is greater than the length of the frame check sequence included in the first wake-up frame.
在一个示例中,所述第一属性为第一通信环境下第一唤醒帧包含的帧校验序列FCS的长度;所述第二属性为第二通信环境下第二唤醒帧包含的帧校验序列FCS的长度;且在所述第二通信环境下的唤醒帧的重传率高于所述第一通信环境下的唤醒帧的重传率的情况下,所述第二唤醒帧包含的帧校验序列的长度小于所述第一唤醒帧包含的帧校验序列的长度。In one example, the first attribute is a length of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame check included in the second wake-up frame in the second communication environment. The length of the sequence FCS; and in the case where the retransmission rate of the wake-up frame in the second communication environment is higher than the retransmission rate of the wake-up frame in the first communication environment, the frame included in the second wake-up frame The length of the check sequence is less than the length of the frame check sequence included in the first wake-up frame.
在一个示例中,所述第一属性为第一通信环境下第一唤醒帧包含的帧校验序列FCS的校验对象;所述第二属性为第二通信环境下第二唤醒帧包含的帧校验序列FCS的校验对象;且在所述第二通信环境下的唤醒帧的误唤醒率高于所述第一通信环境下的唤醒帧的误唤醒率的情况下,所述第二唤醒帧包含的帧校验序列的校验对象多于所述第一唤醒帧包含的帧校验序列的校验对象。In one example, the first attribute is a check object of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame included in the second wake-up frame in the second communication environment. Verifying the verification object of the sequence FCS; and in the case where the false wake-up rate of the wake-up frame in the second communication environment is higher than the false wake-up rate of the wake-up frame in the first communication environment, the second wake-up The frame check sequence included in the frame has more check objects than the frame check sequence included in the first wake frame.
在一个示例中,所述第一属性为第一通信环境下第一唤醒帧包含的帧校验序列FCS的校验对象;所述第二属性为第二通信环境下第二唤醒帧包含的帧校验序列FCS的校验对象;且在所述第二通信环境下的唤醒帧的重传率高于所述第一通信环境下的唤醒帧的重传率的情况下,所述第二唤醒帧包含的帧校验序列的校验对象少于所述第一唤醒帧包含的帧校验序列的校验对象。In one example, the first attribute is a check object of a frame check sequence FCS included in the first wake-up frame in the first communication environment; and the second attribute is a frame included in the second wake-up frame in the second communication environment. Verifying the verification object of the sequence FCS; and in the case where the retransmission rate of the wake-up frame in the second communication environment is higher than the retransmission rate of the wake-up frame in the first communication environment, the second wake-up The frame check sequence included in the frame has a check object smaller than the check object of the frame check sequence included in the first wake frame.
在一个示例中,所述误唤醒率为所述第二无线设备的第一无线接口在第一时间段内被第二无线接口错误唤醒的次数与所述第一时间段的比值;所述重传率为所述第一无线设备在第二时间段内向所述第二无线设备重传唤醒帧的次数与所述第二时间段的比值。In one example, the false wake-up rate is a ratio of the number of times the first wireless interface of the second wireless device is awake by the second wireless interface to the first time period in the first time period; The transmission rate is a ratio of the number of times the first wireless device retransmits the wake-up frame to the second wireless device in the second time period and the second time period.
在一个示例中,所述唤醒帧至少包括唤醒前导和接收地址。In one example, the wake-up frame includes at least a wake-up preamble and a receive address.
在另一个示例中,所述唤醒帧还包括以下任意一个或多个:802.11前导、网络标识、控制信息、帧校验序列。In another example, the wake-up frame further includes any one or more of the following: an 802.11 preamble, a network identification, control information, and a frame check sequence.
在又一个示例中,所述唤醒帧的帧校验序列的校验对象包括控制信息和网络标识。In yet another example, the check object of the frame check sequence of the wake-up frame includes control information and a network identifier.
在一个示例中,所述唤醒帧的帧校验序列的长度为0或1;所述唤醒帧的帧校验序 列的长度为0时,表示所述唤醒帧不携带帧校验序列;所述唤醒帧的帧校验序列的长度为1时,表示所述唤醒帧携带一个比特的奇偶校验位。In one example, the frame check sequence of the wake-up frame has a length of 0 or 1; the frame check sequence of the wake-up frame When the length of the column is 0, it indicates that the wake-up frame does not carry a frame check sequence; when the length of the frame check sequence of the wake-up frame is 1, it indicates that the wake-up frame carries a parity bit of one bit.
在一个示例中,所述奇偶校验位用于校验所述接收地址的正确性,或者用于校验所述唤醒帧的正确性。In one example, the parity bit is used to verify the correctness of the received address or to verify the correctness of the wake-up frame.
在一个示例中,所述第二无线接口是辅助唤醒接口,所述接收地址是所述第二无线设备的辅助唤醒接口的地址;所述接收地址可以是由所述第一无线设备分配给所述第二无线设备的辅助唤醒接口;且所述第二无线设备与所第二无线设备在同一基本服务集内的另一无线设备的辅助唤醒接口的地址之间的距离大于第一距离;所述第一距离由所述第一无线设备根据所述第一无线设备关联的第二无线设备的数量和/或所述第二无线设备的辅助唤醒接口的地址的长度确定。In one example, the second wireless interface is an auxiliary wake-up interface, the receiving address is an address of an auxiliary wake-up interface of the second wireless device; the receiving address may be assigned by the first wireless device An auxiliary wake-up interface of the second wireless device; and a distance between the second wireless device and an address of the secondary wake-up interface of another wireless device in the same basic service set of the second wireless device is greater than the first distance; The first distance is determined by the first wireless device according to the number of second wireless devices associated with the first wireless device and/or the length of an address of the secondary wake-up interface of the second wireless device.
在一个示例中,所述第一无线接口为主通信接口;所述第一无线设备为无线访问节点AP;所述第二无线设备为支持802.11协议的站点STA。In one example, the first wireless interface is a primary communication interface; the first wireless device is a wireless access node AP; and the second wireless device is a site STA supporting an 802.11 protocol.
需要说明的是,该无线设备100可以执行上述步骤401至步骤408、步骤601至步骤610、步骤701至步骤707中的任意步骤,在此不再赘述。It should be noted that the wireless device 100 may perform any of the foregoing steps 401 to 408, 601 to 610, and 701 to 707, and details are not described herein again.
本文中,主通信接口可以称之为主通信模块;辅助唤醒接口也可以称之为辅助唤醒模块或WUR模块或WUR接口。In this paper, the main communication interface can be called the main communication module; the auxiliary wake-up interface can also be called the auxiliary wake-up module or the WUR module or the WUR interface.
本发明各方法实施例之间相关部分可以相互参考;各装置实施例所提供的装置用于执行对应的方法实施例所提供的方法,故各装置实施例可以参考相关的方法实施例中的相关部分进行理解。The related parts of the method embodiments of the present invention may be referred to each other; the apparatus provided in each device embodiment is used to perform the method provided by the corresponding method embodiment, so each device embodiment may refer to related methods in the related method embodiments. Partial understanding.
本发明各装置实施例中给出的装置结构图仅示出了对应的装置的简化设计。在实际应用中,该装置可以包含任意数量的收发器,辅助唤醒模块,处理器,存储器,天线等,以实现本发明各装置实施例中该装置所执行的功能或操作,而所有可以实现本申请的装置都在本申请的保护范围之内。专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The device configuration diagrams given in the various device embodiments of the present invention show only a simplified design of the corresponding device. In practical applications, the device may include any number of transceivers, auxiliary wake-up modules, processors, memories, antennas, etc., to implement the functions or operations performed by the device in various embodiments of the present invention, and all of which may be implemented. The device to be applied is within the scope of this application. A person skilled in the art should further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令处理器完成,所述的程序可以存储于计算机可读存储介质中,所述存储介质是非短暂性(英文:non-transitory)介质,例如随机存取存储器,只读存储器,快闪存储器,硬盘,固态硬盘,磁带(英文:magnetic tape),软盘(英文:floppy disk),光盘(英文:optical disc)及其任意组合。It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be performed by a program, and the program may be stored in a computer readable storage medium, which is non-transitory ( English: non-transitory) media, such as random access memory, read-only memory, flash memory, hard disk, solid state disk, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), CD (English: optical disc) And any combination thereof.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。 The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims (51)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201780036976.6A CN109565783B (en) | 2016-09-26 | 2017-06-27 | Method and equipment for sending wake-up frame |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610852694 | 2016-09-26 | ||
| CN201610852694.0 | 2016-09-26 | ||
| CN201710224920.5 | 2017-04-07 | ||
| CN201710224920 | 2017-04-07 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018054117A1 true WO2018054117A1 (en) | 2018-03-29 |
Family
ID=61690131
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/090379 Ceased WO2018054117A1 (en) | 2016-09-26 | 2017-06-27 | Method and device for sending wake-up frame |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109565783B (en) |
| WO (1) | WO2018054117A1 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101681326A (en) * | 2007-05-25 | 2010-03-24 | 罗伯特.博世有限公司 | Data transmission method between master and slave devices |
| GB2514117A (en) * | 2013-05-13 | 2014-11-19 | Nec Corp | Communication system |
| CN104301122A (en) * | 2014-09-24 | 2015-01-21 | 奇瑞汽车股份有限公司 | Method and device for node rousing |
| WO2016028692A1 (en) * | 2014-08-20 | 2016-02-25 | Qualcomm Incorporated | Low power paging frames |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101087220A (en) * | 2006-06-09 | 2007-12-12 | 中国科学院软件研究所 | Dormancy monitoring method for MAC layer of wireless sensor network |
| EP2732665B1 (en) * | 2011-07-14 | 2018-10-10 | LG Electronics Inc. | Method of communication based on power save mode in wireless local area network and apparatus for the same |
-
2017
- 2017-06-27 WO PCT/CN2017/090379 patent/WO2018054117A1/en not_active Ceased
- 2017-06-27 CN CN201780036976.6A patent/CN109565783B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101681326A (en) * | 2007-05-25 | 2010-03-24 | 罗伯特.博世有限公司 | Data transmission method between master and slave devices |
| GB2514117A (en) * | 2013-05-13 | 2014-11-19 | Nec Corp | Communication system |
| US20160081022A1 (en) * | 2013-05-13 | 2016-03-17 | Nec Corporation | Mobile telephone, apparatus, method and computer implementable instructions product |
| WO2016028692A1 (en) * | 2014-08-20 | 2016-02-25 | Qualcomm Incorporated | Low power paging frames |
| CN104301122A (en) * | 2014-09-24 | 2015-01-21 | 奇瑞汽车股份有限公司 | Method and device for node rousing |
Non-Patent Citations (1)
| Title |
|---|
| W. STEVEN CONNER ET AL.: "Overview of the Amendment for Wireless Local Area Mesh Networking", IEEE 802. 11S TUTORIAL, 13 November 2006 (2006-11-13), XP002713372 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109565783B (en) | 2020-11-03 |
| CN109565783A (en) | 2019-04-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11343766B2 (en) | Method for indicating downlink service data and device | |
| CN108605291B (en) | Method and equipment for sending and receiving WUR frame | |
| US10986572B2 (en) | Device and method of transmitting wake-up frames | |
| KR101621180B1 (en) | Method and apparatus of transmitting paging frame and wakeup frame | |
| US8902803B2 (en) | Systems and methods for reducing collisions after traffic indication map paging | |
| US9247526B2 (en) | Systems and methods for paging message enhancement | |
| US9137778B2 (en) | Systems and methods for low overhead paging | |
| US20150036673A1 (en) | Systems and methods for communicating multi-destination traffic in a wireless network | |
| EP3949542A1 (en) | Methods for physical downlink control channel (pdcch) based wake up signal (wus) configuration | |
| US10779153B2 (en) | Device to-device (D2D) discovery | |
| US8848542B2 (en) | Method for efficiently performing coverage loss operation during sleep mode in a broadband wireless access system | |
| CN103858374A (en) | Systems and methods for confirming communications from multiple devices | |
| US8730857B2 (en) | Filtering group-addressed frames in Wi-Fi devices | |
| CN109891946B (en) | Communication interface awakening method and device, and auxiliary awakening interface identification configuration method and device | |
| CN109151957B (en) | Communication method, communication device and communication equipment of wireless local area network | |
| WO2018233646A1 (en) | Wake-up methods, access points, and sites | |
| WO2018171591A1 (en) | Method and apparatus for waking up device | |
| US11134443B2 (en) | Systems and methods for generating and transmitting short low power wake-up request (WUR) frames in a wireless communication system | |
| CN109151958B (en) | Communication method, communication device and communication equipment of wireless local area network | |
| CN109565783B (en) | Method and equipment for sending wake-up frame | |
| WO2019140974A1 (en) | Data transmission control method and apparatus, data transmission device and storage medium | |
| CN108712741A (en) | A kind of method of wake-up device, equipment and system | |
| CN109429268B (en) | Communication method and device of wireless local area network, access point equipment and site equipment | |
| CN104079375B (en) | STA obtains and sent the method, apparatus of data in WLAN | |
| CN109788533B (en) | Communication method and communication device, access point equipment and station equipment |
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: 17852189 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: 17852189 Country of ref document: EP Kind code of ref document: A1 |