The present disclosure relates to the field of communications and, in particular, to a method for transmitting data, an access point and a station.
In a wireless local area network (Wireless Local Area Network, WLAN) system, power saving performance is an important performance index. Most stations (Station, STA) of a WLAN work in a power saving mode. In this mode, the STA is in a sleep state when no data needs to be transmitted. An AP (Access Point) will regularly send a beacon (Beacon) frame, and carries a traffic indication map (Traffic Indication Map, TIM) element in the Beacon frame for indicating which STAs in a basic service set (Basic Service Set, BSS) have downlink data. If an STA hears about its own downlink data in a TIM domain of the beacon frame after waking up, then the STA will retrieve the downlink data cached on the AP from the AP by use of a PS-POLL (Power Save-POLL, power save-poll) frame.
At present, in the WLAN system, it is specified that a control frame has no protection mechanism, thus the existing PS-POLL frame serving as a control frame has no security protection mechanism neither. But since the PS-POLL frame is used by a target STA to notify the AP associated with it to issue the downlink data, a security hole may exist. For example, when the STA is in the sleep state, a third party station is quite easy to pretend to be the target STA, and sends the PS-POLL frame to the AP by use of an association identifier (Association Identifier, AID) of the target STA. After receiving the PS-POLL frame, the AP will mistake that the target STA has waken up, and send the downlink data cached on the AP to the target STA. After receiving the downlink data, the third party station sends an acknowledgement frame to the AP, causing the AP to mistake that the downlink data to the target STA have been successfully sent and to delete the data from the cache. Therefore, the third party station may steal or delete the downlink data of the target STA and even block the communication between the AP and the target STA without the awareness of the AP and the target STA, such that the system performance is severely influenced and the network security is harmed.
Embodiments of the present disclosure provide a method for transmitting data, an access point and a station, which may be used for preventing a third party station from pretending to be the station to steal downlink data, in order to ensure the network security.
In a first aspect, a method for transmitting data is provided, including: a key is generated; the key is sent to a station; a downlink data request frame is received; the downlink data request frame is verified according to the key, and a verification result is obtained; downlink data is sent to the station if the verification result is that the downlink data request frame is correct.
In combination with the first aspect, in a first possible implementation manner, the key is generated after a sleep mode request frame is received from the station.
In combination with the first possible implementation manner of the first aspect, in a second possible implementation manner, the key is generated after the sleep mode request frame is received from the station, and if the sleep mode request frame indicates that the station needs the key.
In combination with the first aspect, in a third possible implementation manner, an association request frame sent by the station is received, and the key is generated if the association request frame indicates that the station supports to use a key to protect the downlink data request frame.
In combination with the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in a fourth possible implementation manner, a sleep mode response frame is sent to the station, and the sleep mode response frame carries the encrypted key.
In combination with the third possible implementation manner of the first aspect, in a fifth possible implementation manner, an association response frame is sent to the station, and the association response frame carries the encrypted key.
In combination with the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a sixth possible implementation manner, an encrypted data frame is sent to the station, and the encrypted data frame carries the key.
In a second aspect, a method for transmitting data is provided, including: a key is received from an access point; a downlink data request frame is sent to the access point, wherein the downlink data request frame carries the encrypted key, and the key is used by the access point for verifying the downlink data request frame and obtaining a verification result; downlink data sent by the access point is received, wherein the downlink data is sent by the access point after the verification result is that the downlink data request frame is correct.
In combination with the second aspect, in a first possible implementation manner, a sleep mode response frame is received from the access point, the sleep mode response frame carries the encrypted key, and the sleep mode response frame is sent by the access point after receiving a sleep mode request frame.
In combination with the first possible implementation manner of the second aspect, in a second possible implementation manner, the sleep mode request frame indicates that the key is needed.
In combination with the second aspect, in a third possible implementation manner, an association response frame is received from the access point, the association response frame carries the encrypted key, the association response frame is sent by the access point after receiving an association request frame, and the association request frame is used for indicating that using a key to protect the downlink data request frame is supported.
In combination with the second aspect, in a fourth possible implementation manner, an encrypted data frame is received from the access point, and the encrypted data frame carries the key.
In combination with the second aspect, or the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, or the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner, the downlink data request frame is sent to the access point after waking up from the sleep mode.
In a third aspect, an access point is provided, including: a generating unit, configured to generate a key; a sending unit, configured to send the key to a station; a receiving unit, configured to receive a downlink data request frame; a verifying unit, configured to verify the downlink data request frame according to the key and obtain a verification result; the sending unit is further configured to send downlink data to the station if the verification result is that the downlink data request frame is correct.
In combination with the third aspect, in a first possible implementation manner, the generating unit is configured to generate the key after receiving a sleep mode request frame from the station.
In combination with the first possible implementation manner of the third aspect, in a second possible implementation manner, the generating unit is configured to generate the key, after the receiving unit receives the sleep mode request frame from the station, and if the sleep mode request frame indicates that the station needs the key.
In combination with the third aspect, in a third possible implementation manner, the receiving unit is further configured to receive an association request frame sent by the station; the generating unit is configured to generate the key if the association request frame indicates that the station supports to use a key to protect the downlink data request frame.
In combination with the first possible implementation manner of the third aspect or the second possible implementation manner of the third aspect, in a fourth possible implementation manner, the sending unit is configured to send a sleep mode response frame to the station, and the sleep mode response frame carries the encrypted key.
In combination with the third possible implementation manner of the third aspect, in a fifth possible implementation manner, the sending unit is configured to send an association response frame to the station, and the association response frame carries the encrypted key.
In combination with the third aspect, or the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, in a sixth possible implementation manner, the sending unit is configured to send an encrypted data frame to the station, and the encrypted data frame carries the key.
In a fourth aspect, a station is provided, including: a receiving unit, configured to receive a key from an access point; a sending unit, configured to send a downlink data request frame to the access point, wherein the downlink data request frame carries the encrypted key, and the key is used by the access point for verifying the downlink data request frame and obtaining a verification result; the receiving unit is further configured to receive downlink data sent by the access point, wherein the downlink data is sent by the access point after the verification result is that the downlink data request frame is correct.
In combination with the fourth aspect, in a first possible implementation manner, the receiving unit is configured to receive a sleep mode response frame from the access point, the sleep mode response frame carries the encrypted key, the sleep mode response frame is sent by the access point after receiving a sleep mode request frame, and the sleep mode request frame indicates that the station is about to enter into a sleep mode.
In combination with the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the sleep mode request frame indicates that the key is needed.
In combination with the fourth aspect, in a third possible implementation manner, the receiving unit is configured to receive an association response frame from the access point, the association response frame carries the encrypted key, the association response frame is sent by the access point after receiving an association request frame, and the association request frame is used for indicating that using a key to protect the downlink data request frame is supported.
In combination with the fourth aspect, in a fourth possible implementation manner, the receiving unit is configured to receive an encrypted data frame from the access point, and the encrypted data frame carries the key.
In combination with the fourth aspect, or the first possible implementation manner of the fourth aspect, or the second possible implementation manner of the fourth aspect, or the third possible implementation manner of the fourth aspect, or the fourth possible implementation manner of the fourth aspect, in a fifth possible implementation manner, the sending unit is configured to send the downlink data request frame to the access point after waking up from the sleep mode.
In the embodiments of the present disclosure, the key is generated, the key is sent to the station, and after the downlink data request frame is received, if the downlink data request frame is verified to be correct according to the key, the downlink data are sent to the station, thus the third party station may be prevented from pretending to be the station to steal the downlink data, such that the network security may be ensured.
To illustrate technical solutions in the embodiments of the present disclosure more clearly, a brief introduction on the accompanying drawings which are needed in the description of the embodiments is given below. Apparently, the accompanying drawings in the description below are merely some of the embodiments of the present disclosure, based on which other drawings may be obtained by those of ordinary skill in the art without any creative effort.
A clear description of technical solutions in the embodiments of the present disclosure will be given below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the embodiments described are merely a part, but not all, of the embodiments of the present disclosure. All of other embodiments, obtained by those of ordinary skill in the art based on the embodiments in the present disclosure without any creative effort, fall into the protection scope of the present disclosure.
At step 110, a key is generated. The key may be used by an STA for protecting a downlink data request frame.
Optionally, as an embodiment, the AP may generate the key after receiving a sleep mode request frame from a station (Station, STA). The sleep mode request frame may be used for indicating that the STA is about to enter into a sleep mode. In this way, there is no need to modify the format of the sleep mode request frame.
Optionally, as another embodiment, the AP may generate the key after receiving the sleep mode request frame from the STA, and if the sleep mode request frame indicates that the STA needs the key. That is to say, if the AP receives the sleep mode request frame of the STA and the sleep mode request frame indicates that the STA needs the key, the AP may generate the key.
In addition, the sleep mode request frame may also indicate that the STA needs no key, in this way, the STA may reuse the key previously notified by the AP. Thus, selection flexibility of the STA is provided, for example, the previous key may be reused or a key is received from the AP again.
Optionally, as another embodiment, the AP may receive an association request frame sent by the STA, and if the association request key indicates that the STA supports to use a key to protect the downlink data request frame, the AP may generate the key.
Specifically, protecting the downlink data request frame by use of the key is a secure downlink data request mechanism. If the STA supports this downlink data request mechanism, the AP may generate the key.
At step 120, the key is sent to the STA.
Optionally, as another embodiment, the AP may send a sleep mode response frame to the STA, and the sleep mode response frame may carry the encrypted key.
For example, the AP may generate the key after receiving the sleep mode request frame of the STA, and then send the key to the STA by use of the sleep mode response frame. The sleep mode response frame is a management frame, so the key carried in the sleep mode response frame may be encrypted by use of an existing security protection mechanism, for example, the security protection mechanism in a 802.11 protocol, in order to prevent a third party station from obtaining the key carried in the sleep mode response frame.
Optionally, as another embodiment, the AP may send an association response frame to the STA, and the association response frame carries the encrypted key.
For example, the AP may generate the key, on the condition that the association request frame received from the STA indicates that the STA supports the mechanism of protecting the downlink data request frame by use of the key. The key carried in the association response frame may be encrypted by the existing security protection mechanism, for example, the security protection mechanism in the 802.11 protocol, in order to prevent the third party station from obtaining the key.
Optionally, as another embodiment, the AP may send an encrypted data frame to the STA, and the encrypted data frame carries the key.
After generating the key, the AP may send the key to the STA by use of the encrypted data frame. For example, after receiving the sleep mode request frame, the AP generates the key and may send the key to the STA by use of an encrypted data frame different from the sleep mode response frame. Or, after receiving the association request frame, the AP generates the key and may send the key to the STA by use of an encrypted data frame different from the association response frame. In this case, there is no need to modify the format of the sleep mode response frame or the association response frame.
At step 130, the downlink data request frame is received.
At step 140, the downlink data request frame is verified according to the key, and a verification result is obtained.
At step 150, if the verification result is that the downlink data request frame is correct, downlink data is sent to the STA.
The downlink data request frame may carry an identifier of the STA, and in order to prevent the third party station from pretending to be the STA to obtain the downlink data, the AP may verify the downlink data request frame. For example, if the downlink data request frame carries a key, the AP may verify the key carried in the downlink data request frame according to the key generated in step 110. If the key generated in step 110 is matched with the key carried in the downlink data request frame, the downlink data request frame may be verified to be correct. At this time, the AP may send the downlink data to the STA.
In addition, if the verification result is that the downlink data request frame is incorrect, the AP may not send the downlink data to the STA and send warning information.
For example, if the downlink data request frame does not carry a key matched with the key generated in step 110, or the carried key is not matched with the key generated in step 110, it may be considered that the downlink data request frame is not from the STA, or that the downlink data request frame may be from a malicious third party station. Then, the AP may not send the downlink data to the STA and send the warning information to the STA, a user or a network manager, so as to issue an attempt of stealing or deleting data cached by the AP for the STA in a network.
The length of the above-mentioned key is variable, for example, the length of the key may be 16 bits to 64 bits. This length is large enough to ensure the secure connection between the AP and the STA.
This shows that, in the embodiment of the present disclosure, the AP may generate a key for the STA, and the key may be used for protecting the downlink data request frame of the STA. Therefore, when receiving the downlink data request frame carrying the identifier of the STA, in order to prevent that the downlink data request frame is sent by the third party station by pretending to be the STA, the AP may send the downlink data to the STA after verifying the downlink data request frame to be correct according to the key, in this case, the third party station may be prevented from pretending to be the STA to steal the downlink data from the AP, so that the network security may be ensured and the system performance may be improved.
In the embodiment of the present disclosure, the key is generated, the key is sent to the station, and after the downlink data request frame is received, if the downlink data request frame is verified to be correct according to the key, the downlink data is sent to the station, thus the third party station may be prevented from pretending to be the station to steal the downlink data, such that the network security may be ensured.
At step 210, a key is received from an AP.
Optionally, as an embodiment, the STA may receive a sleep mode response frame from the AP, the sleep mode response frame carries the encrypted key, and the sleep mode response frame is sent by the AP after receiving a sleep mode request frame. The sleep mode request frame may indicate that the STA is about to enter into a sleep mode.
Before receiving the key from the AP, the STA may send the sleep mode request frame to the AP, and the sleep mode request frame indicates that it is about to enter into the sleep mode. In this way, after receiving the sleep mode request frame, the AP may generate the key and send the key by the sleep mode response frame. Since the sleep mode response frame is a management frame, so the key carried in the sleep mode response frame may be encrypted by use of an existing security protection mechanism, for example, the security protection mechanism in a 802.11 protocol, in order to prevent a third party station from obtaining the key.
Optionally, as another embodiment, the sleep mode request frame may indicate that the STA needs the key. In this way, the sleep mode request frame indicates that the STA needs the key, thus the AP may generate the key after receiving the sleep mode request frame.
Optionally, as another embodiment, the STA may receive an association response frame from the AP, the association response frame carries the encrypted key, the association response frame is sent by the AP after receiving an association request frame, and the association request frame may be used for indicating that the STA supports to use a key to protect a downlink data request frame.
Specifically, protecting the downlink data request frame by use of the key is a secure downlink data request mechanism. The STA may notify the AP by use of the association request frame that this downlink data request mechanism is supported, in this way, the AP may generate the key after receiving the association request frame and send the key by use of the association response frame. The key carried in the association response frame may be encrypted by use of the existing security protection mechanism, for example, the security protection mechanism in the 802.11 protocol.
Optionally, as another embodiment, the STA may receive an encrypted data frame from the AP, and the encrypted data frame carries the key.
For example, after receiving the association request frame, the AP may generate the key and send the key by the encrypted data frame different from the association response frame. Or, after receiving the sleep mode request frame, the AP may generate the key and send the key by the encrypted data frame different from the sleep mode response frame. In this case, there is no need to modify the format of the sleep mode response frame or the association response frame.
At step 220, the downlink data request frame is sent to the AP, the downlink data request frame carries the encrypted key, and the key is used by the AP for verifying the downlink data request frame and obtaining a verification result.
Optionally, as another embodiment, the STA may send the downlink data request frame to the AP after waking up from the sleep mode.
For example, after waking up from the sleep mode, the STA hears about its own downlink data in a TIM domain of a beacon frame, then the STA may send the downlink data request frame to the AP and the key is carried in the downlink data request frame.
The key carried in the downlink data request frame may be encrypted by use of the existing security protection mechanism, for example, the security protection mechanism in the 802.11 protocol.
At step 230, downlink data sent by the AP is received, wherein the downlink data is sent by the AP after the verification result is that the downlink data request frame is correct.
In order to prevent a third party station from pretending to be the STA to steal the downlink data, the AP may verify the downlink data request frame according to the key, and only when the verification is correct, the STA may receive the downlink data from the AP.
In the embodiment of the present disclosure, the key is received from the access point, the key is carried in the downlink data request frame sent to the access point, since the key is used by the access point for verifying the downlink data request frame and obtaining the verification result, the downlink data sent by the access point may be received only after the verification result is that the downlink data request frame is correct, thus the third party station may be prevented from stealing the downlink data from the access point, such that the network security may be ensured.
The embodiments of the present disclosure will be described below in detail in combination with specific examples. These examples are only intended to help those skilled in the art to better understand the embodiments of the present disclosure, rather than limiting the scope of the embodiments of the present disclosure.
In
At step 301, an STA sends the WNM sleep mode request frame to an AP.
A WNM sleep mode is an expanded power saving mode for a non-AP STA. The STA may notify the AP that the STA itself is about to enter into the sleep mode and of a sleep time through the WNM sleep mode request frame.
Optionally, the STA may indicate that the STA needs a key through 1 bit in the WNM sleep mode request frame.
At step 302, the AP generates the key.
For example, the AP may generate the key after receiving the WNM sleep mode request frame. Or, the AP may generate the key when the WNM sleep mode request frame is received and the WNM sleep mode request frame indicates that the STA needs the key.
The length of the key is variable, for example, the length of the key may be 16 bits to 64 bits, in this way, the secure connection between the AP and the STA may be ensured.
At step 303, the AP sends a WNM sleep mode response frame to the STA, and the WNM sleep mode response frame carries the encrypted key.
The WNM sleep mode response frame is a management frame, the encrypted key carried in the WNM sleep mode response frame may be encrypted by use of an existing security protection mechanism, for example, the security protection mechanism in a 802.11 protocol, in order to prevent a third party station from obtaining the key carried in the WNM sleep mode response frame.
It should be understood that, in one BSS, the AP may be associated with multiple STAs, and the key generated by the AP for each STA and used for protecting the downlink data request frame thereof may be the same, thus the work of the AP may be simplified. Of course, the keys of the STAs may also be different. This is not limited in the embodiment of the present disclosure.
An example of a format of the WNM sleep mode response frame carrying the key may be as shown in
At step 304, the STA receives the WNM sleep mode response frame in step 303, and obtains and stores the key from the WNM sleep mode response frame.
The STA may enter into a sleep mode after obtaining and storing the key from the WNM sleep mode response frame.
At step 305, the STA sends a downlink data request frame to the AP, and the downlink data request frame carries the encrypted key.
For example, the STA may send the downlink data request frame to the AP after waking up from the sleep mode.
In the prior art, since a PS-POLL frame is a control frame, it could not be sent in an encrypted manner Therefore, the type of the downlink data request frame may be defined as data (Data)+PS-POLL, and the format may be different from that of the existing PS-POLL frame. According to the format of a data frame in the existing 802.11 protocol, an example of the format of the downlink data request frame may be as shown in
As shown in
The downlink data request frame may include a key, and the key may be encrypted. In addition, the downlink data request frame may further include other fields, for example duration/ID, address 1 to address 4, SEQ (Sequence, sequence), CCMP header, MIC (Message Integrity Code, message integrity code) and FCS (Frame Check Sequence, frame check sequence) or the like, the meanings of these fields may refer to the prior art, and will not be described redundantly herein in order to avoid repetition.
At step 306, after receiving the downlink data request frame in step 305, the AP verifies the downlink data request frame according to the key generated in step 302 and obtains a verification result.
After receiving the downlink data request frame, the AP recovers the key carried in the downlink data request frame. The key carried in the downlink data request frame may be verified according to the key generated in step 302.
At step 307, the AP sends downlink data to the STA if the verification result obtained in step 306 is that the downlink data request frame is correct.
For example, if the AP verifies that the key carried in the downlink data request frame is matched with the key generated in step 302, the downlink data request frame may be determined to be correct, and the AP may send the downlink data to the STA.
In addition, if the verification result is that the downlink data request frame is incorrect, for example, the key carried in the downlink data request frame is not matched with the key generated in step 302, the AP may not send the downlink data to the STA and send warning information, for example, the AP may send the warning information to the STA, a user or a network manager, so as to notify an attempt of stealing the downlink data in a network.
The AP may carry the key in the WNM sleep mode response frame, and may also carry no key in the WNM sleep mode response frame while carrying the key by an encrypted data frame different from the WNM sleep mode response frame.
It should be understood that, the serial numbers of the above-mentioned processes do not mean the execution order, the execution order of the processes should be determined by the functions and internal logic thereof, and should not constitute any limit to the implementation processes of the embodiments of the present disclosure.
In the embodiment of the present disclosure, the key is generated, the key is sent to the station, and after the downlink data request frame is received, if the downlink data request frame is verified to be correct according to the key, the downlink data is sent to the station, thus a third party station may be prevented from pretending to be the station to steal the downlink data, such that the network security may be ensured.
At step 601, an STA sends an association request frame to an AP, and the association request frame indicates that the STA supports to use a key to protect a downlink data request frame.
At step 602, the AP generates the key after receiving the association request frame.
At step 603, the AP sends an association response frame to the STA, and the association response frame carries the encrypted key.
The key carried in the association response frame may be encrypted by use of an existing security protection mechanism, for example, the security protection mechanism in 802.11 protocol, in order to prevent a third party station from obtaining the key.
Step 604 to step 607 in
The AP may carry the key by the association response frame, and may also carry the key by an encrypted data frame different from the association response frame. This is not limited in the embodiment of the present disclosure.
It should be understood that, the serial numbers of the above-mentioned processes do not mean the execution order, the execution order of the processes should be determined by the functions and internal logic thereof, and should not constitute any limit to the implementation processes of the embodiments of the present disclosure.
In the embodiment of the present disclosure, the key is generated, the key is sent to the station, and after the downlink data request frame is received, if the downlink data request frame is verified to be correct according to the key, the downlink data is sent to the station, thus the third party station may be prevented from pretending to be the station to steal the downlink data, such that the network security may be ensured.
The above-mentioned embodiments may be cooperatively used, for example, the key may be set up in an association process of the AP and the STA, and the key may also be updated in request and response of the sleep mode. This is not limited in the embodiment of the present disclosure.
The generating unit 710 generates a key. The sending unit 720 sends the key to an STA. The receiving unit 730 receives a downlink data request frame, and the downlink data request frame carries an identifier of the STA. The verifying unit 740 verifies the downlink data request frame according to the key and obtains a verification result. The sending unit is further configured to send downlink data to the STA if the verification result is that the downlink data request frame is correct.
In the embodiment of the present disclosure, the key is generated, the key is sent to the station, and after the downlink data request frame is received, if the downlink data request frame is verified to be correct according to the key, the downlink data is sent to the station, thus a third party station may be prevented from pretending to be the station to steal the downlink data, such that the network security may be ensured.
Other functions and operations of the AP 700 may refer to the processes involving the AP in the method embodiments of
Optionally, as another embodiment, the generating unit 710 may generate the key after receiving a sleep mode request frame from the STA. The sleep mode request frame may be used for indicating that the STA is about to enter into a sleep mode.
Optionally, as another embodiment, the generating unit 710 may generate the key, after the receiving unit 730 receives the sleep mode request frame from the STA, and if the sleep mode request frame indicates that the STA needs the key.
Optionally, as another embodiment, the receiving unit 730 may also receive an association request frame sent by the STA. If the association request frame indicates that the station supports to use a key to protect the downlink data request frame, the generating unit 710 may generate the key.
Optionally, as another embodiment, the sending unit 720 may send a sleep mode response frame to the STA, and the sleep mode response frame carries the encrypted key.
Optionally, as another embodiment, the sending unit 720 may send an association response frame to the STA, and the association response frame carries the encrypted key.
Optionally, as another embodiment, the sending unit 720 may send an encrypted data frame to the STA, and the encrypted data frame carries the key.
In the embodiment of the present disclosure, the key is generated, the key is sent to the station, and after the downlink data request frame is received, if the downlink data request frame is verified to be correct according to the key, the downlink data is sent to the station, thus the third party station may be prevented from pretending to be the station to steal the downlink data, such that the network security may be ensured.
The receiving unit 810 receives a key from an AP. The sending unit 820 sends a downlink data request frame to the AP, wherein the downlink data request frame carries the encrypted key, and the key is used by the AP for verifying the downlink data request frame and obtaining a verification result. The receiving unit 810 further receives downlink data sent by the AP, wherein the downlink data is sent by the AP after the verification result is that the downlink data request frame is correct.
In the embodiment of the present disclosure, the key is received from the access point, the key is carried in the downlink data request frame sent to the access point, since the key is used by the access point for verifying the downlink data request frame and obtaining the verification result, only after the verification result is that the downlink data request frame is correct, the downlink data sent by the access point may be received, thus a third party station may be prevented from stealing the downlink data from the access point, such that the network security may be ensured.
Other functions and operations of the STA 800 may refer to the processes involving the STA in the method embodiments of
Optionally, as an embodiment, the receiving unit 810 may receive a sleep mode response frame, which is generated by the AP after receiving a sleep mode request frame, and the sleep mode response frame carries the encrypted key. The sleep mode request frame may indicate that the STA is about to enter into a sleep mode.
Optionally, as another embodiment, the sleep mode request frame may indicate that the key is needed.
Optionally, as another embodiment, the receiving unit 810 may receive an association response frame from the AP, the association response frame carries the encrypted key, the association response frame is sent by the AP after receiving an association request frame, and the association request frame is used for indicating that using a key to protect the downlink data request frame is supported.
Optionally, as another embodiment, the receiving unit 810 may receive an encrypted data frame from the AP, and the encrypted data frame carries the key.
Optionally, as another embodiment, the sending unit 820 may send the downlink data request frame to the AP after the STA wakes up from the sleep mode.
In the embodiment of the present disclosure, the key is received from the access point, the key is carried in the downlink data request frame sent to the access point, since the key is used by the access point for verifying the downlink data request frame and obtaining the verification result, only after the verification result is that the downlink data request frame is correct, the downlink data sent by the access point may be received, thus the third party station may be prevented from stealing the downlink data from the access point, such that the network security may be ensured.
In some implementations, the memory 930 stores the following elements: an executable module or a data structure, or subsets thereof, or supersets thereof:
an operating system 932, includes a variety of system programs and configured to achieve a variety of basic services and process services based on hardware;
an application module 934, includes a variety of application programs and configured to achieve a variety of application services.
The application module 934 includes but not limited to a generating unit 710, a sending unit 720, a receiving unit 730 and a verifying unit 740.
Specific implementations of the units in the application module 932 refer to corresponding units in the embodiment as shown in
In some implementations, the memory 1030 stores the following elements: an executable module or a data structure, or subsets thereof, or supersets thereof:
an operating system 1032, includes a variety of system programs and configured to achieve a variety of basic services and process services based on hardware;
an application module 1034, includes a variety of application programs and configured to achieve a variety of application services.
The application module 1034 includes but not limited to a receiving unit 810 and a sending unit 820.
Specific implementations of the units in the application module 1032 refer to corresponding units in the embodiment as shown in
Those of ordinary skill in the art may realize that the units and algorithmic steps of the examples described in conjunction with the embodiments of the present disclosure may be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software mode depends on the specific applications and design constraint conditions of the technical solution. For each specific application, professionals may implement the described functions by different methods, but this implementation shall not be considered as being beyond the scope of the present disclosure.
Those skilled in the art to which the present disclosure pertains may clearly understand that, for the purpose of better convenience and briefness in description, for the specific working processes of the above-described systems, devices and units, reference could be made to the corresponding processes in the embodiments of the aforementioned methods, and repeated description is not given here.
In the several embodiments provided in the present application, it shall be understood that the disclosed systems, devices and methods may be realized in other manners. For example, the embodiments of the above-described devices are only exemplary, for example, the division of the units is only a logic function division, other division manners may be adopted in practice, e.g., a plurality of units or components may be combined or integrated in another system, or some characteristics may be omitted or not executed. From another point of view, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection of devices or units through some interfaces, and may also be in electrical, mechanical or other forms.
The units illustrated as separate components may be or may not be physically separated, and the components displayed as units may be or may not be physical units, that is to say, the components may be positioned at one place or may also be distributed on a plurality of network units. The objectives of the solutions of the embodiments may be fulfilled by selecting part of or all of the units according to actual needs.
In addition, in various embodiments of the present disclosure, the functional units may be integrated in one processing unit, or the units may separately and physically exist, or two or more units may be integrated in one unit.
When the functions are realized in the form of software functional units and sold or used as independent products, the functions may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the present disclosure substantially, or the part of the present disclosure making contribution to the prior art, or part of the technical solutions may be embodied in the form of a software product, and the computer software product is stored in a storage medium, which includes a plurality of instructions enabling computer device (which may be a personal computer, a server, network device or the like) to execute all of or part of the steps in the methods of the embodiments of the present disclosure. The aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk, an optical disk or the like.
The foregoing description is the specific implementations of the present disclosure only, but the protection scope of the present disclosure is not limited to this, any skilled who is familiar with this art could readily think of variations or substitutions within the disclosed technical scope of the present disclosure, and these variations or substitutions shall fall within the protection scope of the present disclosure. Thus, the protection scope of the claims should prevail over the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201210317221.2 | Aug 2012 | CN | national |
This application is a continuation of International Patent Application No. PCT/CN2013/076241, filed on May 27, 2013, which claims priority to Chinese Patent Application No. 201210317221.2, filed on Aug. 31, 2012, both of which are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2013/076241 | May 2013 | US |
Child | 14633945 | US |