CN109314926B - Communication method and wireless device - Google Patents

Communication method and wireless device Download PDF

Info

Publication number
CN109314926B
CN109314926B CN201780037944.8A CN201780037944A CN109314926B CN 109314926 B CN109314926 B CN 109314926B CN 201780037944 A CN201780037944 A CN 201780037944A CN 109314926 B CN109314926 B CN 109314926B
Authority
CN
China
Prior art keywords
message
interface
indication information
state
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201780037944.8A
Other languages
Chinese (zh)
Other versions
CN109314926A (en
Inventor
韩云博
丁志明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN109314926A publication Critical patent/CN109314926A/en
Application granted granted Critical
Publication of CN109314926B publication Critical patent/CN109314926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The application discloses a communication method, which is applied to first equipment and comprises the following steps: receiving a first message and/or a second message sent by second equipment, wherein the first message and the second message both contain first indication information; judging the state of a second interface of the second equipment indicated in the first indication information; if the first indication information indicates that a second interface of the second device is in an awake state, sending a third message to the second device, wherein the third message is related to uplink data of the first device, so as 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, sending 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 communication is performed between the first device and the second device through the woken up second interface of the second device.

Description

Communication method and wireless device
The present application claims priority of chinese patent application with chinese patent office, application number 201611002160.5, entitled "a message notification method and apparatus" filed in 2016 and 14, and priority of chinese patent application with chinese patent office, application number 201710221939.4, entitled "a communication method and wireless apparatus" filed in 2017 and 6, 4 and 6, both of which are incorporated herein by reference.
Technical Field
The present application relates to the field of communications, and in particular, to a communication method and a wireless device.
Background
With the evolution of the Wireless local Area Network (Wi-Fi) standard, in a Wi-Fi Network, when a terminal device (e.g., a Station, STA, Station) does not receive or transmit a message (e.g., No data phase), a large amount of energy is wasted in AN idle listening channel when No signal is received.
In the prior art, in a communication scheme for reducing the Power consumption of a device, a low-Power Wake Up Radio (L ow Power Wake Up Radio, WUR) is adopted on a terminal and an AP to replace an 802.11 main transceiver module to monitor a channel when a medium is idle.
For example, an 802.11 host transceiver module and a WUR module are provided in both the terminal and the AP, and when the 802.11 host transceiver module of the terminal enters deep sleep, the low-power WUR of the terminal wakes up to start operating. When the AP needs to communicate with the terminal, the AP sends a WUR message, namely a wakeup frame (WUP Packet, WUP), to the WUR of the terminal, the WUR of the terminal correctly receives the WUR sent to the terminal and then wakes Up an 802.11 main transceiver module of the terminal, then the WUR of the terminal can be switched into a sleep state, and the AP communicates with the 802.11 main transceiver module of the awakened terminal; the 802.11 main transceiver module of the terminal enters dormancy after finishing communicating with the AP, and the WUR of the terminal wakes up and starts to monitor whether the WUP is sent to the WUP so as to wake up the 802.11 main transceiver module of the terminal again. When the terminal needs to communicate with the AP, the terminal sends a WUR message, namely a wakeup frame, to the WUR of the AP, the WUR of the AP correctly receives the WUR sent to the AP and then wakes up the 802.11 main transceiver module of the AP, then the WUR of the AP is switched to sleep, and the terminal communicates with the 802.11 main transceiver module of the awakened AP; the 802.11 host transceiver module of the AP enters the sleep mode after the communication with the terminal is completed, and meanwhile the WUR of the AP wakes up and starts to monitor whether the WUP is sent to the WUP so as to wake up the 802.11 host transceiver module of the AP again.
However, in the above communication method, if one terminal wakes up the 802.11 host transceiver module of the AP through the WUR message and the WUR of the AP enters the sleep state, the AP cannot receive the WUP sent by another terminal through the WUR any more.
Disclosure of Invention
In view of this, the present application provides a communication method and a wireless device to improve efficiency of data communication between an AP and a terminal.
A first aspect of the present application provides a communication method applied to a first device, including the following steps: receiving a first message and/or a second message which is sent by second equipment and contains first indication information, judging the state of a second interface of the second equipment indicated in the first indication information, sending a third message to the second device if the first indication information indicates that the second interface of the second device is in an awake state, the third message is related to uplink data of the first device for 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, sending a fourth message to the second device, the fourth message being used for waking up the second interface of the second device, so that data communication is performed between the first device and the second device through the second interface of the woken-up second device. Therefore, in the application, the first device can timely acquire the state of the second interface of the second device and perform data communication or perform communication after waking up, so that the purpose of performing data communication and effectively waking up the second interface of the second device is achieved.
A second aspect of the present application provides a communication method applied to a second device, including the following steps: and sending a first message containing the first indication information to the first equipment through the first interface or the second interface, and/or sending a second message containing the first indication information to the first equipment through the second interface, wherein the first indication information can indicate the state of the second interface of the second equipment. Therefore, in the 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 the first device determines whether the second interface of the second device needs to be awakened for data communication, so that the purpose of effectively awakening the second interface of the second device and performing data communication is achieved.
A third aspect of the present application provides a wireless device comprising the following structure: the wireless device comprises 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 for storing an application program and data generated by the running of the application program, and a processor for executing the application program to realize the following functions: receiving a first message and/or a second message sent by a second device, wherein the first message and the second message both contain first indication information; judging the state of a second interface of the second equipment indicated in the first indication information; if the first indication information indicates that the second interface of the second device is in an awake state, sending a third message to the second device through the second interface of the wireless device, wherein the third message is related to uplink data of the wireless device, so as to perform data communication between the wireless device and the second device; if the first indication information indicates that the second interface of the second device is in a dormant state, sending a fourth message to the second device through the first interface or the second interface of the wireless device, where the fourth message is used to wake up the second interface of the second device, so that data communication is performed between the wireless device and the second device through the woken up second interface of the second device. Therefore, in the application, the wireless device can timely acquire the state of the second interface of the second device and perform data communication or perform communication after waking up, so that the purpose of effective waking up of the second interface of the second device and data communication is achieved.
A fourth aspect of the present application provides a wireless device, comprising the following structure: the wireless device comprises 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 for storing an application program and data generated by the running of the application program, and a processor for executing the application program to realize the following functions: sending a first message to a first device through a first interface or a second interface of the wireless device, and/or sending a second message to the first device through a second interface of the wireless device; the first message and the second message both contain first indication information, and the first indication information indicates a state of a second interface of the wireless device. Therefore, in the application, 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 to wake up the second interface of the wireless device for data communication, so that the purpose of effectively waking up the second interface of the wireless device and performing data communication is achieved.
A fifth aspect of the present application provides a basic service set, which may include the following structure: at least one first device and one second device;
the second device sends a first message to each first device through a first interface or a second interface of the second device, and/or the second device sends a second message to each first device through a second interface of the second device, the first device receives the first message and/or the second message sent by the second device, and the first message and the second message both contain first indication information; the first device determines a state of a second interface of the second device indicated in the first indication information, and if the first indication information indicates that the second interface of the second device is in an awake state, the first device sends a third message to the second device, where the third message is related to uplink data of the first device, so as 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 second interface of the second device, so that data communication is performed between the first device and the second device through the woken second interface of the second device. Therefore, in the application, 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 second interface of the second device needs to be woken up for data communication, so that the purpose of effective wokening up of the second interface of the second device and data communication is achieved.
In one implementation, if the first device does not receive the first message and the second message, the third message is further sent to the second device. Thus, the first device attempts data communication by sending a third message to the second device.
In one implementation manner, after sending the third message to the second device for a preset interval duration, if a reply message corresponding to the third message sent by the second device is not received, 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 the dormant state when not receiving the reply message, and then awaken the second interface of the second device by using the fourth message to realize data communication.
In one implementation manner, the interval duration is longer than a duration between the first device sending the third message and the first device receiving the reply message corresponding to the third message in a normal communication state. Therefore, the first device sends the fourth message when determining that the third message is not received by the second device and indicates that the second interface of the second device is in the dormant state, so that the situation that a channel for message transmission is occupied by sending the premature fourth message, and the second device cannot send a reply message to the first device in time to cause data communication failure is avoided.
In one implementation, the indicating information indicates that the second interface of the second device is in an awake state, and means: the first indication information indicates that the second interface of the second device is currently in an awake state, or the second interface of the second device is in the awake state within a preset time period and the preset time period is valid. Therefore, the first device receives the message which is sent by the second device and can indicate the state of the second interface of the second device, so as to judge the state of the second interface of the second device, and if the second interface of the second device is in the wakeup state or in the wakeup state within the preset time period and the preset time period is effective, the first device determines to directly perform data communication.
In one implementation, the indicating that the second interface of the second device is in the sleep state by the first indication information is: 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 the dormant state within a preset time period. Therefore, the first device receives the message which is sent by the second device and can indicate the state of the second interface of the second device, so as to judge the state of the second interface of the second device, and if the first device is currently in a dormant state or in a dormant state within a preset time period, the first device determines to firstly wake up the second interface of the second device and then carry out data communication.
In one implementation manner, the first interface of the first device is an interface corresponding to a WUR, the second interface of the first device is an interface corresponding to an 802.11 host transceiver module, the first interface of the second device is an interface corresponding to a WUR, and the second interface of the second device is an interface corresponding to an 802.11 host transceiver module. Therefore, the first device can effectively wake up the 802.11 main transceiver module and the corresponding interface of the second device, and realize data communication.
In one implementation, the first message is a WUR message and the second message is a Wi-Fi message. Thus, the first device can effectively wake up the second interface of the second device and realize data communication by using the WUR message.
In one implementation, the first device is a terminal, and the second device is an AP. Therefore, the terminal can effectively wake up the second interface of the AP (namely wake up the 802.11 main transceiver module of the AP) and realize data communication.
In one implementation, the second device sends the first message to the first device through the first interface or the second interface, and the first message may be sent to the first device through the first interface or the second interface based on a preset first time period. Therefore, the second device can periodically send a message indicating the state of the second interface of the second device to the first device to notify the first device, and the first device can judge whether the first message is missed or not through the periodic time, and the first device determines whether the second interface of the second device needs to be awakened for data communication or not, so that the purposes of effectively awakening the second interface of the second device and carrying out data communication are achieved.
In an implementation manner, the second device sends the second message to the first device through the second interface, and the second message may be sent to the first device through the second interface based on a preset second time period. Therefore, the second device can periodically send a message indicating the state of the second interface of the second device to the first device to notify the first device, and the first device can judge whether the second message is missed or not through the period time, and the first device determines whether the second interface of the second device needs to be awakened for data communication or not, so that the purposes of effectively awakening the second interface of the second device and carrying out data communication are achieved.
In one implementation, 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; alternatively, the preset time period is set by the second device based on a time value indicated in the first indication information. Therefore, the first device can effectively wake up the second interface of the second device better and realize data communication.
A sixth aspect of the present application provides a communication method, which is applied to a terminal side, and includes the following steps: the method comprises the steps that first equipment receives a first message sent by second equipment through a first interface; or, the first device receives a second message sent by the second device through the second interface, and both the first message and the second message carry first indication information, where the first indication information indicates a state of the second device at a preset time, and the state indicates that the second interface of the second device is to be in an awake state, or in a sleep state, or in an awake state all the time at the preset time; then, according to the first indication information, if the second interface of the second device is in an awake state or is to be in the awake state all the time in the preset time, the first device sends a third message to the second device; the third message is an uplink message, or a message informing the second device 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 sends a fourth message to the second device; the fourth message is used for waking up the second interface of the second device, and the second interface of the second device communicates with the first device after waking up.
A seventh aspect of the present application provides a communication method, applied to an AP side, where the method may include the following steps: the second equipment sends the first message and the second message; the first message and the second message both carry first indication information, and the first indication information indicates the state of the second device at preset time; the first message is received by a first device through a first interface, and the second message is received by the first device through a second interface; the state of the second device is that the second interface of the second device is in an awake state, or a sleep state, or is always in the awake state within the preset time.
An eighth aspect of the present application provides a first device comprising: a first interface, configured to receive, by the first device, a first load of a first message sent by a second device; the first message comprises a first pilot and the first load; the bandwidth used by the first pilot is greater than the bandwidth used by the first load; a second interface, configured to receive, by the first device, a second message sent by the second device; the first message and the second message both carry first indication information, and the first indication information indicates the state of the second device at preset time; the state of the second device is that the second interface of the second device is in an awake state, or a sleep state, or is in the awake state all the time in the preset time; a processor, configured to analyze the first message or the second message, and determine whether a third message or a fourth message needs to be generated according to the first indication information carried in the first message or the second message; the third message is an uplink message, or a message informing the second device that the uplink message needs to be received; the fourth message is used for waking up the second interface of the second device, and the second interface of the second device communicates with the first device after waking up; according to the first indication information, if the second interface of the second device is in an awake state or is to be in the awake state all the time at the preset time, the processor of the first device generates the third message; or, if the second interface of the second device is in a sleep state, the processor of the first device generates the fourth message; if the first device is capable of sending the first payload of the fourth message over the first interface, the first device uses the first payload of the fourth message over the first interface; if the first device does not have the capability to send the first payload of the fourth message over the first interface, the first device should have the capability to send the first payload of the fourth message over the second interface; the first device is further configured to send the third message, and the first preamble to the fourth message, over the second interface; the first device further comprises a memory for storing program code and instructions; and an antenna for transceiving messages from the wireless medium.
A ninth aspect of the present application provides a second device comprising: a first interface for sending a first payload of a first message if the first interface is capable of sending the first payload; the first message comprises a first preamble and the first load, the first preamble using a bandwidth greater than a bandwidth used by the first load; a second interface, configured to send a second message or send the first payload of the first message by the second device; the second interface may also be used to send the first payload of the first message if the first interface does not have the capability to send the first payload of the first message; a processor configured to generate the first message and the second message; the first message and the second message both carry first indication information, and the first indication information indicates the state of the second device at preset time; the state of the second device is that the second interface of the second device is in an awake state, or a sleep state, or is always in the awake state within the preset time; the second device further comprises a memory for storing program code and instructions; and an antenna for transceiving messages from the wireless medium.
In one implementation, if the first device has not received the first message and the second message, or the first device has received the first message or the second message sent by the second device, but the preset time has been exceeded, the first device sends the third message to the second interface of the second device, so that the first device attempts to communicate with the second interface of the second device; in a first interval, if the first device does not receive a reply message of a third message sent by the second device to the first device, the first device sends the fourth message to the first interface of the second device after the first interval, so that the first device wakes up the second interface of the second device; the first interval time is longer than an interval of sending the reply message of the third message to the first device after the second device receives the third message, so as to avoid sending the fourth message by the first device before receiving the reply message of the third message.
In one implementation, the first message and the second message are periodically sent messages for the first device to identify whether to miss the first message or the second message.
In one implementation, the preset time is a time agreed by the first device and the second device, or a time indicated in the first indication information; the first device is configured to determine whether the first indication information carried in the first message and the second message is valid.
In one implementation, if the first device has not received the first message via the first interface; and the second device has not received the second message through the second interface; or, the first device receives the first message or the second message, but the preset time is exceeded, and the first device sends the third message to the second interface of the second device through the second interface; if the first device does not receive a reply message of a third message sent by the second device within a first interval time, when the first device has the capability of sending the first load through the first interface, the first device sends the fourth message to the first interface of the second device through the first interface after the first interval time; when the first device does not have the capability of sending the first load through the first interface, the first device sends the fourth message to the first interface of the second device through the second interface after the first interval; the first interval time is greater than the interval of sending the reply message of the third message to the first device after the second device receives the third message.
In one implementation, a second interface in the second device is configured to receive a third message; the third message is an uplink data message or a message informing the second device that the uplink message needs to be received; a first interface in the second device, configured to receive the first payload of the fourth message, and configured to wake up a second interface of the second device; a processor in the second device to parse the third message, and/or the fourth message.
Therefore, in the application, the first device can timely acquire the state of the second interface of the second device and perform data communication or perform communication after waking up, so that the purpose of performing data communication and effectively waking up the second interface of the second device is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a basic service set in W L AN;
fig. 2 is a schematic diagram of communication between a terminal and an AP;
FIG. 3 is a schematic diagram of a WUR frame structure;
fig. 4-12 are schematic diagrams of communication between a first device and a second device, respectively, in an embodiment of the present application;
fig. 13 is a communication flow chart between a first device and a second device in an embodiment of the present application;
FIGS. 14-16 are diagrams illustrating examples of applications of embodiments of the present application, respectively;
fig. 17 is a schematic structural diagram of a wireless device according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of another wireless device according to an embodiment of the present application.
Detailed Description
The application is applied to W L AN, wherein a W L AN may comprise a Basic Service Set (BSS), and network nodes in the BSS comprise AN AP and terminals, each BSS may comprise AN AP and a plurality of terminals associated with the AP, as shown in FIG. 1.
The AP may be an access point or a hotspot, etc. An AP is an access point where a mobile user terminal enters a wired network, and as shown in fig. 1, a plurality of terminals connect to the network through the AP. APs are deployed primarily in homes, buildings, and parks, typically covering tens to hundreds of meters in radius, but may also be deployed outdoors. The AP acts as a bridge connecting the internet and the wireless network, and its main role is to connect the clients of the wireless network together and then to access the wireless network to the internet. In particular, the AP can 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 (mobile terminal), a computer, a microcomputer, or the like, or may be a 5G terminal. For example, the terminal may be a mobile telephone (or so-called "cellular" telephone), a mobile computer, a computer with a mobile terminal, a smart watch, or the like, and may also be a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device that exchanges voice and/or data with the wireless access apparatus. The present application is not limited thereto, and for example, the terminal also includes a terminal having a wired access with a multi-bearer feature.
Fig. 2 is a schematic diagram illustrating communication between a terminal and an AP using an 802.11 host transceiver module and a WUR. Both the AP and the terminal may include an 802.11 host transceiver module and a WUR. The WUR is used for receiving the wake-up frame and waking up the 802.11 host transceiver module of the device based on the wake-up frame. The WUR may also be used to send WUR messages if the WUR has the capability to send WUR messages, such as wakeup frames. The 802.11 main transceiver module, namely a Wi-Fi module, can be used for transceiving Wi-Fi signals. When the WUR does not have the capability of sending the WUR message, the 802.11 host transceiver module needs to have the capability of sending the WUR message and can be used for sending a WUR signal; when a device sends a WUR message using an 802.11 host transceiver, the WUR message sending capability of the WUR is not necessary. Of course, WUR is not necessary when the AP does not consider power savings.
The WUR can reduce energy consumption compared with an 802.11 host transceiver module, and the WUR is far simpler to receive and decode than an 802.11 message, namely a Wi-Fi message, and adopts narrow-band transmission compared with the 802.11 host transceiver module. Specifically, the WUR generally employs modulation schemes that are easy for the receiving side to demodulate, such as On Off Keying (OOK) modulation and Binary Frequency shift Keying (2 FSK) modulation. And OOK and 2FSK are indicated in the literature as two modulation modes with the lowest demodulation complexity. Taking OOK modulation as an example, the receiving end determines whether to receive the information carried by the signal according to whether there is energy, such as: with energy, a 1 is indicated, and without energy, a 0 is indicated. The Wi-Fi message uses Phase Shift Keying (PSK) modulation and Orthogonal Frequency Division Multiplexing (OFDM) modulation with high demodulation complexity, and the receiving end needs to perform complex channel processing operations such as Inverse Fast Fourier Transform (IFFT), which consume a large amount of energy.
In the following design description of WUR, as shown in fig. 3, the WUR frame structure may be divided into a field of a first preamble and a field of a first payload.
The field of the first preamble at least comprises L-STF, L-L TF and L-SIG, the first preamble is 802.11preamble (802.11preamble), that is, preamble sequence which can be understood by a traditional 802.11 device, and is transmitted on 20MHz or 20MHz integral multiple bandwidth (such as 40MHz, 80MHz and 160MHz), so that the 802.11 device can accordingly determine that the current message (WUP) is Wi-Fi message for being compatible with the traditional 802.11 device, the 802.11 device which hears the 802.11preamble can obtain the time when WUP the channel according to the information in the 802.11preamble (such as L-L, that is, L gtenh field information), and does not try to access the channel during the time so as to avoid interfering the WUP in the transmission.
For example, the L ength field information is 12bits, indicating the number of bytes of the message data portion that need to be transmitted in other words, the remaining time required to transmit the message can be calculated according to the information indicated by the L ength field and the information indicating the message transmission rate in the 802.11preamble L-SIG, Signal field.
The first Payload is a Payload part of the WUP, and a modulation scheme with low demodulation complexity, such as OOK modulation, that is, Binary Amplitude Shift Keying (2 ASK) modulation, is adopted, and narrowband transmission, such as 1MHz channel, 2MHz channel, 5MHz channel, etc. (the traditional 802.11 minimum channel bandwidth is 20MHz), is used, so that the receiving end further reduces energy consumption.
Wherein, Payload of the WUP comprises a Wake-Up Preamble and a MAC (media Access Control) part, wherein the former has the similar function as a traditional 802.11 leader and can be used for WUR of a device to identify a WUR signal; the latter is similar to the MAC portion of Wi-Fi messages and further may include a MAC Header, Frame Body, and Frame Check Sequence (FCS). Here, the MAC Header carries at least identification information of the receiving end, the Frame Body can carry some indication, control information, and the like, and the FCS belongs to the check information and is used to determine whether the message is received with errors.
The purpose of setting the WUR in the terminal is to reduce the overall energy consumption of the device, and in some scenarios, the AP also has a requirement for saving energy consumption, so the WUR can be equipped to further reduce energy consumption, as shown in fig. 2, the AP does not have an external power supply in some temporarily deployed networks, and the 802.11 host transceiver module of the AP that sets the WUR can enter a sleep state when there is no data to transmit and receive, so as to achieve the purpose of saving energy, and when the terminal has Uplink (U L) data to transmit, it first sends a WUP message to the WUR of the AP to wake up the 802.11 host transceiver module of the AP, and then the terminal and the AP communicate through the 802.11 host transceiver module, as shown in fig. 1, after the terminal 1 wakes up the 802.11 host transceiver module of the AP with the WUR of the AP by sending the WUP for data transmission, if other terminals such as the terminal 2 also have Uplink data to transmit, the terminal 2 also sends a WUP that wants to wake up the 802.11 host transceiver module of the AP to transmit the AP, but because the AP of the terminal has already woken, the terminal can not receive the data effectively, the AP can not be able to transmit and therefore the terminal can not receive the AP data.
For this reason, in the present embodiment, for the communication structure in fig. 2, the following implementation scheme is proposed, as shown in fig. 4, in which a first device and a second device perform data communication through respective first interfaces and second interfaces. In the first device, only one of the first interface and the second interface is usually in an awake state at the same time, and the other one is in a sleep state, and the first interface can be used for waking up the second interface; in the second device, only one of the first interface and the second interface is usually in an awake state at the same time, and the other is in a sleep state, and the first interface can be used for waking up the second interface.
If the first interface of the second device has the capability of sending a first message (such as a WUR message), the second device sends a message (which is a WUR message) containing information indicating the state of the second interface of the second device to the first interface of the first device through the first interface of the second device, namely the first message containing first indication information, and the first device receives the first message by using the first interface of the first device; the second device sends a message containing the state of the second interface of the second device, namely a second message containing the first indication information, to the second interface of the first device through the second interface of the second device, and the first device receives the second message by using the second interface of the first device. If the first interface of the second device does not have the capability to send the first message, the second device may send a message (which is a type of WUR message) to the first interface of the first device over its second interface containing information indicating the state in which the second interface of the second device is.
As shown in fig. 5, the second device may periodically send a first message using the first interface, where first indication information in the first message indicates whether the second interface of the second device is currently in a sleep state or an awake state, or whether the second interface is in the sleep state or the awake state within a preset time period, and then the first device may receive the first message through the first interface of the first device.
As shown in fig. 6, the second device may periodically send a second message using the second interface, where first indication information in the second message indicates whether the second interface of the second device is currently in a sleep state or an awake state, or whether the state where the second interface is located within a preset time period is the sleep state or the awake state, and then the first device may receive the second message through the second interface of the first device.
As shown in fig. 7, the second device may periodically send a first message using the first interface, and periodically send a second message using the second interface, where 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 whether the second interface of the second device is in the sleep state or the awake state within a preset time period, and then the first device may receive the first message using the first interface thereof, and receive the second message using the second interface.
In the examples shown in fig. 5-7, the time points when the second device sends the first message and the second message may be different, for example, after sending one message (the first message or the second message), another message (the second message or the first message) may be sent at an interval. In addition, the periods of sending the first message and the second message by the second device may be the same or different.
It should be noted that, in the examples shown in fig. 5 to fig. 7, when the second device sends the first message, if the first interface is in the sleep state, the first interface is temporarily woken up to send the first message; and when the second equipment sends the second message, if the second interface is in the dormant state, temporarily waking up the second interface to send the second message.
And if the first interface in the second device does not have the capability of sending the first message, the second device sends the first message through the second interface of the second device, and for the second message, the second device still sends the first message through the second interface of the second device. Then, the first device still receives the first message by using the first interface thereof, and the first device receives the second message by using the second interface thereof.
That is, the first interface in the second device may not have the capability of sending the first message, and then, 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 sends the first message and/or the second message through the second interface; when the first interface is in an awakening state and the second interface is in a dormant state, the second device temporarily awakens the second interface to send the first message and/or the second message.
As shown in fig. 8, the second device may periodically send a first message using the second interface, where first indication information in the first message indicates whether the second interface of the second device is currently in a sleep state or an awake state, or whether the second interface is in the sleep state or the awake state within a preset time period, and then the first device may receive the first message through the first interface of the first device.
As shown in fig. 9, the second device may periodically send a second message 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 sleep state or an awake state, or whether the state where the second interface is located within the preset time period is the sleep state or the awake state, and then the first device may receive the second message through the second interface of the first device.
As shown in fig. 10, the second device may periodically and respectively send a first message and a second message using the second interface, where the sending interval of the first message and the second message is a certain duration, and 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 the sleep state or the awake state, or the state where the second interface is in the sleep state or the awake state within the preset time period, and then the first device may receive the first message using the first interface thereof and receive the second message using the second interface.
In the examples shown in fig. 8-10, the second device sends the first message and the second message through the second interface at different time points, and after sending one message (the first message or the second message), another message (the second message or the first message) may be sent at an interval. In addition, the periods of sending the first message and the second message by the second device may be the same or different.
It should be noted that, in the examples shown in fig. 8 to fig. 10, when the second device sends the first message and the second message, if the second interface is in the sleep state, the second interface may be temporarily woken up to send the first message and the second message.
In addition, when the first device receives first indication information indicating that the second interface of the second device is in the awake state or in the awake state within the preset time period and the preset time period is valid, the second interface of the first device sends a message related to the uplink data, that is, a third message, such as the uplink data itself or a frame informing that the second interface of the second device has a query type that the uplink data needs to be received, such as RTS, Poll, and the like, as shown in fig. 11; and when receiving first indication information indicating that the second interface of the second device is in a sleep state or is in the sleep state within a preset time period and the preset time period is valid, the first device sends a fourth message capable of waking up the second interface of the second device to the first interface of the second device, as shown in fig. 12, and further wakes up the second interface of the second device, so that the second interface of the first device can send uplink data to the second interface of the second device or inform the second interface of a frame of a query type and the like that the uplink data needs to be received, thereby implementing data communication between the first device and the second device.
It should be noted that, if the first indication information indicates that the second interface of the second device is in the sleep state or is in the sleep state within the preset time period, after the second device receives the fourth message by using the first interface, 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 wake-up state, thereby implementing data communication between the first device and the second device.
Wherein the preset time period in the first indication information may be set based on a preset communication protocol between the first device and the second device. For example, a time period from a time point when the second device finishes sending the first message and/or the second message to a certain time point is used as a preset time period; or starting from a certain time point, and taking a time period with corresponding duration as a preset time period; alternatively, the preset time period may be set based on a time indicated in the first indication information, for example, a time period from a time period in which the first indication information indicates a transmission cycle of the first indication information, that is, a time period from transmission of the first field of the previous message to transmission of the first field of the next message, is set as the preset time period.
It should be noted that, the second device periodically transmits the first message and/or the second message, and the first device may be allowed to identify whether there is a missed message based on the transmission period.
In an example of the application, when the first device fails to receive the first message or the second message in the preset time period of the first indication information, or the first device cannot know the current state of the second interface of the second device, the first device may directly send a message related to the uplink data to the second interface of the second device, for example, a third message, such as the uplink data itself or a frame that informs that there is an inquiry type that the uplink data needs to be received, to attempt data communication with the second device.
During normal communication, if the second device receives the third message sent by the first device through the second interface, a reply message capable of confirming that the second device has received the third message is fed back to the second interface of the first device.
And if the first device does not receive the reply message fed back by the second device within the preset interval duration after the first device sends the third message, the second interface of the second device is very likely or determined to be in the dormant state, so that the second device does not receive the third message sent by the first device, and at this time, the first device can send a fourth message to the first interface of the second device, so as to wake up the second interface of the second device, and then send the third message to the second interface of the woken up second device, so as to implement data communication between the first device and the second device.
In order to avoid the channel occupation situation that may be caused by the first device sending the fourth message to the second device before receiving the reply message, the duration of the interval for which the first device waits needs to be greater than the sum of the duration of the third message transmitted from the first device to the second device in the normal communication state and the duration of the reply message transmitted from the second device to the first device, for example: the interval duration is longer than the duration from the time point when the last field of the third message leaves the first device to the time point when the first field of the reply message fed back to the first device by the second device reaches the first device, that is: and the second equipment receives the third message and then sends the normal interval of the reply message of the third message to the first equipment. In the 802.11 protocol, the value of the interval duration is usually expressed as being greater than aSIFSTime, for example, 10us in the 2.4GHz band of the 802.11g/n protocol and 16us in the 5GHz band of the 802.11a/n/ac protocol.
Based on the above implementation, fig. 13 is a schematic flow chart 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 through its first interface or second interface, and/or the second device sends a second message to the first device through its second interface.
The first message and the second message both contain first indication information, and the first indication information is used for indicating a state of a second interface of the second device, such as a current sleep state or an awake state, or the second interface is in the sleep state or the awake state within a preset time period.
The second device may inform 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 sending the first message and the second message, respectively. When the second device sends the first message and the second message to the first device respectively, the first device can be better ensured to receive the first indication information.
When the first interface of the second device has the capability of sending the first message, the second device can send the first message through the first interface, and the second device can send the second message through the second interface; the second device may send the first message and/or the second message over the second interface when the first interface of the second device does not have the capability to send the first message.
It should be noted that the second device may send the first message based on a preset first time period; the second device may transmit the second message based on a preset second time period. The first time period and the second time period may be the same or different. The time point of the second device sending the first message may be the same as or different from the time point of the second message.
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 in 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, and if the first indication information indicates that the second interface of the second device is in the sleep state, step 1305 is performed.
Step 1304: and sending a third message to the second device, wherein the third message is related to the uplink data of the first device so as to carry out data communication between the first device and the second device.
Step 1305: and sending a fourth message to the second device, wherein the fourth message is used for waking up a second interface of the second device, so that the first device and the second device perform data communication through the woken second interface of the second device.
Step 1306: and if the first device does not receive the first message or the second message, so that 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 to try data communication between the first device and the second device.
During normal communication, if the second device receives the third message sent by the first device through the second interface, a reply message capable of confirming that the second device has received the third message is fed back to the second interface of the first device.
Step 1307: after the first device sends the third message for a preset interval duration, 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 sends a fourth message to the second device to wake up a second interface of the second device, so that data communication between the first device and the second device is realized.
Based on the technical solutions in fig. 4 to fig. 11, the present application takes a first device and a second device as a terminal and an AP in a basic service set, respectively, as an example for explanation:
as shown in fig. 2, the terminal has two communication modules: WUR and 802.11 host transceiver module, the corresponding communication interface is: the WUR of the terminal communicates with other equipment by using the corresponding interface, and the 802.11 host transceiver module of the terminal communicates with other equipment by using the corresponding interface; the AP has two communication modules: WUR and 802.11 host transceiver module, the corresponding communication interface is: the interface corresponding to the WUR is a first interface of the second terminal, the interface corresponding to the 802.11 host transceiver module is a second interface of the second terminal, the WUR of the AP communicates with other devices by using the corresponding interface, and the 802.11 host transceiver module of the AP communicates with other devices by using the corresponding interface.
Taking the case that the WURs of the terminal and the WURs of the AP do not have the WUP sending capability, combining the communication diagrams in fig. 8-10:
in the communication process, the W L AN system relates to communication between a terminal and a WUR of AN AP, communication between AN 802.11 host transceiver module of the terminal and AN 802.11 host transceiver module of the AP, and communication between the AP and the WUR of the terminal.
Wherein the communication between the WURs from the terminal to the AP comprises: the terminal sends a wakeup frame, i.e., WUP, containing WUR identification information to the WUR of the AP in an attempt to wake up the communication of the 802.11 host transceiver module of the AP.
The communication between the 802.11 main transceiver module of the terminal and the 802.11 main transceiver module of the AP includes: an 802.11 main transceiver module of the terminal sends uplink data to an 802.11 main transceiver module of the AP or informs the AP of communication of frames which the uplink data need to receive; or, the 802.11 primary transceiver module of the AP sends, to the 802.11 primary transceiver module of the terminal, a communication for confirming receipt of a reply message of the uplink data sent by the 802.11 primary transceiver module of the terminal; or the 802.11 master transceiver module of the AP sends, to the 802.11 master transceiver module of the terminal, a communication indicating the current state of the AP or the state within the preset time period.
The communication between the AP and the WUR of the terminal includes: and the AP sends communication to the WUR of the terminal for indicating the current state of the AP or the state of the AP within a preset time period. The state of the AP refers to whether the 802.11 primary transceiver module of the AP is in an awake state or a sleep state.
When the 802.11 main transceiver module of the AP is awake, the AP can transmit and receive Wi-Fi messages; when the 802.11 host transceiver module of the AP is in sleep, the 802.11 host transceiver module of the AP can only be woken up by the WUR of the AP, or actively waken up when a downlink message needs to be transmitted, and then performs Wi-Fi message transmission with other devices. The main purpose of the 802.11 primary transceiver module of the AP going to sleep is to save energy consumption.
As can be seen from the above, in this embodiment, when there is uplink data to be transmitted on one side of the terminal, the terminal can send a WUR message and a Wi-Fi message to the AP in one case, and it is ensured that when the WUR of the AP is in a wake-up state, the 802.11 host transceiver module of the AP can be woken up based on the WUR message sent by the terminal to receive the Wi-Fi message; or in another case, the terminal can only send Wi-Fi messages to the AP, so that the terminal can directly receive the Wi-Fi messages when the 802.11 main transceiver module of the AP is in the wake-up state, thereby realizing data communication between the two. The method comprises the steps that a terminal is informed on one side of an AP (access point) by sending a self state (such as the state of an 802.11 host transceiver module of the AP) or a state in a preset time period, and the terminal can determine whether to directly send a Wi-Fi message to the AP to carry out data communication between the AP and the terminal or to send a WUR message to wake up the 802.11 host transceiver module of the AP before sending the Wi-Fi message, so that the efficiency and the effectiveness of data communication between the AP and the terminal can be improved, the sending of invalid messages can be reduced, and unnecessary expenses can be saved.
Specifically, with reference to fig. 2 and fig. 4, a first device (e.g., a terminal) receives a first message (WUR message, e.g., WUR beacon, WUR sync frame) sent by a second device (e.g., an AP) through a first interface (e.g., an interface corresponding to the WUR). Or, the first device receives a second message (Wi-Fi message, such as Wi-Fi beacon) sent by the second device through a second interface (such as an interface corresponding to the 802.11 host transceiver module). The first message and the second message both carry first indication information of the current state of the second device or the state of the second device within a preset time period. If the first indication information carried in the received first message or second message is valid information within the preset time period, namely the preset time period is valid; if the preset time period is exceeded, the first device judges that the first indication information carried in the received first message or second message is invalid information, namely the preset time period is invalid.
In a possible implementation manner, the first message and the second message respectively use a 1-bit (bit) indication bit to indicate first indication information, where the first indication information indicates that the second interface of the second device is in an awake state or a sleep state, or will be in the awake state or the sleep state within a preset time period, so as to be used by the first device that receives the first message or the second message, and obtain the state of the second interface of the second device according to the first indication information, so as to communicate with the second device on a suitable interface. For example, a first indication of "1" indicates that the second device is to be in an awake state, and a first indication of "0" indicates that the second device is to be in a sleep state. The preset time period may be a time period agreed in advance by the first device and the second device, as shown in fig. 14, a time period from when the second device finishes sending the first message or the second message to a certain time point; or, the preset time may be a time after a certain time point, as shown in fig. 15, the time after the second device finishes transmitting the first message or the second message. If the first message or the second message is a message periodically sent by the second device, such as a WUR beacon (beacon frame of WUR message), a WUR sync frame (WUR message carrying sync information), a Wi-Fi beacon (beacon frame of Wi-Fi message), and the like. Then, as shown in fig. 16, the preset time period may also be from the time when the second device sends the current first message to the time when the second device sends the first message next time; or from the time the current second message is sent to the time the second message is sent next.
In addition, the first indication information may also carry the length of the preset time period. For example, the preset time period is several aSlotTime (aSlotTime is an important basic time unit in the 802.11 protocol, and aSlotTime is 9us in the 2.4GHz band of the 802.11g/n/ac protocol). Or, the preset time period is a specific time period, such as a number of milliseconds (ms), or a number of microseconds (us). Of course, the above is only an example, and the first indication information may also indicate the preset time in other ways, which is not illustrated here.
Therefore, based on the foregoing solution, when the second interface of the first device has uplink data to send to the second device:
and if the first equipment receives the first message or the second message sent by the second equipment, and the second interface of the first equipment changes from dormancy to wakeup, and the time that uplink data needs to be sent to the second equipment does not exceed the preset time indicated by the first indication information in the first message or the second message, judging the state of the second interface of the second equipment according to the first indication information.
And if the first indication information indicates that the second interface of the second device is in the wake-up state, or the second interface of the second device is always in the wake-up state within a preset time period and cannot be switched to sleep, the first device sends a third message to the second interface of the second device. The third message is a Wi-Fi message, and may be a PS-Poll (used for the first device to notify the second device that the first device is awake), or a Request To Send (RTS) frame, or another message that may notify the second device that the 802.11 primary transceiver module of the first device is awake, or a message such as uplink data.
And if the first indication information indicates that the second interface of the second device is in a dormant state or in a dormant state within a preset time period, the first device sends a fourth message to the first interface of the second device. The fourth message is a WUR message for waking up the second interface of the second device. And after waking up at the second interface of the second equipment, the first equipment transmits the message through the second interface of the first equipment and the second interface of the second equipment.
If 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 time when the second interface of the first device wakes up and prepares to send the uplink message to the second device exceeds the preset time period when 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 the first 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 (i.e., the reply message of the third message) sent by the second device to the first device, which confirms that the third message is received, within the first interval time, such as the interval duration in the foregoing, the first device also sends a fourth message to the first interface of the second device after the first interval time. The first interval time may be slightly longer than aSIFSTime (the aSIFSTime is an important basic time unit in the 802.11 protocol, and is used for an interval required by a device to send a reply message after receiving a legal message addressed to the device, where the aSIFSTime is 10us in a 2.4GHz band of the 802.11g/n protocol, and 16us in a 5GHz band of the 802.11a/n/ac protocol). If the second interface of the second device is in the awake state at this time, after receiving the third message sent by the first device, the second device may reply to the message (i.e., send a reply message of the third message) after the aSIFSTime, such as Clear To Send (CTS), acknowledgement frame (ACK), or other message. Therefore, the first interval time is required to be longer than the aSIFSTime, so as to avoid that the first device sends the fourth message quickly (the quickness is less than or equal to the aSIFSTime), which causes that even though the second interface of the second device receives the third message, the channel is occupied by the fourth message sent by the first device, and the second interface cannot send the reply message of the third message to the first device in time.
In the example of the present application, the first device and the second device are specific examples of wireless devices, and the following describes structures of the first device and the second device:
as shown in fig. 17, which is a schematic structural diagram of the wireless device shown as the first device in fig. 4, the first device includes the following structures:
a first communication module 1701 corresponding to a first interface of a first device;
a second communication module 1702 corresponding to a second interface of the first device;
besides, the structure also comprises the following components:
a memory 1703 for storing applications and data generated by the application operations;
a processor 1704 for executing the application program to implement the following functions:
receiving a first message and/or a second message sent by a second device through a first interface corresponding to a first communication module 1701 or a second interface corresponding to a second communication module 1702, where the first message and the second message both contain first indication information; judging the state of a second interface of the second equipment indicated in the first indication information; if the first indication information indicates that the second interface of the second device is in an awake state, sending a third message to the second device through a second interface corresponding to the second communication module 1702, where the third message is related to uplink data of the first device, so as 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 the sleep state, a fourth message is sent to the second device through the first interface or the second interface corresponding to the first communication module 1701, where the fourth message is used to wake up the second interface of the second device, so that data communication is performed between the first device and the second device through the woken second interface of the second device.
In fig. 17, the first device may be a terminal, the first communication module 1701 may be a WUR, the second communication module 1702 may be an 802.11 host transceiver module, the first message may be a WUR message, and the second message may be a Wi-Fi message. The first interface to the WUR is for receiving WUR messages (e.g., receiving a first message), i.e., a first payload portion of a WUR message, which may also have the function of sending the first payload portion of a WUR message (e.g., sending a fourth message). The second interface corresponding to the 802.11 main transceiver module is used for transceiving Wi-Fi messages (such as receiving a second message and sending a third message).
It should be noted that if the first interface corresponding to the WUR in the terminal can only receive the first payload portion of the WUR message, the second interface corresponding to the 802.11 host-transceiver module also needs to have the capability of sending the WUR message (including the first preamble portion and the first payload portion), and if the first interface corresponding to the WUR can send and receive the first payload portion of the WUR message, the second interface corresponding to the 802.11 host-transceiver module does not necessarily need to have the capability of sending the WUR message.
In addition, the first device further has an antenna 1705, and a first interface corresponding to the first communication module 1701 and a second interface corresponding to the second communication module 1702 can transmit and receive signals through the antenna 1705.
It should be noted that the first interface corresponding to the WUR on the terminal and the second interface corresponding to the 802.11 host transceiver module may share the antenna 1705, and operate in the same frequency band, so as to reduce the cost of the device hardware. Or, the first interface corresponding to the WUR and the second interface corresponding to the 802.11 host transceiver module may also correspond to different antennas 1705, especially when the two operate in different frequency bands, such as a 2.4GHz band and a 5GHz band. In an actual product, the terminal may be implemented by a System on a Chip (SoC) or an integrated circuit (ic) to implement the functions of the above structures.
As shown in fig. 18, the wireless device is a schematic structural diagram of the second device in fig. 4, and the second device includes the following structures:
a first communication module 1801, corresponding to a first interface of a second device;
a second communication module 1802 corresponding to a second interface of a second device;
besides, the structure is as follows:
a memory 1803 for storing an application program and data generated by the application program;
a processor 1804 configured to execute the application to perform the following functions:
a first message is sent to the first device through a first interface corresponding to the first communication module 1801 or a second interface corresponding to the second communication module 1802, and/or a second message is sent to the first device through a second interface corresponding to the second communication module 1802; the first message and the second message both contain first indication information, and the first indication information indicates a state of a second interface of the second device.
The processor 1804 may also perform the generating and parsing of 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 host transceiver module, the first message may be a WUR message, and the second message may be a Wi-Fi message. The first interface to the WUR is for receiving a WUR message (e.g., receiving a fourth message), i.e., a first payload portion of the WUR message, which may also have the function of sending the first payload portion of the WUR message (e.g., sending the first message). The second interface corresponding to the 802.11 main transceiver module is used for transceiving Wi-Fi messages (such as sending a second message and receiving a third message).
It should be noted that if the first interface corresponding to the WUR in the AP can only receive the first payload portion of the WUR message, the second interface corresponding to the 802.11 host-transceiver module also needs to have the capability of sending the WUR message (including the first preamble portion and the first payload portion), and if the first interface corresponding to the WUR can send and receive the first payload portion of the WUR message, the second interface corresponding to the 802.11 host-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 sync frame; the second message may be a Wi-Fi message, such as Wi-Fi beacon, periodically sent by the second device.
The indication of the first indication information indicates that the second interface of the second device is in a state, where the first indication information indicates that the second interface of the second device is in a current state or in a state within a preset time period, for example, the second interface of the second device is always in an awake state and cannot be switched to a sleep state, or the second interface of the second device is always in the sleep state and cannot be switched to the awake state, or the second interface of the second device is in the awake state or the sleep state within a certain time period, and so on.
The preset time period may be a time period agreed in advance by the first device and the second device, for example, a time period from a time point when the second device finishes sending the first message and/or the second message to a certain time point;
alternatively, 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 is sent from the second device;
or, if the first message and the second message are messages periodically transmitted by the second device, such as WUR beacon, WUR sync frame, Wi-Fi beacon, etc., the preset time period may also be a time period from a time point when the second device transmits one first message to a time point when a next first message is transmitted, or the preset time period may be a time period from a time point when the second device transmits one second message to a time point when a next second message is transmitted.
In addition, the length of the preset time period can be directly carried in the first indication information. For example, the preset time period is several aSlotTime; or a specific duration, such as a number of milliseconds, ms, or microseconds, us, etc.
In addition, the second device further has an antenna 1805, and a first interface corresponding to the first communication module 1801 and a second interface corresponding to the second communication module 1802 may perform transmission and reception of signals through the antenna 1805.
It should be noted that the first interface corresponding to the WUR on the AP and the second interface corresponding to the 802.11 host transceiver module may share the antenna 1805, and operate in the same frequency band, so as to reduce the cost of the device hardware. Or, the first interface corresponding to the WUR and the second interface corresponding to the 802.11 host transceiver module may also correspond to different antennas 1705, especially when the two operate in different frequency bands, such as a 2.4GHz band and a 5GHz band. In an actual product, the AP may be implemented by a system on a Chip (SoC) or an integrated circuit (ic) to implement the functions of the above structures.
Therefore, in a basic service set, the AP may periodically send a WUR message and/or a Wi-Fi message to the terminals connected thereto to notify the current state or the state of the interface corresponding to the 802.11 host transceiver module of each terminal AP in a preset time period, such as an awake state or a sleep state, so that the terminal corresponding to the AP knows whether the interface corresponding to the 802.11 host transceiver module of the AP is in the awake state or the sleep state, and makes a corresponding communication response. For example, when any one terminal knows that the interface corresponding to the 802.11 main transceiver module of the AP is in the awake state, the terminal may directly send a message related to the uplink data to the AP, and when it knows that the interface corresponding to the 802.11 main transceiver module of the AP is in the sleep state, the terminal may send a wakeup frame to the AP, thereby waking up the interface corresponding to the 802.11 main transceiver module of the AP, and then sending a message related to the uplink data to the AP, and after the interface corresponding to the 802.11 main transceiver module of the AP is woken up, the Wi-Fi message sent by the AP to the terminal indicates that the interface corresponding to the 802.11 main transceiver module of the AP is in the awake state, and then the terminal may directly send a message related to the uplink data to the AP by determining that the interface corresponding to the 802.11 main transceiver module of the AP in the received indication information is in the awake state, thereby achieving the purpose of effectively waking up the interface corresponding to the 802.11 main transceiver module of the AP, the method and the device realize effective communication, avoid the situation that other terminals cannot know that the interface corresponding to the 802.11 main transceiver module of the AP is in the awakening state because a certain terminal awakens the interface corresponding to the 802.11 main transceiver module of the AP and awakening frames sent by other terminals cannot be received by the WUR of the AP in the dormant state, and avoid communication failure.
And the state of the interface corresponding to the 802.11 main transceiver module of the AP is judged by judging the message sent by the AP at one side of the terminal, and then only a Wi-Fi message or a WUR message is sent, so that the interface corresponding to the 802.11 main transceiver module of the AP can be effectively awakened, and communication is realized, thereby reducing the overhead of the terminal.
At least 1 of the first devices shown in fig. 17 and one of the second devices shown in fig. 18 form a basic service set, as shown in fig. 17.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The interface described in the embodiments of the present application may be a logical concept (e.g. a logical functional unit/module) or may be a physical entity (e.g. a communication interface provided by a corresponding communication module). The functions implemented by the various interfaces (e.g., 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, so that the steps executed by the second interface in the embodiments of the present application can be executed by a wireless transceiver (e.g., a WiFi communication module, or a WiFi main radio or an 802.11 main transceiver module); the transmitting step performed by the first interface of the AP/terminal in the embodiments of the present application may be performed by the wake-up transmitter of the AP/terminal instead (in another embodiment, the wireless transceiver may have two functions of transceiving wifi signals and transmitting WUR signals, so the step performed by the first interface of the AP/terminal may also be performed by the wireless transceiver of the AP/terminal instead); the receiving step performed by the first interface of the AP/terminal described in the embodiments of the present application may be performed by a wake-up receiver of the terminal instead. If the WUR module integrates both the function of receiving and transmitting WUR signals, the WUR module may be referred to as a wake-up transceiver, and both the wake-up transmitter and the wake-up receiver may be replaced with a wake-up transceiver.
The relevant parts among the method embodiments of the invention can be mutually referred; the apparatus provided in the respective apparatus embodiments is adapted to perform the method provided in the respective method embodiments, so that the respective apparatus embodiments may be understood with reference to the relevant parts in the relevant method embodiments. All relevant parts between the embodiments of the invention can be mutually referred. The device structure diagrams given in the device embodiments of the invention only show a simplified design of the corresponding devices. In practical applications, the apparatus may comprise any number of transmitters, receivers, transceivers, processors, memories, etc. to implement the functions or operations performed by the apparatus in the embodiments of the apparatus of the present invention, and all apparatuses that can implement the present invention are within the scope of the present application. The names of the message/frame/indication information, the module or the unit, etc. provided in the embodiments of the present invention are only examples, and other names may be used as long as the roles of the message/frame/indication information, the module or the unit, etc. are the same.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.

Claims (16)

1. A method of communication, applied to a first device, the method comprising:
receiving a first message and/or a second message sent by a second device, wherein the first message and the second message both contain first indication information;
judging the state of a second interface of the second equipment indicated in the first indication information;
if the first indication information indicates that a second interface of the second device is in an awake state, sending a third message to the second device, wherein the third message is related to uplink data of the first device, so as 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, sending 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 communication is performed between the first device and the second device through the woken up second interface of the second device;
if the first message and the second message are not received, sending the third message to the second equipment;
after a preset interval duration after the third message is sent, if a reply message sent by the second device is not received and the reply message corresponds to the third message, sending the fourth message to the second device.
2. The method according to claim 1, wherein the interval duration is longer than a duration between the first device sending the third message and the first device receiving a reply message corresponding to the third message in a normal communication state.
3. The method of claim 1, wherein the first indication information indicates that the second interface of the second device is in an awake state, comprising:
the first indication information indicates that the second interface of the second device is currently in an awake state, or the second interface of the second device is in the awake state within a preset time period and the preset time period is valid.
4. The method of claim 1, wherein the first indication information indicates that the second interface of the second device is in a sleep state, and wherein the method comprises:
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 the dormant state within a preset time period.
5. The method of any of claims 1-4, wherein the first interface of the first device is an interface corresponding to a WUR, and the second interface of the first device is an interface corresponding to an 802.11 host transceiver module;
the first interface of the second device is an interface corresponding to the WUR, and the second interface of the second device is an interface corresponding to the 802.11 host transceiver module.
6. The method of any of claims 1-4, wherein the first message is a WUR message and the second message is a Wi-Fi message.
7. The method of any of claims 1-4, wherein the first device is a terminal and the second device is an AP.
8. A method of communication, applied to a second device, the method comprising:
sending a first message to a first device through a first interface or a second interface, and/or sending a second message to the first device through a second interface;
the first message and the second message both contain first indication information, and the first indication information indicates the state of a second interface of the second device;
receiving a third message sent by the first device, where the third message is sent by the first device when the received first indication message indicates that a second interface of the second device is in an awake state or when the first message or the second message is not received, and the third message is related to uplink data of the first device, so as to perform data communication between the first device and the second device;
receiving a fourth message sent by the first device, where the fourth message is sent by the first device when the received first indication message indicates that a second interface of the second device is in a dormant state, or the fourth message is sent by the first device when a preset interval duration passes after the third message is sent to the second device and a reply message sent by the second device is not received;
based on the fourth message, waking up a second interface of the second device, so that data communication is performed between the first device and the second device through the woken up second interface.
9. The method of claim 8, wherein the first indication message indicating that the second interface of the second device is in an awake state comprises:
the first indication information indicates: the second interface of the second device is currently in an awake state, or the second interface of the second device is in the awake state within a preset time period and the preset time period is valid.
10. The method of claim 8, wherein the first indication information indicates that the second interface of the second device is in a sleep state, and wherein the method comprises:
the first indication information indicates: the second interface of the second device is currently in a dormant state, or the second interface of the second device is in the dormant state within a preset time period.
11. The method of claim 8, wherein 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 based on a time value indicated in the first indication information.
12. The method according to any of claims 8-11, wherein sending the first message to the first device over the first interface or the second interface comprises:
and sending the first message to the first equipment through the first interface or the second interface based on a preset first time period.
13. The method according to any of claims 8-11, wherein said sending a second message to said first device over a second interface comprises:
and sending the second message to the first equipment through the second interface based on a preset second time period.
14. A wireless device, comprising:
the first communication module corresponds to a first interface of the wireless equipment;
the second communication module corresponds to a second interface of the wireless equipment;
the memory is used for storing the application program and data generated by the running of the application program;
a processor for executing the application program to implement the following functions:
receiving a first message and/or a second message sent by a second device, wherein the first message and the second message both contain first indication information; judging the state of a second interface of the second equipment indicated in the first indication information; if the first indication information indicates that the second interface of the second device is in an awake state, sending a third message to the second device through the second interface of the wireless device, wherein the third message is related to uplink data of the wireless device, so as to perform data communication between the wireless device and the second device; if the first indication information indicates that the second interface of the second device is in a dormant state, sending a fourth message to the second device through the first interface or the second interface of the wireless device, where the fourth message is used to wake up the second interface of the second device, so that data communication is performed between the wireless device and the second device through the second interface of the woken-up second device;
if the first message and the second message are not received, sending the third message to the second equipment; after a preset interval duration after the third message is sent, if a reply message sent by the second device is not received and the reply message corresponds to the third message, sending the fourth message to the second device.
15. A wireless device, comprising:
the first communication module corresponds to a first interface of the wireless equipment;
the second communication module corresponds to a second interface of the wireless equipment;
the memory is used for storing the application program and data generated by the running of the application program;
a processor for executing the application program to implement the following functions:
sending a first message to a first device through a first interface or a second interface of the wireless device, and/or sending a second message to the first device through a second interface of the wireless device; the first message and the second message both contain first indication information, and the first indication information indicates the state of a second interface of the wireless device;
receiving a third message sent by the first device, where the third message is sent by the first device when the received first indication message indicates that a second interface of a second device is in an awake state or when the first message or the second message is not received, and the third message is related to uplink data of the first device, so as to perform data communication between the first device and the second device;
receiving a fourth message sent by the first device, where the fourth message is sent by the first device when the received first indication message indicates that a second interface of the second device is in a dormant state, or the fourth message is sent by the first device when a preset interval duration passes after the third message is sent to the second device and a reply message sent by the second device is not received;
based on the fourth message, waking up a second interface of the second device, so that data communication is performed between the first device and the second device through the woken up second interface.
16. A basic service set, comprising: at least one first device and one second device;
the second device sends a first message to each first device through a first interface or a second interface of the second device, and/or the second device sends a second message to each first device through a second interface of the second device, the first device receives the first message and/or the second message sent by the second device, and the first message and the second message both contain first indication information; the first device determines a state of a second interface of the second device indicated in the first indication information, and if the first indication information indicates that the second interface of the second device is in an awake state, the first device sends a third message to the second device, where the third message is related to uplink data of the first device, so as 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 second interface of the second device, so that data communication is performed between the first device and the second device through the woken up second interface of the second device; if the first device does not receive the first message and the second message, the first device sends the third message to the second device; after a preset interval duration elapses after the first device sends the third message, if the first device does not receive a reply message sent by the second device, where the reply message corresponds to the third message, the first device sends the fourth message to the second device.
CN201780037944.8A 2016-11-14 2017-07-31 Communication method and wireless device Active CN109314926B (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
CN201611002160 2016-11-14
CN2016110021605 2016-11-14
CN201710221939 2017-04-06
CN2017102219394 2017-04-06
PCT/CN2017/095091 WO2018086387A1 (en) 2016-11-14 2017-07-31 Communication method and wireless device

Publications (2)

Publication Number Publication Date
CN109314926A CN109314926A (en) 2019-02-05
CN109314926B true CN109314926B (en) 2020-08-07

Family

ID=62109124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780037944.8A Active CN109314926B (en) 2016-11-14 2017-07-31 Communication method and wireless device

Country Status (2)

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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300293A (en) * 2010-06-25 2011-12-28 思科技术公司 Automating radio enablement to facilitate power saving
CN104737597A (en) * 2012-10-24 2015-06-24 高通股份有限公司 Method and apparatus using an ultra low power signal with scheduled power save modes
CN104756560A (en) * 2012-10-24 2015-07-01 高通股份有限公司 Near passive receivers with regular PS mode and no ULP (AP is not aware of the receiver/circuit mode)
CN104904276A (en) * 2012-11-28 2015-09-09 高通股份有限公司 System and method for saving power using restricted access windows
CN105309012A (en) * 2013-10-18 2016-02-03 华为技术有限公司 Method, device, and system for waking up access point device
CN108064073A (en) * 2016-11-09 2018-05-22 华为技术有限公司 Awakening method, website and access point

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5025356B2 (en) * 2007-07-10 2012-09-12 キヤノン株式会社 COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE, AND COMMUNICATION CONTROL METHOD
US20130176921A1 (en) * 2012-01-05 2013-07-11 Stmicroelectronics, Inc. Vht txop power save
US9560587B2 (en) * 2012-11-05 2017-01-31 Qualcomm Incorporated Power saving in soft access point devices
US10231182B2 (en) * 2015-03-12 2019-03-12 Intel IP Corporation Techniques for implicit indication of trigger frame start times

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300293A (en) * 2010-06-25 2011-12-28 思科技术公司 Automating radio enablement to facilitate power saving
CN104737597A (en) * 2012-10-24 2015-06-24 高通股份有限公司 Method and apparatus using an ultra low power signal with scheduled power save modes
CN104756560A (en) * 2012-10-24 2015-07-01 高通股份有限公司 Near passive receivers with regular PS mode and no ULP (AP is not aware of the receiver/circuit mode)
CN104904276A (en) * 2012-11-28 2015-09-09 高通股份有限公司 System and method for saving power using restricted access windows
CN105309012A (en) * 2013-10-18 2016-02-03 华为技术有限公司 Method, device, and system for waking up access point device
CN108064073A (en) * 2016-11-09 2018-05-22 华为技术有限公司 Awakening method, website and access point

Also Published As

Publication number Publication date
WO2018086387A1 (en) 2018-05-17
CN109314926A (en) 2019-02-05

Similar Documents

Publication Publication Date Title
CN108738109B (en) Site awakening method and site
US9635613B2 (en) Method and apparatus using an ultra low power signal with scheduled power save modes
EP3566341B1 (en) Waking up a dozing wireless device
CN108541047B (en) Indication method and device of downlink service data
KR102003543B1 (en) Methods and apparatus for low power wake up signal and operations for wlan
CN110636599B (en) Implicit power management mode and state transitions
US9801157B2 (en) System and method of identifying a lower power paging mode
EP2912894B1 (en) Near passive receivers with regular ps mode and no ulp (ap is not aware of the receiver/circuit mode)
CN107787029B (en) Method and device for transmitting wake-up frame in wireless local area network
CN107979443B (en) Wake-up method and device
KR20180027389A (en) Method for discovering access point in wireless local area network and apparatus for the same
CN108616968B (en) Method and apparatus for transmitting frame
CN107820305B (en) Method and device for transmitting WUR message
US8712447B2 (en) Method of transmitting and receiving a paging message in a mobile communication system
US10728856B2 (en) Methods and arrangements for wake-up radio operations
CN108633099B (en) Channel access indication method and device
CN109314926B (en) Communication method and wireless device
KR20190062318A (en) Operation method of communication node supporting low power mode in wireless local area network
CN107801232B (en) Method and device for transmitting data
CN109565751B (en) Method and device for waking up equipment
CN109565749B (en) Determination method, device and equipment of dormancy mechanism
CN109526254B (en) Method and equipment for transmitting WiFi information and WUR information
CN109121191B (en) Communication method and device of wireless local area network, access point equipment and site equipment
CN117941423A (en) Wireless communication method, device and equipment
US20200351773A1 (en) Method for communicating in wireless lan system and wireless terminal using same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant