This application relates to the wireless communications field, and in particular, to a wireless communication method and a wireless communications device.
Short-range wireless communications technologies (for example, IEEE802.11a, IEEE802.11b, BLUETOOTH, BLUETOOTH low energy (BLE), or a cellular telecommunications standard such as 3rd Generation Partnership Project (3GPP) Long-Term Evolution (LTE) and LTE evolution (LTE-A)) become increasingly popular in applications that are used to implement communication between a fixed device and a portable device, and can provide a large quantity of users with communication that has low energy consumption, low costs, and high bandwidth. The characteristic of low energy consumption is gradually and widely discussed in the industry. Especially for a development requirement of the Internet of things (IoT) based on a short-range wireless communications technology, the characteristic of low energy consumption is particularly important. In this context, a sleep mechanism of a communications device is widely used to enhance overall energy consumption of a short-range wireless network.
For example, in a wireless local area network (WLAN), one access point (AP) may connect the wireless network and one or more stations (STA) associated with the access point, and the AP and the STAs associated with the AP form a basic service set (BSS). In consideration that the STA does not need to maintain complex communication with the AP at all time, the STA is designed to be enabled to sleep, and a STA in a sleep may be woken up by an associated AP. Therefore, the STA in the sleep may retain only a simple communication function of receiving a wake-up instruction, and most components used for a complex communication function may run with extremely low energy consumption in a sleep. Therefore, overall energy consumption is greatly reduced.
However, the foregoing sleep mechanism has a disadvantage that the STA is easily disconnected. If a STA moves, in a sleep period, out of a communication range of an AP associated with the STA, a wake-up instruction sent by the AP cannot arrive at the STA. In addition, because no destination address of a wake-up instruction sent by another AP points to the STA, the STA cannot be woken up. Therefore, the STA is always in a sleep state in which the STA cannot be woken up and cannot be discovered by any other AP. In other words, the STA is always in a disconnected state in which the STA is out of all BSSs.
This application provides a wireless communication method and a wireless communications device in order to overcome a disadvantage that a station is easily disconnected in a sleep mechanism of a related wireless communications system.
According to a first aspect, this application provides a wireless communication method applied to a station, including receiving a downlink control signal from an access point associated with the station, where the downlink control signal includes data of maximum allowable sleep duration corresponding to the station, and waking up the station when sleep duration of the station reaches the maximum allowable sleep duration.
According to the wireless communication method provided in this embodiment, the data of the maximum allowable sleep duration can be transmitted to the station using the downlink control signal such that the station ends a sleep when the sleep duration reaches the maximum allowable sleep duration, and the station can be prevented from being always in a sleep state in which the station cannot be woken up and cannot be discovered by any other access point. Therefore, the wireless communication method can be used to reduce or avoid occurrence of a case in which the station is disconnected, to improve reliability of a wireless communications system.
In a possible implementation, the receiving a downlink control signal from an access point associated with the station includes receiving a handover management signal from a first access point when the station is not in a sleep, where the first access point is an access point that is associated with the station at a current moment, the handover management signal includes an identifier of a target access point and the data of the maximum allowable sleep duration corresponding to the station, and the handover management signal is used to instruct the station to change the associated access point to the target access point.
In this embodiment, a process of changing an association relationship based on the handover management signal can be used to change a case in which the station passively determines whether the station moves out of a service range to a case in which the station is actively associated with the target access point. Therefore, time, energy, and communication resources that are consumed when the station repeatedly communicates with the first access point can be saved, and an access point that is associated with the station after the change can be controlled.
In a possible implementation, the wireless communication method further includes, after the handover management signal is received, sending a first association request signal based on the identifier of the target access point in the handover management signal in order to attempt to associate the station with the target access point, and when the attempt to associate the station with the target access point fails and a preset first retry condition is met, controlling the station to start a sleep in order to attempt again to associate the station with the target access point after the station ends the sleep.
In this embodiment, in a range of a quantity of allowable re-attempts that is limited by the first retry condition, the station falls into a sleep each time an attempt fails. This better helps to reduce energy consumption in comparison with a case of consecutive re-attempts.
In a possible implementation, the wireless communication method further includes receiving a wake-up signal when the station is in the sleep, and in the sleep that is of the station and that is started through controlling performed when the preset first retry condition is met, when any wake-up signal from the target access point is received, waking up the station.
In this embodiment, listening, in the sleep, to the wake-up signal from the target access point can help to shorten duration from a moment at which the station enters a service range of the target access point to a moment at which the station is associated with the target access point. This not only helps the station to start to perform uplink data transmission earlier, but also helps to avoid an association failure caused when the station passes, in the sleep, through the service range of the target access point.
In a possible implementation, the wireless communication method further includes sending a second association request signal when the preset first retry condition is not met in order to attempt to associate the station with the first access point, and when the attempt to associate the station with the first access point fails and a preset second retry condition is met, controlling the station to start a sleep in order to attempt again to associate the station with the first access point after the station ends the sleep.
In this embodiment, in a range of a quantity of allowable re-attempts that is limited by the second retry condition, the station falls into a sleep each time an attempt fails. This better helps to reduce energy consumption in comparison with a case of consecutive re-attempts.
In a possible implementation, the wireless communication method further includes receiving the wake-up signal when the station is in the sleep, and in the sleep that is of the station and that is started through controlling performed when the preset second retry condition is met, when any wake-up signal from the first access point is received, waking up the station.
In this embodiment, listening, in the sleep, to the wake-up signal from the first access point can help to shorten duration from a moment at which the station enters a service range of the first access point to a moment at which the station is associated with the first access point. This not only helps the station to start to perform uplink data transmission earlier, but also helps to avoid an association failure caused when the station passes, in the sleep, through the service range of the first access point.
In a possible implementation, the wireless communication method further includes, when the preset second retry condition is not met, controlling the station to start a sleep, receiving the wake-up signal when the station is in the sleep, and in the sleep that is of the station and that is started through controlling performed when the preset second retry condition is not met, when any wake-up signal from any access point is received, waking up the station in order to attempt to associate the station with the access point.
In this embodiment, the station can repeatedly attempt to be associated with any surrounding access point, and properly enter a sleep state to reduce power consumption.
In a possible implementation, the wireless communication method further includes sending an acknowledgment signal to the first access point after the handover management signal is received such that a disassociation process is completed between the station and the first access point.
In this embodiment, a disassociation from the first access point is completed when the handover management signal is received, to avoid a conflict between association relationships between the station and access points.
In a possible implementation, the waking up the station when sleep duration of the station reaches the maximum allowable sleep duration includes, before an operation procedure performed in response to the handover management signal ends, waking up the station when sleep duration of any sleep of the station reaches the maximum allowable sleep duration in the handover management signal.
In this embodiment, before the operation procedure performed in response to the handover management signal ends, the operation of waking up the station is performed when the sleep duration of any sleep of the station reaches the maximum allowable sleep duration in the handover management signal. Therefore, it can be ensured that in any case, the station is not always in a disconnected state in which the station is out of all BSSs. That is, a disadvantage that the station is easily disconnected in a sleep mechanism of a related wireless communications system can be overcome.
In a possible implementation, the receiving a downlink control signal from an access point associated with the station includes receiving a configuration update signal from the access point associated with the station, to update, based on data of maximum allowable sleep duration in the configuration update signal, the maximum allowable sleep duration stored by the station.
In this embodiment, an access point controls maximum sleep duration that is of a station associated with the access point and that is in each time period (between two adjacent moments at which the configuration update signals are received), to control and manage maximum allowable sleep duration of each station.
According to a second aspect, this application provides a wireless communication method applied to an access point, including sending a downlink control signal to a station associated with the access point, where the downlink control signal includes data of maximum allowable sleep duration corresponding to the station such that the station ends a sleep when sleep duration reaches the maximum allowable sleep duration.
In a possible implementation, the sending a downlink control signal to a station associated with the access point includes sending a handover management signal to the station, where the handover management signal includes an identifier of a target access point and the data of the maximum allowable sleep duration corresponding to the station, and the handover management signal is used to instruct the station to change the associated access point to the target access point.
In a possible implementation, the wireless communication method further includes receiving an acknowledgment signal from the station after the handover management signal is sent to the station such that a disassociation process is completed between the access point and the station.
In a possible implementation, the sending a downlink control signal to a station associated with the access point includes sending a configuration update signal to the station associated with the access point such that the station updates, based on data of maximum allowable sleep duration in the configuration update signal, the maximum allowable sleep duration stored by the station.
According to a third aspect, this application provides a wireless communications device applied to a station, including a first receiving unit configured to receive a downlink control signal from an access point associated with the station, where the downlink control signal includes data of maximum allowable sleep duration corresponding to the station, and a first wake-up unit configured to wake up the station when sleep duration of the station reaches the maximum allowable sleep duration.
In a first possible implementation, the first receiving unit includes a first receiving module configured to receive a handover management signal from a first access point when the station is not in a sleep, where the first access point is an access point that is associated with the station at a current moment, the handover management signal includes an identifier of a target access point and the data of the maximum allowable sleep duration corresponding to the station, and the handover management signal is used to instruct the station to change the associated access point to the target access point.
In a possible implementation, the wireless communications device further includes a first sending unit configured to, after the handover management signal is received, send a first association request signal based on the identifier of the target access point in the handover management signal in order to attempt to associate the station with the target access point, and a first control unit configured to, when the attempt to associate the station with the target access point fails and a preset first retry condition is met, control the station to start a sleep in order to attempt again to associate the station with the target access point after the station ends the sleep.
In a possible implementation, the wireless communications device further includes a second receiving unit is configured to receive a wake-up signal when the station is in the sleep, and a second wake-up unit configured to, in the sleep that is of the station and that is started through controlling performed when the preset first retry condition is met, when any wake-up signal from the target access point is received, wake up the station.
In a possible implementation, the wireless communications device further includes a second sending unit configured to send a second association request signal when the preset first retry condition is not met in order to attempt to associate the station with the first access point, and a second control unit configured to, when the attempt to associate the station with the first access point fails and a preset second retry condition is met, control the station to start a sleep in order to attempt again to associate the station with the first access point after the station ends the sleep.
In a possible implementation, the wireless communications device further includes a third wake-up unit, where the second receiving unit is configured to receive the wake-up signal when the station is in the sleep, and the third wake-up unit is configured to, in the sleep that is of the station and that is started through controlling performed when the preset second retry condition is met, when any wake-up signal from the first access point is received, wake up the station.
In a possible implementation, the wireless communications device further includes a third control unit and a fourth wake-up unit, where the third control unit is configured to, when the preset second retry condition is not met, control the station to start a sleep, the second receiving unit is configured to receive the wake-up signal when the station is in the sleep, and the fourth wake-up unit is configured to, in the sleep that is of the station and that is started through controlling performed when the preset second retry condition is not met, when any wake-up signal from any access point is received, wake up the station in order to attempt to associate the station with the access point.
In a possible implementation, the wireless communications device further includes a third sending unit configured to send an acknowledgment signal to the first access point after the handover management signal is received such that a disassociation process is completed between the station and the first access point.
In a possible implementation, the first wake-up unit is further configured to, before an operation procedure performed in response to the handover management signal ends, wake up the station when sleep duration of any sleep of the station reaches the maximum allowable sleep duration in the handover management signal.
In a first possible implementation, the first receiving unit includes a second receiving module configured to receive a configuration update signal from the access point associated with the station, to update, based on data of maximum allowable sleep duration in the configuration update signal, the maximum allowable sleep duration stored by the station.
According to a fourth aspect, this application provides a wireless communications device applied to a station, including a sending unit configured to send a downlink control signal to a station associated with the access point, where the downlink control signal includes data of maximum allowable sleep duration corresponding to the station such that the station ends a sleep when sleep duration reaches the maximum allowable sleep duration.
In a first possible implementation, the sending unit includes a first sending module configured to send a handover management signal to the station, where the handover management signal includes an identifier of a target access point and the data of the maximum allowable sleep duration corresponding to the station, and the handover management signal is used to instruct the station to change the associated access point to the target access point.
In a possible implementation, the wireless communications device further includes a receiving unit configured to receive an acknowledgment signal from the station after the handover management signal is sent to the station such that a disassociation process is completed between the access point and the station.
In a first possible implementation, the sending unit includes a second sending module configured to send a configuration update signal to the station associated with the access point such that the station updates, based on data of maximum allowable sleep duration in the configuration update signal, the maximum allowable sleep duration stored by the station.
According to the wireless communication method and the wireless communications device provided in the embodiments of this application, the data of the maximum allowable sleep duration can be transmitted to the station using the downlink control signal such that the station ends a sleep when the sleep duration reaches the maximum allowable sleep duration, and the station can be prevented from being always in a sleep state in which the station cannot be woken up and cannot be discovered by any other access point. Therefore, this application can be used to reduce or avoid occurrence of a case in which the station is disconnected, to improve reliability of a wireless communications system.
To make the objectives, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings. The described embodiments are merely a part rather than all of the embodiments of this application.
It should be understood that in the embodiments of this application, a station (Station, STA) may be various user equipments (UE), terminals, mobile stations (MS), mobile terminals (Mobile Terminal), sensor nodes, wireless communications chips, or the like that support a wireless communications protocol such as a WI-FI communications protocol. In some examples, the station may communicate with one or more core networks through a radio access network (RAN). For example, the station may be a mobile phone (or referred to as a “cellular” phone), a wireless communications device having a processor, or the like. For example, the station may alternatively be a portable, pocket-sized, handheld, computer built-in, or in-vehicle mobile apparatus, which exchanges voice and/or data with the RAN. Optionally, the STA may support at least one of a plurality of WLAN standards such as the 802.11ax standard, 802.11ac, 802.11n, 802.11g, 802.11b, 802.11a, and 802.11ba.
It should be further understood that in the embodiments of this application, an AP provides an access service for a station. The access point may be an access point in WI-FI, a base transceiver station (BTS) in global system for mobile communications (GSM) or code division multiple access (CDMA), a NodeB in wideband CDMA (WCDMA), an evolved NodeB (eNB) in LTE, or a sink node in a wireless sensor network, and the access point may be not limited thereto. Optionally, the AP may support at least one of a plurality of WLAN standards such as the 802.11ax standard, 802.11ac, 802.11n, 802.11g, 802.11b, and 802.11a. In addition, in an optional example, the AP needs to support 802.11ba and/or another wake-up/receiving function standard.
Content of the embodiments of this application mainly relates to the station and the access point. The access point is usually configured to connect a wireless network and one or more STA associated with the access point. The access point and the STA associated with the access point may form a BSS. Performance of the access point may be enhanced by monitoring one or more indication parameters of the BSS and adjusting one or more access point operation parameters based on the one or more indication parameters of the BSS. For example, the indication parameter of the BSS may include but is not limited to a service volume of data flowing through the access point, a degree that a related station approaches the access point, an activity level of the BSS, a response of a related station to data that is destined for the related station and that is buffered by the access point, and/or the like. For example, the access point operation parameter may include but is not limited to a clock frequency of the access point, transmit power of the access point, an operation mode of the access point, an occupation rate of a buffer in which the access point is configured to buffer data sent to a related station, and/or the like.
A network architecture and a service scenario described in the embodiments of this application are intended to describe the technical solutions in the embodiments of this application more clearly, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. A person of ordinary skill in the art may learn that with evolution of the network architecture and emergence of new service scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
The access points AP 1 and AP 2 may be connected to a distributed system. The distributed system may be a wired LAN, or the like, and is configured to connect access points such as the access points AP 1, and AP 2. It is not shown in
It may be understood that it is expected herein that energy consumption of the WUR in a listening/receiving state is far less than working energy consumption of the MR (for example, the former is 0.1 to 1 percent (%) of the latter, or listening/receiving energy consumption of the WUR is less than 100 microwatts (μW)). Therefore, a circuit structure and/or a frame structure designed for the WUR may be configured to be simple or have low complexity. For example, the WUR may include only an energy detection (energy detect) part and a RF part. Therefore, the 3 cannot demodulate some complex modulation schemes. Therefore, an easy-to-implement binary on-off-keying (OOK) modulation scheme, binary phase shift keying (BPSK), or frequency shift keying (FSK) may be used for the wake-up frame.
As shown in
101. Receive a downlink control signal from an access point associated with the station, where the downlink control signal includes data of maximum allowable sleep duration corresponding to the station.
102. Wake up the station when sleep duration of the station reaches the maximum allowable sleep duration.
It should be noted that the maximum allowable sleep duration may be configured to be static. For example, the downlink control signal is sent by the access point when the station is associated with the access point, configuration data included in the downlink control signal is recorded in the station, and the maximum allowable sleep duration is one piece of the configuration data. In addition, the maximum allowable sleep duration may be alternatively configured to be dynamic. For example, the downlink control signal is sent by the access point before the station starts a sleep, and the station is woken up when sleep duration of the sleep reaches the maximum allowable sleep duration included in the downlink control signal. In addition, the maximum allowable sleep duration may be alternatively recorded in the station as configuration data, and then is updated based on the downlink control signal sent by the access point. Alternatively, the maximum allowable sleep duration may be configured to have a validity period, and the station is woken up only when sleep duration in the validity period reaches the maximum allowable sleep duration. In an implementation, the receiving a downlink control signal from an access point associated with the station may further include receiving a configuration update signal from the access point associated with the station, to update, based on data of maximum allowable sleep duration in the configuration update signal, the maximum allowable sleep duration stored by the station. For example, a component that has a function of waking up the station stores, in an overwrite manner, data of maximum allowable sleep duration in a configuration update signal received each time such that the component can wake up the station based on the stored data of the maximum allowable sleep duration when the sleep duration of the station reaches the maximum allowable sleep duration. In this way, an access point may control maximum sleep duration that is of a station associated with the access point and that is in each time period (between two adjacent moments at which configuration update signals are received), to control and manage maximum allowable sleep duration of each station. It may be understood that a related setting manner of the downlink control signal and the maximum allowable sleep duration may be adaptively set based on an application scenario, and may be not limited to the foregoing manners.
It can be learned that according to the wireless communication method applied to a station provided in this embodiment of this application, the data of the maximum allowable sleep duration can be transmitted to the station using the downlink control signal such that the station ends a sleep when the sleep duration reaches the maximum allowable sleep duration, and the station can be prevented from being always in a sleep state in which the station cannot be woken up and cannot be discovered by any other access point. Therefore, this application can be used to reduce or avoid occurrence of a case in which the station is disconnected, to improve reliability of a wireless communications system, and especially help to implement an IoT architecture in which there is low energy consumption.
Referring to the foregoing application scenario, the wireless communication method applied to a station shown in
201. Receive a handover management signal.
For example, the station receives a handover management signal from a first access point when the station is not in a sleep. The first access point is an access point that is associated with the station at a current moment, the handover management signal includes an identifier of a target access point and data of maximum allowable sleep duration corresponding to the station, and the handover management signal is used to instruct the station to change the associated access point to the target access point.
In an example, when the station STA 1 is not in a sleep, a station AP 2 associated with the station STA 1 generates and sends a handover management frame. A destination address of the handover management frame points to the station STA 1, and carries an identifier or address information (for example, an Internet Protocol (IP) address or a media access control (MAC) address) of the access point AP 4, and data of maximum allowable sleep duration (for example, data corresponding to maximum allowable sleep duration 600 seconds (s)) corresponding to the station STA 1. In an architecture shown in
It should be noted that, although an example in which there is only one target access point, namely, the access point AP 4 is used herein, the handover management signal may include identifiers of more than one access point. That is, there may be more than one target access point. In addition, when there is more than one target access point, priority information of target access points may be additionally configured in the handover management signals, and is used by the station to determine an association priority order of access points that can be associated.
It can be learned that based on a related design of the handover management signals, the station has a necessary condition to be associated with the target access point such that the station and the access point can cooperate with each other to change an association relationship. In a comparison example, the station STA 1 and the access point AP 2 periodically receive and send a signal, to determine whether the station STA 1 is in the service range of the access point AP 2. When the station STA 1 moves out of the service range of the access point AP 2, after a condition is met, for example, a time of waiting, by the STA 1, for a response frame from the access point AP 2 expires, the station STA 1 determines that the STA 1 has moved out of the service range of access point AP 2. Therefore, the STA 1 attempts to be associated with another neighboring access point. For example, the station STA 1 in
202. Send a first association request signal.
For example, after the handover management signal is received, the first association request signal is sent based on the identifier of the target access point in the handover management signal in order to attempt to associate the station with the target access point.
In an example, after the station STA 1 receives a handover management signal from the access point AP 2 using the MR, the station STA 1 sends, using the MR, an association request frame whose destination address points to the access point AP 4. In an example implementation, the association request frame includes all data used by the access point AP 4 to complete an association with the station STA 1. In another example implementation, the association request frame includes only an identifier of the station STA 1, and other data has been provided by the access point AP 2 for the access point AP 4. The foregoing two implementations may be combined with each other (for example, some data is selected based on a requirement and is added to the association request frame, and the other data is provided for the access point AP 4 in another manner). This may not be limited thereto. After sending the association request frame, the station STA 1 may wait for a response frame for the association request frame for a preset period of time.
Optionally, to avoid an association conflict that occurs because a time period in which the station STA 1 is associated with the access point AP 2 overlaps a time period in which the station STA 1 is associated with the access point AP 4, the station STA 1 may complete a disassociation from the access point AP 2 before sending the first association request signal. For example, an operation may be further included between step 201 and step 202 such as sending an acknowledgment signal to the first access point after the handover management signal is received such that a disassociation process is completed between the station and the first access point. In an example, the station STA 1 sends, for the received handover management frame, a response frame (ACK) that is used as an acknowledgment signal such that the access point AP 2 performs a disassociation operation with the station STA 1 when receiving the response frame. Optionally, when the access point AP 2 completes the disassociation operation with the station STA 1, the access point AP 2 may send a notification signal to the station STA 1 such that the station STA 1 starts to perform an association operation with the target access point. It should be noted that a time for disassociating the station with the first access point after the station receives the handover management signal may be selected based on a requirement, and may be not limited to the foregoing manners.
203. When the attempt to associate the station with the target access point succeeds, the procedure ends.
In an example, when the station STA 1 sends the association request frame, the station STA 1 is in the service range of the access point AP 4. Therefore, the access point AP 4 returns a response frame for the received association request frame. In a possible scenario, the access point AP 4 establishes an association relationship with the station STA 1 according to a station association procedure, and therefore, the station STA 1 completes the association relationship change process. Therefore, the procedure ends.
However, it may be understood that a moment at which the first association request signal is sent for a first time is usually a moment at which the handover management signal is just received. In this case, the station probably does not enter a service range of the target access point. Consequently, the station does not receive a response to the first association request signal, and cannot be associated with the target access point either. In an example, a time of waiting, by the station STA 1, for the response frame for the association request frame expires, and therefore, the STA 1 determines that the attempt to associate the station with the target access point fails, and continues to perform step 204. It should be noted that in addition to a case in which the time of waiting, by the STA 1, for the response frame for the association request frame expires, a condition for determining that the attempt to associate the station with the target access point fails may alternatively or additionally include another condition. For example, no signal (for example, no wake-up signal) sent by the target access point is received in a period of time, and/or a signal that is used to enable the station to learn that the station does not enter the service range of the target access point is received. This may be not limited thereto.
204. Determine whether a first retry condition is met at a current moment.
For example, when the attempt to associate the station with the target access point fails and the preset first retry condition is met, step 205 (that is, the attempt is made again to associate the station with the target access point) is performed. When the preset first retry condition is not met, step 209 (that is, no attempt is made any longer to associate the station with the target access point) is performed. That is, the first retry condition is used to determine whether to attempt again to associate the station with the target access point in order to avoid a case in which the attempt is made repeatedly without a limitation when the station can be never associated with the target access point, and consequently, the station is lost. In an example, the first retry condition may be a logical expression in which several sub-conditions are connected using “and” and/or “or”. For example, the first retry condition may be specifically that a quantity of times of repeatedly sending the first association request signal is less than A1, a time between the current moment and the moment at which the handover management signal is received is less than A2, and no response for rejecting establishment of an association relationship is received from the target access point. Herein, A1 and A2 are preconfigured parameters (for example, A1 and/or A2 may be included in the handover management signal or any other downlink control signal). With reference to a specific application scenario, the first retry condition in another form may be obtained. Therefore, the first retry condition may be not limited to the foregoing example.
205. When the first retry condition is met, control the station to start a sleep.
For example, when the attempt to associate the station with the target access point fails and the preset first retry condition is met, the station is controlled to start a sleep in order to attempt again to associate the station with the target access point after the station ends the sleep. It can be learned that in a range of a quantity of allowable re-attempts that is limited by the first retry condition, the station falls into a sleep each time an attempt fails. This better helps to reduce energy consumption in comparison with a case of consecutive re-attempts.
206. When the station is in the sleep, determine whether any wake-up signal from the target access point is received.
For example, when the station is in the sleep, the station receives the wake-up signal, and in the sleep that is of the station and that is started through controlling performed when the preset first retry condition is met, when any wake-up signal from the target access point is received, step 208 is performed to wake up the station, and then step 202 is performed to attempt again to associate the station with the target access point. In an example, in a sleep started by the station STA 1 when the first retry condition is met, the STA 1 receives any wake-up frame from the access point AP 4 using a WUR. It may be understood that in this case, the station STA 1 does not establish the association relationship with the access point AP 4. Therefore, even if the station STA 1 receives a wake-up frame from the access point AP 4, a destination address of the wake-up frame does not point to the station STA 1. However, if the station STA 1 can receive the wake-up frame from the access point AP 4, the station STA 1 may determine that the station STA 1 has entered the service range of the access point AP 4. Therefore, the WUR is configured to wake up the MR when receiving a wake-up frame with any content from the access point AP 4. This helps to prevent the station STA 1 from missing, in a sleep, the service range of the access point AP 4.
207. When the station is in the sleep, determine whether sleep duration reaches the maximum allowable sleep duration.
For example, in the sleep that is of the station and that is started through controlling performed when the preset first retry condition is met, when the sleep duration reaches the maximum allowable sleep duration, step 208 is performed to wake up the station, and then step 202 is performed to attempt again to associate the station with the target access point. In an example, when the time of waiting, by the STA 1, for the response frame for the association request frame expires and the STA 1 determines that the first retry condition is met, the station STA 1 controls the MR to start a sleep, and enables the WUR to wake up the MR when sleep duration of the sleep reaches the maximum allowable sleep duration (or controls the MR to wake up automatically when the sleep duration of the sleep reaches the maximum allowable sleep duration, or sets, based on the maximum allowable sleep duration, a timer to trigger an operation of waking up the MR, where this may not be limited thereto).
208. Wake up the station when any wake-up signal from the target access point is received or the sleep duration reaches the maximum allowable sleep duration.
Referring to
With reference to step 202 to step 208, it can be learned that before the station is successfully associated with the target access point or the first retry condition can be met, the station always performs the processes in step 202 to step 208 cyclically. This forms a first phase after the station receives the handover management signal. In the first phase, the station repeatedly attempts to be associated with the target access point, and properly enters the sleep state to reduce power consumption. Referring to the scenario shown in
In an example, the station STA 1 enters the service range of the AP 4 when the STA 1 is in the sleep state. In this case, the access point AP 4 sends a wake-up frame to another station through broadcasting, and the wake-up frame is obtained by the WUR of the station STA 1 through listening. Therefore, the WUR wakes up the MR of the station STA 1 such that the MR sends the association request frame to establish an association with the access point AP 4. In a comparison example, the station STA 1 enters the service range of the AP 4 when the STA 1 is in the sleep state, but the WUR does not listen to the wake-up frame from the access point AP 4. Therefore, the station STA 1 keeps a sleep until the maximum allowable sleep duration is reached, and then attempts to be associated with the access point AP 4. It is easily learned, through comparison, that compared with the comparison example, the foregoing example may help to shorten duration from a moment at which the station enters the service range of the target access point to a moment at which the station is associated with the target access point. This not only helps the station to start to perform uplink data transmission earlier, but also helps to avoid an association failure caused because the station passes, in a sleep, through the service range of the target access point.
Referring to
209. Send a second association request signal when the first retry condition is not met.
For example, the second association request signal is sent when the preset first retry condition is not met in order to attempt to associate the station with the first access point.
In an example, when the station STA 1 is not associated with the target access point and the first retry condition is no longer met, the station STA 1 sends, using the MR, an association request frame whose destination address points to the access point AP 2. In an example implementation, the association request frame includes all data used by the access point AP 2 to complete an association with the station STA 1. In another example implementation, the association request frame includes only the identifier of the station STA 1, and other data is stored or obtained by the access point AP 2 in advance. The foregoing two implementations may be combined with each other (for example, some data is selected based on a requirement and is added to the association request frame, and the other data is stored or obtained by the access point AP 2 in advance). This may not be limited thereto. After sending the association request frame, the station STA 1 may wait for a response frame for the association request frame for a preset period of time.
210. When the attempt to associate the station with the first access point succeeds, the procedure ends.
In an example, when the station STA 1 sends the association request frame that is used as the second association request signal, the station STA 1 is in the service range of the access point AP 2. Therefore, the access point AP 2 returns a response frame for the received association request frame. In a possible scenario, the access point AP 2 establishes an association relationship with the station STA 1 according to a station association procedure, and therefore, the station STA 1 completes the association relationship change process. Therefore, the procedure ends.
However, it may be understood that a moment at which the second association request signal is sent for a first time is usually a moment that is a long time later after the handover management signal is received. In this case, the station probably has moved out of a service range of the first access point. Consequently, the station does not receive a response to the second association request signal, and cannot be associated with the first access point either. In an example, a time of waiting, by the station, for the response frame for the association request frame expires, and therefore, the station determines that the attempt to associate the station with the first access point fails, and continues to perform step 211. It should be noted that in addition to a case in which the time of waiting for the response frame for the association request frame expires, a condition for determining that the attempt to associate the station with the first access point fails may alternatively or additionally include another condition. For example, no signal (for example, no wake-up signal) sent by the first access point is received in a period of time, and/or a signal that is used to enable the station to learn that the station does not enter the service range of the first access point is received. This may be not limited thereto.
211. Determine whether a second retry condition is met at a current moment.
For example, when the attempt to associate the station with the first access point fails and the preset second retry condition is met, step 212 (that is, the attempt is made again to associate the station with the first access point) is performed. When the preset first retry condition is not met, step 216 (that is, no attempt is made any longer to associate the station with the first access point) is performed. That is, the second retry condition is used to determine whether to attempt again to associate the station with the first access point in order to avoid a case in which the attempt is made repeatedly without a limitation when the station cannot be associated with the first access point, and consequently, the station is lost. In an example, the second retry condition may be a logical expression in which several sub-conditions are connected using “and” and/or “or”. For example, the second retry condition may be specifically that a quantity of times of repeatedly sending the second association request signal is less than B1, a time between the current moment and the moment at which the second association request signal is sent for the first time is less than B2, and no response for rejecting establishment of an association relationship is received from the first access point. Herein, B1 and B2 are preconfigured parameters (for example, B1 and/or B2 may be included in the handover management signal or any other downlink control signal). With reference to a specific application scenario, the second retry condition in another form may be obtained. Therefore, the second retry condition may be not limited to the foregoing example.
212. When the second retry condition is met, control the station to start a sleep.
For example, when the attempt to associate the station with the first access point fails and the preset second retry condition is met, the station is controlled to start a sleep in order to attempt again to associate the station with the first access point after the station ends the sleep. It can be learned that in a range of a quantity of allowable re-attempts that is limited by the second retry condition, the station falls into a sleep each time an attempt fails. This better helps to reduce energy consumption in comparison with a case of consecutive re-attempts.
213. When the station is in the sleep, determine whether any wake-up signal from the first access point is received.
For example, when the station is in the sleep, the station receives the wake-up signal, and in the sleep that is of the station and that is started through controlling performed when the preset second retry condition is met, when any wake-up signal from the first access point is received, step 215 is performed to wake up the station, and then step 209 is performed to attempt again to associate the station with the first access point. In an example, in a sleep started by the station STA 1 when the second retry condition is met, the STA 1 receives any wake-up frame from the access point AP 2 using a WUR. It may be understood that in this case, the station STA 1 does not establish the association relationship with the access point AP 2. Therefore, even if the station STA 1 receives a wake-up frame from the access point AP 2, a destination address of the wake-up frame may not point to the station STA 1. However, if the station STA 1 can receive the wake-up frame from the access point AP 2, the station STA 1 may determine that the station STA 1 has entered the service range of the access point AP 2. Therefore, the WUR is configured to wake up the MR when receiving a wake-up frame with any content from the access point AP 2. This helps to prevent the station STA 1 from missing, in a sleep, the service range of the access point AP 2.
214. When the station is in the sleep, determine whether sleep duration reaches the maximum allowable sleep duration.
For example, in the sleep that is of the station and that is started through controlling performed when the preset second retry condition is met, when the sleep duration reaches the maximum allowable sleep duration, step 215 is performed to wake up the station, and then step 209 is performed to attempt again to associate the station with the first access point. In an example, when the time of waiting, by the STA 1, for the response frame for the association request frame expires and the STA 1 determines that the second retry condition is met, the station STA 1 controls the MR to start a sleep, and enables the WUR to wake up the MR when sleep duration of the sleep reaches the maximum allowable sleep duration (or controls the MR to wake up automatically when the sleep duration of the sleep reaches the maximum allowable sleep duration, or sets, based on the maximum allowable sleep duration, a timer to trigger an operation of waking up the MR, where this may not be limited thereto).
215. Wake up the station when any wake-up signal from the first access point is received or the sleep duration reaches the maximum allowable sleep duration.
Referring to
With reference to step 209 to step 215, it can be learned that before the station is successfully associated with the first access point or the second retry condition can be met, the station always performs the processes in step 209 to step 215 cyclically. This forms a second phase after the station receives the handover management signal. In the second phase, the station repeatedly attempts to be associated with the first access point, and properly enters the sleep state to reduce power consumption. Referring to the scenario shown in
In an example, the station STA 1 enters the service range of the AP 2 when the STA 1 is in the sleep state. In this case, the access point AP 2 sends a wake-up frame to another station through broadcasting, and the wake-up frame is obtained by the WUR of the station STA 1 through listening. Therefore, the WUR wakes up the MR of the station STA 1 such that the MR sends the association request frame to establish an association with the access point AP 2. In a comparison example, the station STA 1 enters the service range of the AP 2 when the STA 1 is in the sleep state, but the WUR does not listen to the wake-up frame from the access point AP 2. Therefore, the station STA 1 keeps a sleep until the maximum allowable sleep duration is reached, and then attempts to be associated with the access point AP 2. It is easily learned, through comparison, that compared with the comparison example, the foregoing example may help to shorten duration from a moment at which the station enters the service range of the first access point to a moment at which the station is associated with the first access point. This not only helps the station to start to perform uplink data transmission earlier, but also helps to avoid an association failure caused because the station passes, in a sleep, through the service range of the first access point.
Referring to
216. When the second retry condition is not met, control the station to start a sleep.
217. Determine whether any wake-up signal from any access point is received.
218. When any wake-up signal from any access point is received, wake up the station, and attempt to associate the station with the access point.
For example, when the station is not associated with the target access point or the first access point, and the second retry condition is not met, the station is controlled to start a sleep, and any wake-up signal from any access point is received in the sleep. In the sleep that is of the station and that is started through controlling performed when the preset second retry condition is not met, when any wake-up signal from any access point is received, the station is woken up in order to attempt to associate the station with the access point.
In one example, the station STA 1 listens to wake-up frames from all access points in order to attempt to be associated with any surrounding access point. That is, the MR of the station STA 1 always remains in the sleep state, and the WUR listens to the wake-up frames from all the access points. When the WUR receives a wake-up frame sent by any access point (for example, when the WUR receives a wake-up frame sent by an access point AP 3 to another station in
219. When the station is in the sleep, determine whether sleep duration reaches the maximum allowable sleep duration.
220. Wake up the station when the sleep duration reaches the maximum allowable sleep duration.
For example, in the sleep that is of the station and that is started through controlling performed when the preset second retry condition is met, when the sleep duration reaches the maximum allowable sleep duration, step 220 is performed to wake up the station, then step 216 is performed again to start a sleep again, the processes in step 217 and step 218 continue to be performed to listen to the wake-up signal, and the foregoing process is repeated before any wake-up signal from any access point is received. In this way, the station may remain in the sleep state in a large amount of time in which the station attempts to be associated with any surrounding access point, thereby reducing energy consumption.
In still another implementation, when the station cannot be associated with any known access point, the station may scan access points surrounding the station to attempt to associate the station with a surrounding access point. In an example, the station STA 1 scans surrounding access points using the MR (for example, receives any signal from a surrounding access point within a preset period of time, or sends a signal through broadcasting such that all access points that can receive the signal return response signals, which may be not limited thereto), and then selects an access point from the access points obtained through scanning, to send the association request to the access point. Parameters based on which selection is performed may include but are not limited to a signal strength indicator (Received Signal Strength Indication), a resource occupation rate of an access point at a current moment, a service range supported by the access point, and the like (the access points obtained through scanning may also be sorted based on these parameters in order to attempt to sequentially associate the STA 1 with the access points in a sorting order). When no surrounding access point is obtained through scanning, the processes in step 216 to step 220 may be performed to listen, in a sleep, to the wake-up signals from all the access points, and when the sleep ends, the STA 1 scans the surrounding access points again to select one access point, to send the association request to the access point. In comparison with the previous implementation, scanning the surrounding access points may cause more energy consumption, but this better helps to associate the station with an access point as soon as possible, to transmit data, and better helps to associate the station with a proper access point based on selection of the access point. Certainly, the foregoing several manners are merely examples of attempting to associate the station with any surrounding access point, and a manner used during implementation may be not limited to the foregoing several manners.
With reference to step 216 to step 220, it can be learned that before the station is successfully associated with any access point, the station always performs the processes in step 216 to step 220 cyclically. This forms a third phase after the station receives the handover management signal. In the third phase, the station repeatedly attempts to be associated with any surrounding access point, and properly enters the sleep state to reduce power consumption. Referring to the scenario shown in
For the procedure shown in
It can be learned that before the operation procedure performed in response to the handover management signal ends, the operation of waking up the station is performed when the sleep duration of any sleep of the station reaches the maximum allowable sleep duration in the handover management signal. Therefore, it can be ensured that in any case, the station is not always in a disconnected state in which the station is out of all BSSs. That is, a disadvantage that the station is easily disconnected in a sleep mechanism of a related wireless communications system can be overcome. In another implementation, the data of the maximum allowable sleep duration may be independent of the handover management signal, for example, is added to any downlink control signal (for example, a configuration update signal) except the handover management signal such that the data is received at a moment before any access point is disassociated from the station. This may be not limited thereto.
It can be further learned that in the processes in step 206 and step 214, before the station falls into a sleep, some access points that need to be listened on are specified for the station, and the station is woken up when any wake-up signal (that is, a wake-up signal sent by the access point to any other station) sent by any one of these access points is received. Therefore, in addition to being woken up by an associated access point, the station may wake up when obtaining, through listening, a wake-up signal sent by another prespecified access point. It may be understood that an access point that needs to be listened on is determined before a sleep such that a case in which the station is disconnected is reduced or avoided, and reliability of the wireless communications system can be improved.
Corresponding to the foregoing wireless communication method applied to a station, an embodiment of this application provides a wireless communication method applied to an access point, including sending a downlink control signal to a station associated with the access point, where the downlink control signal includes data of maximum allowable sleep duration corresponding to the station such that the station ends a sleep when sleep duration reaches the maximum allowable sleep duration. An optional form of the downlink control signal and an optional transmission manner of the downlink control signal are described above in detail. A process of the wireless communication method applied to an access point in this embodiment corresponds to the foregoing wireless communication method applied to a station. An example of the wireless communication method is described above in detail, and details are not described herein again.
301. Before the station starts a sleep, determine a to-be-listened-on access point of the station in the sleep, where the to-be-listened-on access point is selected from an access point other than an access point associated with the station.
302. Receive a wake-up signal when the station is in the sleep.
303. Wake up the station when any wake-up signal from the to-be-listened-on access point is received.
It should be noted that there may be one or more to-be-listened-on access points, for a sleep or some sleeps of a station, any wake-up signal sent by the to-be-listened-on access point can wake up the station from a sleep, and the to-be-listened-on access point is an access point other than the access point associated with the station. In an example, a to-be-listened-on access point list is stored by a WUR of the station, and the station and/or the access point associated with the station may add, to the to-be-listened-on access point list at any moment, an access point whose related information is known such that the WUR receives (or listens to), in a sleep period of the station, a wake-up signal from a listed access point in the to-be-listened-on access point list based on the to-be-listened-on access point list, and wakes up the station when receiving any wake-up signal sent by any listed access point in the to-be-listened-on access point list. In this example, each time the station starts a sleep, all listed access points in the to-be-listened-on access point list are to-be-listened-on access points of the station in the sleep. Certainly, in addition to a manner in which the to-be-listened-on access point is determined according to the stored to-be-listened-on access point list, the to-be-listened-on access point may be further determined in any one of the following manners or a combination of at least two of the following manners a manner in which the to-be-listened-on access point is determined based on a downlink control signal received from an access point associated with the station before the station starts a sleep, a manner in which the to-be-listened-on access point is determined according to a related policy configured in the station and stored access point information (for example, in the foregoing step 206, when a specific condition is met, a target access point is determined as a to-be-listened-on access point based on stored related information of the target access point), and a manner in which the to-be-listened-on access point is determined according to default settings (for example, a specific access point is set to a default and/or fixed to-be-listened-on access point point). The manners may not be limited thereto.
It can be learned that before the station falls into the sleep, the to-be-listened-on access point is determined from an access point other than the access point associated with the station, and the station is woken up when the station receives, in the sleep, any wake-up signal sent by the to-be-listened-on access point such that the station not only can be woken up by the associated access point, but also can be woken up when the station obtains, through listening, a wake-up signal sent by another prespecified access point. Therefore, this can be used to reduce or avoid occurrence of a case in which the station is disconnected, and improve reliability of a wireless communications system.
In an example, the wireless communication method applied to a station further includes receiving a handover management signal from a first access point when the station is not in a sleep, where the first access point is an access point that is associated with the station at a current moment, the handover management signal includes an identifier of a target access point, and the handover management signal is used to instruct the station to change the associated access point to the target access point. A process of changing an association relationship based on the handover management signal can be used to change a case in which the station passively determines whether the station moves out of a service range to a case in which the station is actively associated with the target access point. Therefore, time, energy, and communication resources that are consumed when the station repeatedly communicates with the first access point can be saved, and an access point that is associated with the station after the change can be controlled.
In an example, the wireless communication method applied to a station further includes, when the station is located outside a communication range of the target access point, controlling the station to start a sleep, where a to-be-listened-on access point of the station in the sleep includes the target access point, and sending a first association request signal after the station is woken up when any wake-up signal from the target access point is received in order to attempt to associate the station with the target access point. Whether the station is located outside the communication range of the target access point may be determined, for example, based on whether a response to a first association request message is received. It can be learned that the station enters a sleep each time after the station determined that the station is located outside the communication range of the target access point. This better helps to reduce energy consumption in comparison with a case of consecutive re-attempts.
In an example, the controlling the station to start a sleep, where a to-be-listened-on access point of the station in the sleep includes the target access point includes controlling the station to start a sleep, where the to-be-listened-on access point of the station in the sleep includes the target access point, and the station ends the sleep when sleep duration reaches first preset duration. Maximum allowable sleep duration is limited, to help to prevent the station from being disconnected in the sleep.
In an example, the wireless communication method applied to a station further includes, when the handover management signal is received, performing, based on the handover management signal, an operation of disassociating the station from the first access point. In this way, a conflict between association relationships between different access points and a same station can be avoided.
In an example, the wireless communication method applied to a station further includes transmitting a second association request signal when the station cannot be associated with the target access point in order to attempt to associate the station with the first access point. Whether the station can be associated with the target access point may be determined, for example, based on whether the first retry condition is met. In this way, when the station cannot be associated with the target access point, the station may be restored to a state in which the station is associated with the first access point. This can reduce resource overheads in comparison with directly associating the station with a surrounding access point.
In an example, the wireless communication method applied to a station further includes, when the station is located outside a communication range of the first access point, controlling the station to start a sleep, where a to-be-listened-on access point of the station in the sleep includes the first access point, and sending the second association request signal after the station is woken up when any wake-up signal from the first access point is received in order to attempt to associate the station with the first access point. Whether the station is located outside the communication range of the target access point may be determined, for example, based on whether a response to a second association request message is received. It can be learned that the station enters a sleep each time after the station determines that the station is located outside the communication range of the first access point. This better helps to reduce energy consumption in comparison with a case of consecutive re-attempts.
In an example, the controlling the station to start a sleep, where a to-be-listened-on access point of the station in the sleep includes the first access point includes controlling the station to start a sleep, where the to-be-listened-on access point of the station in the sleep includes the first access point, and the station ends the sleep when sleep duration reaches third preset duration. The maximum allowable sleep duration is limited, to help to prevent the station from being disconnected in the sleep.
In an example, the wireless communication method applied to a station further includes, when the station cannot be associated with any access point, controlling the station to start a sleep, and waking up the station when any wake-up signal from any access point is received in the sleep of the station in order to attempt to associate the station with the access point based on the received wake-up signal. Whether the station can be associated with the first access point may be determined, for example, based on whether the second retry condition is met. In this way, when the station cannot be associated with the target access point or the first access point, the station may be associated with a surrounding access point such that the station can be prevented from being disconnected.
It may be understood that the process shown in
401. Before the station starts a sleep, determine a known access point of the station in the sleep, where the known access point includes an access point associated with the station.
402. Receive a wake-up signal when the station is in the sleep.
403. Wake up the station when any wake-up signal from any access point other than the known access point is received.
It should be noted that there may be one or more known access points (there may be zero access point, to be specific, any wake-up signal from all access points are listened to when the station is associated with no access point), and for a sleep or some sleeps of a station, any wake-up signal sent by the any access point other than the known access point can wake up the station from a sleep. In an example, an access point list is stored for a WUR of the station, and the station and/or the access point associated with the station may add, to the access point list at any moment, an access point whose related information is known such that the WUR receives (or listens to), in a sleep period of the station, a wake-up signal from an access point other than a listed access point in the access point list based on the access point list, and wakes up the station when receiving any wake-up signal sent by any access point other than the listed access point in the access point list. In this example, each time the station starts a sleep, all listed access points in the access point list are known access points of the station in the sleep. Certainly, in addition to a manner in which the access point is determined according to the stored known access point list, the known access point may be further determined in any one of the following manners or a combination of at least two of the following manners such as a manner in which the known access point is determined based on a downlink control signal received from an access point associated with the station before the station starts a sleep, a manner in which the known access point is determined according to a related policy configured in the station and stored access point information (for example, in the foregoing step 217, when a specific condition is met, the known access point is set to an empty set), and a manner in which the known access point is determined according to default settings (for example, a specific access point is set to a default and/or fixed access point, or several specific access points are set to default and/or fixed access points). The manners may not be limited thereto.
In an example, as shown in
501. Initialize an access point list.
In an example, after the station is associated with an access point, the station receives a wake-up signal within first preset duration, and records, in the access point list, an access point corresponding to the received wake-up signal. Correspondingly, based on an original structure, a part may be added to a wake-up frame to set an access point identifier such that when receiving the wake-up frame, the WUR in the station can record different access points in the access point list based on the access point identifier. In still another example, when determining that the station is in a service range of an associated access point, the station scans access points surrounding the station, to record, in the access point list, an access point obtained through scanning. In a comparison example in which the access point list is not initiated, the station may repeatedly wake up from a sleep under the impact of a neighboring access point, and consequently, some resources such as time, energy, and channels are wasted. It can be seen that, the initializing an access point list is used as an optional step, and an initial set of neighboring access points can be provided, to reduce resources that are consumed for recording all neighboring access points in the access point list. It can be understood that, an implementation of initializing an access point list to resource overheads is not limited to the foregoing manner, and may be configured based on an application scenario during implementation. Optionally, the access point list may be initiated, for example, at a time when the station establishes a new association relationship, and the access point list may be cleared at the beginning. This may be not limited thereto.
502. When the station is in a sleep, receive a wake-up signal from an access point other than a known access point.
503. Wake up the station when any wake-up signal from an access point other than the known access point is received.
In an example, referring to
504. Send a polling signal.
505. Determine whether the station is out of coverage area of a BSS in which a first access point is located.
For example, after the station is woken up when any wake-up signal from any access point other than the known access point is received, the polling signal is sent to determine whether the station is out of the coverage area of the BSS in which the first access point is located. The first access point is an access point associated with the station at a current moment.
In an example, referring to
506. When the station is out of the coverage area of the BSS in which the first access point is located, record, in the access point list, an access point corresponding to the received wake-up signal.
In an example, referring to
Optionally, when the station determines that the station is in the coverage area of the BSS in which the first access point is located, the station temporarily stops to be woken up within third preset duration when any wake-up signal from any access point other than the known access point is received. In an example, after the access point AP 3 is added to the access point list, the station STA 1 returns to the sleep state, and then the WUR is in a recording state within 30 seconds that are used as the third preset duration. In the recording state, when receiving a wake-up frame from any access point other than the known access point, the WUR directly records the access point in the access point list based on an access point identifier in the wake-up frame, and does not perform the operation of waking up the station STA 1.
In a comparison example, nine new access points are successively added and placed around the access point AP 1, and become neighboring access points of the access point AP 1. In this case, the nine access points are not recorded in the access point list corresponding to the station STA 1. Therefore, when a wake-up frame from any access point is received, the STA 1 wakes up, and determines whether the STA 1 can communicate with the access point AP 1. Consequently, the station STA 1 may frequently fall into a sleep and wake up in a very short period of time, causing wastes such as energy consumption and channel occupation. However, based on the foregoing example, after the station STA 1 wakes up under the action of the wake-up frame from an access point and returns to the sleep state, the STA 1 may directly record remaining eight access points in the access point list within the third preset duration, and the sleep state remains. It can be learned that the foregoing related setting of the third preset duration helps to avoid frequently waking up the station, to help to reduce overheads of related resources.
507. When the station is out of the coverage area of the BSS in which the first access point is located, attempt to associate the station with a surrounding access point.
In an example, referring to
With reference to steps 501 to 507, when the station is out of a BSS of an associated access point when the station is in a sleep state, the station can find this case in a timely manner, and perform corresponding processing, to help to avoid a case in which the station is disconnected. In addition, the wireless communication method in this embodiment may further include waking up the station when sleep duration of any sleep of the station reaches maximum allowable sleep duration in a downlink control signal. In this way, this may help to prevent the station from being disconnected. For example, after the station is woken up, processes in step 504 to step 507 may be performed such that when no wake-up signals sent by some access points other than the known access point can be received by the station, the station is prevented from being disconnected.
In a possible implementation, the first receiving unit 11 includes a first receiving module. The first receiving module is configured to receive a handover management signal from a first access point when the station is not in a sleep. The first access point is an access point that is associated with the station at a current moment. The handover management signal includes an identifier of a target access point and the data of the maximum allowable sleep duration corresponding to the station, and the handover management signal is used to instruct the station to change the associated access point to the target access point.
In a possible implementation, the wireless communications device further includes a first sending unit and a first control unit that are not shown in
In a possible implementation, the wireless communications device further includes a second sending unit and a second wake-up unit that are not shown in
In a possible implementation, the wireless communications device further includes a second sending unit and a second control unit that are not shown in
In a possible implementation, the wireless communications device further includes the second receiving unit and a third wake-up unit that are not shown in
In a possible implementation, the wireless communications device further includes a third control unit, the second receiving unit, and a fourth wake-up unit that are not shown in
In a possible implementation, the wireless communications device further includes a third sending unit that is not shown in
In a possible implementation, the first wake-up unit is further configured to, before an operation procedure performed in response to the handover management signal ends, wake up the station when sleep duration of any sleep of the station reaches the maximum allowable sleep duration in the handover management signal.
In a possible implementation, the first receiving unit includes a second receiving module. The second receiving module is configured to receive a configuration update signal from the access point associated with the station, to update, based on data of maximum allowable sleep duration in the configuration update signal, the maximum allowable sleep duration stored by the station.
In a possible implementation, the sending unit 21 includes a first sending module configured to send a handover management signal to the station. The handover management signal includes an identifier of a target access point and the data of the maximum allowable sleep duration corresponding to the station, and the handover management signal is used to instruct the station to change the associated access point to the target access point.
In a possible implementation, the wireless communications device further includes a receiving unit that is not shown in
In a possible implementation, the sending unit 21 includes a second sending module configured to send a configuration update signal to the station associated with the access point such that the station updates, based on data of maximum allowable sleep duration in the configuration update signal, the maximum allowable sleep duration stored by the station.
In a possible implementation, the wireless communications device further includes a maintenance unit that is not shown in
In a possible implementation, the wireless communications device further includes a sending unit that is not shown in
In a possible implementation, the wake-up unit 33 is further configured to, when the station is in the coverage area of the BSS in which the first access point is located, temporarily stop waking up the main communication circuit within third preset duration when any wake-up signal from any access point other than the known access point is received.
In a possible implementation, the wireless communications device further includes a selection unit and an association unit that are not shown in
In a possible implementation, the wireless communications device further includes a first control unit that is not shown in
In a possible implementation, the wireless communications device further includes a second control unit that is not shown in
The processor 41 may include a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, or a plurality of integrated circuits configured to control program execution.
The bus 42 is mainly configured to transfer information between other components of the computer device 40. The communications interface 44 is mainly configured to communicate with another storage device or network device. When the communications structure 44 is a network interface, a network accessed by the communications interface 44 may be, for example, the Ethernet, a RAN, or a WLAN.
The memory 43 may include a read-only memory (ROM), another type of static storage device that can store static information and an instruction, a random access memory (RAM), or another type of dynamic storage device that can store information and an instruction, or may include an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or another compact disc storage, an optical disc storage (including a compact disc, a laser disc, an optical disc, a digital versatile disc, a BLU-RAY disc, and the like), a magnetic disk storage medium or another magnetic storage device, or any other medium that can be configured to carry or store expected program code in a form of an instruction or a data structure and that can be accessed by a computer. However, this is not limited thereto. The memory may be disposed independently, or may be integrated into the processor.
The memory 43 is configured to store executable code, and the processor 41 controls the execution of the executable code. The processor 41 is configured to execute the executable code stored in the memory 43.
In specific implementation, in an embodiment, the processor 41 may include one or more CPUs, such as a CPU 0 and a CPU 1 in
In specific implementation, in an embodiment, the computer device 40 may include a plurality of processors, for example, the processor 41 and a processor 48 in
In specific implementation, in an embodiment, the computer device 40 may further include an output device 45 and an input device 46. The output device 45 communicates with the processor 41, and may display information in a plurality of manners. For example, the output device 45 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 46 may communicate with the processor 41 using the bus 42, and may accept input of a user in a plurality of manners. For example, the input device 46 may be a mouse, a keyboard, a touchscreen device, or a sensing device.
The computer device 40 may be a general-purpose computer device or a dedicated computer device. In specific implementation, the computer device 40 may be a desktop computer, a portable computer, a network server, a palmtop computer (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communications device, an embedded device, or a device with a similar structure. A type of the computer device 40 is not limited in this embodiment of this application.
It should be noted that the computer device shown in
In the embodiments corresponding to
An embodiment of this application further provides a computer storage medium configured to store a computer software instruction used for any one of the foregoing wireless communication methods. The computer storage medium includes a program designed for executing the foregoing method embodiments. The wireless communication method provided in this application may be implemented by executing the stored program.
Although this application is described with reference to the embodiments, in a process of implementing this application that claims protection, a person skilled in the art may understand and implement another variation of the disclosed embodiments by viewing the accompanying drawings, disclosed content, and the accompanying claims. In the claims, “comprising” does not exclude another component or another step, and “a” or “one” does not exclude a case of “a plurality of”. A single processor or another unit may implement several functions enumerated in the claims. Some measures are recorded in dependent claims that are different from each other, but this does not mean that these measures cannot be combined to produce a better effect.
A person skilled in the art should understand that the embodiments of this application may be provided as a method, an apparatus (a device), or a computer program product. Therefore, this application may use a form of hardware only embodiments, software only embodiments, or embodiments with a combination of software and hardware. Moreover, this application may use a form of a computer program product that is implemented on one or more computer usable storage media (including but not limited to a magnetic disk memory, a CD-ROM, an optical memory, and the like) that include computer usable program code. The computer program is stored/distributed in a proper medium and is provided as or used as a part of the hardware together with another hardware, or may use another distribution form, for example, the Internet or another wired or wireless telecommunications system.
This application is described with reference to the flowcharts and/or block diagrams of the method, the apparatus (device), and the computer program product according to the embodiments of this application. It should be understood that computer program instructions may be used to implement each procedure and/or each block in the flowcharts and/or the block diagrams and a combination of a procedure and/or a block in the flowcharts and/or the block diagrams. These computer program instructions may be provided for a general-purpose computer, a dedicated computer, an embedded processor, or a processor of another programmable data processing device to generate a machine such that the instructions executed by the computer or the processor of the other programmable data processing device generate an apparatus for implementing a specific function in one or more procedures in the flowcharts and/or in one or more blocks in the block diagrams.
These computer program instructions may also be stored in a computer readable memory that can instruct the computer or the other programmable data processing device to work in a specific manner such that the instructions stored in the computer readable memory generate an artifact that includes an instruction apparatus. The instruction apparatus implements a specific function in one or more procedures in the flowcharts and/or in one or more blocks in the block diagrams.
These computer program instructions may also be loaded onto the computer or the other programmable data processing device such that a series of operations and steps are performed on the computer or the other programmable device to generate computer-implemented processing. Therefore, the instructions executed on the computer or the other programmable device provide steps for implementing a specific function in one or more procedures in the flowcharts and/or in one or more blocks in the block diagrams.
The foregoing descriptions are merely optional embodiments of this application, but are not intended to limit this application. Any modification, equivalent replacement, or improvement made without departing from the spirit and principle of this application should fall within the protection scope of this application.
Number | Date | Country | Kind |
---|---|---|---|
201710507362.3 | Jun 2017 | CN | national |
This application is a continuation application of International Patent Application No. PCT/CN2018/093092, filed on Jun. 27, 2018, which claims priority to Chinese Patent Application No. 201710507362.3, filed on Jun. 28, 2017, both of which are hereby incorporated by reference in their entireties.
Number | Name | Date | Kind |
---|---|---|---|
6622251 | Lindskog et al. | Sep 2003 | B1 |
20060293067 | Leung et al. | Dec 2006 | A1 |
20070167165 | Yang | Jul 2007 | A1 |
20080133954 | Fallah et al. | Jun 2008 | A1 |
20080137632 | Choi | Jun 2008 | A1 |
20130223310 | Chou et al. | Aug 2013 | A1 |
20140018085 | Young | Jan 2014 | A1 |
20150011216 | Jung | Jan 2015 | A1 |
20150312857 | Kim | Oct 2015 | A1 |
20160302117 | Inoue | Oct 2016 | A1 |
20170223584 | Deng | Aug 2017 | A1 |
20200163047 | Yoon | May 2020 | A1 |
Number | Date | Country |
---|---|---|
1354939 | Jun 2002 | CN |
101208976 | Jun 2008 | CN |
101472272 | Jul 2009 | CN |
105636183 | Jun 2016 | CN |
20150124693 | Nov 2015 | KR |
Entry |
---|
IEEE Standard for Information technology—Telecommunications and information exchange between systems, Local and metropolitan area networks—Specific requirements, Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications, IEEE Std 802.11, 2016, Part 1, Dec. 2016, pp. 1-1767. |
IEEE Standard for Information technology—Telecommunications and information exchange between systems, Local and metropolitan area networks—Specific requirements, Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications, IEEE Std 802.11, 2016, Part 2, Dec. 2016, pp. 1767-3534. |
Draft Standard for Information technology—Telecommunications and information exchange between systems, Local and metropolitan area networks—Specific requirements, Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications, Amendment 6: Enhancements for High Efficiency WLAN, IEEE P802.11ax™/D1.2, Apr. 2017, 488 pages. |
Machine Translation and Abstract of Chinese Publication No. CN101472272, Jul. 1, 2009, 17 pages. |
Machine Translation and Abstract of Chinese Publication No. CN105636183, Jun. 1, 2016, 7 pages. |
Machine Translation and Abstract of Chinese Publication No. KR20150124693, Nov. 6, 2015, 4 pages. |
Chinese Notice of Allowance issued in corresponding Chinese Application No. 201710507362.3, dated Dec. 1, 2020, pp. 1-4. |
Number | Date | Country | |
---|---|---|---|
20200137682 A1 | Apr 2020 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2018/093092 | Jun 2018 | US |
Child | 16727522 | US |