WO2022257637A1 - 监听无线链路的方法及装置、无线终端、计算机存储介质 - Google Patents
监听无线链路的方法及装置、无线终端、计算机存储介质 Download PDFInfo
- Publication number
- WO2022257637A1 WO2022257637A1 PCT/CN2022/089525 CN2022089525W WO2022257637A1 WO 2022257637 A1 WO2022257637 A1 WO 2022257637A1 CN 2022089525 W CN2022089525 W CN 2022089525W WO 2022257637 A1 WO2022257637 A1 WO 2022257637A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wireless terminal
- slave
- wireless link
- master
- wireless
- Prior art date
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 124
- 238000000034 method Methods 0.000 title claims abstract description 90
- 238000004891 communication Methods 0.000 claims abstract description 89
- 230000004044 response Effects 0.000 claims abstract description 26
- 230000005540 biological transmission Effects 0.000 claims description 45
- 230000015654 memory Effects 0.000 claims description 39
- 230000007958 sleep Effects 0.000 claims description 27
- 230000002618 waking effect Effects 0.000 claims description 7
- 230000003993 interaction Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 16
- 230000008569 process Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 230000001360 synchronised effect Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 239000000203 mixture Substances 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 230000011664 signaling Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 239000004984 smart glass Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0212—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
- H04W52/0216—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/04—Terminal devices adapted for relaying to or from another terminal or user
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present application relates to the technical field of terminals, and in particular to a method and device for monitoring a wireless link, a wireless terminal, and a computer storage medium.
- wireless terminals such as wearable devices or smart homes have short-distance wireless communication capabilities such as Bluetooth, Near Field Communication (NFC), Ultra Wide Band (UWB), Wi-Fi, etc.
- the wireless terminal usually utilizes Wi-Fi transmission to increase the data transmission rate, so as to complete the transmission of a relatively large amount of data in a relatively short period of time.
- Wi-Fi transmission consumes more energy.
- the wireless terminal needs to wake up periodically to monitor the access node. (Access Point, AP) sends the beacon frame (Beacon), so the power consumption of the wireless terminal is relatively large, and the battery life of the terminal is poor.
- Beacon beacon frame
- Embodiments of the present application provide a method and device for monitoring a wireless link, a wireless terminal, and a computer storage medium, which can reduce power consumption of the wireless terminal and improve battery life of the wireless terminal.
- the embodiment of the present application provides a method for monitoring a wireless link in a master wireless terminal, including:
- the terminal In response to the relay request, monitor the beacon frame for the slave wireless terminal in the first wireless link, and send determination indication information to the slave wireless terminal through the second wireless link, to indicate that the slave wireless terminal
- the terminal stops monitoring the first wireless link; the first wireless link provides connection and communication between the main wireless terminal and the access point; the second wireless link is between the main wireless terminal and the access point providing connectivity and communication from wireless terminals;
- the embodiment of the present application provides a method for monitoring a wireless link from a wireless terminal, including:
- the relay request is used to instruct the master wireless terminal to start monitoring the first wireless link of the slave wireless terminal;
- the first wireless link is the connection between the master wireless terminal and Access points provide connectivity and communication;
- the second wireless link provides connection and communication between the master wireless terminal and the slave wireless terminal;
- the embodiment of the present application provides an apparatus for monitoring a wireless link, including:
- the main receiving part is configured to receive the relay request sent from the wireless terminal
- the monitoring part is configured to respond to the relay request and monitor the beacon frame for the slave wireless terminal in the first wireless link;
- the first wireless link provides connection and communication between the master wireless terminal and the access point ;
- the main sending part is configured to send determination indication information to the slave wireless terminal through the second wireless link, so as to instruct the slave wireless terminal to stop monitoring the first wireless link;
- the second wireless link is The master wireless terminal provides connection and communication with the slave wireless terminal;
- the wakeup part is configured to determine whether to wake up the slave wireless terminal based on the beacon frame.
- the embodiment of the present application provides an apparatus for monitoring a wireless link, including:
- the slave sending part is configured to send a relay request to the master wireless terminal; the relay request is used to instruct the master wireless terminal to start monitoring the first wireless link of the slave wireless terminal; the first wireless link is The primary wireless terminal provides connection and communication with an access point;
- the slave receiving part is configured to receive determination indication information of the master wireless terminal responding to the relay request through a second wireless link; the second wireless link provides the master wireless terminal and the slave wireless terminal connection and communication;
- the sleep part is configured to enter a sleep state based on the determined indication information, and stop monitoring the first wireless link.
- the embodiment of the present application provides a master wireless terminal, including:
- a first memory configured to store executable instructions
- the first processor is configured to, when executing the executable instructions stored in the first memory, implement the method for monitoring a wireless link applied to the master wireless terminal as described in any one of the above.
- the embodiment of the present application provides a slave wireless terminal, including:
- a second memory configured to store executable instructions
- the second processor is configured to, when executing the executable instructions stored in the second memory, implement the method for monitoring a wireless link of a slave wireless terminal as described in any one of the above.
- the embodiment of the present application provides a computer storage medium, which stores executable instructions, and is used to cause the processor to execute, to implement any of the above-mentioned wireless link monitoring applied to the master wireless terminal or the slave wireless terminal.
- Embodiments of the present application provide a method and device for monitoring a wireless link, a wireless terminal, and a computer storage medium.
- the method includes: receiving a relay request sent from the wireless terminal; in response to the relay request, monitoring the first wireless link
- the access point provides connection and communication; the second wireless link provides connection and communication between the master wireless terminal and the slave wireless terminal; based on the beacon frame, it is determined whether to wake up the slave wireless terminal.
- the master wireless terminal can monitor the beacon frame for the slave wireless terminal in response to the relay request sent by the slave wireless terminal, and use the second wireless link between the master and slave wireless terminals , to inform the slave wireless terminal that it can stop monitoring the first wireless link, and the master wireless terminal can determine whether to wake it up based on the beacon frame, so that the slave wireless terminal does not need to monitor the beacon frame frequently, greatly reducing
- the power consumption overhead caused by monitoring beacon frames from the wireless terminal is eliminated, so that the wireless terminal can be at a low power consumption level for a long time, the power consumption of the wireless terminal is reduced, and the battery life of the wireless terminal is improved.
- FIG. 1 is a schematic diagram of a state in which a wireless terminal alternately monitors and sleeps on a Beacon frame;
- FIG. 2 is a schematic diagram of the corresponding receiving current when the wireless terminal periodically monitors the Beacon frame
- FIG. 3 is a schematic structural diagram of a wireless connection system 100 provided in an embodiment of the present application.
- FIG. 4 is a schematic diagram of optional functional modules of a master wireless terminal and a slave wireless terminal provided in an embodiment of the present application;
- FIG. 5 is an optional flowchart of a method for monitoring a wireless link in a master wireless terminal provided in an embodiment of the present application
- FIG. 6 is an optional flowchart of a method for monitoring a wireless link in a master wireless terminal provided in an embodiment of the present application
- FIG. 7 is an optional flowchart of a method for monitoring a wireless link in a master wireless terminal provided in an embodiment of the present application
- FIG. 8 is an optional flowchart of a method for monitoring a wireless link in a master wireless terminal provided in an embodiment of the present application
- FIG. 9 is an optional flowchart of a method for monitoring a wireless link in a master wireless terminal provided in an embodiment of the present application.
- FIG. 10 is a schematic diagram of an architecture in which a master wireless terminal supports multiple slave wireless terminal connections according to an embodiment of the present application
- FIG. 11 is an optional schematic flowchart of a method for monitoring a wireless link from a wireless terminal provided in an embodiment of the present application
- FIG. 12 is a schematic diagram of an optional interaction flow of a method for monitoring a wireless link provided in an embodiment of the present application.
- FIG. 13 is an optional schematic flowchart of a method for monitoring a wireless link from a wireless terminal provided in an embodiment of the present application
- FIG. 14 is a schematic diagram of an optional interaction process of a method for monitoring a wireless link in an actual scene provided by an embodiment of the present application;
- FIG. 15 is a schematic diagram of the current power consumption effect comparison between the current related technology and the method for monitoring a wireless link provided by the embodiment of the present application;
- FIG. 16 is a schematic structural diagram of an option of a device for monitoring a wireless link provided in an embodiment of the present application.
- FIG. 17 is an optional structural schematic diagram of a device for monitoring a wireless link provided in an embodiment of the present application.
- FIG. 18 is a schematic structural diagram of an optional master wireless terminal provided by an embodiment of the present application.
- FIG. 19 is a schematic structural diagram of an optional slave wireless terminal provided by the embodiment of the present application.
- references to “some embodiments” describe a subset of all possible embodiments, but it is understood that “some embodiments” may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.
- first ⁇ second ⁇ third involved in the embodiment of the present application is only used to distinguish similar objects, and does not represent a specific ordering of objects. Understandably, “first ⁇ second ⁇ The specific order or sequence of "third” can be interchanged where allowed, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein.
- Access Point a centralized node in the Wi-Fi LAN, can link multiple Wi-Fi sites, and is usually integrated in the router as a wireless access part.
- BSS Wireless local area network
- Beacon a wireless broadcast management frame sent periodically by the AP to manage the BSS.
- DTIM IE Delivery Traffic Indication Message Information element
- DTIM IE is an information identifier in units of bits, and each bit represents a STAs connected to the AP, that is, wireless terminals. That is to say, multiple wireless terminals can be connected to one AP.
- the Wi-Fi module of the wireless terminal will be in the state of Beacon listening and sleeping alternately as shown in FIG. 1 for a long time. It can be seen that for a wireless terminal device such as a smart watch, although it is in an idle state without data service interaction most of the time after connecting to the AP, it still needs to be the same as in the normal working state. Beacon frames are sent at Target Beacon transmission time (TBTT), and the wireless terminal needs to periodically monitor the DTIM IE in the Beacon, thus generating a receiving current during the monitoring process, as shown in Figure 2. Taking the DTIM period as 100ms as an example, the Wi-Fi module of the wireless terminal also needs to wake up once every 100ms to monitor the Beacon of the AP.
- TBTT Target Beacon transmission time
- the receive current of a Wi-Fi chip is higher than 100mA, while the sleep current is below 0.5mA.
- the difference between the two is hundreds of times. Therefore, the main power consumption of the Wi-Fi low-power sleep mode comes from the receive current when listening to Beacon. That is to say, the power consumption brought by listening to the Beacon shortens the battery life of the wireless terminal.
- the wireless connection system 100 may include an access point 200, a master wireless terminal 400-1, and a slave wireless terminal 400-2.
- the master wireless terminal 400-1 and the slave wireless terminal 400-2 are connected to the same access point 200 through their respective Wi-Fi links; and the master wireless terminal 400-1 and the slave wireless terminal 400-2 can be connected through Short-range communication links are interconnected.
- the master wireless terminal 400-1 and the slave wireless terminal 400-2 can be connected by Bluetooth, NFC (not shown in the figure) or ultra-wideband (Ultra Wide Band, UWB, not shown in the figure) technology
- the mutual connection may also be in other connection manners, and the embodiment of the present application does not specifically limit the connection manner between the master wireless terminal 400-1 and the slave wireless terminal 400-2.
- the master wireless terminal 400-1 and the slave wireless terminal 400-2 may be notebook computers, tablet computers, desktop computers, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices) , portable game devices), intelligent robots and other terminals with at least two types of wireless link functions.
- the master wireless terminal 400-1 may be a mobile phone capable of connecting to Wi-Fi and Bluetooth
- the slave wireless terminal 400-2 may be a smart watch capable of connecting to Wi-Fi and Bluetooth.
- the mobile phone and the smart watch are configured , because mobile phones and smart watches are basically carried by users and the spatial distance is relatively close, they are usually connected to the same AP in the environment. At the same time, the mobile phone and the smart watch are connected through Bluetooth.
- the master wireless terminal 400-1 is used to receive the relay request sent from the wireless terminal; in response to the relay request, the slave access point monitors the beacon for the slave wireless terminal 400-2 in the first wireless link frame, and send confirmation indication information to the slave wireless terminal 400-2 through the second wireless link, to instruct the slave wireless terminal 400-2 to stop monitoring the first wireless link; determine whether to wake up the slave wireless terminal based on the beacon frame.
- the slave wireless terminal 400-2 is used to send a relay request to the master wireless terminal 400-1; the relay request is used to instruct the master wireless terminal to start monitoring the first wireless link of the slave wireless terminal; through the second wireless link Receiving determination indication information of the main wireless terminal in response to the relay request; based on the determination indication information, entering a sleep state and stopping monitoring of the first wireless link.
- the slave wireless terminal 400-2 which is more sensitive to power consumption, it can stay in the sleep state with the lowest power consumption for a long time without periodically monitoring Beacon, thereby greatly reducing the current overhead of the slave wireless terminal and reducing the power consumption of the slave wireless terminal.
- the power consumption of the terminal improves the battery life of the wireless terminal.
- the master wireless terminal 400-1 and the slave wireless terminal 400-2 need to have at least one other communication module that can communicate with each other, such as a Bluetooth module, an NFC module, and a communication module that supports Wi-Fi connection. module, UWB module and so on.
- the master wireless terminal 400-1 and the slave wireless terminal 400-2 need to have both Wi-Fi and Bluetooth modules, as shown in FIG. 4 ,
- FIG. 5 is a schematic flow chart of an optional method for monitoring a wireless link in a master wireless terminal provided in an embodiment of the present application, which will be described in conjunction with the steps shown in FIG. 5 .
- the master wireless terminal and the slave wireless terminal are connected to the same access point, and respectively perform information interaction with the access point through wireless links.
- the relay request is used to request the master wireless terminal to assist the slave wireless terminal in monitoring beacon frames, such as the monitoring of Beacon frames, so as to reduce the How often the AP listens for beacon frames.
- the master wireless terminal may receive the relay request sent by the slave wireless terminal through a short-distance communication link with the slave wireless terminal.
- the initial state of the master wireless terminal and the slave wireless terminal may be a low power consumption state, such as a sleep state.
- a low power consumption state such as a sleep state.
- the master wireless terminal and the slave wireless terminal are each in a state of listening to a beacon frame for itself.
- the master wireless terminal When the master wireless terminal receives the relay request sent by the slave wireless terminal, it is equivalent to knowing that the slave wireless terminal needs to use the master wireless terminal to monitor the beacon frame and to perform beacon frame relay application. Based on the relay request application sent by the slave wireless terminal, the master wireless terminal can take over the monitoring process of its beacon frame from the slave wireless terminal, so as to help the slave wireless terminal reduce its monitoring power consumption.
- S102 In response to the relay request, monitor the beacon frame for the slave wireless terminal in the first wireless link, and send determination indication information to the slave wireless terminal through the second wireless link, to instruct the slave wireless terminal to stop communicating with the first wireless terminal.
- the link monitors; the first wireless link provides connection and communication between the master wireless terminal and the access point; the second wireless link provides connection and communication between the master wireless terminal and the slave wireless terminal.
- the master wireless terminal is connected to the access point through the first wireless link, and the first wireless link provides connection and communication between the master wireless terminal and the access point; the master wireless terminal and the slave wireless terminal pass through the second wireless link The second wireless link provides connection and communication between the master wireless terminal and the slave wireless terminal, so as to perform information exchange between the master and slave wireless terminals.
- the first wireless link is a Wi-Fi link
- the second wireless link can be a short-distance communication link such as Bluetooth, NFC, UWB, etc., which can be selected according to actual conditions, and is not limited in this embodiment .
- the master wireless terminal in response to the received relay request, may listen to the beacon frame from the AP to the slave wireless terminal while monitoring the beacon frame from the AP to itself. And, when the master wireless terminal starts to listen to the beacon frame directed at the slave wireless terminal from the first wireless link, the master wireless terminal sends a message to the slave wireless terminal through the second wireless link connected to the slave wireless terminal. Send OK instructions.
- the determination indication information is used to inform the slave wireless terminal that the master wireless terminal has started monitoring its beacon frame, so that the slave wireless terminal can stop monitoring the first wireless link and enter a low power consumption state.
- the slave wireless terminal will inform the master wireless terminal of its own identity, that is, the identity of the slave wireless terminal, so that the master wireless terminal can ID, monitor the beacon frame for the slave wireless terminal.
- the slave wireless terminal may carry the identifier of the slave wireless terminal in the relay request sent to the master wireless terminal; so that the master wireless terminal may listen to the first wireless terminal from the access point by responding to the relay request.
- the beacon frame corresponding to the identifier of the secondary wireless terminal in the link.
- the slave wireless terminal can send other forms of signaling or data packets to the master wireless terminal to notify the identity of the slave wireless terminal, which can be selected according to actual conditions, and is not limited in this embodiment of the present application.
- the identifier of the slave wireless terminal may be association identification code (Association ID, AID) information of the slave wireless terminal.
- the master wireless terminal when the master wireless terminal monitors the beacon frames for the slave wireless terminals, it may monitor the beacon frames for the slave wireless terminals while monitoring the beacon frames for itself, or it may monitor the beacon frames for the slave wireless terminals separately. Monitor the beacon frame from the wireless terminal; the monitoring of the beacon frame from the wireless terminal can be initiated periodically at a fixed time interval, or at a non-fixed time interval, which can be selected according to the actual situation , the embodiment of this application is not limited.
- the main wireless terminal can periodically monitor the first wireless link, and when listening to the beacon frame sent by the AP on the first wireless link, the main wireless terminal receives the beacon frame and analyzes it , according to the content of the analysis, it is judged whether the beacon frame is a beacon frame for the slave wireless terminal.
- the master wireless terminal can determine according to the information content in the beacon frame Whether it is necessary to wake up the slave wireless terminal to perform corresponding data interaction with the AP.
- the master wireless terminal may determine whether the beacon frame is a beacon frame for the slave wireless terminal according to whether the beacon frame contains the identifier of the slave wireless terminal, such as AID information.
- the master wireless terminal may determine whether to wake up the slave wireless terminal by checking the information indication bit corresponding to the slave wireless terminal in the beacon frame.
- the information indication bit may be a corresponding flag bit in the DTIM IE field of the Beacon frame from the wireless terminal.
- the master wireless terminal checks that the bit flag corresponding to the slave wireless terminal in the DTIM IE field is 1, wake up the slave wireless terminal; or, when the bit flag corresponding to the slave wireless terminal is 0, do not wake up the slave wireless terminal and continue Listening for beacon frames from wireless terminals.
- the master wireless terminal can also monitor the beacon frame for other indication functions of the slave wireless terminal.
- the beacon frame can include a channel switch announcement (Channel switch announcement, CSA) indicating AP channel switching ) or ECSA information, when the master wireless terminal monitors the CSA or ECSA information sent to the slave wireless terminal, it can wake up the slave wireless terminal, so that the slave wireless terminal can follow the AP to perform channel switching in time.
- CSA Channel switch announcement
- ECSA ECSA information
- the master wireless terminal listens to the beacon frame directed at the slave wireless terminal, it also monitors the beacon frame directed at itself in the first wireless link, that is, the beacon frame directed at the master wireless terminal, and then based on the signal directed at itself
- the information content of the frame determines the data interaction behavior between itself and the access point.
- the bit flag for the master wireless terminal included in the DTIM IE of the Beacon frame is 1, wake up and perform data interaction with the AP; or, when the bit flag corresponding to the master wireless terminal itself is 0, return to low Power consumption state, such as sleep state, continues to wake up in the next monitoring cycle to monitor beacon frames.
- the main wireless terminal may also perform corresponding data interaction according to indications of other fields of the beacon frame, and may select according to actual conditions, which is not limited in this embodiment of the present application. That is to say, since the master wireless terminal needs to monitor the beacon frames for itself and the slave wireless terminal, the master wireless terminal needs to be able to monitor multiple beacon frames at the same time, such as the ability of multiple DTIM bit flags in the Beacon frame , that is, the master wireless terminal needs to be able to support the relay low power consumption request of the slave wireless terminal.
- the master wireless terminal may respond to the relay request sent by the slave wireless terminal, monitor the beacon frame for the slave wireless terminal, and use the second wireless link between the master and slave wireless terminals Notify the slave wireless terminal that it can stop monitoring the first wireless link, and the master wireless terminal can determine whether to wake it up based on the beacon frame, so that the slave wireless terminal does not need to monitor the beacon frame frequently, greatly reducing
- the power consumption overhead caused by listening to the beacon frame from the wireless terminal enables the slave wireless terminal to be at a low power consumption level for a long time, reduces the power consumption of the wireless terminal, and improves the battery life of the wireless terminal.
- FIG. 6 is an optional schematic flowchart of a method for monitoring a wireless link in a master wireless terminal provided in an embodiment of the present application.
- S103 in FIG. 5 can be realized by executing S1031-S1032, and each step will be combined Be explained.
- the first preset value may be a value indicating that the AP does not instruct the wireless terminal to perform data interaction.
- the master wireless terminal monitors that the information indication bit corresponding to the slave wireless terminal in the beacon frame is the first preset value, it means that the AP does not need to perform data interaction with the slave wireless terminal temporarily, and the slave wireless terminal can continue to maintain a low-power sleep state , therefore, the master wireless terminal may continue to monitor the first wireless link without waking up the slave wireless terminal.
- the information indication bit may be a flag bit for the slave wireless terminal in the DTIM IE field of the Beacon frame, and the first preset value may be 0.
- the second preset value may be a value indicating that the AP indicates data interaction from the wireless terminal.
- the master wireless terminal monitors that the information indication bit corresponding to the slave wireless terminal in the beacon frame is the second preset value, it means that the AP needs to perform data interaction with the slave wireless terminal, and the master wireless terminal can wake up the slave wireless terminal so that the slave wireless terminal Transition from a sleep state with low power consumption to a normal working state, and perform data transmission with the AP through the first wireless link.
- the information indication bit may be a corresponding flag bit in the DTIM IE field of the Beacon frame from the wireless terminal, and the first preset value may be 1.
- the information indication bit may also be other bits, such as a corresponding bit flag in the CSA information of the slave wireless terminal, which may be selected according to actual conditions, and is not limited in this embodiment of the present application.
- the master wireless terminal when the master wireless terminal monitors the information indication bit for itself in the beacon frame, it can also monitor the information indication bit corresponding to the slave wireless terminal, and when the content of the information indication bit is At the first preset value, the slave wireless terminal is not woken up so that it can continue to be in a low-power sleep state; when the content of the information indication bit is the second preset value, data transmission between the slave wireless terminal and the AP is required , then use the second wireless link between the master and slave wireless terminals to wake up the slave wireless terminal for normal data transmission, so that the slave wireless terminal does not need to monitor the beacon frame for a long time, greatly reducing the slave wireless terminal Monitoring power consumption improves battery life from wireless terminals.
- S201-S203 may also be executed, as follows:
- the master wireless terminal when the master wireless terminal determines that the slave wireless terminal needs to be woken up based on the beacon frame, the master wireless terminal may send wake-up instruction information to the slave wireless terminal through the second wireless link.
- the master wireless terminal can carry the indication information for the slave wireless terminal in the beacon frame in the wake-up indication information, so that the slave wireless terminal can directly obtain the indication information of the AP from the wake-up indication information, and then according to the indication information Interact with APs.
- the master wireless terminal can also wake up the slave wireless terminal from the low power consumption state through the wake-up instruction information, and the slave wireless terminal monitors and receives the beacon frame for itself on the first wireless link after waking up, and then for The AP itself interacts with the AP from the indication information in the beacon frame of the wireless terminal, which can be selected according to the actual situation, which is not limited in this embodiment of the present application.
- S202 Receive notification information fed back from the wireless terminal in response to the wake-up instruction information through the second wireless link.
- the master wireless terminal may receive the notification information fed back by the slave wireless terminal in response to the wake-up instruction information through the second wireless link, so as to determine that the slave wireless terminal has been notified of the wake-up instruction information.
- the master wireless terminal when the master wireless terminal receives the feedback information of the wake-up instruction information from the slave wireless terminal, it means that the slave wireless terminal has successfully received the wake-up instruction information, and is about to wake up from the low power consumption state, and does not need to Because the master wireless terminal continues to monitor the beacon frames in its low power consumption state, the master wireless terminal can quit monitoring the beacon frames for the slave wireless terminal in the first wireless link.
- the master wireless terminal can wake up the slave wireless terminal through the second wireless link, so that when the AP needs to perform data transmission with the slave wireless terminal, the master wireless terminal can wake up the slave wireless terminal in time, While maintaining the low power consumption state of the slave wireless terminal, the stability and continuity of the interactive communication between the slave wireless terminal and the AP are guaranteed.
- S301 may also be executed, as follows:
- the master wireless terminal may also reject the relay request of the slave wireless terminal; or, notify the slave wireless terminal to exit the relay mode through the second wireless link.
- the master wireless terminal may obtain its own first working parameter when receiving the relay request, and when its own first working parameter does not meet the first communication condition, it means that the master wireless terminal's own working state cannot support the The monitoring and relaying of the slave wireless terminal, therefore, the master wireless terminal can reject the relay request of the slave wireless terminal; or, through the second wireless link, notify the slave wireless terminal to exit the relay mode, so as not to increase its own operating burden and affect itself working status.
- the first working parameter does not satisfy the first communication condition includes at least one of the following:
- the communication quality does not reach the communication quality threshold; the first power level is less than the first power level threshold; and the wireless transmission rate is lower than a preset transmission rate.
- the communication quality not reaching the communication quality threshold may include situations such as unstable Wi-Fi signal quality of the main wireless terminal; Mode and the like; the wireless transmission rate lower than the preset transmission rate may include poor communication quality, large delay, and high packet loss rate of the main wireless terminal on the first wireless link, so that the beacon frame cannot be monitored normally.
- the fact that the first working parameter does not meet the first communication condition may also be other influencing factors related to the master wireless terminal, which can be selected according to the actual situation, and is not limited in this embodiment of the present application.
- the master wireless terminal may send information rejecting its relay request to the slave wireless terminal through the second wireless link. After receiving the information of rejecting the relay request sent by the master wireless terminal, the slave wireless terminal may continue to monitor the beacon frame aimed at itself, that is, the slave wireless terminal, on the first wireless link.
- the slave wireless terminal may stop sending relay requests to the master wireless terminal in response to the notification of exiting the relay mode , monitor the beacon frame directed at itself, that is, the slave wireless terminal, on the first wireless link.
- the master wireless terminal can flexibly choose whether to start listening to the beacon frame of the slave wireless terminal according to its own working state represented by the first working parameter, thereby improving the efficiency of the master wireless terminal. Monitoring flexibility.
- S401 may also be executed, as follows:
- the master wireless terminal may also voluntarily withdraw from monitoring the beacon frame of the slave wireless terminal during the process of monitoring the beacon frame of the slave wireless terminal in the first wireless link.
- the master wireless terminal when the master wireless terminal is monitoring the beacon frame directed to the slave wireless terminal, the master wireless terminal may also detect its own first working parameter in real time. When the first working parameter does not satisfy the first communication condition, the master wireless terminal quits listening to the beacon frame of the slave wireless terminal.
- the master wireless terminal may inform the slave wireless terminal that it has exited the monitoring of its beacon frame through the second wireless link, so as to wake up the slave wireless terminal, so that it can monitor the beacon frame by itself.
- the master wireless terminal can flexibly choose whether to continue monitoring the beacon frame for the slave wireless terminal according to its own working state represented by the first working parameter, thereby improving the performance of the master wireless terminal. Monitoring flexibility.
- the master wireless terminal may also simultaneously support multiple slave wireless terminals based on relay requests, monitor beacon frames of multiple slave wireless terminals and relay AP information.
- the master wireless terminal 71 in FIG. 10 can be a smart phone with Wi-Fi and Bluetooth connection functions, and the slave wireless terminal 72 and the slave wireless terminal 73 can be connected to the master wireless terminal 71 at the same time, with Smart watches and smart glasses with Wi-Fi and Bluetooth connectivity.
- the master wireless terminal 71 , the slave wireless terminal 72 and the slave wireless terminal 73 are respectively connected to the Wi-Fi access point 70 through Wi-Fi, and the slave wireless terminal 72 and the slave wireless terminal 73 are respectively connected to the master wireless terminal 71 through Bluetooth.
- the slave wireless terminal may be a type of wireless terminal such as a smart watch and smart glasses, all of which can transmit high-speed video services, but are still in a low-power listening mode most of the time.
- the slave wireless terminal 72 and the slave wireless terminal 73 can respectively send their respective corresponding relay requests to the master wireless terminal 71 via Bluetooth, and the master wireless terminal 71 can base on the middle of the slave wireless terminal 72 and the slave wireless terminal 73 Following the request, monitor the beacon frames for the master wireless terminal 71, the slave wireless terminal 72, and the slave wireless terminal 73 broadcast in the Wi-Fi link, and send them to the slave wireless terminal 72 and the slave wireless terminal 73 respectively by bluetooth.
- the master wireless terminal 71 determines whether to wake up the corresponding slave wireless terminal according to the monitored beacon frames corresponding to the slave wireless terminal 72 and the slave wireless terminal 73 . In this way, the slave wireless terminal 72 and the slave wireless terminal 73 can be in a sleep state with low power consumption for a long time, which greatly reduces the system power consumption of the slave wireless terminal 72 and the slave wireless terminal 73 .
- FIG. 11 is a schematic flowchart of an optional method for monitoring a wireless link from a wireless terminal provided by an embodiment of the present application, and will be described in conjunction with the steps shown in FIG. 11 .
- S501 Send a relay request to the master wireless terminal; the relay request is used to instruct the master wireless terminal to enable the monitoring of the first wireless link of the slave wireless terminal; the first wireless link provides connection and communication between the master wireless terminal and the access point communication.
- the slave wireless terminal may send a relay request to the master wireless terminal when it enters a low power consumption state; to instruct the master wireless terminal through the relay request to open the first wireless link for the slave wireless terminal monitoring of the road.
- the secondary wireless terminal can detect that it needs to optimize power consumption, such as the power of the secondary wireless terminal is too low, or the temperature is too high, or the operating current value in the low power consumption state exceeds the preset low power consumption
- a relay request is sent to the main wireless terminal, so as to request the main wireless terminal to assist itself in monitoring beacon frames, so as to reduce its own power consumption.
- the slave wireless terminal can also send a relay request to the master wireless terminal when it detects that it is connected to the same AP as the master wireless terminal.
- the slave wireless terminal may send a relay request to the master wireless terminal when it obtains that its second working parameter does not satisfy the second communication condition.
- the situation that the second working parameter does not satisfy the second communication condition may include various situations that the power consumption or network status of the wireless terminal is not enough to support it to monitor the beacon frame.
- the second working parameter does not satisfy the second communication condition may include at least one of the following:
- the data transmission amount of the first wireless link is less than a preset data transmission threshold; and, the second electric quantity is less than a second electric quantity threshold.
- the data transmission amount of the first wireless link is less than the preset data transmission threshold, indicating that the network connection status of the slave wireless terminal is poor, and it may not be able to normally monitor the beacon frames on the first wireless link;
- the second power level may be From the current remaining power of the wireless terminal, if the second power is less than the second power threshold, it means that the slave wireless terminal is currently in a low power state, and needs to reduce the power consumption of signaling monitoring to improve its battery life.
- the slave wireless terminal after the slave wireless terminal sends a relay request to the master wireless terminal, it can receive the determination indication information sent by the master wireless terminal in response to the relay request through the second wireless link; the second wireless link is The master wireless terminal provides connection and communication with the slave wireless terminals.
- the slave wireless terminal may receive confirmation indication information fed back by the master wireless terminal, which means that the master wireless terminal agrees to transmit information to the slave wireless terminal on the first wireless link.
- the standard frame is monitored.
- the slave wireless terminal will correspondingly receive the rejection information sent by the master wireless terminal, and then continue to monitor beacon frames by itself.
- the slave wireless terminal when the slave wireless terminal receives the determination indication information, it means that the master wireless terminal has agreed to the relay request of the slave wireless terminal, and has started the relay request for the slave wireless terminal on the first wireless link.
- the monitoring of the beacon frame does not need to be performed by the wireless terminal itself.
- the slave wireless terminal may enter a sleep state based on the determined indication information, and stop monitoring the first wireless link, so as to reduce power consumption caused by monitoring itself.
- the master wireless terminal and the slave wireless terminal can monitor the wireless link through the interaction process shown in FIG. 12 .
- S102 in FIG. 5 can be realized by executing S102-1 and S102-2 in FIG. 12 , and the execution process of the relevant steps in FIG. 12 will not be repeated here.
- the slave wireless terminal can send a relay request to the master wireless terminal, so that the master wireless terminal takes over the beacon frame monitoring task on the slave wireless terminal, thereby reducing the slave wireless terminal itself.
- the power consumption brought by frame monitoring improves the battery life of the slave wireless terminal.
- S601-S602 may also be executed as shown in FIG. 13 , which will be described in conjunction with each step.
- the slave wireless terminal can receive the wake-up indication information sent by the master wireless terminal through the second wireless link connected to the master wireless terminal, so as to know in time from the master wireless terminal that the The beacon frame for itself is received, and the beacon frame indicates that it performs data interaction with the AP.
- S602. In response to the wake-up instruction information, send a communication permission data packet to the access point through the first wireless link, so as to implement data transmission through the first wireless link.
- the slave wireless terminal may respond to the wake-up indication information transmitted by the master wireless terminal, and send a communication permission data packet to the access point through the first wireless link, so as to inform the communication module of the first wireless link itself that it has woken up. And ready, data transmission can be realized through the first wireless link.
- the slave wireless terminal can return to the normal working state in time through the wake-up indication information of the master wireless terminal, thereby ensuring the stability and continuity of the wireless connection of the slave wireless terminal.
- the method for monitoring a wireless link from a wireless terminal further includes:
- the communication end data packet when the data transmission between the slave wireless terminal and the AP ends, the communication end data packet may be sent to the access point through the first wireless link to mark the end of the current data transmission.
- the wireless terminal needs to enter a low power consumption mode when it changes from a normal working state to an idle state. Therefore, the slave wireless terminal can send the next relay request to the master wireless terminal, so as to use the master wireless terminal to monitor the beacon frame again.
- the slave wireless terminal when the slave wireless terminal receives the wake-up instruction information, it needs to change from the idle state to the normal working state, and perform actual service data interaction with the AP in the first wireless link. In the first wireless link, the beacon frame in the idle state is monitored. Therefore, the slave wireless terminal may send notification information to the master wireless terminal through the second wireless link in response to the wake-up instruction information, so as to instruct the master wireless terminal to quit monitoring the beacon frame for the slave wireless terminal in the first wireless link.
- the slave wireless terminal can flexibly instruct the master wireless terminal to start or quit monitoring the beacon frame for the slave wireless terminal on the first wireless link according to its own working state or idle state. , thereby improving the flexibility of the wireless link.
- the main device X establishes a Wi-Fi connection with the AP.
- the master wireless terminal can be the master device X
- the slave wireless terminal can be the slave device Y.
- the master device X and the slave device Y are connected to the AP through Wi-Fi, and the master device X and the slave device Y are connected through Bluetooth connection.
- master device X and slave device Y are connected to the same AP.
- the master device X and the slave device Y establish a connection with the AP, they are initially in the normal low power consumption mode, that is, wake up at each DTIM time to listen to the Beacon sent by the AP, check the DTIM IE field, if it belongs to itself If the bit flag is not set to 1, it will continue to sleep, otherwise it will exit the normal low power consumption mode, and the AP will transmit data.
- the slave device Y sends a relay request to the master device X through the Bluetooth connection, so as to request to enter the relay low power consumption mode, and inform the master device X of its own device AID in the relay request.
- the slave device Y when the master device X and the slave device Y are connected to the same AP, the slave device Y can send a relay request to the master device X through the Bluetooth connection, and inform the master device X of its own device in the relay request AID, to request the master device X to assist in monitoring the beacon frame corresponding to the AID of its device in Wi-Fi, so that the slave device Y itself enters the relay low power consumption mode.
- the Wi-Fi module of the slave device Y in the repeater low power consumption mode, the Wi-Fi module of the slave device Y does not need to wake up and monitor at every TBTT time, so as to keep at the lowest energy consumption level.
- the master device X When the master device X has the relay capability, that is, the master device X supports monitoring multiple beacon frames at the same time, and supports data transmission in two link links respectively connected to the AP and the slave device Y , the master device X sends an acknowledgment signal to the slave device Y through the Bluetooth connection with the slave device Y, that is, confirms the indication information.
- the slave device Y enters the relay low power consumption mode when receiving the determination indication information.
- the AP sends a Beacon frame, that is, a beacon frame, to a wireless terminal connected to itself.
- the AP sends the Beacon frame by broadcasting within its wireless coverage.
- the corresponding DTIM bit indication of the slave device Y in the Beacon frame is 0, that is, the corresponding information indication bit of the slave device in the beacon frame is a first preset value.
- the master device X listens to the slave device according to the AID of the slave device Y while monitoring its own DTIM bit indication, that is, the information indication bit of the beacon frame The corresponding DTIM bit indication of Y in the Beacon frame.
- the master device X does not wake up the slave device Y, and continues to monitor the Beacon frame.
- S806 and S807 are steps performed by the AP and the master device X respectively, and the execution of S806 and S807 is not in any order.
- the AP sends the Beacon frame again when the TBTT time is reached again.
- the corresponding DTIM bit indication of the slave device Y in the Beacon frame is 1, that is, the corresponding information indication bit of the slave device in the beacon frame is a second preset value.
- the master device X finds that the DTIM bit indication corresponding to the slave device Y is 1, that is, the second preset value, the master device X sends wake-up indication information to the slave device Y through the Bluetooth connection, and the wake-up indication information includes the DTIM bit
- the information indicated as 1 is used to notify the slave wireless terminal AP that data transmission needs to be performed with it, and to wake up the slave device Y.
- S811 After the slave device Y exits the low power consumption mode, it sends notification information to the master device X through the Bluetooth connection, notifying it that it has exited the relay low power consumption mode. During this period, master device X does not need to relay and forward slave device Y.
- S811 can also be replaced by an implicit method, that is, after the master device X completes S804, it can default that the slave device Y has exited the relay low power consumption mode, and then automatically exit the DTIM bit indication of the slave device Y. Monitoring, the slave wireless terminal does not need to actively notify the master device X.
- the slave device Y can enter the normal low power consumption mode in the low power consumption mode, and can also enter the relay low power consumption mode in the low power consumption mode.
- the slave device Y decides to enter the relay low power consumption mode, for example, if the second working parameter on the slave device Y does not meet the second communication condition, the slave device Y connects to the master device X again through Bluetooth Initiate a relay request to enter relay low power mode.
- the current value on the slave device Y can be measured when the master and slave devices are connected to the same AP, the master and slave devices are connected to Bluetooth, and the slave device enters a sleep state. If there is no periodic current peak on the slave device Y at this time, but when the bluetooth is turned off and the current of the slave device Y is measured again, a periodic current peak appears, indicating that during the sleep period of the slave device Y, the master device X is Monitoring of signaling frames for slave device Y, and Bluetooth connection with slave device Y, and relaying and forwarding of Wi-Fi signaling frames. It can be seen from this that the method for monitoring a wireless link provided by the embodiment of the present application does reduce power consumption of the slave wireless terminal and improve battery life of the slave wireless terminal.
- both the master and slave devices need to periodically monitor the DTIM IE field in the Beacon frame at the TBTT time, so that the power consumption current diagram of the slave device in the related technology and The power consumption current graph of master device X is comparable.
- the slave device Y can be in the sleep state with the lowest power consumption for a long time without periodically monitoring the beacon, thereby greatly reducing the current consumption of the slave wireless terminal and improving the slave wireless terminal’s power consumption. battery life.
- An embodiment of the present application provides a device for monitoring a wireless link, which is applied to a master wireless terminal.
- the device 1 for monitoring a wireless link on the master wireless terminal includes:
- the main receiving part 11 is configured to receive the relay request sent from the wireless terminal;
- the listening part 12 is configured to, in response to the relay request, listen to a beacon frame for the slave wireless terminal in the first wireless link; the first wireless link provides a connection between the master wireless terminal and the access point and communication;
- the main sending part 13 is configured to send confirmation instruction information to the slave wireless terminal through the second wireless link, so as to instruct the slave wireless terminal to stop monitoring the first wireless link; the second wireless link providing connection and communication between the master wireless terminal and the slave wireless terminal;
- the wakeup part 14 is configured to determine whether to wake up the slave wireless terminal based on the beacon frame.
- the wakeup part 14 is further configured to continuously monitor the first wireless link and not wake up the slave wireless terminal if the information indication bit of the beacon frame is a first preset value ; If the information indication bit of the beacon frame is a second preset value, waking up the slave wireless terminal, so that the slave wireless terminal performs data transmission through the first wireless link.
- the wake-up part 14 is further configured to send wake-up indication information to the slave wireless terminal through the second wireless link.
- the monitoring part 12 is further configured to quit monitoring the communication of the slave wireless terminal in the first wireless link after determining whether to wake up the slave wireless terminal based on the beacon frame. Beacon frame.
- the device 1 for monitoring a wireless link further includes a notification part, the notification part is configured to determine whether to wake up the slave wireless terminal based on the beacon frame, and pass through the second wireless link receiving the notification information fed back by the slave wireless terminal in response to the wake-up instruction information; in response to the notification information, quit monitoring the beacon frame for the slave wireless terminal in the first wireless link.
- the device 1 for monitoring the wireless link further includes a rejecting part, the rejecting part is configured to reject the relay request when the obtained first working parameter of itself does not satisfy the first communication condition ; Or, notify the slave wireless terminal to exit the relay mode through the second wireless link.
- the first working parameter does not satisfy the first communication condition includes at least one of the following:
- the communication quality does not reach the communication quality threshold
- the first electric quantity is less than the first electric quantity threshold
- the wireless transmission rate is lower than the preset transmission rate.
- the relay request carries an identifier of the secondary wireless terminal; the monitoring part 12 is further configured to, in response to the relay request, monitor the first wireless link from the access point and The beacon frame corresponding to the identifier of the secondary wireless terminal.
- the embodiment of the present application provides a device for monitoring a wireless link, which is applied to a slave wireless terminal.
- the device 2 for monitoring a wireless link on a slave wireless terminal includes:
- the slave sending part 21 is configured to send a relay request to the master wireless terminal; the relay request is used to instruct the master wireless terminal to start monitoring the first wireless link of the slave wireless terminal; the first wireless link providing connection and communication between the primary wireless terminal and an access point;
- the slave receiving part 22 is configured to receive the determination indication information of the master wireless terminal responding to the relay request through a second wireless link; the second wireless link is the master wireless terminal and the slave wireless terminal provide connectivity and communication;
- the sleep part 23 is configured to enter a sleep state based on the determined indication information, and stop monitoring the first wireless link.
- the slave receiving part 22 is further configured to receive the wake-up indication information sent by the master wireless terminal through the second wireless link; the slave sending part 21 is also configured to respond to the wake up instruction information, and send a communication permission data packet to the access point through the first wireless link, so as to realize data transmission through the first wireless link.
- the slave sending part 21 is further configured to send a communication end data packet to the access point through the first wireless link when the data transmission ends, and send the next communication packet to the master wireless terminal relay requests.
- the slave sending part 21 is further configured to send notification information to the master wireless terminal through the second wireless link in response to the wake-up indication information, so as to instruct the master wireless terminal to quit Listening to the beacon frame for the slave wireless terminal in the first wireless link.
- the slave sending part 21 is further configured to send a communication end data packet to the access point through the first wireless link when the data transmission ends, and send the next communication packet to the master wireless terminal relay requests.
- the slave sending part 21 is further configured to send the relay request to the master wireless terminal when it obtains that its second working parameter does not meet the second communication condition.
- the second working parameter does not satisfy the second communication condition includes at least one of the following:
- the data transmission volume of the first wireless link is less than a preset data transmission threshold
- the second electric quantity is less than the second electric quantity threshold.
- a "part” may be a part of a circuit, a part of a processor, a part of a program or software, etc., of course it may also be a module, and may also be non-modular.
- each component in this embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one part.
- the above-mentioned integrated units can be implemented in the form of hardware or in the form of software function modules.
- the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium.
- the technical solution of this embodiment is essentially or It is said that the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, and includes several instructions to make a computer device (which can It is a personal computer, a server, or a network device, etc.) or a processor (processor) that executes all or part of the steps of the method described in this embodiment.
- the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (Read Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other various media that can store program codes.
- this embodiment provides a computer storage medium, which is a computer-readable storage medium and stores a computer program.
- the computer program When executed by at least one processor, the steps of the method for monitoring a wireless link applied to a master wireless terminal or a slave wireless terminal described in any one of the foregoing embodiments are implemented.
- the main wireless terminal 30 may include: a first communication interface 301 , a first memory 302 and a first processor 303 ; each component is coupled together through a first bus system 304 .
- the first bus system 304 is used to realize connection and communication between these components.
- the first bus system 304 also includes a power bus, a control bus and a status signal bus.
- the various buses are labeled as the first bus system 304 in FIG. 18 .
- the first communication interface 301 is configured to receive and send signals during the process of sending and receiving information with other external network elements;
- the first memory 302 is configured to store executable instructions
- the first processor 303 is configured to, when executing the executable instructions stored in the first memory 302, implement the method for monitoring a wireless link applied to the master wireless terminal in the above embodiment.
- the first memory 302 in the embodiment of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories.
- the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash.
- the volatile memory can be Random Access Memory (RAM), which acts as external cache memory.
- RAM Static Random Access Memory
- DRAM Dynamic Random Access Memory
- DRAM Synchronous Dynamic Random Access Memory
- SDRAM double data rate synchronous dynamic random access memory
- Double Data Rate SDRAM, DDRSDRAM enhanced synchronous dynamic random access memory
- Enhanced SDRAM, ESDRAM synchronous chain dynamic random access memory
- Direct Rambus RAM Direct Rambus RAM
- the first memory 302 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
- the first processor 303 may be an integrated circuit chip, which has signal processing capability. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the first processor 303 or an instruction in the form of software.
- the above-mentioned first processor 303 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) Or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
- DSP Digital Signal Processor
- ASIC Application Specific Integrated Circuit
- FPGA Field Programmable Gate Array
- Various methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed.
- a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
- the steps of the method disclosed in the embodiments of the present application can be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor.
- the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register.
- the storage medium is located in the first memory 302, and the first processor 303 reads the information in the first memory 302, and completes the steps of the above method in combination with its hardware.
- the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable Logic device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other devices for performing the functions described in this application electronic unit or its combination.
- ASIC Application Specific Integrated Circuits
- DSP Digital Signal Processing
- DSP Device digital signal processing device
- PLD programmable Logic Device
- FPGA Field-Programmable Gate Array
- controller microcontroller
- microprocessor other devices for performing the functions described in this application electronic unit or its combination.
- the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein.
- Software codes can be stored in memory and executed by a processor.
- Memory can be implemented within the processor or external to the processor.
- FIG. 19 shows a schematic composition structure diagram of a slave wireless terminal 40 provided by an embodiment of the present application.
- the slave wireless terminal 40 may include: a second communication interface 401 , a second memory 402 and a second processor 403 ; each component is coupled together through a second bus system 404 .
- Each component in the composition structure of the above-mentioned slave wireless terminal is consistent with the function description of each component of the master wireless terminal in FIG. 18 , and will not be repeated here.
- the second communication interface 401 is configured to receive and send signals during the process of sending and receiving information with other external network elements
- the second memory 402 is configured to store executable instructions
- the second processor 403 is configured to, when executing the executable instruction stored in the second memory 402, implement the method applied to the wireless terminal monitoring the wireless link in the foregoing embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请实施例公开了一种监听无线链路的方法及装置、无线终端、计算机存储介质,能够降低终端功耗,提高终端续航能力。在主无线终端中监听无线链路的方法包括:接收从无线终端发送的中继请求;响应于中继请求,监听第一无线链路中针对从无线终端的信标帧,并通过第二无线链路向从无线终端发送确定指示信息,以指示从无线终端停止对第一无线链路进行监听;第一无线链路为主无线终端与接入点提供连接和通信;第二无线链路为主无线终端与从无线终端提供连接和通信;基于信标帧确定是否唤醒从无线终端。
Description
相关申请的交叉引用
本申请基于申请号为202110652404.9、申请日为2021年06月11日,发明名称为“监听无线链路的方法及装置、无线终端、计算机存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。
本申请涉及终端技术领域,尤其涉及一种监听无线链路的方法及装置、无线终端、计算机存储介质。
目前,越来越多的穿戴设备或智能家居等无线终端具有如蓝牙、近场通信(Near Field Communication,NFC)、超带宽通信(Ultra Wide Band,UWB)、Wi-Fi等短距离无线通信能力。其中,无线终端通常利用Wi-Fi传输可以提高数据传输速率,以在较短时间内完成较大数据量的传输。然而,相对于蓝牙等技术,利用Wi-Fi传输会消耗更多的能量,即使在没有数据交互的情况下,为了维持Wi-Fi链路的传输,无线终端也需要周期醒来监听接入节点(Access Point,AP)发送的信标帧(Beacon),由此无线终端的功耗较大,且终端的续航能力较差。
发明内容
本申请实施例提供一种监听无线链路的方法及装置、无线终端、计算机存储介质,能够降低无线终端功耗,提高无线终端的续航能力。
本申请的技术方案是这样实现的:
第一方面,本申请实施例提供一种在主无线终端中监听无线链路的方法,包括:
接收从无线终端发送的中继请求;
响应于所述中继请求,监听第一无线链路中针对所述从无线终端的信标帧,并通过第二无线链路向所述从无线终端发送确定指示信息,以指示所述从无线终端停止对所述第一无线链路进行监听;所述第一无线链路为所述主无线终端与接入点提供连接和通信;所述第二无线链路为所述主无线终端与所述从无线终端提供连接和通信;
基于所述信标帧确定是否唤醒所述从无线终端。
第二方面,本申请实施例提供一种在从无线终端中监听无线链路的方法,包括:
向主无线终端发送中继请求;所述中继请求用于指示所述主无线终端开启针对从无线终端的第一无线链路的监听;所述第一无线链路为所述主无线终端与接入点提供连接和通信;
通过第二无线链路接收所述主无线终端响应于所述中继请求的确定指示信息;所述第二无线链路为所述主无线终端与所述从无线终端提供连接和通信;
基于所述确定指示信息,进入睡眠状态,停止对所述第一无线链路的监听。
第三方面,本申请实施例提供一种监听无线链路的装置,包括:
主接收部分,配置为接收从无线终端发送的中继请求;
监听部分,配置为响应于所述中继请求,监听第一无线链路中针对所述从无线终端的信标帧;所述第一无线链路为主无线终端与接入点提供连接和通信;
主发送部分,配置为通过第二无线链路向所述从无线终端发送确定指示信息,以指示所述从无线终端停止对所述第一无线链路进行监听;所述第二无线链路为所述主无线终端与所述从无线终端提供连接和通信;
唤醒部分,配置为基于所述信标帧确定是否唤醒所述从无线终端。
第四方面,本申请实施例提供一种监听无线链路的装置,包括:
从发送部分,配置为向主无线终端发送中继请求;所述中继请求用于指示所述主无线终端开启针对从无线终端的第一无线链路的监听;所述第一无线链路为所述主无线终端与接入点提供连接和通信;
从接收部分,配置为通过第二无线链路接收所述主无线终端响应于所述中继请求的确定指示信息;所述第二无线链路为所述主无线终端与所述从无线终端提供连接和通信;
睡眠部分,配置为基于所述确定指示信息,进入睡眠状态,停止对所述第一无线链路的监听。
第五方面,本申请实施例提供一种主无线终端,包括:
第一存储器,配置为存储可执行指令;
第一处理器,配置为执行所述第一存储器中存储的可执行指令时,实现如上述任一项所述的应用于主无线终端的监听无线链路的方法。
第六方面,本申请实施例提供一种从无线终端,包括:
第二存储器,配置为存储可执行指令;
第二处理器,配置为执行所述第二存储器中存储的可执行指令时,实现如上述任一项所述的应用于从无线终端的监听无线链路的方法。
第七方面,本申请实施例提供一种计算机存储介质,存储有可执行指令,用于引起处理器执行时,实现如上述中任一项应用于主无线终端或从无线终端的监听无线链路的方法。
本申请实施例提供了一种监听无线链路的方法及装置、无线终端、计算机存储介质,方法包括:接收从无线终端发送的中继请求;响应于中继请求,监听第一无线链路中针对从无线终端的信标帧,并通过第二无线链路向从无线终端发送确定指示信息,以指示从无线终端停止对第一无线链路进行监听;第一无线链路为主无线终端与接入点提供连接和通信;第二无线链路为主无线终端与从无线终端提供连接和通信;基于信标帧确定是否唤醒从无线终端。采用本申请实施例提供的方法,主无线终端可以响应于从无线终端发送的中继请求,对针对从无线终端的信标帧进行监听,并且利用主从无线终端之间的第二无线链路,通知从无线终端可以停止对第一无线链路的监听,由主无线终端基于信标帧确定是否将其唤醒即可,从而使得从无线终端可以不需要自己频繁监听信标帧,大幅度减少了从无线终端监听信标帧带来的功耗开销,使得从无线终端可以长时间处于低功耗水平,降低了无线终端的功耗,提高了无线终端的续航能力。
图1为目前无线终端对Beacon帧的监听和睡眠交替进行的状态示意图;
图2为目前无线终端在周期性地监听Beacon帧时对应的接收电流示意图;
图3为本申请实施例提供的一种无线连接系统100的架构示意图;
图4为本申请实施例提供的一种主无线终端和从无线终端可选的功能模块示意图;
图5为本申请实施例提供的在主无线终端中监听无线链路的方法的一个可选的流程示意图;
图6为本申请实施例提供的在主无线终端中监听无线链路的方法的一个可选的流程示意图;
图7为本申请实施例提供的在主无线终端中监听无线链路的方法的一个可选的流程示意图;
图8为本申请实施例提供的在主无线终端中监听无线链路的方法的一个可选的流程示意 图;
图9为本申请实施例提供的在主无线终端中监听无线链路的方法的一个可选的流程示意图;
图10为本申请实施例提供的主无线终端支持多个从无线终端连接的架构示意图;
图11为本申请实施例提供的在从无线终端中监听无线链路的方法的一个可选的流程示意图;
图12为本申请实施例提供的监听无线链路的方法的一个可选的交互流程示意图;
图13为本申请实施例提供的在从无线终端中监听无线链路的方法的一个可选的流程示意图;
图14为本申请实施例提供的在实际场景中监听无线链路的方法的一个可选的交互流程示意图;
图15为目前相关技术与本申请实施例提供的监听无线链路的方法的电流功耗效果对比示意图;
图16为本申请实施例提供的监听无线链路的装置的一个可选的结构示意图;
图17为本申请实施例提供的监听无线链路的装置的一个可选的结构示意图;
图18为本申请实施例提供的主无线终端的一个可选的结构示意图;
图19为本申请实施例提供的从无线终端的一个可选的结构示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
为了能够更加详尽地了解本申请实施例的特点与技术内容,下面结合附图对本申请实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本申请实施例。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。还需要指出,本申请实施例所涉及的术语“第一\第二\第三”仅是用于区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。
对本申请实施例进行进一步详细说明之前,对本申请实施例中涉及的名词和术语进行说明,本申请实施例中涉及的名词和术语适用于如下的解释。
1)接入点(Access Point,AP),Wi-Fi局域网中的集中节点,可以链接多个Wi-Fi站点,通常作为无线接入部分集成在路由器中。
2)站点(Station,STA),Wi-Fi无线站点,与Wi-Fi AP相连组成Wi-Fi局域网。
3)无线局域网络(Basic service set,BSS),AP与一个或多个STA组成的无线局域网络。
4)Beacon,AP定期发送的一种用于管理BSS的无线广播管理帧。
目前,大多智能无线终端在连接到Wi-Fi网络时,为了维持Wi-Fi链路的传输,需要周期性唤醒来监听AP的Beacon信标帧。其中,Beacon中包含的数据待传指示信息元素DTIM IE(Delivery Traffic Indication Message Information element,DTIM IE)是无线终端监听的主要目标,DTIM IE是一个以比特为单位的信息标识,每个比特代表一个连在AP上的STA,即无线终端。也就是说,一个AP上可以连接有多个无线终端。当某个无线终端在Beacon信标帧中,监听到自身对应的比特标志位为0时,说明AP侧暂无下行数据要发送到自身,该无线终端会向AP发送PMB=1的空包(或其它帧),表明自身继续回到睡眠状态。当某个 无线终端在Beacon信标帧中,监听到自身对应的比特标志位为1时,说明AP侧有下行数据要发送到自身,该无线终端会向AP发送PMB=0的空包(或其它帧),表明自身退出低功耗模式,可以开始接收AP发送的下行数据。这样,无线终端的Wi-Fi模块会长时间处在如图1所示的Beacon监听和睡眠交替进行的状态。由此可见,对于无线终端设备如智能手表来说,虽然连接上AP后大部分时间都处于没有数据业务的交互的空闲状态,但还是需要和正常工作状态下一样,接入点在每个目标Beacon帧的发送时刻(Target Beacon transmission time,TBTT)上进行Beacon帧的发送,无线终端需要周期性地监听Beacon中的DTIM IE,从而在监听过程中产生了接收电流,如图2所示。以DTIM的周期为100ms为例,无线终端的Wi-Fi模块也需要每100ms需要唤醒一次,来监听AP的Beacon。一般Wi-Fi芯片的接收电流高于100mA,而睡眠电流在0.5mA以下,两者相距数百倍,因此Wi-Fi低功耗睡眠模式的主要功耗开销来自监听Beacon时的接收电流。也就是说,由监听Beacon带来的功耗缩短了无线终端的电池续航时间。
本申请实施例提供一种无线连接系统,如图3所示,无线连接系统100可以包括接入点200、主无线终端400-1和从无线终端400-2。其中,主无线终端400-1与从无线终端400-2通过各自的Wi-Fi链路连接至同一接入点200;并且,主无线终端400-1和从无线终端400-2之间可通过短距离通信链路互相连接。在一些实施例中,主无线终端400-1和从无线终端400-2之间可以通过蓝牙、NFC(图中未示出)或超宽带(Ultra Wide Band,UWB,图中未示出)技术互相连接,也可以是其他连接方式,本申请实施例对主无线终端400-1和从无线终端400-2之间的连接方式具体不作限定。在一些实施例中,主无线终端400-1和从无线终端400-2可以是笔记本电脑,平板电脑,台式计算机,移动设备(例如,移动电话,便携式音乐播放器,个人数字助理,专用消息设备,便携式游戏设备)、智能机器人等任意具有至少两种类型的无线链接功能的终端。示例性地,主无线终端400-1可以是具有Wi-Fi与蓝牙连接能力的手机,从无线终端400-2可以是具有Wi-Fi与蓝牙连接能力的智能手表,手机和智能手表完成配置后,由于手机与智能手表基本上会被用户随身携带,空间距离较近,因此通常会连上环境中相同的AP。同时,手机与智能手表之间通过蓝牙方式连接。
图3中,主无线终端400-1,用于接收从无线终端发送的中继请求;响应于中继请求,从接入点监听第一无线链路中针对从无线终端400-2的信标帧,并通过第二无线链路向从无线终端400-2发送确定指示信息,以指示从无线终端400-2停止对第一无线链路进行监听;基于信标帧确定是否唤醒从无线终端。
从无线终端400-2,用于向主无线终端400-1发送中继请求;中继请求用于指示主无线终端开启针对从无线终端的第一无线链路的监听;通过第二无线链路接收主无线终端响应于中继请求的确定指示信息;基于确定指示信息,进入睡眠状态,停止对第一无线链路的监听。这样,对于功耗更为敏感的从无线终端400-2来说,可以长时间处于最低功耗的睡眠状态,无需周期性监听Beacon,从而大大降低了从无线终端的电流开销,降低了从无线终端功耗,提高了从无线终端的续航能力。
本申请实施例中,主无线终端400-1和从无线终端400-2在具备支持Wi-Fi连接的通讯模块之外,还需要另外具备至少一个可互相通信的通讯模块,如蓝牙模块、NFC模块、UWB模块等等。在一些实施例中,主无线终端400-1和从无线终端400-2上需要同时具备有Wi-Fi和蓝牙模块,如图4所示,
基于图3示出的无线连接系统,本申请实施例提供一种在主无线终端中监听无线链路的方法。图5为本申请实施例提供的在主无线终端中监听无线链路的方法的一个可选的流程示意图,将结合图5示出的步骤进行说明。
S101、接收从无线终端发送的中继请求。
本申请实施例中,主无线终端和从无线终端连接至同一接入点,通过无线链路分别与接入点进行信息交互。
本申请实施例中,中继请求用于请求主无线终端协助从无线终端进行信标帧,如Beacon 帧的监听,以减少从无线终端自身对信标帧的监听次数,降低从无线终端自身从AP监听信标帧的频率。
本申请实施例中,主无线终端可以通过与从无线终端之间的短距离通信链路,接收从无线终端发送的中继请求。
本申请实施例中,主无线终端以及从无线终端的初始状态可以是低功耗状态,如睡眠状态。在主无线终端和从无线终端的初始状态下,主无线终端、从无线终端与第一无线链路之间没有数据交互,但为了保持与第一无线链路的连接,主无线终端和从无线终端仍然需要周期性地从低功耗状态醒来,监听AP是否在第一无线链路上发送了针对自身的信标帧。在这种情况下,主无线终端和从无线终端处于各自监听针对自身信标帧的状态。当主无线终端接收到从无线终端发送的中继请求时,相当于获知了从无线终端申请需要通过主无线终端进行信标帧的监听,以及进行信标帧中继转发的申请。主无线终端可以基于从无线终端发出的中继请求申请,从从无线终端上接管其信标帧的监听过程,以帮助从无线终端降低其监听功耗。
S102、响应于中继请求,监听第一无线链路中针对从无线终端的信标帧,并通过第二无线链路向从无线终端发送确定指示信息,以指示从无线终端停止对第一无线链路进行监听;第一无线链路为主无线终端与接入点提供连接和通信;第二无线链路为主无线终端与从无线终端提供连接和通信。
其中,主无线终端通过第一无线链路与接入点连接,由第一无线链路为主无线终端与接入点提供连接和通信;主无线终端和从无线终端之间通过第二无线链路连接,由第二无线链路为主无线终端与从无线终端提供连接和通信,以进行主从无线终端间的信息交互。
在一些实施例中,第一无线链路为Wi-Fi链路,第二无线链路可以是蓝牙、NFC、UWB等短距离通信链路,可以根据实际情况进行选择,本申请实施例不作限定。
本申请实施例中,响应于接收到的中继请求,主无线终端可以在监听AP针对自身的信标帧的同时,监听AP对从无线终端的信标帧。并且,在主无线终端启动从第一无线链路中监听针对从无线终端的信标帧的情况下,主无线终端会通过与从无线终端之间连接的第二无线链路,向从无线终端发送确定指示信息。这里,确定指示信息用于告知从无线终端,主无线终端已经启动了针对其信标帧的监听,从而,从无线终端可以停止对第一无线链路进行监听,进入低功耗状态。
这里,为了实现通过主无线终端监听AP针对从无线终端的信标帧,从无线终端会告知主无线终端自身的标识,也即从无线终端的标识,以使主无线终端可以根据从无线终端的标识,对针对从无线终端的信标帧进行监听。在一些实施例中,从无线终端可以在发送给主无线终端的中继请求中携带从无线终端的标识;以使主无线终端可以通过响应于中继请求,从接入点处监听第一无线链路中与从无线终端的标识对应的信标帧。从无线终端可以通过向主无线终端发送其他形式的信令或数据包,来进行从无线终端的标识的告知,可以根据实际情况进行选择,本申请实施例不作限定。
在一些实施例中,从无线终端的标识可以是从无线终端的关联识别码(Association ID,AID)信息。
这里,主无线终端在对针对从无线终端的信标帧进行监听时,可以是在监听针对自身的信标帧的同时,一并对针对从无线终端的信标帧进行监听,也可以单独对从无线终端的信标帧进行监听;对从无线终端的信标帧的监听可以是周期性地,以固定的时间间隔发起监听,也可以以非固定时间间隔发起监听,可以根据实际情况进行选择,本申请实施例不作限定。
S103、基于信标帧确定是否唤醒从无线终端。
本申请实施例中,主无线终端可以周期性地对第一无线链路进行监听,当监听到AP在第一无线链路上发送的信标帧时,主无线终端接收信标帧并进行解析,根据解析内容,判断该信标帧是否是针对从无线终端的信标帧,当该信标帧为针对从无线终端的信标帧时,主无线终端可以根据信标帧中的信息内容确定是否需要唤醒从无线终端,与AP进行相应的数据交互。
在一些实施例中,主无线终端可以根据信标帧中是否包含从无线终端的标识,如AID信息,来判断该信标帧是否是针对从无线终端的信标帧。
在一些实施例中,主无线终端可以通过检查从无线终端在信标帧对应的信息指示比特,来确定是否唤醒从无线终端。示例性地,当信标帧为Beacon帧时,信息指示比特可以是从无线终端在Beacon帧的DTIM IE字段中对应的比特标志位。当主无线终端检查到从无线终端在DTIM IE字段中对应的比特标志位为1时,唤醒从无线终端;或者,当从无线终端对应的比特标志位为0时,不唤醒从无线终端,继续进行针对从无线终端的信标帧的监听。
在一些实施例中,主无线终端还可以对针对从无线终端的其他指示功能的信标帧进行监听,示例性地,信标帧可以包括指示AP信道切换的信道切换通知(Channel switch announcement,CSA)或ECSA信息,当主无线终端监听到针对从无线终端下发的CSA或ECSA信息时,可以唤醒从无线终端,以使从无线终端可以及时地跟随AP进行信道切换。
这里,主无线终端在监听针对从无线终端的信标帧的同时,也会同时对第一无线链路中针对自身,也即针对主无线终端的信标帧进行监听,进而基于针对自身的信标帧的信息内容确定自身与接入点之间的数据交互行为。同样地,例如Beacon帧的DTIM IE中包含的针对主无线终端的比特标志位为1时,醒来与AP进行数据交互;或者,当主无线终端自身对应的比特标志位为0时,回到低功耗状态,如睡眠状态,在下一个监听周期继续醒来进行信标帧的监听。主无线终端也可以根据信标帧的其他字段的指示进行相应的数据交互,可以根据实际情况进行选择,本申请实施例不作限定。也就是说,由于主无线终端需要对针对自身以及从无线终端的信标帧进行监听,因此,主无线终端需要能够同时监控多个信标帧,如Beacon帧中多个DTIM比特标志位的能力,也即主无线终端需要具备支持从无线终端的中继低功耗请求的能力。
可以理解的是,本申请实施例中,主无线终端可以响应于从无线终端发送的中继请求,监听针对从无线终端的信标帧,并且利用主从无线终端之间的第二无线链路通知从无线终端可以停止对第一无线链路的监听,由主无线终端基于信标帧确定是否将其唤醒即可,从而使得从无线终端可以不需要自己频繁监听信标帧,大幅度减少了从无线终端监听信标帧带来的功耗开销,使得从无线终端可以长时间处于低功耗水平,降低了无线终端的功耗,提高了无线终端的续航能力。
参见图6,图6为本申请实施例提供的在主无线终端中监听无线链路的方法的一个可选的流程示意图,图5中的S103可以通过执行S1031-S1032来实现,将结合各步骤进行说明。
S1031、若信标帧的信息指示比特为第一预设值,则持续监听第一无线链路,不唤醒从无线终端。
本申请实施例中,第一预设值可以是表征AP未指示从无线终端进行数据交互的值。当主无线终端监听到信标帧中从无线终端对应的信息指示比特为第一预设值时,说明AP暂不需要与从无线终端进行数据交互,从无线终端可以继续保持低功耗的睡眠状态,因此,主无线终端可以不唤醒从无线终端,继续对第一无线链路进行监听。
在一些实施例中,信息指示比特可以为Beacon帧的DTIM IE字段中针对从无线终端比特标志位,第一预设值可以为0。
S1032、若信标帧的信息指示比特为第二预设值,则唤醒从无线终端,以使得从无线终端通过第一无线链路进行数据传输。
本申请实施例中,第二预设值可以是表征AP指示从无线终端进行数据交互的值。当主无线终端监听到信标帧中从无线终端对应的信息指示比特为第二预设值时,说明AP需要与从无线终端进行数据交互,主无线终端可以唤醒从无线终端,以使得从无线终端从低功耗的睡眠状态转为正常工作状态,通过第一无线链路与AP进行数据传输。
在一些实施例中,信息指示比特可以为从无线终端在Beacon帧的DTIM IE字段中对应的比特标志位,第一预设值可以为1。或者,信息指示比特也可以是其他比特位,如从无线终端在CSA信息中对应的比特标志位,可以根据实际情况进行选择,本申请实施例不作限 定。
可以理解的是,本申请实施例中,主无线终端可以在监听信标帧中针对自身的信息指示比特时,一并监听针对从无线终端对应的信息指示比特,并且在信息指示比特的内容为第一预设值时,不唤醒从无线终端,使其可以继续处在低功耗的睡眠状态;在信息指示比特的内容为第二预设值时,即需要从无线终端与AP进行数据传输时,再利用主从无线终端之间的第二无线链路唤醒从无线终端,以进行正常的数据传输,从而使得从无线终端长时间不需要监听信标帧,大幅度降低了从无线终端的监听功耗,提高了从无线终端的续航能力。
在一些实施例中,基于图5或图6,S103之后,如图7所示,还可以执行S201-S203,如下:
S201、通过第二无线链路向从无线终端发送唤醒指示信息。
本申请实施例中,在主无线终端基于信标帧,确定需要唤醒从无线终端的情况下,主无线终端可以通过第二无线链路向从无线终端发送唤醒指示信息。
在一些实施例中,主无线终端可以在唤醒指示信息中携带信标帧中针对从无线终端的指示信息,以使从无线终端可以直接从唤醒指示信息中得到AP的指示信息,进而根据指示信息与AP进行交互。或者主无线终端也可以通过唤醒指示信息将从无线终端从低功耗状态中唤醒,由从无线终端在醒来后自行在第一无线链路上监听并接收针对自身的信标帧,进而针对自身即从无线终端的信标帧中的指示信息与AP进行交互,可以根据实际情况进行选择,本申请实施例不作限定。
S202、通过第二无线链路接收从无线终端响应唤醒指示信息反馈的通知信息。
本申请实施例中,主无线终端可以通过第二无线链路,接收从无线终端响应于唤醒指示信息所反馈的通知信息,以确定从无线终端已经得到了唤醒指示信息的通知。
S203、响应于通知信息,退出监听第一无线链路中针对从无线终端的信标帧。
本申请实施例中,主无线终端在接收到从无线终端针对唤醒指示信息的反馈信息的情况下,说明从无线终端已经成功接收到了唤醒指示信息,即将从低功耗状态醒来,不需要再通过主无线终端继续对其低功耗状态下的信标帧进行监听,因此主无线终端可以退出监听第一无线链路中针对从无线终端的信标帧。
可以理解的是,本申请实施例中,主无线终端可以通过第二无线链路唤醒从无线终端,从而使得在AP需要与从无线终端进行数据传输时,主无线终端能够及时唤醒从无线终端,实现了维持从无线终端的低功耗状态的同时,保证了从无线终端与AP之间交互通信的稳定性和连续性。
在一些实施例中,基于图5,S101之后,还可以如图8所示,执行S301,如下:
S301、在获取的自身的第一工作参数不满足第一通信条件时,拒绝中继请求;或者,通过第二无线链路通知从无线终端退出中继模式。
本申请实施例中,对于一些特定场景下,主无线终端也可以拒绝从无线终端的中继请求;或者,通过第二无线链路通知从无线终端退出中继模式。示例性地,主无线终端可以在接收到中继请求时,获取自身的第一工作参数,当自身的第一工作参数不满足第一通信条件时,说明主无线终端自身的工作状态无法支持对从无线终端的监听与中继,因此,主无线终端可以拒绝从无线终端的中继请求;或者,通过第二无线链路通知从无线终端退出中继模式,以免增加自身的运行负担,影响自身的工作状态。
在一些实施例中,第一工作参数不满足第一通信条件包括以下至少一种:
通信质量未达到通信质量阈值;第一电量小于第一电量阈值;以及,无线传输速率低于预设传输速率。
在一些实施例中,通信质量未达到通信质量阈值可以包括主无线终端的Wi-Fi信号质量不稳定等情况;第一电量小于第一电量阈值可以包括主无线终端电池电量较少,处于低电模式等情况;无线传输速率低于预设传输速率可以包括主无线终端在第一无线链路上的通信质量差,延迟大、丢包率高,从而无法正常对信标帧进行监听等情况。或者,第一工作参数不 满足第一通信条件的情况还可以是主无线终端相关的其他影响因素,可以根据实际情况进行选择,本申请实施例不作限定。
在一些实施例中,主无线终端可以通过第二无线链路向从无线终端发送拒绝其中继请求的信息。从无线终端在接收到主无线终端发送的拒绝中继请求的信息之后,可以继续自行在第一无线链路上监听针对自身,也即从无线终端的信标帧。
在一些实施例中,从无线终端在接收到主无线终端通过第二无线链路发送的退出中继模式的通知之后,可以响应于退出中继模式的通知,停止向主无线终端发送中继请求,自行在第一无线链路上监听针对自身,也即从无线终端的信标帧。
可以理解的是,本申请实施例中,主无线终端可以根据第一工作参数所表征的自身的工作状态,灵活选择是否启动对针对从无线终端的信标帧的监听,从而提高了主无线终端监听的灵活性。
在一些实施例中,基于图5或图6,S103之后,还可以如图9所示,执行S401,如下:
S401、退出监听第一无线链路中针对从无线终端的信标帧。
本申请实施例中,主无线终端也可以在监听第一无线链路中针对从无线终端的信标帧的过程中,主动退出对从无线终端的信标帧的监听。
在一些实施例中,在主无线终端正在对针对从无线终端的信标帧进行监听的过程中,主无线终端也可以实时检测自身的第一工作参数。当第一工作参数不满足第一通信条件时,主无线终端退出对从无线终端的信标帧的监听。
在一些实施例中,主无线终端可以通过第二无线链路告知从无线终端已经退出对其信标帧的监听,以唤醒从无线终端,使其自行进行信标帧的监听。
可以理解的是,本申请实施例中,主无线终端可以根据第一工作参数所表征的自身的工作状态,灵活选择是否继续对针对从无线终端的信标帧的监听,从而提高了主无线终端监听的灵活性。
在一些实施例中,如图10所示,主无线终端也可以同时支持基于多个从无线终端的中继请求,针对多个从无线终端的信标帧进行监听以及AP信息的中继。在一些实施例中,图10中的主无线终端71可以是具有Wi-Fi和蓝牙连接功能的智能手机,从无线终端72和从无线终端73可以为同时连接在主无线终端71上的、具有Wi-Fi和蓝牙连接功能的智能手表和智能眼镜。主无线终端71、从无线终端72和从无线终端73分别通过Wi-Fi连接至Wi-Fi接入点70,从无线终端72和从无线终端73分别通过蓝牙连接至主无线终端71。这里,从无线终端可以是智能手表和智能眼镜等类型的无线终端,其都可以传输高速的视频业务,但是大部分时间还是处于低功耗的监听模式。采用本发明的方案,从无线终端72和从无线终端73可以分别通过蓝牙发送其各自对应的中继请求至主无线终端71,主无线终端71可以基于从无线终端72和从无线终端73的中继请求,同时对Wi-Fi链路中广播的针对主无线终端71、从无线终端72和从无线终端73的信标帧进行监听,并通过蓝牙分别向从无线终端72和从无线终端73发送确定指示信息,以指示从无线终端72和从无线终端73停止对Wi-Fi链路进行监听,从而使得从无线终端72和从无线终端73可以根据各自收到的确定指示信息进入低功耗的睡眠状态,由并主无线终端71根据监听到的从无线终端72和从无线终端73对应的信标帧确定是否唤醒对应的从无线终端。这样,从无线终端72和从无线终端73可以长时间处于低功耗的睡眠状态,大大降低了从无线终端72和从无线终端73的系统功耗。
基于图3示出的无线连接系统,本申请实施例提供一种在从无线终端中监听无线链路的方法。图11是本申请实施例提供的在从无线终端中监听无线链路的方法的一个可选的流程示意图,将结合图11示出的步骤进行说明。
S501、向主无线终端发送中继请求;中继请求用于指示主无线终端开启针对从无线终端的第一无线链路的监听;第一无线链路为主无线终端与接入点提供连接和通信。
本申请实施例中,从无线终端可以在自身进入低功耗状态的情况下,向主无线终端发送中继请求;以通过中继请求指示主无线终端,开启针对从无线终端的第一无线链路的监听。
在一些实施例中,从无线终端可以在检测到自身需要进行功耗优化,如从无线终端的电量过低,或温度过高,或低功耗状态下的工作电流值超过预设低功耗电流阈值时,向主无线终端发送中继请求,以请求主无线终端协助自身进行信标帧的监听,减轻自身的功耗。从无线终端也可以在检测到与主无线终端连接至同一AP时,就向主无线终端发送中继请求,可以根据实际情况进行选择,本申请实施例不作限定。
在一些实施例中,从无线终端可以在获取到自身的第二工作参数不满足第二通信条件时,向主无线终端发送中继请求。其中,第二工作参数不满足第二通信条件的情况可以包括从无线终端的功耗或网络状态不足以支持其进行信标帧监听的各种情况。在一些实施例中,第二工作参数不满足第二通信条件可以包括以下至少一种:
第一无线链路的数据传输量小于预设数据传输阈值;以及,第二电量小于第二电量阈值。
这里,第一无线链路的数据传输量小于预设数据传输阈值表征从无线终端的网络连接状态较差,可能无法正常对第一无线链路上的信标帧进行监听;第二电量可以是从无线终端的当前剩余电量,第二电量小于第二电量阈值表征从无线终端目前处于低电状态,需要减少信令监听的功耗以提高其续航能力。
S502、通过第二无线链路接收主无线终端响应于中继请求的确定指示信息;第二无线链路为主无线终端与从无线终端提供连接和通信。
本申请实施例中,从无线终端在向主无线终端发送中继请求后,可以通过第二无线链路,接收主无线终端响应于中继请求所发出的确定指示信息;第二无线链路为主无线终端与从无线终端提供连接和通信。
这里,当主无线终端接受了从无线终端的中继请求时,从无线终端可以接收到主无线终端反馈的确定指示信息,表征主无线终端同意在第一无线链路上对针对从无线终端的信标帧进行监听。或者,如果主无线终端拒绝了从无线终端的中继请求,则从无线终端会相应地接收到主无线终端发送的拒绝信息,进而继续自行进行信标帧的监听。
S503、基于确定指示信息,进入睡眠状态,停止对第一无线链路的监听。
本申请实施例中,从无线终端在在接收到确定指示信息的情况下,说明主无线终端已经同意了从无线终端的中继请求,并在第一无线链路上启动了针对从无线终端的信标帧的监听,无需从无线终端自行进行信标帧的监听。从无线终端可以基于确定指示信息进入睡眠状态,停止对第一无线链路的监听,以减少监听对自身带来的功耗。
本申请实施例中,基于图5与图11,主无线终端与从无线终端可以通过图12所示的交互流程,实现无线链路的监听。图5中的S102在图12中可以通过执行S102-1与S102-2来实现,图12中相关步骤的执行过程此处不再赘述。
可以理解的是,本申请实施例中,从无线终端可以通过向主无线终端发送中继请求,使得主无线终端接管从无线终端上的信标帧监听任务,从而降低了从无线终端自身对信标帧监听带来的功耗,提高了从无线终端的续航能力。
在一些实施例中,基于图11,S503之后,还可以如图13所示,执行S601-S602,将结合各步骤进行说明。
S601、通过第二无线链路接收主无线终端发送的唤醒指示信息。
本申请实施例中,从无线终端可以通过与主无线终端之间连接的第二无线链路,接收主无线终端发送的唤醒指示信息,以从主无线终端处及时获知第一无线链路上出现了针对自身的信标帧,且该信标帧指示自身与AP进行数据交互。
S602、响应于唤醒指示信息,通过第一无线链路向接入点发送通信允许数据包,以通过第一无线链路实现数据传输。
本申请实施例中,从无线终端可以响应于主无线终端传递的唤醒指示信息,通过第一无线链路向接入点发送通信允许数据包,以告知第一无线链路自身的通信模块已经唤醒并准备好,可以通过第一无线链路实现数据传输。示例性地,通信允许数据包可以是PMB=0的空数据包,即null包。
可以理解的是,本申请实施例中,从无线终端可以通过主无线终端的唤醒指示信息及时恢复至正常工作状态,从而保证了从无线终端无线连接的稳定性与连续性。
在一些实施例中,本申请实施例提供的应用于从无线终端的监听无线链路的方法还包括:
S701、在数据传输结束时,通过第一无线链路向接入点发送通信结束数据包,并向主无线终端发送下一次的中继请求。
本申请实施例中,从无线终端在与AP之间进行数据传输结束时,可以通过第一无线链路向接入点发送通信结束数据包,以标志当前数据传输的结束。此时,从无线终端从正常工作状态转为空闲状态,需要进入低功耗模式。因此,从无线终端可以向主无线终端发送下一次的中继请求,以重新借助主无线终端进行信标帧的监听。示例性地,通信结束数据包可以是PMB=1的null包。
在一些实施例中,从无线终端在接收到唤醒指示信息的情况下,需要从空闲状态转为正常工作状态,在第一无线链路中与AP进行实际的业务数据的交互,不再需要在第一无线链路中对空闲状态下的信标帧进行监听。因此,从无线终端可以响应于唤醒指示信息,通过第二无线链路向主无线终端发送通知信息,以指示主无线终端退出监听第一无线链路中针对从无线终端的信标帧。
可以理解的是,本申请实施例中,从无线终端可以根据自身的工作状态或空闲状态,灵活地指示主无线终端在第一无线链路上启动或退出对针对从无线终端的信标帧监听,从而提高了无线链路的灵活性。
下面,将通过图14,说明本申请实施例在一个实际的应用场景中的示例性应用。
S801、主设备X与AP建立Wi-Fi连接。
S802、从设备Y与AP建立Wi-Fi连接。
本申请实施例中,主无线终端可以是主设备X,和从无线终端可以是从设备Y,主设备X和从设备Y通过Wi-Fi与AP连接,主设备X和从设备Y之间通过蓝牙连接。这里,主设备X与从设备Y连接的是同一AP。主设备X和从设备Y在与AP建立连接之前,初始都处于正常低功耗模式,也即上述的在每个DTIM时刻醒来监听AP发出的Beacon,查看其中的DTIM IE字段,如果属于自身的比特标志位没有置1,就继续睡眠状态,否则退出正常低功耗模式,AP进行数据传输。
S803、从设备Y通过蓝牙连接向主设备X发出中继请求,以请求进入中继低功耗模式,并在中继请求中告知主设备X自身设备的AID。
本申请实施例中,在主设备X和从设备Y连接至同一AP的情况下,从设备Y可以通过蓝牙连接向主设备X发出中继请求,并在中继请求中告知主设备X自身设备的AID,以请求主设备X协助监听Wi-Fi中其设备的AID对应的信标帧,以使从设备Y自身进入中继低功耗模式。这里,在中继低功耗模式中,从设备Y的Wi-Fi模块可以不需要在每个TBTT时刻醒来监听,从而一直保持在最低的耗能水平。
S804、在主设备X具备中继能力,即主设备X支持同时对多个信标帧进行监听,并支持在与AP和从设备Y分别连接的两个链接链路中进行数据传输的情况下,主设备X通过与从设备Y之间的蓝牙连接,向从设备Y发送确认信号,即确定指示信息。
S805、从设备Y在接收到确定指示信息的情况下进入中继低功耗模式。
S806、AP在到达TBTT时刻时,向连接至自身的无线终端发送Beacon帧,即信标帧。
这里,AP通过在其无线覆盖范围内以广播的方式进行Beacon帧的发送。
S806中,从设备Y在Beacon帧中对应的DTIM比特指示为0,也即从设备在信标帧中对应的信息指示比特为第一预设值。
S807、在从设备Y进入中继低功耗模式的情况下,主设备X在监听自身的DTIM比特指示,即信标帧的信息指示比特的同时,根据从设备Y的AID,同时监听从设备Y在Beacon帧中的对应的DTIM比特指示。当发现从设备Y对应的DTIM比特指示为0,即第一预设值的情况下,主设备X不唤醒从设备Y,继续进行Beacon帧的监听。
这里,S806和S807是分别由AP和主设备X执行的步骤,S806和S807的执行不分先后顺序。
S808、AP在再次到达TBTT时刻时再次发送Beacon帧。
S808中,从设备Y在Beacon帧中对应的DTIM比特指示为1,也即从设备在信标帧中对应的信息指示比特为第二预设值。
S809、当主设备X发现从设备Y对应的DTIM比特指示为1,即第二预设值的情况下,主设备X通过蓝牙连接上向从设备Y发送唤醒指示信息,唤醒指示信息中包含DTIM比特指示为1的信息,以通知从无线终端AP侧需要与其进行数据传输,唤醒从设备Y。
S810、从设备Y在接收到唤醒指示信息,从中获知DTIM比特指示为1的情况下,将自身的Wi-Fi模块退出中继低功耗模式,然后向AP发送携带PMB=0的null包,即通信允许数据包,告知AP其已被唤醒,可以进行正常的Wi-Fi数据传输。
S811、从设备Y退出低功耗模式后,通过蓝牙连接向主设备X发送通知信息,通知其已退出中继低功耗模式。主设备X在此期间无需为从设备Y做中继转发。在具体实施中,S811也可采用隐式方法代替,即当主设备X完成S804后,即可默认从设备Y已经退出了中继低功耗模式,进而自动退出对从设备Y的DTIM比特指示的监听,从无线终端无需主动通知主设备X。
S812、从设备Y与AP之间通过Wi-Fi链路进行数据传输。
S813、从设备Y完成其与AP的Wi-Fi数据交互后,从设备Y向AP发送携带PMB=1的null包,即通信结束数据包,表明其已经完成了数据传输,进入低功耗模式。这里,从设备Y可以进入低功耗模式中的正常低功耗模式,也可以进入低功耗模式中的中继低功耗模式。
S814、在从设备Y决定进入中继低功耗模式的情况下,例如在从设备Y上的第二工作参数不满足第二通信条件的情况下,从设备Y通过蓝牙连接向主设备X再次发起进入中继低功耗模式的中继请求。
这里,可以通过实验,来验证本申请实施例提供的监听无线链路的方法的效果。在一些实施例中,可以在主从设备连上同一AP,主从设备之间连接蓝牙,从设备进入睡眠状态的情况下,测量从设备Y上的电流值。若此时从设备Y上没有周期性的电流峰值,但在关闭蓝牙,再次测量从设备Y的电流时,出现了周期性的电流峰值,说明在从设备Y的睡眠期间,是主设备X在对针对从设备Y进行信令帧的监听,并与从设备Y之间蓝牙连接,进行Wi-Fi信令帧的中继转发的。由此可知,本申请实施例提供的监听无线链路的方法确实起到了降低从无线终端功耗,提高从无线终端续航能力的效果。
在一些实施例中,如图15所示,目前的相关技术中,主从设备均需要在TBTT时刻周期性地监听Beacon帧中的DTIM IE字段,使得相关技术中从设备的功耗电流图和主设备X的功耗电流图相当。而使用本申请提供的监听无线链路的方法,从设备Y可以长时间处于最低功耗的睡眠状态,无需周期性监听beacon,从而大大降低了从无线终端的电流开销,提高了从无线终端的续航能力。
本申请实施例提供一种监听无线链路的装置,应用于主无线终端,如图16所示,主无线终端上的监听无线链路的装置1包括:
主接收部分11,配置为接收从无线终端发送的中继请求;
监听部分12,配置为响应于所述中继请求,监听第一无线链路中针对所述从无线终端的信标帧;所述第一无线链路为主无线终端与接入点提供连接和通信;
主发送部分13,配置为通过第二无线链路向所述从无线终端发送确定指示信息,以指示所述从无线终端停止对所述第一无线链路进行监听;所述第二无线链路为所述主无线终端与所述从无线终端提供连接和通信;
唤醒部分14,配置为基于所述信标帧确定是否唤醒所述从无线终端。
在一些实施例中,所述唤醒部分14,还配置为若所述信标帧的信息指示比特为第一预设值,则持续监听所述第一无线链路,不唤醒所述从无线终端;若所述信标帧的信息指示比特 为第二预设值,则唤醒所述从无线终端,以使得所述从无线终端通过所述第一无线链路进行数据传输。
在一些实施例中,所述唤醒部分14,还配置为通过所述第二无线链路向所述从无线终端发送唤醒指示信息。
在一些实施例中,所述监听部分12,还配置为所述基于所述信标帧确定是否唤醒所述从无线终端之后,退出监听所述第一无线链路中针对所述从无线终端的信标帧。
在一些实施例中,所述监听无线链路的装置1还包括通知部分,所述通知部分,配置为基于所述信标帧确定是否唤醒所述从无线终端之后,通过所述第二无线链路接收所述从无线终端响应所述唤醒指示信息反馈的通知信息;响应于所述通知信息,退出监听所述第一无线链路中针对所述从无线终端的信标帧。
在一些实施例中,所述监听无线链路的装置1还包括拒绝部分,所述拒绝部分,配置为在获取的自身的第一工作参数不满足第一通信条件时,拒绝所述中继请求;或者,通过第二无线链路通知所述从无线终端退出中继模式。
在一些实施例中,所述第一工作参数不满足所述第一通信条件包括以下至少一种:
通信质量未达到通信质量阈值;
第一电量小于第一电量阈值;以及,
无线传输速率低于预设传输速率。
在一些实施例中,所述中继请求中携带有从无线终端的标识;所述监听部分12,还配置为响应于所述中继请求,从接入点处监听第一无线链路中与所述从无线终端的标识对应的信标帧。
本申请实施例提供一种监听无线链路的装置,应用于从无线终端,如图17所示,从无线终端上的监听无线链路的装置2包括:
从发送部分21,配置为向主无线终端发送中继请求;所述中继请求用于指示所述主无线终端开启针对从无线终端的第一无线链路的监听;所述第一无线链路为所述主无线终端与接入点提供连接和通信;
从接收部分22,配置为通过第二无线链路接收所述主无线终端响应于所述中继请求的确定指示信息;所述第二无线链路为所述主无线终端与所述从无线终端提供连接和通信;
睡眠部分23,配置为基于所述确定指示信息,进入睡眠状态,停止对所述第一无线链路的监听。
在一些实施例中,所述从接收部分22,还配置为通过所述第二无线链路接收所述主无线终端发送的唤醒指示信息;所述从发送部分21,还配置为响应于所述唤醒指示信息,通过所述第一无线链路向接入点发送通信允许数据包,以通过所述第一无线链路实现数据传输。
在一些实施例中,所述从发送部分21,还配置为在数据传输结束时,通过所述第一无线链路向接入点发送通信结束数据包,并向所述主无线终端发送下一次的中继请求。
在一些实施例中,所述从发送部分21,还配置为响应于所述唤醒指示信息,通过所述第二无线链路向所述主无线终端发送通知信息,以指示所述主无线终端退出监听所述第一无线链路中针对从无线终端的信标帧。
在一些实施例中,所述从发送部分21,还配置为在数据传输结束时,通过所述第一无线链路向接入点发送通信结束数据包,并向所述主无线终端发送下一次的中继请求。
在一些实施例中,所述从发送部分21,还配置为在获取到自身的第二工作参数不满足第二通信条件时,向所述主无线终端发送所述中继请求。
在一些实施例中,所述第二工作参数不满足所述第二通信条件包括以下至少一种:
第一无线链路的数据传输量小于预设数据传输阈值;以及,
第二电量小于第二电量阈值。
需要说明的是,以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请装置实施例中未披露的技术细节,请参照本申请方法 实施例的描述而理解。
可以理解地,在本实施例中,“部分”可以是部分电路、部分处理器、部分程序或软件等等,当然也可以是模块,还可以是非模块化的。而且在本实施例中的各组成部分可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个部分中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
所述集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
因此,本实施例提供了一种计算机存储介质,该计算机存储介质为计算机可读存储介质,存储有计算机程序,在计算机可读存储介质位于上述实施例中的无线终端中时,所述计算机程序被至少一个处理器执行时实现前述实施例中任一项所述的应用于主无线终端或从无线终端的监听无线链路的方法的步骤。
基于上述监听无线链路的装置1的组成以及计算机可读存储介质,参见图18,其示出了本申请实施例提供的一种主无线终端30的组成结构示意图。如图18所示,主无线终端30可以包括:第一通信接口301、第一存储器302和第一处理器303;各个组件通过第一总线系统304耦合在一起。可理解,第一总线系统304用于实现这些组件之间的连接通信。第一总线系统304除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图18中将各种总线都标为第一总线系统304。其中,第一通信接口301,配置为在与其他外部网元之间进行收发信息过程中,进行信号的接收和发送;
第一存储器302,配置为存储可执行指令;
第一处理器303,配置为执行第一存储器302中存储的可执行指令时,实现上述实施例中应用于主无线终端的监听无线链路的方法。
可以理解,本申请实施例中的第一存储器302可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步链动态随机存取存储器(Synchronous link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的系统和方法的第一存储器302旨在包括但不限于这些和任意其它适合类型的存储器。
而第一处理器303可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过第一处理器303中的硬件的集成逻辑电路或者软件形式的指令完成。上述的第一处理器303可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公 开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于第一存储器302,第一处理器303读取第一存储器302中的信息,结合其硬件完成上述方法的步骤。
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。
基于上述监听无线链路的装置2的组成以及计算机可读存储介质,参见图19,其示出了本申请实施例提供的一种从无线终端40的组成结构示意图。如图19所示,从无线终端40可以包括:第二通信接口401、第二存储器402和第二处理器403;各个组件通过第二总线系统404耦合在一起。上述从无线终端的组成结构中各个部件与图18中主无线终端的各个部件功能描述一致,此处不再赘述。
其中,第二通信接口401,配置为在与其他外部网元之间进行收发信息过程中,进行信号的接收和发送;
第二存储器402,配置为存储可执行指令;
第二处理器403,配置为执行第二存储器402中存储的可执行指令时,实现上述实施例中应用于从无线终端的监听无线链路的方法。
需要说明的是,在本申请中,术语“包括”、“包含”或者任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (19)
- 一种在主无线终端中监听无线链路的方法,包括:接收从无线终端发送的中继请求;响应于所述中继请求,监听第一无线链路中针对所述从无线终端的信标帧,并通过第二无线链路向所述从无线终端发送确定指示信息,以指示所述从无线终端停止对所述第一无线链路进行监听;所述第一无线链路为所述主无线终端与接入点提供连接和通信,所述第二无线链路为所述主无线终端与所述从无线终端提供连接和通信;基于所述信标帧确定是否唤醒所述从无线终端。
- 根据权利要求1所述的方法,其中,所述基于所述信标帧确定是否唤醒所述从无线终端,包括:若所述信标帧的信息指示比特为第一预设值,则持续监听所述第一无线链路,不唤醒所述从无线终端;若所述信标帧的信息指示比特为第二预设值,则唤醒所述从无线终端,以使得所述从无线终端通过所述第一无线链路进行数据传输。
- 根据权利要求2所述的方法,其中,所述唤醒所述从无线终端,包括:通过所述第二无线链路向所述从无线终端发送唤醒指示信息。
- 根据权利要求1至3任一项所述的方法,其中,所述基于所述信标帧确定是否唤醒所述从无线终端之后,所述方法还包括:退出监听所述第一无线链路中针对所述从无线终端的信标帧。
- 根据权利要求3所述的方法,其中,所述基于所述信标帧确定是否唤醒所述从无线终端之后,所述方法还包括:通过所述第二无线链路接收所述从无线终端响应所述唤醒指示信息反馈的通知信息;响应于所述通知信息,退出监听所述第一无线链路中针对所述从无线终端的信标帧。
- 根据权利要求1所述的方法,其中,所述方法还包括:在获取的自身的第一工作参数不满足第一通信条件时,拒绝所述中继请求;或者,通过第二无线链路通知所述从无线终端退出中继模式。
- 根据权利要求6所述的方法,其中,所述第一工作参数不满足所述第一通信条件包括以下至少一种:通信质量未达到通信质量阈值;第一电量小于第一电量阈值;以及,无线传输速率低于预设传输速率。
- 根据权利要求1所述的方法,其中,所述中继请求中携带有从无线终端的标识;所述响应于所述中继请求,监听第一无线链路中针对所述从无线终端的信标帧,包括:响应于所述中继请求,从接入点处监听第一无线链路中与所述从无线终端的标识对应的信标帧。
- 一种在从无线终端中监听无线链路的方法,包括:向主无线终端发送中继请求,所述中继请求用于指示所述主无线终端开启针对从无线终端的第一无线链路的监听;所述第一无线链路为所述主无线终端与接入点提供连接和通信;通过第二无线链路接收所述主无线终端响应于所述中继请求的确定指示信息;所述第二无线链路为所述主无线终端与所述从无线终端提供连接和通信;基于所述确定指示信息,进入睡眠状态,停止对所述第一无线链路的监听。
- 根据权利要求9所述的方法,其中,所述方法还包括:通过所述第二无线链路接收所述主无线终端发送的唤醒指示信息;响应于所述唤醒指示信息,通过所述第一无线链路向接入点发送通信允许数据包,以通 过所述第一无线链路实现数据传输。
- 根据权利要求10所述的方法,其中,所述方法还包括:在数据传输结束时,通过所述第一无线链路向接入点发送通信结束数据包,并向所述主无线终端发送下一次的中继请求。
- 根据权利要求10或11所述的方法,其中,所述方法还包括:响应于所述唤醒指示信息,通过所述第二无线链路向所述主无线终端发送通知信息,以指示所述主无线终端退出监听所述第一无线链路中针对从无线终端的信标帧。
- 根据权利要求9所述的方法,其中,所述向主无线终端发送中继请求,包括:在获取到自身的第二工作参数不满足第二通信条件时,向所述主无线终端发送所述中继请求。
- 根据权利要求13所述的方法,其中,所述第二工作参数不满足所述第二通信条件包括以下至少一种:第一无线链路的数据传输量小于预设数据传输阈值;以及,第二电量小于第二电量阈值。
- 一种监听无线链路的装置,包括:主接收部分,配置为接收从无线终端发送的中继请求;监听部分,配置为响应于所述中继请求,监听第一无线链路中针对所述从无线终端的信标帧;所述第一无线链路为主无线终端与接入点提供连接和通信;主发送部分,配置为通过第二无线链路向所述从无线终端发送确定指示信息,以指示所述从无线终端停止对所述第一无线链路进行监听;所述第二无线链路为所述主无线终端与所述从无线终端提供连接和通信;唤醒部分,配置为基于所述信标帧确定是否唤醒所述从无线终端。
- 一种监听无线链路的装置,包括:从发送部分,配置为向主无线终端发送中继请求;所述中继请求用于指示所述主无线终端开启针对从无线终端的第一无线链路的监听;所述第一无线链路为所述主无线终端与接入点提供连接和通信;从接收部分,配置为通过第二无线链路接收所述主无线终端响应于所述中继请求的确定指示信息;所述第二无线链路为所述主无线终端与所述从无线终端提供连接和通信;睡眠部分,配置为基于所述确定指示信息,进入睡眠状态,停止对所述第一无线链路的监听。
- 一种主无线终端,包括:第一存储器,配置为存储可执行指令;第一处理器,配置为执行所述第一存储器中存储的可执行指令时,实现权利要求1至8中任一项所述的方法。
- 一种从无线终端,包括:第二存储器,配置为存储可执行指令;第二处理器,配置为执行所述第二存储器中存储的可执行指令时,实现权利要求9至14中任一项所述的方法。
- 一种计算机存储介质,存储有可执行指令,配置为引起处理器执行时,实现权利要求1至8中任一项,或权利要求9至14中任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110652404.9 | 2021-06-11 | ||
CN202110652404.9A CN115474261A (zh) | 2021-06-11 | 2021-06-11 | 监听无线链路的方法及装置、无线终端、计算机存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022257637A1 true WO2022257637A1 (zh) | 2022-12-15 |
Family
ID=84365104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/089525 WO2022257637A1 (zh) | 2021-06-11 | 2022-04-27 | 监听无线链路的方法及装置、无线终端、计算机存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115474261A (zh) |
WO (1) | WO2022257637A1 (zh) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100284316A1 (en) * | 2009-05-05 | 2010-11-11 | Atheros Communications, Inc. | Dynamic energy saving mechanism for access points |
CN103748937A (zh) * | 2011-07-19 | 2014-04-23 | 高通股份有限公司 | 针对用户设备中继器的睡眠模式 |
CN105359430A (zh) * | 2013-07-10 | 2016-02-24 | Kt株式会社 | 用于在无线lan系统中传输数据的方法和装置 |
CN105636149A (zh) * | 2016-01-25 | 2016-06-01 | 北京小米移动软件有限公司 | 用于中继的方法、装置及系统 |
US20170325169A1 (en) * | 2016-05-06 | 2017-11-09 | Qualcomm Incorporated | Power fallback wireless local area network receiver |
CN109327808A (zh) * | 2017-07-31 | 2019-02-12 | 华为技术有限公司 | 一种传输数据的方法及设备 |
CN109565738A (zh) * | 2016-08-12 | 2019-04-02 | 华为技术有限公司 | 用于功率敏感设备的有效连接建立和通信的系统和方法 |
CN109874133A (zh) * | 2017-12-04 | 2019-06-11 | 联发科技(新加坡)私人有限公司 | 无线通信方法以及通信装置 |
CN109906639A (zh) * | 2016-11-03 | 2019-06-18 | 交互数字专利控股公司 | 用于唤醒无线电的有效功率节省的方法 |
CN112040475A (zh) * | 2020-08-18 | 2020-12-04 | 广东小天才科技有限公司 | 一种通信连接方法、系统、终端设备及网络设备 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100395332B1 (ko) * | 2001-02-09 | 2003-08-25 | 삼성전자주식회사 | 블루투스 무선장치를 구비한 통신 단말간의 링크 연결 방법 |
JP5304526B2 (ja) * | 2009-08-11 | 2013-10-02 | 株式会社ナカヨ通信機 | ウェイクアップ電波送信機能を有する無線アクセスポイントおよび無線lan端末 |
US20140233443A1 (en) * | 2013-02-20 | 2014-08-21 | Qualcomm Incorporated | Link verification in a wireless network |
US10271361B2 (en) * | 2013-07-10 | 2019-04-23 | Kt Corporation | Method and apparatus for transmitting data in wireless LAN system |
CN106488424A (zh) * | 2015-08-31 | 2017-03-08 | 普天信息技术有限公司 | D2d场景下中继ue的激活方法及装置 |
CN107872839B (zh) * | 2016-09-24 | 2020-09-18 | 华为技术有限公司 | 数据转发的方法、中继设备和网络设备 |
CN108541047B (zh) * | 2017-03-03 | 2021-07-16 | 华为技术有限公司 | 下行业务数据的指示方法和设备 |
CN110351806A (zh) * | 2019-07-31 | 2019-10-18 | 苏州昆益链网络科技有限公司 | 一种区块链电子健康病历信息的传输方法及系统 |
-
2021
- 2021-06-11 CN CN202110652404.9A patent/CN115474261A/zh active Pending
-
2022
- 2022-04-27 WO PCT/CN2022/089525 patent/WO2022257637A1/zh active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100284316A1 (en) * | 2009-05-05 | 2010-11-11 | Atheros Communications, Inc. | Dynamic energy saving mechanism for access points |
CN103748937A (zh) * | 2011-07-19 | 2014-04-23 | 高通股份有限公司 | 针对用户设备中继器的睡眠模式 |
CN105359430A (zh) * | 2013-07-10 | 2016-02-24 | Kt株式会社 | 用于在无线lan系统中传输数据的方法和装置 |
CN105636149A (zh) * | 2016-01-25 | 2016-06-01 | 北京小米移动软件有限公司 | 用于中继的方法、装置及系统 |
US20170325169A1 (en) * | 2016-05-06 | 2017-11-09 | Qualcomm Incorporated | Power fallback wireless local area network receiver |
CN109565738A (zh) * | 2016-08-12 | 2019-04-02 | 华为技术有限公司 | 用于功率敏感设备的有效连接建立和通信的系统和方法 |
CN109906639A (zh) * | 2016-11-03 | 2019-06-18 | 交互数字专利控股公司 | 用于唤醒无线电的有效功率节省的方法 |
CN109327808A (zh) * | 2017-07-31 | 2019-02-12 | 华为技术有限公司 | 一种传输数据的方法及设备 |
CN109874133A (zh) * | 2017-12-04 | 2019-06-11 | 联发科技(新加坡)私人有限公司 | 无线通信方法以及通信装置 |
CN112040475A (zh) * | 2020-08-18 | 2020-12-04 | 广东小天才科技有限公司 | 一种通信连接方法、系统、终端设备及网络设备 |
Also Published As
Publication number | Publication date |
---|---|
CN115474261A (zh) | 2022-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11044670B2 (en) | Unscheduled peer power save mode | |
CN110557781B (zh) | 网络连接的控制方法、终端及存储介质 | |
US9838864B2 (en) | Power efficient availability advertising and discovery | |
RU2619920C2 (ru) | Системы и способы передачи сообщений об изменении конфигурации между точкой доступа и станцией | |
US9226135B2 (en) | Communication device, communication method, and computer program for causing computer to execute communication method | |
EP2069953B1 (en) | Ad-hoc network power save system and method | |
EP2915377B1 (en) | Methods for power saving in wireless communication devices | |
US8885530B2 (en) | Method and system for power management in an ad hoc network | |
US20090268652A1 (en) | Power management mode aware mesh beacon collision avoidance and information update mechanism | |
JP2004234667A (ja) | ネットワークインターフェースモジュール内の電力を管理するための方法および装置 | |
KR100705577B1 (ko) | ad-hoc 네트워크에서의 패킷 스케줄링 방법 및 그장치 | |
JP2017507586A (ja) | ウェイクアップメッセージを使用する近隣認識ネットワーク(nan)の発見 | |
US9980207B2 (en) | Delayed response to requesting device | |
CN104604304A (zh) | 用于无线接入点及多跳中继器的电力节约设备和方法 | |
KR20090102702A (ko) | 통신 장치 및 통신 방법, 및 컴퓨터 프로그램 | |
JP2009526438A (ja) | 節電システムおよび方法 | |
EP2950558B1 (en) | Method and apparatus for initiating a high-power connection via a low-power interface | |
KR20090115479A (ko) | 무선 근거리 통신망에서 데이터 전송 방법 및 장치 및 이를위한 시스템 | |
JP2012209933A (ja) | 低電力WiFi用のPSポーリングの向上 | |
US8769108B2 (en) | Peer-to-peer negotiation in a wireless network | |
JP2016517660A (ja) | 支援されたエネルギー効率の良いピアツーピア(p2p)通信 | |
US20240196332A1 (en) | Wireless communication method and related apparatus | |
US20200221383A1 (en) | Method and apparatus for providing service by using bluetooth low energy technology | |
WO2022257637A1 (zh) | 监听无线链路的方法及装置、无线终端、计算机存储介质 | |
US9173170B2 (en) | Apparatus and method for asynchronous peer-to-peer discovery |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22819239 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22819239 Country of ref document: EP Kind code of ref document: A1 |