WO2018086387A1 - 一种通信方法及无线设备 - Google Patents

一种通信方法及无线设备 Download PDF

Info

Publication number
WO2018086387A1
WO2018086387A1 PCT/CN2017/095091 CN2017095091W WO2018086387A1 WO 2018086387 A1 WO2018086387 A1 WO 2018086387A1 CN 2017095091 W CN2017095091 W CN 2017095091W WO 2018086387 A1 WO2018086387 A1 WO 2018086387A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
interface
indication information
state
sent
Prior art date
Application number
PCT/CN2017/095091
Other languages
English (en)
French (fr)
Inventor
韩云博
丁志明
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780037944.8A priority Critical patent/CN109314926B/zh
Publication of WO2018086387A1 publication Critical patent/WO2018086387A1/zh

Links

Images

Classifications

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

Definitions

  • the present application relates to the field of communications, and in particular, to a communication method and a wireless device.
  • Wi-Fi Wireless Fidelity
  • terminal devices such as workstations, STAs, and stations
  • AP wireless access point
  • the terminal a communication method for reducing the power consumption of the device is needed.
  • the low power Wake Up Radio (WUR) is used on the terminal and the AP instead of the 802.11 main transceiver module to listen when the medium is idle. channel.
  • WUR Wake Up Radio
  • an 802.11 primary transceiver module and a WUR module are provided in both the terminal and the AP.
  • the 802.11 primary transceiver module of the terminal enters deep sleep, the low-power WUR wake-up of the terminal starts to work.
  • the AP needs to communicate with the terminal, the AP sends a WUR message to the WUR of the terminal, that is, Wake Up Packet (WUP).
  • WUP Wake Up Packet
  • the WUR of the terminal correctly receives the 802.11 main transceiver module that wakes up the terminal after sending the WUP to the terminal, and then the terminal.
  • the WUR can go to sleep, and the AP communicates with the 802.11 master transceiver module of the awake terminal; the 802.11 master transceiver module of the terminal will go to sleep after communication with the AP, and the terminal WUR wakes up and starts to listen to whether it is sent to itself. WUP to wake up the terminal's 802.11 master transceiver module again.
  • the terminal needs to communicate with the AP, the terminal sends a WUR message to the WUR of the AP, that is, the wake-up frame.
  • the WUR of the AP correctly receives the 802.11 primary transceiver module that wakes up the AP after sending the WUP to the AP, and then the WUR of the AP goes to sleep.
  • the 802.11 main transceiver module of the awake AP communicates; the AP's 802.11 master transceiver module and the terminal will go to sleep after the communication is completed, and the WUR wakeup of the AP starts to listen to whether there is a WUP sent to itself, so as to wake up the AP again.
  • 802.11 main transceiver module 802.11 main transceiver module.
  • the WUR of the AP goes into a sleep state, and the AP can no longer receive the WUP sent by other terminals through the WUR.
  • the terminal sends a WUP to the AP, it does not receive the response from the AP, so that other terminals may consider that the AP cannot communicate, causing the AP to fail to wake up, and the two parties cannot perform data communication.
  • the present application provides a communication method and a wireless device to improve the efficiency of data communication between the AP and the terminal.
  • a first aspect of the present application provides a communication method, which is applied to a first device, and includes the following steps: receiving a first message and/or a second message that is sent by a second device and includes first indication information, and determining the a status of the second interface of the second device indicated by the indication information, if the first indication information indicates that the second interface of the second device is in the awake state, sending to the second device a third message, the third message is related to the uplink data of the first device, to perform data communication between the first device and the second device, if the first indication information indicates the first Sending a fourth message to the second device, where the second message is used to wake up the second interface of the second device, so that the first device and the Data communication is performed between the second devices through the second interface of the second device that is awake.
  • the first device receives the message that is sent by the second device that can indicate the state of the second interface of the second device, thereby determining the state of the second interface of the second device, and further A device determines whether it is necessary to wake up the second interface of the second device or directly perform data communication. Therefore, the first device in the present application can know the state of the second interface of the second device in time and perform data communication or wake up. Communication, thereby achieving effective wake-up of the second interface of the second device for data communication purposes.
  • a second aspect of the present application provides a communication method, applicable to a second device, including the steps of: transmitting, by using a first interface or a second interface, a first message including first indication information to a first device, and/or Transmitting, by the second interface, a second message that includes the first indication information to the first device, and the first indication information is capable of indicating a state in which the second interface of the second device is located. Therefore, in the present application, the second device notifies the first device by sending a message indicating the state of the second interface of the second device to the first device, and determining, by the first device, whether to wake up the second device The interface performs data communication, implements effective wake-up of the second interface of the second device, and performs data communication.
  • a third aspect of the present application provides a wireless device, including the following structure: a first communication module corresponding to a first interface of the wireless device, a second communication module corresponding to a second interface of the wireless device, for storing an application, and And a processor for executing the generated data and a processor for executing the application to: receive a first message and/or a second message sent by the second device, the first message and the The second message includes the first indication information; determining a state in which the second interface of the second device indicated by the first indication information is located; and if the first indication information indicates the second device The second interface is in the awake state, and the third message is sent to the second device by using the second interface of the wireless device, where the third message is related to the uplink data of the wireless device, to be in the wireless device Data communication between the second devices; if the first indication information indicates that the second interface of the second device is in a dormant state, then the wireless device is Transmitting, by the first interface or the second interface, the fourth message to the second device
  • the wireless device receives the message that is sent by the second device that can indicate the state of the second interface of the second device, thereby determining the state of the second interface of the second device, and thus the wireless device. Determining whether it is necessary to wake up the second interface of the second device or directly perform data communication. Therefore, the wireless device in the present application can know the state of the second interface of the second device in time and perform data communication or wake up before communicating. This implements an effective wake-up of the second interface of the second device for data communication purposes.
  • a fourth aspect of the present application provides a wireless device, including: a first communication module corresponding to a first interface of the wireless device, a second communication module corresponding to a second interface of the wireless device, a memory storing an application and an application running data generated by the application and a processor for executing the application to: transmit the first device to the first device through the first interface or the second interface of the wireless device a message, and/or, sending, by the second interface of the wireless device, a second message to the first device, where the first message and the second message both include first indication information, the first indication information Indicates a state in which the second interface of the wireless device is located.
  • the wireless device notifies the first device by sending a message indicating the state of the second interface of the wireless device to the first device, and the first device determines whether the second interface of the wireless device needs to be awake to perform data.
  • Communication which realizes the effective wake-up of the second interface of the wireless device and performs data communication.
  • a fifth aspect of the present application provides a basic service set, which may include the following structures: at least one first device and one second device;
  • the second device sends a first message to each of the first devices through its first interface or a second interface, and/or the second device sends each of the first through its second interface.
  • the device sends a second message, where the first device receives the first message and/or the second message sent by the second device, where the first message and the second message both contain first indication information; Determining, by the first device, a status of the second interface of the second device indicated by the first indication information, if the first indication information indicates that the second interface of the second device is in an awake state, Transmitting, by the first device, a third message to the second device, where the third message is related to uplink data of the first device, to perform data communication between the first device and the second device If the first indication information indicates that the second interface of the second device is in a dormant state, the first device sends a fourth message to the second device, where the fourth message is used to wake up the The second interface of the second device to make Between the first device and the second data communication device through the second interface of the
  • the second device in a basic service set notifies the first device by sending a message indicating the state of the second interface of the second device to the first device, and the first device determines whether the wakeup is required.
  • the second interface of the second device performs data communication, implements effective wake-up of the second interface of the second device, and performs data communication.
  • the third message is further sent to the second device. Thereby, the first device attempts to perform data communication by transmitting a third message to the second device.
  • the first device after the first device sends the third message to the second device for a preset interval duration, if the second device does not receive the third message corresponding to the third message, Replying to the message, the first device sends the fourth message to the second device. Therefore, the first device can know that the second interface of the second device is in a sleep state when the reply message is not received, and then wake up the second interface of the second device by using the fourth message to implement data communication.
  • the interval duration is longer than a duration between the sending of the third message by the first device to the response message corresponding to the third message by the first device in a normal communication state.
  • the first device determines that the third message is not received by the second device, indicating that the second interface of the second device is in a sleep state.
  • the fourth message is sent again, so that the channel for the message transmission is prevented from being sent by the premature fourth message, and the second device cannot send the reply message to the first device in time, causing the data communication to fail.
  • the first indication information indicates that the second interface of the second device is in an awake state
  • the first indication information indicates that the second interface of the second device is currently in an awake state.
  • the second interface of the second device is in an awake state for a preset period of time and the preset time period is valid. Therefore, the first device receives the message that is sent by the second device that can indicate the state of the second interface of the second device, thereby determining the state of the second interface of the second device, such as the current awake state.
  • the waking state is in the preset time period and the preset time period is valid, and the first device determines that the data communication is directly performed. Therefore, the first device in the application can know the state of the second interface of the second device in time. Data communication is performed, thereby achieving effective wake-up of the second interface of the second device for data communication purposes.
  • the first indication information indicates that the second interface of the second device is in a dormant state, where the first indication information indicates that the second interface of the second device is currently in a dormant state. Or the second interface of the second device is in a sleep state for a preset period of time. Therefore, the first device receives the message that is sent by the second device that can indicate the state of the second interface of the second device, so as to determine the state of the second interface of the second device, such as the current sleep state. Or the device is in a dormant state for a preset period of time, and the first device determines to first wake up the second interface of the second device to perform data communication. Therefore, the first device in the application can know in time that the second interface of the second device is located. The status and data communication, thereby achieving effective wake-up of the second interface of the second device for data communication purposes.
  • the first interface of the first device is an interface corresponding to the WUR
  • the second interface of the first device is an interface corresponding to the 802.11 primary transceiver module
  • the first interface of the second device is a WUR.
  • the second interface of the second device is an interface corresponding to the 802.11 main transceiver module.
  • the first message is a WUR message
  • the second message is a Wi-Fi message.
  • the first device is a terminal
  • the second device is an AP.
  • the terminal can effectively wake up the second interface of the AP (ie, the 802.11 primary transceiver module that wakes up the AP) and implement data communication.
  • the second device sends the first message to the first device by using the first interface or the second interface, and may send the first interface or the second interface to the first interface according to the preset first time period.
  • the first device sends the first message. Therefore, the second device can periodically notify the first device by sending a message indicating that the second interface of the second device is located to the first device, and the first device can determine whether the first device is missed by the cycle time. The message, and the first device determines whether it is necessary to wake up the second interface of the second device for data communication, implement effective wake-up of the second interface of the second device, and perform data communication.
  • the second device sends the second message to the first device by using the second interface, and sending, by using the second interface, the first device to the first device according to a preset second time period.
  • Second message the second device can periodically notify the first device by sending a message indicating that the second interface of the second device is located to the first device, and the first device can determine whether the second device is missed by the cycle time. a message, and determining, by the first device, whether the second interface of the second device needs to be awake for data communication, and implementing the second connection of the second device The effective awakening of the mouth for the purpose of data communication.
  • the preset time period in the first indication information is set by the second device based on a preset communication protocol between the first device and the second device; or The preset time period is set by the second device based on the time value indicated in the first indication information.
  • the first device can better effectively wake up the second interface of the second device and implement data communication.
  • the sixth aspect of the present application provides a communication method, where the application terminal side includes the following steps: the first device receives the first message sent by the second device by using the first interface; or the first device receives the first message by using the second interface.
  • the second message sent by the two devices, and the first message and the second message both carry the first indication information, where the first indication information indicates a state in which the second device is in a preset time, and the state in which the device is located is Means that the second interface of the second device is in an awake state, or a sleep state, or is in an awake state at the preset time; and then, according to the first indication information, if the second device is located If the second interface is in the awake state, or is in the awake state, the first device sends a third message to the second device; the third message is an uplink message, or the notification center
  • the second device has a message that the uplink message needs to be received; or, if the second interface of the second device is in a dormant state, the first device send
  • a seventh aspect of the present application provides a communication method, which is applied to an AP side, where the method may include the following steps: the second device sends a first message and a second message; the first message and the second message are both carried First indication information, the first indication information indicates a state in which the second device is in a preset time; the first message is received by the first device by using the first interface, and the second message is received by the first A device is received by the second interface; the state is that the second interface of the second device will be in an awake state, or a sleep state, or will remain in an awake state within the preset time.
  • An eighth aspect of the present application provides a first device, including: a first interface, where the first device receives a first load of a first message sent by a second device; the first message includes a first preamble And the first load; the bandwidth used by the first preamble is greater than the bandwidth used by the first load; the second interface is used by the first device to receive the second message sent by the second device; The first message and the second message both carry the first indication information, where the first indication information indicates a state in which the second device is in a preset time; the state in which the second device is in the second device The second interface will be in an awake state, or a dormant state, or will remain in an awake state at the preset time; the processor is configured to parse the first message or the second message by the first device Determining whether it is necessary to generate a third message or a fourth message according to the first message or the first indication information carried in the second message; the third message is an uplink message, or the second message is notified The device needs to send uplink messages
  • the received message; the fourth message is used to wake up the second interface of the second device, and the second interface of the second device wakes up and communicates with the first device;
  • a ninth aspect of the present application provides a second device, including: a first interface, where the first interface is configured to send the first interface if the first interface has the capability of sending a first payload of the first message The first payload of a message; the first message includes a first preamble and the first payload, a bandwidth used by the first preamble is greater than a bandwidth used by the first payload; and a second interface is used for Transmitting, by the second device, the second message, or sending the first payload of the first message; if the first interface does not have the capability of sending the first payload of the first message,
  • the second interface is also configured to send the first payload of the first message, and the processor is configured to generate the first message and the second message; the first message and the second message both carry An indication information, the first indication information indicating a state in which the second device is in a preset time; the state in which the second device is in an awake state or a sleep state State, or within the preset time In an awake state; said apparatus further comprises
  • the first device does not receive the first message and the second message, or the first device receives the first message or the sent by the second device
  • the second message is sent, but the first device sends the third message to the second interface of the second device, where the first device attempts to use the first device.
  • the second interface of the second device communicates; in the first interval, if the first device does not receive the reply message of the third message sent by the second device to the first device, the first After the first interval, the device sends the fourth message to the first interface of the second device, where the first device wakes up the second interface of the second device; After the second device receives the third message, the interval between the reply message of the third message is sent to the first device, to prevent the first device from receiving the third message.
  • the fourth message is sent before the reply message of the message.
  • the first message and the second message are periodically sent messages, for the first device to identify whether the first message or the second message is missed.
  • the preset time is a time that is agreed between the first device and the second device, or a time indicated in the first indication information, and is used by the first device to determine Whether the first indication information carried in the first message and the second message is valid.
  • the first device if the first device does not receive the first message through the first interface; and the second device does not receive the second message through the second interface; or After the first device receives the first message or the second message but exceeds the preset time, the first device sends the second device to the second device through the second interface. Transmitting, by the second interface, the third message; if the first device does not receive the reply message of the third message sent by the second device, in the first interval, when the first device is configured When the first interface sends the first load, the first device sends the fourth interface to the first interface of the second device after the first interval by using the first interface. Eliminate The first device passes the second interface to the second after the first interval time when the first device does not have the capability to send the first load through the first interface. The first interface of the device sends the fourth message; the first interval is greater than the interval at which the second device sends the third message to the first device after receiving the third message. .
  • the second interface in the second device is configured to receive the third message;
  • the third message is an uplink data message, or notify the second device that the uplink message needs to be received;
  • a first interface configured to receive the first payload of the fourth message, to wake up the second interface of the second device, a processor in the second device, to parse the third message, and Or the fourth message.
  • the first device receives the message that is sent by the second device that can indicate the state of the second interface of the second device, thereby determining the state of the second interface of the second device, and further A device determines whether it is necessary to wake up the second interface of the second device or directly perform data communication. Therefore, the first device in the present application can know the state of the second interface of the second device in time and perform data communication or wake up. Communication, thereby achieving effective wake-up of the second interface of the second device for data communication purposes.
  • FIG. 1 is a schematic structural diagram of a basic service set in a WLAN
  • FIG. 2 is a schematic diagram of communication between a terminal and an AP
  • FIG. 3 is a schematic structural diagram of a WUR frame
  • FIG. 4 to FIG. 12 are schematic diagrams of communication between a first device and a second device in the embodiment of the present application.
  • FIG. 13 is a flowchart of communication between a first device and a second device in the embodiment of the present application.
  • FIG. 14 to FIG. 16 are respectively a view showing an application example of an embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of a wireless device according to an embodiment of the present disclosure.
  • FIG. 18 is a schematic structural diagram of another wireless device according to an embodiment of the present application.
  • a WLAN may include a basic service set (BSS), and the network nodes in the basic service set include an AP and a terminal.
  • BSS basic service set
  • Each basic service set may contain one AP and multiple terminals associated with the AP, as shown in FIG.
  • the AP can be an access point or a hotspot.
  • the AP is an access point for the mobile user terminal to enter the wired network. As shown in FIG. 1, multiple terminals connect to the network through the AP.
  • the AP is mainly deployed in the home, inside the building, and inside the park. The typical coverage radius is tens of meters to hundreds of meters. Of course, it can also be deployed outdoors.
  • the AP is equivalent to a bridge connecting the Internet and the wireless network. Its main function is to connect the various wireless network clients together and then connect the wireless network to the Internet.
  • the AP may be a terminal device or a network device with a Wi-Fi chip.
  • the terminal may be a user equipment (UE), a mobile station (MS), a mobile terminal, a computer, a microcomputer, or the like, or may be a 5G terminal.
  • the terminal may be a mobile phone (or "cellular" phone), a mobile computer, a computer with a mobile terminal, a smart watch, etc., for example, the terminal may also be portable, pocket-sized, handheld, built-in or on-board Mobile devices that exchange voice and/or data with wireless access devices.
  • the terminal further includes a terminal with wired access with multiple bearer features.
  • FIG. 2 is a schematic diagram of communication between a terminal and an AP by using an 802.11 primary transceiver module and a WUR.
  • the AP and the terminal may both include an 802.11 primary transceiver module and a WUR.
  • the WUR is used to receive the wake-up frame and wake up the 802.11 master transceiver module of its device based on the wake-up frame. If the WUR has the ability to send WUR messages such as wake-up frames, the WUR can also be used to send WUR messages.
  • the 802.11 main transceiver module is a Wi-Fi module that can be used to send and receive Wi-Fi signals.
  • the 802.11 master transceiver module needs to have the ability to send WUR messages and can be used to send WUR signals.
  • the WUR WUR messages are sent. Not a must.
  • WUR is not necessary when the AP does not consider saving energy.
  • WUR can reduce energy consumption compared with 802.11 main transceiver module, mainly because WUR receiving and decoding is much simpler than 802.11 message, ie Wi-Fi message, and narrowband transmission is compared with 802.11 main transceiver module.
  • the WUR usually adopts a modulation method that is easy to receive and demodulate, such as On Off Keying (OOK) modulation and Binary Frequency Shift Keying (2FSK) modulation.
  • OOK On Off Keying
  • 2FSK Binary Frequency Shift Keying
  • the receiving end judges whether or not the information carried by the signal is received by the presence or absence of energy, for example, the indication is 1 when there is energy, and 0 when there is no energy.
  • the Wi-Fi message uses both phase shift (Phase Shift Keying, PSK) modulation and Orthogonal Frequency Division Multiplexing (OFDM) modulation, and the receiver must perform reverse fast repetition.
  • Complex channel processing operations such as Inverse Fast Fourier Transform (IFFT), which consume a lot of energy.
  • IFFT Inverse Fast Fourier Transform
  • the WUR is described below. As shown in FIG. 3, the WUR frame structure can be divided into a first preamble field and a first payload field.
  • the first preamble field may include at least three fields: an L-STF, an L-LTF, and an L-SIG.
  • the first preamble is an 802.11 preamble, which is a pilot sequence that can be understood by a conventional 802.11 device.
  • the transmission is performed on an integer multiple of 20 MHz or 20 MHz (eg, 40 MHz, 80 MHz, 160 MHz), so that the 802.11 device can determine that the current message (ie, WUP) is a Wi-Fi message for compatibility with a legacy 802.11 device.
  • the 802.11-preferred 802.11 device can obtain the time that the WUP occupies the channel according to the information in the 802.11 preamble (such as L-LTF or Length domain information), and does not attempt to access the channel during this period of time to avoid interference with the WUP in the transmission.
  • the information in the 802.11 preamble such as L-LTF or Length domain information
  • the Length field information is 12 bits, indicating the number of bytes that the message data part needs to transmit.
  • the remaining time required to transmit the message can be calculated.
  • the first load is the Payload part of the WUP, and the modulation method with low demodulation complexity is adopted, such as OOK tone.
  • Binary Amplitude Shift Keying (2ASK) modulation and use of narrowband transmission, such as 1MHz channel, 2MHz channel, 5MHz channel, etc. (the traditional 802.11 minimum channel bandwidth is 20MHz), which makes the receiving end further reduce energy consumption.
  • WUP's Payload includes Wake-Up Preamble and MAC (medium access control), the former function is similar to the traditional 802.11 pilot, and can be used for WUR of WUR signal of device; the latter and Wi-Fi message
  • the MAC parts are similar, and may further include a MAC Header, a Frame Body, and a Frame Check Sequence (FCS).
  • the MAC Header carries at least the identification information of the receiving end, and the Frame Body can carry some indications, control information, etc., and the FCS belongs to the verification information, and is used to determine whether the message is received incorrectly.
  • the purpose of setting the WUR in the terminal is to reduce the overall energy consumption of the device.
  • the AP also has the requirement of saving energy. Therefore, the WUR can also be equipped to further reduce the power consumption, as shown in FIG. 2, in some temporary
  • the AP in the deployed network has no external power supply.
  • the 802.11 master transceiver module of the WUR AP can enter the sleep state when no data is being sent or received to save energy.
  • the terminal first sends a WUP message to the WUR of the AP to wake up the 802.11 primary transceiver module of the AP, and then the terminal communicates with the AP through the 802.11 primary transceiver module. As shown in FIG.
  • the terminal 2 after the terminal 1 transmits data by using the WUR of the AP to wake up the 802.11 primary transceiver module of the AP, if the other terminal, such as the terminal 2, also needs uplink data to be transmitted, the terminal 2 also gives the AP.
  • the WUR sends the 802.11 master transceiver module that the WUP wants to wake up the AP.
  • the AP's 802.11 master transceiver module has been awake and the WUR of the AP may have gone to sleep, the AP cannot receive the WUP sent by the terminal through its WUR. That is to say, in this scenario, the terminal 2 may not be able to wake up the AP effectively, so that the terminal 2 cannot perform data communication with the AP.
  • the first device and the second device perform data communication with the second interface through the respective first interfaces.
  • the first interface and the second interface are usually only in one waking state, and the other is in a sleep state, the first interface can be used to wake up the second interface; in the second device, the first interface and the second interface at the same time Usually only one interface is in the awake state and the other is in the sleep state.
  • the first interface can be used to wake up the second interface.
  • the second device sends, by using the first interface, the second interface that includes the second device to the first interface of the first device.
  • a message of the state (which is a WUR message)
  • the first device receives the first message by using the first interface thereof; and the second device transmits the first message to the first device through the second interface thereof
  • the second interface sends a message including a status indicating that the second interface of the second device is located, that is, a second message including the first indication information, and the first device receives the second message by using the second interface.
  • the second device may send, by using the second interface, the first interface of the first device, including the state indicating that the second interface of the second device is located. Message (a WUR message).
  • the second device may periodically send the first message by using the first interface, where the first indication information in the first message indicates whether the second interface of the second device is currently in a dormant state or an awake state, or It is assumed that the state in the time period is a sleep state or an awake state, after which the first device can receive the first message through its first interface.
  • the second device may periodically send the second message by using the second interface, where the first indication information in the second message indicates whether the second interface of the second device is currently in a dormant state or an awake state, or It is assumed that the state in which the time period is located is a sleep state or an awake state, after which the first device can receive the second message through its second interface.
  • the second device may periodically send the first message by using the first interface, and periodically send the second message by using the second interface, where the first indication information in each of the first message and the second message indicates Whether the second interface of the second device is currently in a sleep state or an awake state, or is the sleep state or the awake state in the preset time period, after which the first device can receive the first message by using the first interface, and utilize The second interface receives the second message.
  • the time point at which the second device sends the first message and the second message may be different, for example, after sending a message (the first message or the second message), and then separating the segments. Time to send another message (the second message or the first message). In addition, the period in which the second device sends the first message and the second message may be the same or different.
  • the second device when the second device sends the first message, if the first interface is in the dormant state, the first interface is temporarily awake to send the first message; the second device sends the second message. In the message, if the second interface is in the sleep state, the second interface is temporarily awake to send the second message.
  • the second device sends the first message through its second interface, and for the second message, the second device still sends through the second interface. Thereafter, the first device still receives the first message using its first interface, and the first device receives the second message using its second interface.
  • the first interface in the second device may not have the capability of sending the first message, and in the second device, when the first interface is in the sleep state and the second interface is in the awake state, the second device passes the second The interface sends the first message and/or the second message; when the first interface is in the awake state and the second interface is in the sleep state, the second device temporarily wakes up the second interface to send the first message and/or the second message.
  • the second device may periodically send the first message by using the second interface, where the first indication information in the first message indicates whether the second interface of the second device is currently in a dormant state or an awake state, or It is assumed that the state in the time period is a sleep state or an awake state, after which the first device can receive the first message through its first interface.
  • the second device may periodically send the second message by using the second interface, where the first indication information in the second message indicates whether the second interface of the second device is currently in a dormant state or an awake state, or It is assumed that the state in which the time period is located is a sleep state or an awake state, after which the first device can receive the second message through its second interface.
  • the second device may periodically send the first message and the second message by using the second interface, where the first message and the second message are sent at a certain interval, and the first message and the second message are respectively used.
  • the first indication information indicates whether the second interface of the second device is currently in a sleep state or an awake state, or is the sleep state or the awake state in the preset time period, after which the first device can utilize the first
  • the interface receives the first message and receives the second message using the second interface.
  • the second device sends the first message and the second message through the second interface.
  • the time point is different, and another message (the second message or the first message) can be sent after a period of time after sending a message (the first message or the second message).
  • the period in which the second device sends the first message and the second message may be the same or different.
  • the second interface when the second device sends the first message and the second message, if the second interface is in the dormant state, the second interface may be temporarily awake to send the first message and the first message. Two messages.
  • the second interface of the first device when the first device receives the first indication information indicating that the second interface of the second device is in the awake state or is in the awake state within the preset time period, and the preset time period is valid, the second interface of the first device is The second interface of the second device sends a message related to the uplink data, that is, the third message, such as the uplink data itself or a frame of the inquiry type that needs to be received by the uplink data, such as RTS, Poll, etc., as shown in FIG.
  • the first device receives the first indication information indicating that the second interface of the second device is in a sleep state or is in a sleep state within a preset time period, and the preset time period is valid, the first to the second device
  • the interface sends a fourth message capable of waking up the second interface of the second device, as shown in FIG. 12, thereby waking up the second interface of the second device, whereby the second interface of the first device can be second to the second device
  • the interface transmits uplink data or informs it of an inquiry type frame or the like that the uplink data needs to be received, thereby implementing data communication between the first device and the second device.
  • the first indication information indicates that the second interface of the second device is in a dormant state or is in a dormant state within a preset time period
  • the first interface of the second device immediately wakes up the second interface of the second device based on the fourth message, so that the second interface of the second device enters the awake state, thereby implementing data communication between the first device and the second device.
  • the preset time period in the first indication information may be based on a preset communication protocol setting between the first device and the second device. For example, starting from a point in time when the second device sends the first message and/or the second message, to a time period between a certain time point, as a preset time period; or starting from a certain time point, after a corresponding time a time period of the duration, as a preset time period; or, the preset time period may be set based on the time indicated in the first indication information, for example, a time period indicating a transmission period of the first indication information from the first indication information The time period from the first field of the previous message to the first field of the next message is sent as the preset time period.
  • the second device periodically sends the first message and/or the second message, so that the first device can identify whether there is a missed message based on the sending period.
  • the first device when the first device fails in the preset time period of the first indication information or does not receive the first message or the second message, the first device cannot learn the current location of the second interface of the second device.
  • the message related to the uplink data may be directly sent to the second interface of the second device, such as the uplink data itself or a third message, such as a frame of the inquiry type that needs to be received by the uplink data, to try and The second device performs data communication.
  • the second device If the second device receives the third message sent by the first device through the second interface, the second device sends a response to the second interface of the first device to confirm that the second device has received the third message. Message.
  • the first device does not receive the reply message fed back by the second device within the preset interval duration after the third message is sent, it indicates that the second interface of the second device is highly likely or determined to be in a dormant state.
  • the second device does not receive the third message sent by the first device, and the first device may send the fourth message to the first interface of the second device, thereby waking up the second interface of the second device, and then waking up
  • the second interface of the second device sends a third message to implement data communication between the first device and the second device.
  • the interval waiting for the first device needs to be longer than the third message transmitted from the first device in the normal communication state.
  • the duration to the second device plus the sum of the durations of the reply message transmitted from the second device to the first device, for example, the interval duration is greater than the time point from when the last field of the third message leaves the first device, to the second device.
  • the length of time between the time when the first field of the reply message fed back to the first device reaches the first device, that is, the second device receives the third message, and then sends the reply message of the third message to the first device. interval.
  • FIG. 13 is a schematic flowchart of message transmission and data communication between the first device and the second device, as follows:
  • Step 1301 The second device sends a first message to the first device by using the first interface or the second interface, and/or the second device sends the second message to the first device by using the second interface.
  • the first message and the second message both contain the first indication information, where the first indication information is used to indicate the state of the second interface of the second device, such as the current state of being in the sleep state or the awake state, or Sleeping or waking up during the time period.
  • the second device may notify the first device of the state of the second interface of the second device by sending the first message, or sending the second message, or separately sending the first message and the second message.
  • the second device separately sends the first message and the second message to the first device, it may be better to ensure that the first device can receive the first indication information.
  • the second device may send the first message by using the first interface, and the second device may send the second message by using the second interface, where the first interface of the second device has the capability of sending the first message, and the second device may send the second message by using the second interface.
  • the second device may send the first message and/or the second message through the second interface.
  • the second device may send the first message according to the preset first time period; the second device may send the second message based on the preset second time period.
  • the first time period and the second time period may be the same or different.
  • the time point at which the second device sends the first message may be the same as the time point at which the second message is sent, or may be different.
  • Step 1302 The first device receives the first message and/or the second message sent by the second device.
  • Step 1303 The first device determines the state of the second interface of the second device indicated by the first indication information. If the first indication information indicates that the second interface of the second device is in the awake state, step 1304 is performed. The first indication information indicates that the second interface of the second device is in a sleep state, and then step 1305 is performed.
  • Step 1304 Send a third message to the second device, where the third message is related to the uplink data of the first device, to perform data communication between the first device and the second device.
  • Step 1305 Send a fourth message to the second device, where the fourth message is used to wake up the second interface of the second device, so that data is sent between the first device and the second device through the second interface of the second device that is awake. Communication.
  • Step 1306 If the first device does not receive the first message or the second message, and the first device cannot know the state of the second interface of the second device, the first device sends a third message to the second device. Attempting data communication between the first device and the second device.
  • the second device If the second device receives the third message sent by the first device through the second interface, the second device sends a response to the second interface of the first device to confirm that the second device has received the third message. Message.
  • Step 1307 After the first device sends the third message for a preset interval, if the first device does not receive the reply message sent by the second device, and the reply message corresponds to the third message, the first device goes to the first device.
  • the second device sends a fourth message to wake up the second interface of the second device, and implements data communication between the first device and the second device.
  • the present application uses the first device and the second device as a terminal and an AP in a basic service set as an example for description:
  • the terminal has two communication modules: a WUR and an 802.11 main transceiver module, and the corresponding communication interface is: the interface corresponding to the WUR, that is, the first interface of the first terminal, and the interface corresponding to the 802.11 main transceiver module.
  • the second interface of a terminal the WUR of the terminal communicates with other devices by using its corresponding interface
  • the 802.11 main transceiver module of the terminal communicates with other devices by using its corresponding interface
  • the AP has two communication modules: WUR and 802.11 main
  • the transceiver module, the corresponding communication interface is: the interface corresponding to the WUR, that is, the first interface of the second terminal and the interface corresponding to the 802.11 main transceiver module, that is, the second interface of the second terminal, and the WUR of the AP uses the corresponding interface to perform with other devices.
  • the AP's 802.11 master transceiver module communicates with other devices using its corresponding interface.
  • the WLAN system involves communication between the terminal and the WUR of the AP, communication between the 802.11 primary transceiver module of the terminal and the 802.11 primary transceiver module of the AP, and communication between the AP and the WUR of the terminal.
  • the communication between the WURs from the terminal to the AP includes: the terminal sends a wake-up frame containing the WUR identification information, that is, the WUP, to the WUR of the AP, in an attempt to wake up communication of the 802.11 primary transceiver module of the AP.
  • the communication between the 802.11 primary transceiver module of the terminal and the 802.11 primary transceiver module of the AP includes: the 802.11 primary transceiver module of the terminal sends uplink data to the 802.11 primary transceiver module of the AP or informs the frame that the uplink data needs to be received; or The 802.11 master transceiver module of the AP sends a reply message to the 802.11 master transceiver module of the terminal for confirming the reply message of the uplink data sent by the 802.11 master transceiver module of the terminal; or the 802.11 master transceiver module of the AP sends and receives the 802.11 master transceiver to the terminal.
  • the communication sent by the module to indicate the current state of the AP or the state it is in during the preset time period.
  • the communication between the AP and the WUR of the terminal includes: the communication that the AP sends to the WUR of the terminal, and is used to indicate the current state of the AP or the state in which the preset time period is located.
  • the state of the AP refers to the 802.11 of the AP. Whether the main transceiver module is in the awake state or the sleep state.
  • the AP can send and receive Wi-Fi messages.
  • the 802.11 primary transceiver module of the AP can only be awakened by the WUR of the AP, or has a downlink. The message needs to be awake when it needs to be transmitted, and then the Wi-Fi message is transmitted with other devices.
  • the main purpose of the AP's 802.11 main transceiver module to go to sleep is to save energy.
  • the terminal when uplink data needs to be transmitted on the terminal side, in one case, the terminal can separately send a WUR message and a Wi-Fi message to the AP, ensuring that the terminal can be based on the terminal when the WUR of the AP is in the awake state.
  • the sent WUR message wakes up the AP's 802.11 master transceiver module to receive the Wi-Fi message; or in another case, the terminal can only send the Wi-Fi message to the AP, so that when the AP's 802.11 master transceiver module is in the awake state Receive Wi-Fi messages directly to achieve data communication between the two.
  • the AP is notified to the terminal by transmitting its own state (for example, the state of the 802.11 primary transceiver module of the AP) or the state within the preset time period, and the terminal can determine that the Wi-Fi message is directly sent to the AP to perform the connection between the two.
  • the data communication needs to send the WUR message to wake up the AP's 802.11 main transceiver module before sending the Wi-Fi message, thereby improving the efficiency and effectiveness of the data communication between the AP and the terminal, and reducing the transmission of invalid messages. Save unnecessary overhead.
  • the first device receives the first message (WUR message, such as WUR beacon, WUR) sent by the second device (such as an AP) through the first interface (such as the interface corresponding to the WUR). Synchronization frame). Or, the first device receives the second message (Wi-Fi message, such as a Wi-Fi beacon) sent by the second device by using the second interface, such as the interface corresponding to the 802.11 primary transceiver module.
  • the first message and the second message both carry the first indication information of the state in which the second device is currently located or the state in which the second device is located.
  • the first device determines that the first information carried in the first message or the second message is valid, that is, the preset time period is valid; if the preset time period is exceeded, Then, the first device determines that the received first information or the first indication information carried in the second message is invalid, that is, the preset time period is invalid.
  • the first message and the second message respectively indicate the first indication information by using a 1-bit indicator, where the first indication information indicates that the second interface of the second device is in an awake state or a sleep state. Or the first device that is in the awake state or the dormant state for receiving the first message or the second message, and obtains the location of the second interface of the second device according to the first indication information. Status to communicate with the second device on the appropriate interface. For example, when the first indication is “1”, the second device is in the awake state, and when the first indication is “0”, the second device is in the sleep state.
  • the preset time period may be a time period agreed by the first device and the second device in advance, as shown in FIG.
  • the first message or the second message is sent from the second device to a certain time point.
  • the time period; or, the preset time may also be the time after a certain time point, as shown in FIG. 15, the time after the second device sends the first message or the second message.
  • the first message or the second message is a message periodically sent by the second device, such as a WUR beacon (a beacon frame of the WUR message), a WUR synchronization frame (a WUR message carrying the synchronization information), and a Wi-Fi beacon (Wi-Fi) The beacon frame of the message) and so on.
  • the preset time period may also be a time from the second device sending the current first message to the next time the first message is sent; or, from the time when the current second message is sent, to the next time. The time when the second message was sent.
  • the first indication information may also carry a length of the preset time period.
  • the preset time period is a specific duration, such as several milliseconds (ms, millisecond), or several microseconds (us, microsecond), and the like.
  • the first indication information may also indicate the preset time by other means, which will not be exemplified herein.
  • the first device receives the first message or the second message sent by the second device, and the second interface of the first device wakes up from the dormant, and has the time that the uplink data needs to be sent to the second device, without exceeding the first
  • the preset time indicated by the first indication information in the message or the second message determines the state of the second interface of the second device according to the first indication information.
  • the first device sends the second interface to the second interface of the second device.
  • the third message is a Wi-Fi message, which may be a PS-Poll (for the first device to inform the second device that it has awake), or a Request to Send (RTS), or other may notify the second device that the first device
  • the device's 802.11 master transceiver module has awakened messages, or uplink data and other messages.
  • the first device sends a fourth message to the first interface of the second device.
  • the fourth message is a WUR message, which is used to wake up the second interface of the second device. After the second device wakes up, the first device transmits the message through the second interface of the first device and the second interface of the second device.
  • the first device does not receive the first message and the second message sent by the second device; or the first device receives the first message or the second message sent by the second device, but the second interface of the first device
  • the time period of waking up and preparing to send an uplink message to the second device has exceeded a preset time period in which the second interface of the second device indicated by the first indication information in the first message or the second message is in the awake state, then, first The device may also send a third message to the second interface of the second device to attempt data communication. If the first device does not receive the message sent by the second device to the first device that the third message has been received (ie, the reply message of the third message), The first device also sends a fourth message to the first interface of the second device after the first interval.
  • the first interval may be slightly larger than the aSIFSTime (the aSIFSTime is an important basic time unit in the 802.11 protocol, and is used for the interval required for a device to send a reply message after receiving a legitimate message sent to itself, in the 802.11g/n protocol.
  • the second interface of the second device is in the awake state, the second device can reply to the message after the aSIFSTime (that is, send a reply message of the third message) after receiving the third message sent by the first device.
  • CTS Clear to Send
  • ACK Acknowledge
  • the first interval is required to be greater than the aSIFSTime to prevent the first device from transmitting the fourth message quickly (the prompt is less than or equal to the aSIFSTime), causing the second interface of the second device to receive the third message even though The fourth message sent by the first device is occupied, and the reply message of the third message cannot be sent to the first device in time.
  • first device and the second device are specific examples of the wireless device, and the following describes the structures of the first device and the second device:
  • the schematic diagram of the structure when the wireless device is the first device in FIG. 4, the first device includes The following structure:
  • the first communication module 1701 corresponds to the first interface of the first device
  • the second communication module 1702 corresponds to the second interface of the first device
  • a memory 1703 configured to store data generated by an application and an application running
  • the processor 1704 is configured to execute the application to implement the following functions:
  • the first message and/or the second message sent by the second device receives, by the first interface corresponding to the first communication module 1701 or the second interface corresponding to the second communication module 1702, the first message and/or the second message sent by the second device, where the first message and the second message are The first indication information is included; the state of the second interface of the second device indicated by the first indication information is determined; if the first indication information indicates that the second interface of the second device is In the awake state, the second message is sent to the second device by using the second interface corresponding to the second communication module 1702, and the third message is related to the uplink data of the first device, to be in the first device Data communication between the second device; if the first indication information indicates that the second interface of the second device is in a sleep state, the first interface or the second interface corresponding to the first communication module 1701 The second device sends a fourth message, where the fourth message is used to wake up the second interface of the second device, so that the first device and the second device pass the second device that is awake First A data communication interface
  • the first device in FIG. 17 may be a terminal, the first communication module 1701 may be a WUR, and the second communication module 1702 may be an 802.11 primary transceiver module.
  • the first message may be a WUR message, and the second message may be a Wi-Fi.
  • the first interface corresponding to the WUR is used to receive the WUR message (such as receiving the first message), that is, the first payload portion of the WUR message, and it may also have the function of transmitting the first payload portion of the WUR message (such as sending the fourth message).
  • the second interface corresponding to the 802.11 main transceiver module is configured to send and receive Wi-Fi messages (such as receiving the second message and sending the third message).
  • the second interface corresponding to the 802.11 primary transceiver module needs to have the capability of sending the WUR message (including the first pilot part). And the first payload part), if the first interface corresponding to the WUR can send and receive the first payload part of the WUR message, the second interface corresponding to the 802.11 primary transceiver module does not necessarily need to have the capability of sending the WUR message.
  • the first device further has an antenna 1705.
  • the first interface corresponding to the first communication module 1701 and the second interface corresponding to the second communication module 1702 can transmit and receive signals through the antenna 1705.
  • the first interface corresponding to the WUR on the terminal and the second interface corresponding to the 802.11 main transceiver module can share the antenna 1705 and work in the same frequency band to reduce the cost of the device hardware.
  • the first interface corresponding to the WUR and the second interface corresponding to the 802.11 primary transceiver module may also correspond to different antennas 1705, especially when the two work in different frequency bands, such as the 2.4 GHz band and the 5 GHz band.
  • the terminal can be implemented by a System on a Chip (SoC) or an integrated circuit to implement the functions of the above structures.
  • SoC System on a Chip
  • the wireless device when the wireless device is the second device in FIG. 4, the second device includes the following structure:
  • the first communication module 1801 corresponds to the first interface of the second device
  • the second communication module 1802 corresponds to the second interface of the second device
  • a memory 1803, configured to store data generated by an application and an application running
  • the processor 1804 is configured to execute the application to implement the following functions:
  • the processor 1804 can also generate and parse the first message and the second message before sending the first message and/or the second message.
  • the second device may be an AP
  • the first communication module 1801 may be a WUR
  • the second communication module 1802 may be an 802.11 primary transceiver module.
  • the first message may be a WUR message
  • the second message may be a Wi-Fi message.
  • the first interface corresponding to the WUR is used to receive the WUR message (such as receiving the fourth message), that is, the first payload portion of the WUR message, and it may also have the function of transmitting the first payload portion of the WUR message (such as sending the first message).
  • the second interface corresponding to the 802.11 main transceiver module is configured to send and receive Wi-Fi messages (such as sending a second message and receiving a third message).
  • the second interface corresponding to the 802.11 primary transceiver module needs to have the capability of sending the WUR message (including the first pilot part). And the first payload part), if the first interface corresponding to the WUR can send and receive the first payload part of the WUR message, the second interface corresponding to the 802.11 primary transceiver module does not necessarily need to have the capability of sending the WUR message.
  • the first message may be a WUR message periodically sent by the second device, such as a WUR beacon or a WUR synchronization frame
  • the second message may be a Wi-Fi message periodically sent by the second device, such as a Wi-Fi beacon. Wait.
  • the first indication information indicates that the second interface of the second device is in the state that the first indication information indicates the current state of the second interface of the second device or the state that is in the preset time period, such as In the awake state, it will not go to sleep, or it will not go into the awake state when it is in the sleep state, or it will be in the waking state or the sleep state in a certain period of time, and so on.
  • the preset time period may be a time period agreed by the first device and the second device in advance, such as starting from a time point when the second device sends the first message and/or the second message, to a certain time point. period;
  • the preset time period may also be a time period after a certain time point, such as a time period after the first message and/or the second message are sent from the second device;
  • the preset time period may also be a first sending from the second device.
  • the time period from the time point of the message to the time point when the next first message is sent, or the preset time period may be from the time point when the second device sends a second message to the next second message. The time period between the time points.
  • the length of the preset time period may be directly carried in the first indication information.
  • the preset time period is a number of aSlotTimes; or a specific duration, such as a number of milliseconds ms, or a number of microseconds us.
  • the second device further has an antenna 1805.
  • the first interface corresponding to the first communication module 1801 and the second interface corresponding to the second communication module 1802 can transmit and receive signals through the antenna 1805.
  • the first interface corresponding to the WUR on the AP and the second interface corresponding to the 802.11 primary transceiver module can share the antenna 1805 and work in the same frequency band to reduce the cost of the device hardware.
  • the first interface corresponding to the WUR and the second interface corresponding to the 802.11 primary transceiver module may also correspond to different antennas 1705, especially when the two work in different frequency bands, such as the 2.4 GHz band and the 5 GHz band.
  • the AP can be implemented by a System on a Chip (SoC) or an integrated circuit to implement the functions of the above structures.
  • SoC System on a Chip
  • the AP may periodically send a WUR message and/or a Wi-Fi message to the terminal to which the terminal is connected to notify the current state of the interface corresponding to the 802.11 primary transceiver module of each terminal AP or
  • the state of the preset time period such as the awake state or the sleep state, and the terminal corresponding to the AP will know whether the interface corresponding to the 802.11 main transceiver module of the AP is in the awake state or the sleep state, and responds correspondingly.
  • the terminal when the terminal corresponding to the 802.11 primary transceiver module of the AP is in the awake state, the terminal can directly send the message related to the uplink data to the AP, and learn that the interface corresponding to the 802.11 primary transceiver module of the AP is in the sleep state.
  • the terminal may send a wake-up frame to the AP, and then wake up the interface corresponding to the 802.11 primary transceiver module of the AP, and then send a message related to the uplink data to the AP, and after the interface corresponding to the 802.11 primary transceiver module of the AP is awakened, the AP
  • the Wi-Fi message sent by the terminal indicates that the interface corresponding to the 802.11 main transceiver module of the AP is in the awake state, and the terminal can directly indicate to the awake state that the interface corresponding to the 802.11 main transceiver module of the AP is in the received indication information.
  • the AP sends the message related to the uplink data to achieve the purpose of effectively waking up the interface corresponding to the 802.11 primary transceiver module of the AP, and implements effective communication.
  • the interface corresponding to the 802.11 primary transceiver module that the terminal has awake the AP does not appear, and other terminals
  • the sent wake-up frame cannot be received by the WUR where the AP is in the sleep state, causing other terminals to fail.
  • 802.11 known AP interface corresponding to the master transceiver module is already in the awake state into a case, to avoid communication failure.
  • the 802.11 primary transceiver module corresponding to the AP can be effectively awake. Interfaces and communication, reducing the overhead of the terminal.
  • At least one first device shown in FIG. 17 and one second device shown in FIG. 18 constitute a basic service set, as shown in FIG.
  • the interfaces described in the embodiments of the present application may be logical concepts (such as a logical functional unit/module), or may be physical entities (such as communication interfaces provided by corresponding communication modules).
  • the functions implemented by the various interfaces (such as the first interface and the second interface) are implemented by corresponding physical entities such as a wireless transceiver or a wake-up receiver or a wake-up transmitter.
  • the steps performed by the second interface described in the second interface may be replaced by a wireless transceiver (such as a WiFi communication module, or WiFi main radio or 802.11 primary transceiver module); as described in various embodiments of the present application
  • the transmitting steps performed by the first interface of the AP/terminal may all be replaced by the wake-up transmitter of the AP/terminal (in another embodiment, since the wireless transceiver may have the wifi signal transceiving and WUR)
  • the signal is sent by these two functions, so the above mentioned by the AP/terminal
  • the steps performed by an interface may also be replaced by the wireless transceiver of the AP/terminal; the receiving steps performed by the first interface of the AP/terminal described in the embodiments of the present application may be replaced with Executed by the wakeup receiver of the terminal.
  • the WUR module can be called a wake-up transceiver, and the above-mentioned wake-up transmitter or wake-up receiver can be replaced with a wake-up transceiver.
  • 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 relevant parts between the embodiments of the present invention can be referred to each other.
  • 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 transmitters, receivers, transceivers, processors, memories, 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.
  • the names of the message/frame/instruction information, modules, units, and the like provided in the embodiments of the present invention are merely examples, and other names may be used as long as the functions of the message/frame/instruction information, the module or the unit, and the like are the same.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种通信方法,应用于第一设备,方法包括:接收第二设备发送的第一消息和/或第二消息,第一消息和第二消息中均含有第一指示信息;判断所述第一指示信息中所指示的所述第二设备的第二接口所处的状态;如果所述第一指示信息指示所述第二设备的第二接口处于苏醒状态,则向所述第二设备发送第三消息,所述第三消息与所述第一设备的上行数据相关,以在所述第一设备与所述第二设备之间进行数据通信;如果所述第一指示信息指示所述第二设备的第二接口处于休眠状态,则向所述第二设备发送第四消息,所述第四消息用于唤醒所述第二设备的第二接口,以使得所述第一设备与所述第二设备之间通过被唤醒的第二设备的第二接口进行数据通信。

Description

一种通信方法及无线设备
本申请要求于2016年11月14提交中国专利局、申请号为201611002160.5、发明名称为“一种消息的通知方法和设备”的中国专利申请的优先权,以及于2017年4月6提交中国专利局、申请号为201710221939.4、发明名称为“一种通信方法及无线设备”的中国专利申请的优先权,两者全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,尤其涉及一种通信方法及无线设备。
背景技术
随着无线局域网(Wireless Local Area Network,WLAN)标准的演进,在无线保真(Wireless Fidelity,Wi-Fi)网络中,终端设备(如工作站,STA,Station)在没有消息收发时(如No data阶段),会有很大一部分能量浪费在无接收信号时的空闲时侦听信道中。由此可见,在Wi-Fi网络的无线接入点(Access Point,AP)与终端的通信过程中,需要一种降低设备功耗的通信方法。
现有技术中对于降低设备功耗的通信方案中,是通过在终端及AP上采用低功耗的唤醒接收机(Low Power Wake Up Radio,WUR)来代替802.11主收发模块在媒介空闲时侦听信道。
例如,在终端及AP中均设置802.11主收发模块及WUR模块,当终端的802.11主收发模块进入深度休眠后,终端的低功耗的WUR苏醒开始工作。当AP需要与终端通信时,AP向终端的WUR发送WUR消息,即唤醒帧(Wake Up Packet,WUP),终端的WUR正确收到发给自己的WUP后唤醒终端的802.11主收发模块,然后终端的WUR可以转入休眠,AP则与苏醒的终端的802.11主收发模块进行通信;终端的802.11主收发模块与AP通信完成后会进入休眠,同时终端的WUR苏醒又开始侦听是否有发送给自己的WUP,以便再次唤醒终端的802.11主收发模块。而终端需要与AP通信时,终端向AP的WUR发送WUR消息,即唤醒帧,AP的WUR正确收到发给自己的WUP后唤醒AP的802.11主收发模块,然后AP的WUR转入休眠,终端则与苏醒的AP的802.11主收发模块进行通信;AP的802.11主收发模块与终端通信完成后会进入休眠,同时AP的WUR苏醒又开始侦听是否有发送给自己的WUP,以便再次唤醒AP的802.11主收发模块。
但是,以上通信方式中,如果一个终端通过WUR消息唤醒AP的802.11主收发模块之后,AP的WUR会进入休眠状态,那么AP无法再通过WUR接收到其他终端发送的WUP,由此若此时其他终端向AP发送WUP则不会收到AP的响应,使得其他终端会认为AP无法进行通信,造成唤醒AP失败,双方无法进行数据通信。
发明内容
有鉴于此,本申请提供了一种通信方法及无线设备,以提升AP与终端的数据通信的效率。
本申请的第一方面提供了一种通信方法,应用于第一设备,其中包括以下步骤:接收第二设备发送的含有第一指示信息的第一消息和/或第二消息,判断所述第一指示信息中所指示的所述第二设备的第二接口所处的状态,如果所述第一指示信息指示所述第二设备的第二接口处于苏醒状态,则向所述第二设备发送第三消息,所述第三消息与所述第一设备的上行数据相关,以在所述第一设备与所述第二设备之间进行数据通信,如果所述第一指示信息指示所述第二设备的第二接口处于休眠状态,则向所述第二设备发送第四消息,所述第四消息用于唤醒所述第二设备的第二接口,以使得所述第一设备与所述第二设备之间通过被唤醒的第二设备的第二接口进行数据通信。可见,本申请中,第一设备通过对第二设备发送的能够指示第二设备的第二接口所处的状态的消息进行接收,从而判断第二设备的第二接口所处的状态,进而第一设备决定是否需要唤醒第二设备的第二接口还是直接进行数据通信,因此,本申请中第一设备能够及时获知第二设备的第二接口所处的状态并进行数据通信或唤醒后再进行通信,由此实现第二设备的第二接口的有效唤醒,进行数据通信的目的。
本申请的第二方面提供了一种通信方法,应用于第二设备,其中包括以下步骤:通过第一接口或第二接口向第一设备发送包含第一指示信息的第一消息,和/或,通过第二接口向第一设备发送包含第一指示信息的第二消息,而第一指示信息能够指示所述第二设备的第二接口所处的状态。由此,本申请中,第二设备通过向第一设备发送指示第二设备的第二接口所处的状态的消息来通知第一设备,由第一设备决定是否需要唤醒第二设备的第二接口进行数据通信,实现第二设备的第二接口的有效唤醒,进行数据通信的目的。
本申请的第三方面提供了一种无线设备,其中包括以下结构:对应无线设备的第一接口的第一通信模块、对应无线设备的第二接口的第二通信模块、用于存储应用程序及应用程序运行所产生的数据的存储器及用于执行所述应用程序,以实现以下功能的处理器:接收第二设备发送的第一消息和/或第二消息,所述第一消息和所述第二消息中均含有第一指示信息;判断所述第一指示信息中所指示的所述第二设备的第二接口所处的状态;如果所述第一指示信息指示所述第二设备的第二接口处于苏醒状态,则通过所述无线设备的第二接口向所述第二设备发送第三消息,所述第三消息与所述无线设备的上行数据相关,以在所述无线设备与所述第二设备之间进行数据通信;如果所述第一指示信息指示所述第二设备的第二接口处于休眠状态,则通过所述无线设备的第一接口或第二接口向所述第二设备发送第四消息,所述第四消息用于唤醒所述第二设备的第二接口,以使得所述无线设备与所述第二设备之间通过被唤醒的第二设备的第二接口进行数据通信。可见,本申请中,无线设备通过对第二设备发送的能够指示第二设备的第二接口所处的状态的消息进行接收,从而判断第二设备的第二接口所处的状态,进而无线设备决定是否需要唤醒第二设备的第二接口还是直接进行数据通信,因此,本申请中无线设备能够及时获知第二设备的第二接口所处的状态并进行数据通信或唤醒后再进行通信,由此实现第二设备的第二接口的有效唤醒,进行数据通信的目的。
本申请的第四方面提供了一种无线设备,其中包括以下结构:对应所述无线设备的第一接口的第一通信模块、对应所述无线设备的第二接口的第二通信模块、用于存储应用程序及应用程序运行所产生的数据的存储器及用于执行所述应用程序,以实现以下功能的处理器:通过所述无线设备的第一接口或第二接口向第一设备发送第一消息,和/或,通过所述无线设备的第二接口向第一设备发送第二消息;其中,所述第一消息和所述第二消息均包含第一指示信息,所述第一指示信息指示所述无线设备的第二接口所处的状态。由此,本申请中,无线设备通过向第一设备发送指示无线设备的第二接口所处的状态的消息来通知第一设备,由第一设备决定是否需要唤醒无线设备的第二接口进行数据通信,实现无线设备的第二接口的有效唤醒,进行数据通信的目的。
本申请的第五方面提供了一种基本服务集,可以包括以下结构:至少一个第一设备及一个第二设备;
其中,所述第二设备通过其第一接口或第二接口向每个所述第一设备发送第一消息,和/或,所述第二设备通过其第二接口向每个所述第一设备发送第二消息,所述第一设备接收所述第二设备发送的第一消息和/或第二消息,所述第一消息和所述第二消息中均含有第一指示信息;所述第一设备判断所述第一指示信息中所指示的所述第二设备的第二接口所处的状态,如果所述第一指示信息指示所述第二设备的第二接口处于苏醒状态,则所述第一设备向所述第二设备发送第三消息,所述第三消息与所述第一设备的上行数据相关,以在所述第一设备与所述第二设备之间进行数据通信;如果所述第一指示信息指示所述第二设备的第二接口处于休眠状态,则所述第一设备向所述第二设备发送第四消息,所述第四消息用于唤醒所述第二设备的第二接口,以使得所述第一设备与所述第二设备之间通过被唤醒的第二设备的第二接口进行数据通信。可见,本申请中,在一个基本服务集中的第二设备通过向第一设备发送指示第二设备的第二接口所处的状态的消息来通知第一设备,由第一设备决定是否需要唤醒第二设备的第二接口进行数据通信,实现第二设备的第二接口的有效唤醒,进行数据通信的目的。
在一个实现方式中,若第一设备没有接收到所述第一消息和所述第二消息,还向所述第二设备发送所述第三消息。由此,第一设备通过向第二设备发送第三消息,尝试进行数据通信。
在一个实现方式中,第一设备在向所述第二设备发送所述第三消息经过预设的间隔时长后,如果没有收到所述第二设备发送的与所述第三消息相对应的回复消息,则第一设备向所述第二设备发送所述第四消息。由此,第一设备在没有收到回复消息时即可知道第二设备的第二接口处于休眠状态,则利用第四消息唤醒第二设备的第二接口,实现数据通信。
在一个实现方式中,所述间隔时长大于正常通信状态下所述第一设备发送完所述第三消息到所述第一设备接收到所述第三消息对应的回复消息之间的时长。由此,第一设备在确定第三消息没有被第二设备接收表明第二设备的第二接口处于休眠状态时 再发送第四消息,进而避免消息传输的信道被发送过早的第四消息占用,第二设备无法及时向第一设备发送回复消息,造成数据通信失败。
在一个实现方式中,所述第一指示信息指示所述第二设备的第二接口处于苏醒状态,是指:所述第一指示信息指示所述第二设备的第二接口当前处于苏醒状态,或者所述第二设备的第二接口在预设时间段内处于苏醒状态且所述预设时间段有效。由此,第一设备通过对第二设备发送的能够指示第二设备的第二接口所处的状态的消息进行接收,从而判断第二设备的第二接口所处的状态,如当前处于苏醒状态或在预设时间段内处于苏醒状态且预设时间段有效,进而第一设备决定直接进行数据通信,因此,本申请中第一设备能够及时获知第二设备的第二接口所处的状态并进行数据通信,由此实现第二设备的第二接口的有效唤醒,进行数据通信的目的。
在一个实现方式中,所述第一指示信息指示所述第二设备的第二接口处于休眠状态,是指:所述第一指示信息指示所述第二设备的第二接口当前处于休眠状态,或者所述第二设备的第二接口在预设时间段内处于休眠状态。由此,第一设备通过对第二设备发送的能够指示第二设备的第二接口所处的状态的消息进行接收,从而判断第二设备的第二接口所处的状态,如当前处于休眠状态或在预设时间段内处于休眠状态,进而第一设备决定首先唤醒第二设备的第二接口再进行数据通信,因此,本申请中第一设备能够及时获知第二设备的第二接口所处的状态并进行数据通信,由此实现第二设备的第二接口的有效唤醒,进行数据通信的目的。
在一个实现方式中,所述第一设备的第一接口为WUR对应的接口,所述第一设备的第二接口为802.11主收发模块对应的接口,所述第二设备的第一接口为WUR对应的接口,所述第二设备的第二接口为802.11主收发模块对应的接口。由此,第一设备能够有效唤醒第二设备的802.11主收发模块及其对应的接口,并实现数据通信。
在一个实现方式中,所述第一消息为WUR消息,所述第二消息为Wi-Fi消息。由此,第一设备能够利用WUR消息有效唤醒第二设备的第二接口并实现数据通信。
在一个实现方式中,所述第一设备为终端,所述第二设备为AP。由此,终端能够有效唤醒AP的第二接口(即唤醒AP的802.11主收发模块),并实现数据通信。
在一个实现方式中,第二设备通过第一接口或第二接口向第一设备发送第一消息,可以基于预设的第一时间周期,通过所述第一接口或所述第二接口向所述第一设备发送所述第一消息。由此,第二设备能够周期性的通过向第一设备发送指示第二设备的第二接口所处的状态的消息来通知第一设备,而第一设备可以通过周期时间判断是否漏收第一消息,并且由第一设备决定是否需要唤醒第二设备的第二接口进行数据通信,实现第二设备的第二接口的有效唤醒,进行数据通信的目的。
在一种实现方式中,第二设备通过第二接口向所述第一设备发送第二消息,可基于预设的第二时间周期,通过所述第二接口向所述第一设备发送所述第二消息。由此,第二设备能够周期性的通过向第一设备发送指示第二设备的第二接口所处的状态的消息来通知第一设备,而第一设备可以通过周期时间判断是否漏收第二消息,并且由第一设备决定是否需要唤醒第二设备的第二接口进行数据通信,实现第二设备的第二接 口的有效唤醒,进行数据通信的目的。
在一种实现方式中,所述第一指示信息中的预设时间段由所述第二设备基于所述第一设备与所述第二设备之间预设的通信协议设置;或者,所述预设时间段由所述第二设备基于所述第一指示信息中所指示的时间值设置。由此,第一设备能够更好的有效唤醒第二设备的第二接口,并实现数据通信。
本申请的第六方面提供了一种通信方法,应用终端侧,可以包括以下步骤:第一设备通过第一接口接收第二设备发送的第一消息;或,第一设备通过第二接口接收第二设备发送的第二消息,而第一消息和第二消息均携带第一指示信息,第一指示信息指示所述第二设备在预设时间所处的状态,所述所处的状态则是指所述第二设备的第二接口将处于苏醒状态、或休眠状态、或在所述预设时间将一直处于苏醒状态;之后,根据所述第一指示信息,若所述第二设备的所述第二接口处于苏醒状态、或在所述预设时间将一直处于苏醒状态,则所述第一设备向所述第二设备发送第三消息;所述第三消息为上行消息,或通知所述第二设备有上行消息需要接收的消息;或,若所述第二设备的所述第二接口处于休眠状态,则所述第一设备向所述第二设备发送第四消息;所述第四消息用于唤醒所述第二设备的所述第二接口,所述第二设备的所述第二接口苏醒后与所述第一设备进行通信。
本申请的第七方面提供了一种通信方法,应用于AP侧,该方法可以包括以下步骤:第二设备发送第一消息和第二消息;所述第一消息和所述第二消息均携带第一指示信息,所述第一指示信息指示所述第二设备在预设时间所处的状态;所述第一消息被第一设备通过第一接口接收,所述第二消息被所述第一设备通过第二接口接收;所述所处的状态是指所述第二设备的第二接口将处于苏醒状态、或休眠状态、或在所述预设时间内将一直处于苏醒状态。
本申请的第八方面提供了一种第一设备,包括:第一接口,用于所述第一设备接收第二设备发送的第一消息的第一负载;所述第一消息包括第一先导和所述第一负载;所述第一先导使用的带宽大于所述第一负载使用的带宽;第二接口,用于所述第一设备接收所述第二设备发送的第二消息;所述第一消息和所述第二消息均携带第一指示信息,所述第一指示信息指示所述第二设备在预设时间所处的状态;所述所处的状态是指所述第二设备的所述第二接口将处于苏醒状态、或休眠状态、或在所述预设时间将一直处于苏醒状态;处理器,用于所述第一设备解析所述第一消息或所述第二消息,并且根据所述第一消息或所述第二消息中携带的所述第一指示信息判断是否需要生成第三消息、第四消息;所述第三消息为上行消息,或通知所述第二设备有上行消息需要接收的消息;所述第四消息用于唤醒所述第二设备的所述第二接口,所述第二设备的所述第二接口苏醒后与所述第一设备进行通信;根据所述第一指示信息,若所述第二设备的所述第二接口处于苏醒状态、或在所述预设时间将一直处于苏醒状态,则所述第一设备的所述处理器生成所述第三消息;或,若所述第二设备的所述第二接口处于休眠状态,则所述第一设备的所述处理器生成所述第四消息;如果所述第一设备具备通过所述第一接口发送所述第四消息的所述第一负载的能力,则所述第一设备通过 所述第一接口用送所述第四消息的所述第一负载;如果所述第一设备不具备通过所述第一接口发送所述第四消息的所述第一负载的能力,则所述第一设备应具备通过所述第二接口发送所述第四消息的所述第一负载的能力;所述第一设备还用于通过所述第二接口发送所述第三消息,以及所述第四消息的所述第一先导;所述第一设备还包括存储器,用于存储程序代码和指令;以及天线,用于从无线媒介中收发消息。
本申请的第九方面提供了一种第二设备,包括:第一接口,如果所述第一接口具备发送第一消息的第一载荷的能力,则所述第一接口用于发送所述第一消息的所述第一载荷;所述第一消息包括第一先导和所述第一载荷,所述第一先导使用的带宽大于所述第一载荷使用的带宽;第二接口,用于所述第二设备发送第二消息,或发送所述第一消息的所述第一载荷;如果所述第一接口不具备发送所述第一消息的所述第一载荷的能力,则所述第二接口也可用于发送所述第一消息的所述第一载荷;处理器,用于生成所述第一消息和所述第二消息;所述第一消息和所述第二消息均携带第一指示信息,所述第一指示信息指示所述第二设备在预设时间所处的状态;所述所处的状态是指所述第二设备的所述第二接口处于苏醒状态、或休眠状态、或在所述预设时间内将一直处于苏醒状态;所述第二设备还包括存储器,用于存储程序代码和指令;以及天线,用于从无线媒介中收发消息。
在一个实现方式中,如果所述第一设备没有接收过所述第一消息和所述第二消息,或,所述第一设备接收过所述第二设备发送的所述第一消息或所述第二消息,但已超出所述预设时间,则,所述第一设备向所述第二设备的第二接口发送所述第三消息,用于所述第一设备尝试与所述第二设备的第二接口进行通信;在第一间隔时间内,如果所述第一设备没有收到所述第二设备向所述第一设备发送的第三消息的回复消息,则所述第一设备在所述第一间隔时间后向所述第二设备的所述第一接口发送所述第四消息,用于所述第一设备唤醒所述第二设备的第二接口;所述第一间隔时间大于所述第二设备接收到所述第三消息后,向所述第一设备发送所述第三消息的回复消息的间隔,用于避免所述第一设备在收到所述第三消息的回复消息之前就发送所述第四消息。
在一个实现方式中,所述第一消息和所述第二消息是周期性发送的消息,以用于所述第一设备识别是否漏收所述第一消息或所述第二消息。
在一个实现方式中,所述预设时间为所述第一设备与所述第二设备约定的时间,或,所述第一指示信息中所指示的时间;用于所述第一设备判断所述第一消息和所述第二消息中携带的所述第一指示信息是否有效。
在一个实现方式中,如果所述第一设备没有通过所述第一接口接收过所述第一消息;并且,所述第二设备没有通过所述第二接口接收过所述第二消息;或,所述第一设备接收过所述第一消息或所述第二消息,但已超出所述预设时间,则,所述第一设备通过所述第二接口向所述第二设备的所述第二接口发送所述第三消息;在第一间隔时间内,如果所述第一设备没有收到所述第二设备发送的第三消息的回复消息,则,当所述第一设备具备通过所述第一接口发送所述第一载荷的能力时,所述第一设备通过所述第一接口在所述第一间隔时间后向所述第二设备的第一接口发送所述第四消 息;当所述第一设备不具备通过所述第一接口发送所述第一载荷的能力时,所述第一设备通过所述第二接口在所述第一间隔时间后向所述第二设备的第一接口发送所述第四消息;所述第一间隔时间大于所述第二设备接收到所述第三消息后,向所述第一设备发送所述第三消息的回复消息的间隔。
在一个实现方式中,第二设备中的第二接口用于接收第三消息;所述第三消息为上行数据消息,或通知所述第二设备有上行消息需要接收的消息;第二设备中的第一接口,用于接收第四消息的所述第一载荷,用于唤醒所述第二设备的第二接口;第二设备中的处理器,用于解析所述第三消息,和/或第四消息。
可见,本申请中,第一设备通过对第二设备发送的能够指示第二设备的第二接口所处的状态的消息进行接收,从而判断第二设备的第二接口所处的状态,进而第一设备决定是否需要唤醒第二设备的第二接口还是直接进行数据通信,因此,本申请中第一设备能够及时获知第二设备的第二接口所处的状态并进行数据通信或唤醒后再进行通信,由此实现第二设备的第二接口的有效唤醒,进行数据通信的目的。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为WLAN中一个基本服务集的组成结构示意图;
图2为终端与AP之间的通信示意图;
图3为WUR帧结构示意图;
图4-图12分别为本申请实施例中第一设备与第二设备之间的通信示意图;
图13为本申请实施例中第一设备与第二设备之间的通信流程图;
图14-图16分别为本申请实施例的应用示例图;
图17为本申请实施例提供的一种无线设备的结构示意图;
图18为本申请实施例提供的另一种无线设备的结构示意图。
具体实施方式
本申请应用于WLAN中,一个WLAN中可以包括一个基本服务集(Basic Service Set,BSS),基本服务集中的网络节点包括AP和终端。每个基本服务集可以包含一个AP和多个关联于该AP的终端,如图1中所示。
AP,可以是接入点或热点等。AP是移动用户终端进入有线网络的接入点,如图1中所示,多个终端通过AP连接网络。AP主要部署于家庭、大楼内部以及园区内部,典型覆盖半径为几十米至上百米,当然,也可以部署于户外。AP相当于一个连接因特网和无线网的桥梁,其主要作用是将各个无线网络客户端连接到一起,然后将无线网络接入因特网。具体地,AP可以是带有Wi-Fi芯片的终端设备或者网络设备。
终端可以是用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal)、计算机、微机等,也可以为5G终端。例如,终端可以是移动电话(或称为“蜂窝”电话)、移动电脑、具有移动终端的计算机、智能手表等等,例如,终端还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入设备交换语音和/或数据。本申请对此并不限定,例如终端还包括具有多承载特征的有线接入的终端。
图2所示为终端与AP之间利用802.11主收发模块及WUR进行通信的示意图。其中,AP和终端中均可以包括802.11主收发模块和WUR。WUR用于接收唤醒帧并基于唤醒帧唤醒其所在设备的802.11主收发模块。如果WUR具备发送WUR消息如唤醒帧的能力,则WUR也可以用于发送WUR消息。802.11主收发模块即Wi-Fi模块,可用于Wi-Fi信号的收发。当WUR不具有发送WUR消息的能力时,802.11主收发模块则需要具备发送WUR消息的能力,并可用于发送WUR信号;当设备使用802.11主收发模块发送WUR消息时,WUR的WUR消息的发送能力不是必须的。当然,当AP不考虑节约能耗时,WUR不是必须的。
其中,WUR相比802.11主收发模块能够降低能耗,主要是由于WUR的接收和译码远比802.11消息即Wi-Fi消息简单,同时相较于802.11主收发模块采用了窄带传输。具体的,WUR通常采用易于接收端解调的调制方式,如开关键控(On Off Keying,OOK)调制和二进制频率(Binary Frequency Shift Keying,2FSK)调制。而有文献指出OOK和2FSK为解调复杂度最低的两种调制方式。以OOK调制为例,接收端通过有无能量判断是否接收到信号承载的信息,如:有能量时指示为1,无能量时指示为0。而Wi-Fi消息同时采用了解调复杂度较高的相位偏移(Phase Shift Keying,PSK)调制和正交频分复用(Orthogonal Frequency Division Multiplexing,OFDM)调制,接收端须执行反向快速傅里叶变换(Inverse Fast Fourier Transform,IFFT)等复杂信道处理操作,这些操作需要消耗大量能量。
以下对WUR进行设计说明,如图3中所示,WUR帧结构可以分为第一先导的字段和第一载荷的字段。
其中,第一先导的字段中至少可以包括有:L-STF、L-LTF及L-SIG三个字段,第一先导为802.11先导(802.11preamble),即传统802.11设备可以听懂的先导序列,在20MHz或20MHz整数倍的带宽(如40MHz、80MHz、160MHz)上发送,使得802.11设备可以据此判定当前消息(即WUP)为Wi-Fi消息,用于兼容传统802.11设备。听到该802.11先导的802.11设备能够根据802.11先导中的信息(如L-LTF即Length域信息)获得WUP占用信道的时间,在这段时间内不尝试接入信道进而避免干扰传输中的WUP。
例如:Length域信息为12bits,指示消息数据部分需要传输的字节数量。换句话说,根据Length域指示的信息和802.11先导L-SIG即Signal域中指示消息传输速率的信息,可以计算出传输所述消息所需的剩余时间。
而第一载荷则为WUP的Payload部分,采用解调复杂度低的调制方式,如OOK调 制,即二进制幅度(Binary Amplitude Shift Keying,2ASK)调制,并使用窄带传输,如1MHz信道、2MHz信道、5MHz信道等(传统802.11最小信道带宽为20MHz),这使得接收端进一步降低能耗。
其中,WUP的Payload包括Wake-Up Preamble和MAC(medium Access Control,媒介接入控制)部分,其中前者的作用与传统802.11先导类似,可用于设备的WUR识别WUR信号;后者与Wi-Fi消息的MAC部分相似,进一步可以包括MAC Header,Frame Body和帧校验序列(Frame Check Sequence,FCS)。这里MAC Header至少携带接收端的标识信息,Frame Body可承载一些指示、控制信息等,FCS属于校验信息,用于判断该消息是否接收出错。
在终端中设置WUR的目的在于降低设备的整体能耗,而在一些场景中,AP也有节约能耗的要求,因此也可以装备WUR来进一步降低能耗,如图2中所示,在一些临时部署的网络中AP无外接电源,设置WUR的AP的802.11主收发模块在无数据收发时可进入休眠状态,以达到节能的目的。而终端在有上行(Uplink,UL)数据需要发送时,首先给AP的WUR发送WUP消息以唤醒AP的802.11主收发模块,然后终端与AP再通过802.11主收发模块进行通信。如图1所示,当终端1通过发送WUP利用AP的WUR唤醒AP的802.11主收发模块进行数据传输后,如果此时其他终端如终端2也有上行数据需要传输,则终端2也会给AP的WUR发送WUP希望唤醒AP的802.11主收发模块,但由于此时AP的802.11主收发模块已苏醒,同时AP的WUR可能已转入休眠,因此AP无法通过它的WUR收到终端发送的WUP。也就是说,在该场景下,终端2可能无法有效唤醒AP,使得终端2无法与AP进行数据通信。
为此,本实施例中针对图2中的通信结构,提出以下实现方案,如图4中所示,第一设备与第二设备通过各自的第一接口与第二接口进行数据通信。第一设备中,同一时刻第一接口与第二接口通常只有一个处于苏醒状态,另一个处于休眠状态,第一接口可用于唤醒第二接口;第二设备中,同一时刻第一接口与第二接口通常只有一个处于苏醒状态,另一个处于休眠状态,第一接口可用于唤醒第二接口。
其中,如果第二设备的第一接口具有发送第一消息(如WUR消息)的能力,则第二设备通过其第一接口向第一设备的第一接口发送包含指示第二设备的第二接口所处的状态的消息(为一种WUR消息),即包含第一指示信息的第一消息,第一设备利用其第一接口接收第一消息;第二设备通过其第二接口向第一设备的第二接口发送包含指示第二设备的第二接口所处的状态的消息,即包含第一指示信息的第二消息,第一设备利用其第二接口接收第二消息。如果第二设备的第一接口不具有发送第一消息的能力,则第二设备可以通过其第二接口向第一设备的第一接口发送包含指示第二设备的第二接口所处的状态的消息(为一种WUR消息)。
如图5中所示,第二设备可以利用第一接口周期性发送第一消息,第一消息中的第一指示信息指示第二设备的第二接口当前处于休眠状态还是苏醒状态,或者在预设时间段内所处的状态为休眠状态还是苏醒状态,之后,第一设备可以通过其第一接口接收第一消息。
如图6中所示,第二设备可以利用第二接口周期性发送第二消息,第二消息中的第一指示信息指示第二设备的第二接口当前处于休眠状态还是苏醒状态,或者在预设时间段内所处的状态为休眠状态还是苏醒状态,之后,第一设备可以通过其第二接口接收第二消息。
如图7中所示,第二设备可以利用第一接口周期性发送第一消息,并利用第二接口周期性发送第二消息,第一消息和第二消息各自中的第一指示信息指示第二设备的第二接口当前处于休眠状态还是苏醒状态,或者在预设时间段内所处的状态为休眠状态还是苏醒状态,之后,第一设备可以利用其第一接口接收第一消息,并利用第二接口接收第二消息。
其中,图5-图7所示的示例中,第二设备发送第一消息和第二消息的时间点可以不同,例如可以在发送一个消息(第一消息或第二消息)之后,再间隔一段时间发送另一个消息(第二消息或第一消息)。另外,第二设备发送第一消息和第二消息的周期可以相同,也可以不同。
需要说明的是,图5-图7所示的示例中,第二设备发送第一消息时,如果第一接口处于休眠状态,则暂时唤醒第一接口发送第一消息;第二设备发送第二消息时,如果第二接口处于休眠状态,则暂时唤醒第二接口发送第二消息。
而第二设备中第一接口如果不具有发送第一消息的能力,则第二设备通过其第二接口发送第一消息,对于第二消息,第二设备仍然通过其第二接口发送。之后,第一设备则仍然利用其第一接口接收第一消息,第一设备利用其第二接口接收第二消息。
也就是说,第二设备中的第一接口可能不具有发送第一消息的能力,则第二设备中,在第一接口处于休眠状态而第二接口处于苏醒状态时,第二设备通过第二接口发送第一消息和/或第二消息;在第一接口处于苏醒状态而第二接口处于休眠状态,第二设备暂时唤醒第二接口发送第一消息和/或第二消息。
如图8中所示,第二设备可以利用第二接口周期性发送第一消息,第一消息中的第一指示信息指示第二设备的第二接口当前处于休眠状态还是苏醒状态,或者在预设时间段内所处的状态为休眠状态还是苏醒状态,之后,第一设备可以通过其第一接口接收第一消息。
如图9中所示,第二设备可以利用第二接口周期性发送第二消息,第二消息中的第一指示信息指示第二设备的第二接口当前处于休眠状态还是苏醒状态,或者在预设时间段内所处的状态为休眠状态还是苏醒状态,之后,第一设备可以通过其第二接口接收第二消息。
如图10中所示,第二设备可以利用第二接口周期性的分别发送第一消息和第二消息,第一消息和第二消息的发送间隔一定的时长,第一消息和第二消息各自中的第一指示信息指示第二设备的第二接口当前处于休眠状态还是苏醒状态,或者在预设时间段内所处的状态为休眠状态还是苏醒状态,之后,第一设备可以利用其第一接口接收第一消息,并利用第二接口接收第二消息。
其中,图8-图10所示的示例中,第二设备通过第二接口发送第一消息和第二消息 的时间点不同,可以在发送一个消息(第一消息或第二消息)之后,再间隔一段时间发送另一个消息(第二消息或第一消息)。另外,第二设备发送第一消息和第二消息的周期可以相同,也可以不同。
需要说明的是,图8-图10所示的示例中,第二设备发送第一消息和第二消息时,如果第二接口处于休眠状态,则可以暂时唤醒第二接口发送第一消息和第二消息。
另外,第一设备在接收到指示第二设备的第二接口处于苏醒状态或者在预设时间段内处于苏醒状态的第一指示信息且预设时间段有效时,第一设备的第二接口向第二设备的第二接口发送与上行数据相关的消息,即第三消息,如上行数据本身或者告知其有上行数据需要接收的问询类型的帧,如RTS、Poll等,如图11中所示;而第一设备在接收到指示第二设备的第二接口处于休眠状态或者在预设时间段内处于休眠状态的第一指示信息且预设时间段有效时,向第二设备的第一接口发送能够唤醒第二设备的第二接口的第四消息,如图12中所示,进而唤醒第二设备的第二接口,由此第一设备的第二接口能够向第二设备的第二接口发送上行数据或告知其有上行数据需要接收的问询类型的帧等,由此实现第一设备与第二设备之间的数据通信。
需要说明的是,若第一指示信息指示第二设备的第二接口处于休眠状态或者在预设时间段内处于休眠状态,则第二设备在利用第一接口接收到第四消息之后,由第二设备的第一接口立即基于第四消息唤醒第二设备的第二接口,使得第二设备的第二接口进入苏醒状态,由此实现第一设备与第二设备之间的数据通信。
其中,第一指示信息中的预设时间段可以基于第一设备与第二设备之间预设的通信协议设置。例如,从第二设备发送完第一消息和/或第二消息的时间点开始,到某一个时间点之间的时间段,作为预设时间段;或者从某个时间点开始,经过一个相应时长的时间段,作为预设时间段;或者,可以基于第一指示信息中所指示的时间设置预设时间段,例如,将从第一指示信息中表明第一指示信息的发送周期的时间段,即从发送前一个消息的第一个字段开始,到发送下一个消息的第一个字段之间的时间段,作为预设时间段。
需要说明的是,第二设备周期性的发送第一消息和/或第二消息,可以让第一设备基于这个发送周期来识别是否有漏收消息。
而本申请的一个示例中,第一设备在第一指示信息的预设时间段失效或者没有接收到第一消息或第二消息时,第一设备无法得知第二设备的第二接口当前所处的状态,则可以向第二设备的第二接口直接发送与上行数据相关的消息,如上行数据本身或告知其有上行数据需要接收的问询类型的帧等第三消息,以尝试与第二设备进行数据通信。
其中,在正常通信时,第二设备如果通过第二接口接收到第一设备发送的第三消息之后,会向第一设备的第二接口反馈能够确认第二设备已经收到第三消息的回复消息。
而如果第一设备在发送完第三消息之后的预设的间隔时长内,并没有收到第二设备反馈的回复消息,那么表明第二设备的第二接口极有可能或者确定处于休眠状态, 导致第二设备并没有收到第一设备发送的第三消息,此时第一设备可以向第二设备的第一接口发送第四消息,由此唤醒第二设备的第二接口,再向唤醒后的第二设备的第二接口发送第三消息,以实现第一设备与第二设备之间的数据通信。
为了避免第一设备在接收到回复消息之前就向第二设备发送第四消息,而可能造成的信道占用情况,第一设备等待的间隔时长需要大于正常通信状态下第三消息从第一设备传输到第二设备的时长加上回复消息从第二设备传输到第一设备的时长之和,例如:间隔时长大于从第三消息的最后一个字段离开第一设备的时间点开始,到第二设备向第一设备反馈的回复消息的第一个字段到达第一设备的时间点之间的时长,即:第二设备收到第三消息,再向第一设备发送第三消息的回复消息的正常间隔。在802.11协议中,该间隔时长的值通常表述为大于aSIFSTime,如在802.11g/n协议的2.4GHz频段上aSIFSTime=10us,而在802.11a/n/ac协议的5GHz频段上aSIFSTime=16us。
基于以上实现方案,图13所示为第一设备与第二设备之间的消息传送及数据通信的流程示意,如下:
步骤1301:第二设备通过其第一接口或第二接口向第一设备发送第一消息,和/或,第二设备通过其第二接口向第一设备发送第二消息。
其中,第一消息和第二消息中均含有第一指示信息,第一指示信息用于指示第二设备的第二接口所处的状态,如当前处于休眠状态或苏醒状态,或者,在预设时间段内处于休眠状态或苏醒状态。
第二设备可以通过发送第一消息,或发送第二消息,或分别发送第一消息和第二消息,来向第一设备告知所述第二设备的第二接口所处的状态。当第二设备分别发送第一消息和第二消息给所述第一设备时,可以更好地确保让所述第一设备能接收到该第一指示信息。
其中,在第二设备的第一接口具有发送第一消息的能力时,第二设备可以通过第一接口发送第一消息,第二设备可以通过第二接口发送第二消息;在第二设备的第一接口不具有发送第一消息的能力时,第二设备可以通过第二接口发送第一消息和/或第二消息。
需要说明的是,第二设备可以基于预设的第一时间周期发送第一消息;第二设备可以基于预设的第二时间周期发送第二消息。第一时间周期与第二时间周期可以相同,也可以不同。而第二设备发送第一消息的时间点与发送第二消息的时间点可以相同,也可以不同。
步骤1302:第一设备接收第二设备发送的第一消息和/或第二消息。
步骤1303:第一设备判断第一指示信息中所指示的第二设备的第二接口所处的状态,如果第一指示信息指示第二设备的第二接口处于苏醒状态,则执行步骤1304,如果第一指示信息指示第二设备的第二接口处于休眠状态,则执行步骤1305。
步骤1304:向第二设备发送第三消息,第三消息与第一设备的上行数据相关,以在第一设备与第二设备之间进行数据通信。
步骤1305:向第二设备发送第四消息,第四消息用于唤醒第二设备的第二接口,以使得第一设备与第二设备之间通过被唤醒的第二设备的第二接口进行数据通信。
步骤1306:若第一设备没有接收到第一消息或第二消息,导致第一设备无法知道第二设备的第二接口所处的状态时,第一设备向第二设备发送第三消息,以尝试第一设备与第二设备之间的数据通信。
其中,在正常通信时,第二设备如果通过第二接口接收到第一设备发送的第三消息之后,会向第一设备的第二接口反馈能够确认第二设备已经收到第三消息的回复消息。
步骤1307:在第一设备发送完第三消息经过预设的间隔时长后,如果第一设备没有收到第二设备发送的回复消息,回复消息与第三消息相对应,则第一设备向第二设备发送第四消息,以唤醒第二设备的第二接口,实现第一设备与第二设备之间的数据通信。
基于图4-图11中的技术方案,本申请以第一设备与第二设备分别为一个基本服务集中的终端和AP为例进行说明:
如图2所示,终端中具有两个通信模块:WUR及802.11主收发模块,相应的通信接口为:WUR对应的接口即第一终端的第一接口,及802.11主收发模块对应的接口即第一终端的第二接口,终端的WUR利用其对应的接口与其他设备进行通信,终端的802.11主收发模块利用其对应的接口与其他设备进行通信;AP中具有两个通信模块:WUR及802.11主收发模块,相应的通信接口为:WUR对应的接口即第二终端的第一接口及802.11主收发模块对应的接口即第二终端的第二接口,AP的WUR利用其对应的接口与其他设备进行通信,AP的802.11主收发模块利用其对应的接口与其他设备进行通信。
以终端的WUR与AP的WUR不具有发送WUP能力为例,结合图8-图10中通信示意图:
在通信过程中,WLAN系统中涉及终端与AP的WUR之间的通信、终端的802.11主收发模块与AP的802.11主收发模块之间的通信、以及AP与终端的WUR之间的通信。
其中,从终端到AP的WUR之间的通信包括:终端向AP的WUR发送含有WUR标识信息的唤醒帧,即WUP,以试图唤醒AP的802.11主收发模块的通信。
终端的802.11主收发模块与AP的802.11主收发模块之间的通信包括:终端的802.11主收发模块向AP的802.11主收发模块发送上行数据或告知其有上行数据需要接收的帧的通信;或,AP的802.11主收发模块向终端的802.11主收发模块发送的用于确认收到终端的802.11主收发模块发送的上行数据的回复消息的通信;或,AP的802.11主收发模块向终端的802.11主收发模块发送的用于指示AP当前所处的状态或者在预设时间段内所处的状态的通信。
AP与终端的WUR之间的通信包括:AP向终端的WUR发送的,用于指示AP当前所处的状态或者在预设时间段内所处的状态的通信。这里AP所处的状态是指AP的802.11 主收发模块处于苏醒状态还是休眠状态。
其中,当AP的802.11主收发模块处于苏醒时,AP可以收发Wi-Fi消息;当AP的802.11主收发模块处于休眠时,AP的802.11主收发模块只能通过AP的WUR被唤醒,或有下行消息需要传输时主动苏醒,然后再与其他设备进行Wi-Fi消息的传输。AP的802.11主收发模块进入休眠的主要目的是节约能耗。
由上述可知,本实施例中可以在终端一侧有上行数据需要传输时,一种情况下终端可以向AP分别发送WUR消息和Wi-Fi消息,确保在AP的WUR处于苏醒状态时能够基于终端发送的WUR消息唤醒AP的802.11主收发模块来接收Wi-Fi消息;或者在另一种情况下,终端可以向AP仅发送Wi-Fi消息,这样在AP的802.11主收发模块处于苏醒状态时能够直接接收Wi-Fi消息,实现两者间的数据通信。在AP一侧通过发送自身状态(如,AP的802.11主收发模块的状态)或者预设时间段内的状态,通知到终端,终端能够确定是直接向AP发送Wi-Fi消息来进行两者间的数据通信,还是需要在发送Wi-Fi消息前先发送WUR消息来先唤醒AP的802.11主收发模块,从而可以提升AP与终端的数据通信的效率和有效性,还可以减少无效消息的发送,节省不必要的开销。
具体的,结合图2及图4,第一设备(如终端)通过第一接口(如WUR对应的接口)接收第二设备(如AP)发送的第一消息(WUR消息,如WUR beacon、WUR同步帧)。或,第一设备通过第二接口(如802.11主收发模块对应的接口)接收第二设备发送的第二消息(Wi-Fi消息,如Wi-Fi beacon)。第一消息和第二消息均携带第二设备当前所处的状态或者在预设时间段内所处的状态的第一指示信息。若在预设时间段内,则第一设备判断接收到的第一消息或第二消息中所携带的第一指示信息为有效的信息,即预设时间段有效;若超出预设时间段,则第一设备判断接收到的第一消息或第二消息中所携带的第一指示信息为无效的信息,即预设时间段失效。
在一个可能的实现方式中,第一消息和第二消息分别使用1比特(bit)指示位指示第一指示信息,第一指示信息指示第二设备的第二接口当处于苏醒状态或休眠状态,或者,在预设时间段将处于苏醒状态、或休眠状态,以用于接收到第一消息或第二消息的第一设备,根据第一指示信息,获得第二设备的第二接口的所处状态,以便在合适的接口上与第二设备进行通信。比如,第一指示为“1”时指示第二设备将处于苏醒状态,第一指示为“0”时指示第二设备将处于休眠状态。预设时间段可以是所述第一设备和第二设备事先约定的时间段,如图14所示,从第二设备发送完第一消息或所述第二消息,到某一时间点之间的时间段;或,预设时间也可以是从某一时间点之后的时间,如图15所示,第二设备发送完第一消息或第二消息之后的时间。如果第一消息或第二消息为第二设备周期性发送的消息,如WUR beacon(WUR消息的信标帧)、WUR同步帧(携带同步信息的WUR消息)、Wi-Fi beacon(Wi-Fi消息的信标帧)等。则如图16所示,预设时间段还可以是第二设备从发送当前第一消息的时间,到下一次发送第一消息的时间;或,从发送当前第二消息的时间,到下一次发送第二消息的时间。
另外,第一指示信息还可以携带预设时间段的长度。比如,预设时间段为若干个aSlotTime(aSlotTime为802.11协议中重要的基础时间单位,在802.11g/n/ac协议 2.4GHz频段上aSlotTime=9us)。或,预设时间段为具体的时长,如若干个毫秒(ms,millisecond),或若干个微秒(us,microsecond)等。当然,以上只是示例,第一指示信息还可以通过其他方式指示预设时间,在此不再一一举例说明。
因此,基于前述方案,当第一设备的第二接口有上行数据需要向第二设备发送时:
如果第一设备接收过第二设备发送的第一消息或第二消息,并且第一设备的第二接口由休眠转苏醒,并有上行数据需要向第二设备发送的时间,而没有超出第一消息或第二消息中第一指示信息所指示的预设时间,则根据第一指示信息,判断第二设备的第二接口所处的状态。
若第一指示信息指示第二设备的第二接口处于苏醒状态,或在预设时间段内将一直处于苏醒状态,不会转入休眠,则第一设备向第二设备的第二接口发送第三消息。第三消息为Wi-Fi消息,可以是PS-Poll(用于第一设备告知第二设备其已苏醒)、或请求发送帧(Request to Send,RTS)、或其他可以通知第二设备第一设备的802.11主收发模块已苏醒的消息、或上行数据等消息等。
若第一指示信息指示第二设备的第二接口处于休眠状态或者在预设时间段内处于休眠状态,则第一设备向第二设备的第一接口发送第四消息。第四消息为WUR消息,用于唤醒第二设备的第二接口。第一设备在第二设备的第二接口苏醒后,通过第一设备的第二接口与第二设备的第二接口进行消息的传输。
其中,如果第一设备没有接收过第二设备发送的第一消息和第二消息;或者,第一设备接收过第二设备发送的第一消息或第二消息,但是第一设备的第二接口苏醒并准备向第二设备发送上行消息的时间,已经超出第一消息或第二消息中第一指示信息所指示的第二设备的第二接口处于苏醒状态的预设时间段,则,第一设备也可以向第二设备的第二接口发送第三消息,以尝试进行数据通信。在第一间隔时间如前文中的间隔时长内,如果第一设备没有收到第二设备向所述第一设备发送的确认已收到第三消息的消息(即第三消息的回复消息),第一设备还要在第一间隔时间后向第二设备的第一接口发送第四消息。第一间隔时间可以略大于aSIFSTime(所述aSIFSTime为802.11协议中重要的基础时间单位,用于一个设备收到发给自己的合法消息后,发送回复消息所需的间隔,在802.11g/n协议2.4GHz频段上aSIFSTime=10us,而在802.11a/n/ac协议的5GHz频段上aSIFSTime=16us)。如果此时第二设备的第二接口处于苏醒状态,则第二设备接收到第一设备发送的所述第三消息后,在aSIFSTime后才能回复该消息(即发送第三消息的回复消息),如清除发送(Clear to Send,CTS)、确认帧(Acknowledge,ACK)、或其他消息。因此需要第一间隔时间大于所述aSIFSTime,以避免第一设备迅速(所述迅速是指小于或等于aSIFSTime)发送第四消息,导致第二设备的第二接口即便已经收到所述第三消息,由于信道被第一设备发送的第四消息已占用,而无法及时向第一设备发送第三消息的回复消息。
需要说明的是,在本申请的示例中,以上第一设备与第二设备均为无线设备的具体实例,以下对第一设备及第二设备的结构进行说明:
如图17所示,为无线设备为图4中第一设备时的结构示意图,第一设备中包括有 以下结构:
第一通信模块1701,对应第一设备的第一接口;
第二通信模块1702,对应第一设备的第二接口;
除此之外还具有以下结构:
存储器1703,用于存储应用程序及应用程序运行所产生的数据;
处理器1704,用于执行所述应用程序,以实现以下功能:
通过第一通信模块1701对应的第一接口或第二通信模块1702对应的第二接口接收第二设备发送的第一消息和/或第二消息,所述第一消息和所述第二消息中均含有第一指示信息;判断所述第一指示信息中所指示的所述第二设备的第二接口所处的状态;如果所述第一指示信息指示所述第二设备的第二接口处于苏醒状态,则通过第二通信模块1702对应的第二接口向所述第二设备发送第三消息,所述第三消息与所述第一设备的上行数据相关,以在所述第一设备与所述第二设备之间进行数据通信;如果所述第一指示信息指示所述第二设备的第二接口处于休眠状态,则通过第一通信模块1701对应的第一接口或第二接口向所述第二设备发送第四消息,所述第四消息用于唤醒所述第二设备的第二接口,以使得所述第一设备与所述第二设备之间通过被唤醒的第二设备的第二接口进行数据通信。
其中,图17中的第一设备可以为终端,第一通信模块1701可以为WUR,第二通信模块1702可以为802.11主收发模块,第一消息可以为WUR消息,第二消息可以为Wi-Fi消息。WUR对应的第一接口用于接收WUR消息(如接收第一消息),即WUR消息的第一载荷部分,它也可以具有发送WUR消息的第一载荷部分(如发送第四消息)的功能。802.11主收发模块对应的第二接口用于收发Wi-Fi消息(如接收第二消息及发送第三消息)。
需要说明的是,如果终端中的WUR对应的第一接口只能接收WUR消息的第一载荷部分,那么802.11主收发模块对应的第二接口还需要具备发送WUR消息的能力(包括第一先导部分和第一载荷部分),如果WUR对应的第一接口能够收发WUR消息的第一载荷部分,那么802.11主收发模块对应的第二接口不一定需要具备发送WUR消息的能力。
另外,第一设备中还具有天线1705,第一通信模块1701对应的第一接口与第二通信模块1702对应的第二接口可以通过天线1705进行信号的发射和接收。
需要说明的是,终端上WUR对应的第一接口与802.11主收发模块对应的第二接口可以共享天线1705,在同一个频段上工作,以降低设备硬件的成本。或者,WUR对应的第一接口与802.11主收发模块对应的第二接口也可以对应不同的天线1705,特别是在两者工作在不同的频段上时,如2.4GHz频段和5GHz频段。实际产品中,终端上可以由一个片上系统(System on a Chip,SoC)实现或者集成电路实现上述各个结构的功能。
如图18所示,无线设备为图4中第二设备时的结构示意图,第二设备中包括有以下结构:
第一通信模块1801,对应第二设备的第一接口;
第二通信模块1802,对应第二设备的第二接口;
除此之外,还具有以下结构:
存储器1803,用于存储应用程序及应用程序运行所产生的数据;
处理器1804,用于执行所述应用程序,以实现以下功能:
通过第一通信模块1801对应的第一接口或第二通信模块1802对应的第二接口向第一设备发送第一消息,和/或,通过第二通信模块1802对应的第二接口向第一设备发送第二消息;其中,所述第一消息和所述第二消息均包含第一指示信息,所述第一指示信息指示所述第二设备的第二接口所处的状态。
而处理器1804在发送第一消息和/或第二消息之前,还可以实现第一消息及第二消息的生成与解析。
其中,第二设备可以为AP,第一通信模块1801可以为WUR,第二通信模块1802可以为802.11主收发模块,第一消息可以为WUR消息,第二消息可以为Wi-Fi消息。WUR对应的第一接口用于接收WUR消息(如接收第四消息),即WUR消息的第一载荷部分,它也可以具有发送WUR消息的第一载荷部分(如发送第一消息)的功能。802.11主收发模块对应的第二接口用于收发Wi-Fi消息(如发送第二消息及接收第三消息)。
需要说明的是,如果AP中的WUR对应的第一接口只能接收WUR消息的第一载荷部分,那么802.11主收发模块对应的第二接口还需要具备发送WUR消息的能力(包括第一先导部分和第一载荷部分),如果WUR对应的第一接口能够收发WUR消息的第一载荷部分,那么802.11主收发模块对应的第二接口不一定需要具备发送WUR消息的能力。
其中,第一消息可以为第二设备周期性的发送的WUR消息,如WUR beacon或WUR同步帧等;第二消息可以为第二设备周期性的发送的Wi-Fi消息,如Wi-Fi beacon等。
而第一指示信息指示第二设备的第二接口所处的状态是指,第一指示信息指示第二设备的第二接口当前所处的状态或者在预设时间段所处的状态,如一直处于苏醒状态,不会转入休眠状态,或者,一直处于休眠状态不会转入苏醒状态,或者在某个时间段处于苏醒状态或休眠状态,等等各种情况。
其中,预设时间段可以是第一设备与第二设备事先约定的时间段,如从第二设备发送完第一消息和/或第二消息的时间点开始,到某个时间点之间的时间段;
或者,预设时间段也可以是从某个时间点之后的时间段,如从第二设备发送完第一消息和/或第二消息之后的时间段;
或者,如果第一消息和第二消息为第二设备周期性发送的消息,如WUR beacon、WUR同步帧及Wi-Fi beacon等,则预设时间段还可以是从第二设备发送一个第一消息的时间点开始,到发送下一个第一消息的时间点之间的时间段,或者预设时间段可以是从第二设备发送一个第二消息的时间点开始,到发送下一个第二消息的时间点之间的时间段。
另外,第一指示信息中可以直接携带预设时间段的长度。比如,预设时间段为若干个aSlotTime;或者具体的时长,如若干个毫秒ms,或者若干个微秒us等。
另外,第二设备中还具有天线1805,第一通信模块1801对应的第一接口与第二通信模块1802对应的第二接口可以通过天线1805进行信号的发射和接收。
需要说明的是,AP上WUR对应的第一接口与802.11主收发模块对应的第二接口可以共享天线1805,在同一个频段上工作,以降低设备硬件的成本。或者,WUR对应的第一接口与802.11主收发模块对应的第二接口也可以对应不同的天线1705,特别是在两者工作在不同的频段上时,如2.4GHz频段和5GHz频段。实际产品中,AP上可以由一个片上系统(System on a Chip,SoC)实现或者集成电路实现上述各个结构的功能。
由此,在一个基本服务集中,AP可以周期性的向其连接的终端发送WUR消息和/或Wi-Fi消息,以通知各个终端AP的802.11主收发模块对应的接口当前所处的状态或者在预设时间段所处的状态,如苏醒状态或休眠状态,进而这个AP对应的终端均会了解到AP的802.11主收发模块对应的接口处于苏醒状态还是休眠状态,并做出相应的通信响应。例如,任意一个终端在了解到AP的802.11主收发模块对应的接口处于苏醒状态时,终端可以直接向AP发送与上行数据相关的消息,而在了解到AP的802.11主收发模块对应的接口处于休眠状态时,终端可以向AP发送唤醒帧,进而唤醒AP的802.11主收发模块对应的接口,再向AP发送与上行数据相关的消息,而AP的802.11主收发模块对应的接口被唤醒之后,AP向终端发送的Wi-Fi消息中会指示AP的802.11主收发模块对应的接口处于苏醒状态,则终端通过判断接收到的指示信息中AP的802.11主收发模块对应的接口处于苏醒状态,即可直接向AP发送与上行数据相关的消息,达到有效唤醒AP的802.11主收发模块对应的接口的目的,实现有效通信,不会出现由于某个终端已经唤醒AP的802.11主收发模块对应的接口,而其他终端发送的唤醒帧无法被AP处于休眠状态的WUR接收到,导致其他终端无法获知AP的802.11主收发模块对应的接口已经处于苏醒状态进的情况,避免通信失败。
而在终端一侧通过判断AP发送的消息来判断AP的802.11主收发模块对应的接口所处的状态,进而只发送Wi-Fi消息或者WUR消息,即可有效唤醒AP的802.11主收发模块对应的接口,并实现通信,从而减少了终端的开销。
其中,至少1个图17所示的第一设备及一个图18所示的第二设备组成一个基本服务集,如图17中所示。
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。
本申请各实施例中所述的接口可以是逻辑概念(如一种逻辑上的功能单元/模块),也可以是物理实体(如对应的通信模块所提供的通信接口)。所涉及的各种接口(如:第一接口、第二接口)所实现的功能均是通过对应的物理实体如无线收发器或唤醒接收机或唤醒发射机来实现的,故本申请各实施例中所述的由第二接口所执行的步骤均可以被替换为由无线收发器(如WiFi通信模块,或称为WiFi main radio或802.11主收发模块)来执行;本申请各实施例中所述的由AP/终端的第一接口所执行的发送步骤均可以被替换为由AP/终端的唤醒发射机来执行(在另一种实施例中,由于无线收发器可以具备wifi信号的收发和WUR信号的发送这两种功能,故所述的由AP/终端的第 一接口所执行的步骤也可以被替换为由AP/终端的无线收发器来执行);本申请各实施例中所述的由AP/终端的第一接口所执行的接收步骤均可以被替换为由终端的唤醒接收器来执行。若WUR模块同时集成了WUR信号的接收和发送功能,则WUR模块可以称之为唤醒收发器,上述唤醒发射机或唤醒接收机均可以被替换为唤醒收发器。
本发明各方法实施例之间相关部分可以相互参考;各装置实施例所提供的装置用于执行对应的方法实施例所提供的方法,故各装置实施例可以参考相关的方法实施例中的相关部分进行理解。本发明各实施例之间相关部分均可以相互参考。本发明各装置实施例中给出的装置结构图仅示出了对应的装置的简化设计。在实际应用中,该装置可以包含任意数量的发射机,接收机,收发器,处理器,存储器等,以实现本发明各装置实施例中该装置所执行的功能或操作,而所有可以实现本申请的装置都在本申请的保护范围之内。本发明各实施例中提供的消息/帧/指示信息、模块或单元等的名称仅为示例,可以使用其他名称,只要消息/帧/指示信息、模块或单元等的作用相同即可。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。

Claims (20)

  1. 一种通信方法,其特征在于,应用于第一设备,所述方法包括:
    接收第二设备发送的第一消息和/或第二消息,所述第一消息和所述第二消息中均含有第一指示信息;
    判断所述第一指示信息中所指示的所述第二设备的第二接口所处的状态;
    如果所述第一指示信息指示所述第二设备的第二接口处于苏醒状态,则向所述第二设备发送第三消息,所述第三消息与所述第一设备的上行数据相关,以在所述第一设备与所述第二设备之间进行数据通信;
    如果所述第一指示信息指示所述第二设备的第二接口处于休眠状态,则向所述第二设备发送第四消息,所述第四消息用于唤醒所述第二设备的第二接口,以使得所述第一设备与所述第二设备之间通过被唤醒的第二设备的第二接口进行数据通信。
  2. 根据权利要求1所述的方法,其特征在于,若没有接收到所述第一消息和所述第二消息,所述方法还包括:
    向所述第二设备发送所述第三消息。
  3. 根据权利要求2所述的方法,其特征在于,在向所述第二设备发送所述第三消息之后,所述方法还包括:
    在发送所述第三消息之后经过预设的间隔时长后,如果没有收到所述第二设备发送的回复消息,所述回复消息与所述第三消息相对应,则向所述第二设备发送所述第四消息。
  4. 根据权利要求3所述的方法,其特征在于,所述间隔时长大于正常通信状态下所述第一设备发送完所述第三消息到所述第一设备接收到所述第三消息对应的回复消息之间的时长。
  5. 根据权利要求1所述的方法,其特征在于,所述第一指示信息指示所述第二设备的第二接口处于苏醒状态,包括:
    所述第一指示信息指示所述第二设备的第二接口当前处于苏醒状态,或者所述第二设备的第二接口在预设时间段内处于苏醒状态且所述预设时间段有效。
  6. 根据权利要求1所述的方法,其特征在于,所述第一指示信息指示所述第二设备的第二接口处于休眠状态,包括:
    所述第一指示信息指示所述第二设备的第二接口当前处于休眠状态,或者所述第二设备的第二接口在预设时间段内处于休眠状态。
  7. 根据权利要求1-6任一所述的方法,其特征在于,所述第一设备的第一接口为WUR对应的接口,所述第一设备的第二接口为802.11主收发模块对应的接口;
    所述第二设备的第一接口为WUR对应的接口,所述第二设备的第二接口为802.11主收发模块对应的接口。
  8. 根据权利要求1-7任一所述的方法,其特征在于,所述第一消息为WUR消息,所述第二消息为Wi-Fi消息。
  9. 根据权利要求1-8任一所述的方法,其特征在于,所述第一设备为终端,所述 第二设备为AP。
  10. 一种通信方法,其特征在于,应用于第二设备,所述方法包括:
    通过第一接口或第二接口向第一设备发送第一消息,和/或,通过第二接口向所述第一设备发送第二消息;
    其中,所述第一消息和所述第二消息均包含第一指示信息,所述第一指示信息指示所述第二设备的第二接口所处的状态。
  11. 根据权利要求10所述的方法,其特征在于,还包括:
    接收所述第一设备发送的第三消息,所述第三消息由所述第一设备在接收到的第一指示消息指示所述第二设备的第二接口处于苏醒状态时或者没有接收到所述第一消息或所述第二消息时发送,所述第三消息与所述第一设备的上行数据相关,以在所述第一设备与所述第二设备之间进行数据通信。
  12. 根据权利要求11所述的方法,其特征在于,所述第一指示消息指示所述第二设备的第二接口处于苏醒状态,包括:
    所述第一指示信息指示:所述第二设备的第二接口当前处于苏醒状态,或者所述第二设备的第二接口在预设时间段内处于苏醒状态且所述预设时间段有效。
  13. 根据权利要求10所述的方法,其特征在于,还包括:
    接收所述第一设备发送的第四消息,所述第四消息由所述第一设备在接收到的第一指示消息指示所述第二设备的第二接口处于休眠状态发送,或者所述第四消息由所述第一设备在向所述第二设备发送所述第三消息后经过预设的间隔时长而没有收到所述第二设备发送的回复消息时发送;
    基于所述第四消息,唤醒所述第二设备的第二接口,以使得所述第一设备与所述第二设备之间通过被唤醒的第二接口进行数据通信。
  14. 根据权利要求13所述的方法,其特征在于,所述第一指示信息指示所述第二设备的第二接口处于休眠状态,包括:
    所述第一指示信息指示:所述第二设备的第二接口当前处于休眠状态,或者所述第二设备的第二接口在预设时间段内处于休眠状态。
  15. 根据权利要求12或14所述的方法,其特征在于,所述第一指示信息中的预设时间段由所述第二设备基于所述第一设备与所述第二设备之间预设的通信协议或者基于所述第一指示信息中所指示的时间值设置。
  16. 根据权利要求10-15任一所述的方法,其特征在于,所述通过第一接口或第二接口向第一设备发送第一消息,包括:
    基于预设的第一时间周期,通过所述第一接口或所述第二接口向所述第一设备发送所述第一消息。
  17. 根据权利要求10-16任一所述的方法,其特征在于,所述通过第二接口向所述第一设备发送第二消息,包括:
    基于预设的第二时间周期,通过所述第二接口向所述第一设备发送所述第二消息。
  18. 一种无线设备,其特征在于,包括:
    第一通信模块,对应所述无线设备的第一接口;
    第二通信模块,对应所述无线设备的第二接口;
    存储器,用于存储应用程序及应用程序运行所产生的数据;
    处理器,用于执行所述应用程序,以实现以下功能:
    接收第二设备发送的第一消息和/或第二消息,所述第一消息和所述第二消息中均含有第一指示信息;判断所述第一指示信息中所指示的所述第二设备的第二接口所处的状态;如果所述第一指示信息指示所述第二设备的第二接口处于苏醒状态,则通过所述无线设备的第二接口向所述第二设备发送第三消息,所述第三消息与所述无线设备的上行数据相关,以在所述无线设备与所述第二设备之间进行数据通信;如果所述第一指示信息指示所述第二设备的第二接口处于休眠状态,则通过所述无线设备的第一接口或第二接口向所述第二设备发送第四消息,所述第四消息用于唤醒所述第二设备的第二接口,以使得所述无线设备与所述第二设备之间通过被唤醒的第二设备的第二接口进行数据通信。
  19. 一种无线设备,其特征在于,包括:
    第一通信模块,对应所述无线设备的第一接口;
    第二通信模块,对应所述无线设备的第二接口;
    存储器,用于存储应用程序及应用程序运行所产生的数据;
    处理器,用于执行所述应用程序,以实现以下功能:
    通过所述无线设备的第一接口或第二接口向第一设备发送第一消息,和/或,通过所述无线设备的第二接口向第一设备发送第二消息;其中,所述第一消息和所述第二消息均包含第一指示信息,所述第一指示信息指示所述无线设备的第二接口所处的状态。
  20. 一种基本服务集,其特征在于,包括:至少一个第一设备及一个第二设备;
    其中,所述第二设备通过其第一接口或第二接口向每个所述第一设备发送第一消息,和/或,所述第二设备通过其第二接口向每个所述第一设备发送第二消息,所述第一设备接收所述第二设备发送的第一消息和/或第二消息,所述第一消息和所述第二消息中均含有第一指示信息;所述第一设备判断所述第一指示信息中所指示的所述第二设备的第二接口所处的状态,如果所述第一指示信息指示所述第二设备的第二接口处于苏醒状态,则所述第一设备向所述第二设备发送第三消息,所述第三消息与所述第一设备的上行数据相关,以在所述第一设备与所述第二设备之间进行数据通信;如果所述第一指示信息指示所述第二设备的第二接口处于休眠状态,则所述第一设备向所述第二设备发送第四消息,所述第四消息用于唤醒所述第二设备的第二接口,以使得所述第一设备与所述第二设备之间通过被唤醒的第二设备的第二接口进行数据通信。
PCT/CN2017/095091 2016-11-14 2017-07-31 一种通信方法及无线设备 WO2018086387A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780037944.8A CN109314926B (zh) 2016-11-14 2017-07-31 一种通信方法及无线设备

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201611002160.5 2016-11-14
CN201611002160 2016-11-14
CN201710221939.4 2017-04-06
CN201710221939 2017-04-06

Publications (1)

Publication Number Publication Date
WO2018086387A1 true WO2018086387A1 (zh) 2018-05-17

Family

ID=62109124

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095091 WO2018086387A1 (zh) 2016-11-14 2017-07-31 一种通信方法及无线设备

Country Status (2)

Country Link
CN (1) CN109314926B (zh)
WO (1) WO2018086387A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345565A (zh) * 2007-07-10 2009-01-14 佳能株式会社 通信系统、信息处理设备和通信控制方法
US20130176921A1 (en) * 2012-01-05 2013-07-11 Stmicroelectronics, Inc. Vht txop power save
US20140126439A1 (en) * 2012-11-05 2014-05-08 Qualcomm Incorporated Power saving in soft access point devices
CN104904276A (zh) * 2012-11-28 2015-09-09 高通股份有限公司 用于使用受限接入窗口来节约功率的系统和方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8811247B2 (en) * 2010-06-25 2014-08-19 Cisco Technology, Inc. Automating radio enablement to facilitate power saving
US9241307B2 (en) * 2012-10-24 2016-01-19 Qualcomm Incorporated Method and apparatus using an ultra low power signal with scheduled power save modes
US9544848B2 (en) * 2012-10-24 2017-01-10 Qualcomm Incorporated Methods and apparatus for communicating short paging messages in a wireless communication network
CN105309012A (zh) * 2013-10-18 2016-02-03 华为技术有限公司 一种接入点设备的唤醒方法、设备及系统
US10231182B2 (en) * 2015-03-12 2019-03-12 Intel IP Corporation Techniques for implicit indication of trigger frame start times
CN108064073B (zh) * 2016-11-09 2021-01-15 华为技术有限公司 唤醒方法、站点和接入点

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345565A (zh) * 2007-07-10 2009-01-14 佳能株式会社 通信系统、信息处理设备和通信控制方法
US20130176921A1 (en) * 2012-01-05 2013-07-11 Stmicroelectronics, Inc. Vht txop power save
US20140126439A1 (en) * 2012-11-05 2014-05-08 Qualcomm Incorporated Power saving in soft access point devices
CN104904276A (zh) * 2012-11-28 2015-09-09 高通股份有限公司 用于使用受限接入窗口来节约功率的系统和方法

Also Published As

Publication number Publication date
CN109314926A (zh) 2019-02-05
CN109314926B (zh) 2020-08-07

Similar Documents

Publication Publication Date Title
EP3506712B1 (en) Method for operating communication node supporting low power mode in wireless lan
US11395229B2 (en) Method for receiving frame in wireless LAN system, and wireless terminal using same
KR101799370B1 (ko) Wlan에 대한 저전력 웨이크 업 신호 및 동작들을 위한 방법들 및 장치
RU2606511C1 (ru) Способ передачи/приема информации, связанной с идентификатором ассоциации, в системе беспроводной связи и соответствующее устройство
US11601885B2 (en) Channel access for multi-user (MU) wake-up signal transmission by using FDMA scheme
CN107787029B (zh) 一种无线局域网中唤醒帧的传输方法及装置
CN108616968B (zh) 传输帧的方法和设备
US9918278B2 (en) Method and apparatus for operating based on power save mode in wireless LAN
CN107360619A (zh) 用于无线通信的低功率接收器
KR20180027389A (ko) 무선랜에서 액세스 포인트의 탐색 방법 및 장치
MX2014009445A (es) Metodo y aparato para el acceso al canal a traves de tramas de paquetes de datos nulos en sistema lan inalambrico.
CN111034278B (zh) 无线lan系统中发送或接收帧的方法及其装置
KR20180123447A (ko) 무선랜에서 저전력 모드를 지원하는 통신 노드의 동작 방법
CN108633099B (zh) 信道接入的指示方法和设备
CN112105075B (zh) 唤醒帧发送方法、节点醒来后发送第一帧的方法及设备
WO2018050087A1 (zh) 一种传输wur消息的方法和装置
WO2023030222A1 (zh) 一种通信方法及装置
WO2018171591A1 (zh) 一种用来唤醒设备的方法及装置
CN109565749B (zh) 休眠机制的确定方法、装置及设备
KR20190062318A (ko) 무선랜에서 저전력 모드를 지원하는 통신 노드의 동작 방법
WO2018086387A1 (zh) 一种通信方法及无线设备
US20200351773A1 (en) Method for communicating in wireless lan system and wireless terminal using same
WO2023123241A1 (zh) 无线通信方法、终端设备和网络设备
CN117941423A (zh) 一种无线通信方法及装置、设备
KR20190047372A (ko) 무선랜 광대역 환경에서 웨이크업라디오 단말의 프레임 구성 방법

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

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

Country of ref document: EP

Kind code of ref document: A1