WO2014187091A1 - 接入无线网络的方法及接入点 - Google Patents

接入无线网络的方法及接入点 Download PDF

Info

Publication number
WO2014187091A1
WO2014187091A1 PCT/CN2013/087411 CN2013087411W WO2014187091A1 WO 2014187091 A1 WO2014187091 A1 WO 2014187091A1 CN 2013087411 W CN2013087411 W CN 2013087411W WO 2014187091 A1 WO2014187091 A1 WO 2014187091A1
Authority
WO
WIPO (PCT)
Prior art keywords
access
message
wireless network
terminal
terminals
Prior art date
Application number
PCT/CN2013/087411
Other languages
English (en)
French (fr)
Inventor
李云波
刘景伟
李勇
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014187091A1 publication Critical patent/WO2014187091A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/002Transmission of channel access control information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information

Definitions

  • the present application claims to be filed on May 21, 2013 with the Chinese Patent Office, the application number of 201310189847.4, and the Chinese patent application entitled “Access to Wireless Network Method and Access Point” Priority is hereby incorporated by reference in its entirety.
  • the present invention relates to the field of wireless communication technologies, and in particular, to a method and an access point for accessing a wireless network.
  • the 802.lli wireless security network protocol uses 4-Way Handshake to implement dynamic negotiation of user session keys, so that STAs (Stations) are associated with APs (Access Points) for data transmission.
  • the complete authentication process of the above 802. lli wireless security network protocol includes: handshake between STA and AP, handshake between STA and AS (Authentication Server), handshake between AP and AS, we
  • the four-step handshake is a handshake between the STA and the AP.
  • the STA and the AS authenticate each other to generate a common MSK (Master Session Key).
  • the AS transmits the MSK to the AP, and then the AP and the STA respectively use the MSK to generate the same PMK (Pairwise Master Key), where the PMK is used as a PTK (Pairwise Transient Key) in a four-step handshake.
  • PMK Physical Master Key
  • the AP performs a four-step handshake with the STA, including: the AP sends the Message1 to the STA, and the Message1 includes the random number ANonce and the sequence code Sn generated by the AP for generating the PTK.
  • the STA obtains ANonce, and combines its own SNonce to derive the PTK, and then sends Message2 to the AP.
  • Message2 contains the random number SNonce generated by the STA and the sequence code Sn and is used.
  • the calculated PTK is used for message integrity check. ⁇ After receiving Message2, get SNonce, calculate PTK or GTK (Group Transient Key), and use the paired master key PMK in the calculated PTK to perform MIC (Message Integrity Code). Authentication code) Check, if the verification is successful, send Message3 to the STA, the message contains ANonce and Sn is incremented by 1, and the PTK is used for message integrity check. The STA loads the PTK after receiving the Message3 and sends the Message ⁇ Message4 containing the Sn+1. Indicates that the PTK has been loaded, and the AP receives the Messaged to load the PTK, and the 4-Way Handshake is completed.
  • the STA can complete the dynamic session key negotiation with the AP through 4-Way Handshake.
  • the STA needs to complete 4-Way Handshake with the AP.
  • the information transmitted by the STA is too much, which may cause congestion and conflict of network information, so that some need urgent access.
  • the STA of the network cannot complete the association with the AP within a limited time.
  • a method and an access point for accessing a wireless network are provided, which can alleviate simultaneous access of large-scale STAs
  • the access delay caused by the AP improves the speed at which the STA accesses the AP.
  • a method for accessing a wireless network including:
  • the broadcast mode is started
  • the access procedure is initiated to enable the terminal to access the wireless network.
  • the access procedure is initiated to enable the terminal to access the wireless network, including:
  • the PTK is loaded to enable the terminal to access the wireless network.
  • the first message Mes sagel is sent to one of the terminals, and the access procedure is started.
  • the method further includes: starting a timer, setting a broadcast mode duration, while the starting the broadcast mode .
  • the specific value of the duration can be set according to parameters such as the number of users waiting to access, or the busyness of the current system.
  • the broadcast mode is switched to the unicast mode.
  • an access point for a wireless network including:
  • a detecting unit configured to detect a number of terminals waiting to access the wireless network
  • a broadcast activation unit configured to start a broadcast mode when the detecting unit detects that the number of terminals waiting to access the wireless network is greater than or equal to a preset value
  • a sending unit configured to: after the first message Mes sagel is broadcast to the terminal waiting to access the wireless network, start an access procedure to enable the terminal to access the wireless network.
  • the access point further includes:
  • a receiving unit configured to receive a second message returned by one or more terminals, Mes sage2;
  • a calculation verification unit configured to calculate, according to the second message received by the receiving unit, a paired temporary key PTK corresponding to the terminal, using the paired master key PMK in the PTK to the second cancellation Information integrity verification code MIC check;
  • the sending unit is further configured to send a third message Mes sage3 to the terminal after the verifying unit successfully verifies;
  • the receiving unit is further configured to receive a fourth message Mes sage4 returned by the terminal, and an ending unit, configured to: after the fourth message received by the receiving unit is successfully verified, loading the PTK to enable the terminal to access the terminal Wireless network.
  • the access point further includes:
  • a unicast starting unit configured to start a unicast mode when the detecting unit detects that the number of terminals waiting to access the wireless network is less than a preset value
  • the sending unit is further configured to send a first message Me s sagel to one of the terminals according to the order in which the terminal requests access to the wireless network, and initiate an access procedure.
  • the access point further includes:
  • the timing unit is used to start the timer and set the duration of the broadcast mode.
  • the specific value of the duration can be set according to parameters such as the number of users waiting to access, or the busyness of the current system.
  • the access point when the timer that is started by the timer unit expires, the access point further includes:
  • a switching unit for switching the broadcast mode to the unicast mode.
  • the embodiment of the present invention detects the number of terminals waiting to access the access point AP; when detecting that the number of terminals waiting to access the AP exceeds a preset value, the AP initiates the broadcast mode and multiple terminals. At the same time, the access process can greatly speed up the access of the terminal to the AP.
  • the AP starts the unicast mode, which makes the access mode more flexible.
  • the broadcast mode is automatically switched to the unicast mode, which can effectively reduce the calculation amount of the AP and make the access mode more flexible. Therefore, the problem that the terminal accesses the wireless network is too slow due to the excessive number of STAs waiting to access the AP in the prior art is improved, and the terminal accesses the wireless network. Speed, enhance the user experience.
  • Embodiment 1 is a flowchart of a method according to Embodiment 1 of the present invention.
  • FIG. 3 and FIG. 4 are schematic diagrams showing the structure of an access point according to Embodiment 3 of the present invention.
  • FIG. 5 and FIG. 6 are schematic diagrams showing the structure of an access point according to Embodiment 4 of the present invention.
  • This embodiment provides a method for accessing a wireless network, which is specifically applied to a wireless local area network. As shown in FIG. 1, the method includes:
  • Access point The AP detects the number of terminals waiting to access the wireless network.
  • the AP is set up in a public place to scan the terminal STA within the range that it can cover.
  • the AP determines how many STAs in the network coverage are waiting for access by receiving the message frame from the STA.
  • the message frame may be an As request frame or a Probe Reques t Frame. .
  • the AP When detecting that the number of terminals waiting to access the wireless network is greater than or equal to a preset value, the AP starts the broadcast mode. 103. After the AP broadcasts the first message Mes sagel to the terminal waiting to access the wireless network, the AP starts an access procedure to enable the terminal to access the wireless network.
  • the access process initiated by the AP may be a four-step handshake process.
  • both the AP and the STA generate the same PMK through interaction with the AS, and the AP generates a random number ANonce according to the PMK, and the STA generates a random number SNonce according to the PMK.
  • the first message Mes sagel broadcasted to all the terminals waiting to access the wireless network includes a random number ANonce and a sequence code Sn.
  • the method further includes the following process: the AP receives the second message Mes sage2 returned by the ith STA, Wherein, the range of i is 1-n, where n is the total number of terminals waiting to access the wireless network.
  • the i-th STA After receiving the first message sent by the AP, the i-th STA combines ANonce, SNoncei, and PMK, and uses PRF (Pseudo Random Funct ion, the pseudo-random number function) calculates the PTKi, and then sends a second message to the AP, the second message includes SNoncei and the MIC value made to the second message using PTKi; the AP is based on the ANonce in the second message.
  • PRF Physical Random Funct ion, the pseudo-random number function
  • the third message Mes sage3 may be a broadcast frame that is sent by the AP after receiving the second message of the multiple STAs, and may be a unicast frame separately for the i-th STA.
  • the third message includes ANonce and Sn after adding 1.
  • the ith STA After receiving the third message, the ith STA checks the third message, loads the PTKi after verifying correctly, and sends a fourth message to the AP.
  • the fourth message includes Sn after adding 1; after receiving the fourth message Mes sage4 returned by the ith STA, the AP loads the PTKi after the fourth message is successfully verified, and ends the four-step handshake process.
  • n STAs and the AP can perform the four-step handshake at the same time, and do not have to wait for one STA and the AP to complete the access, and then continue to perform the access of the next STA, so the four-step handshake in the broadcast mode can be greatly Improve the speed at which the STA accesses the AP.
  • the AP when detecting that the number of terminals waiting to access the wireless network is less than a preset value, the AP starts a unicast mode; according to the order in which the terminal requests to access the wireless network, the AP ends with one of the terminals.
  • the first message Mes sagel is sent to start the four-step handshake process.
  • the four-step handshake in unicast mode also includes the following processes:
  • the AP receives the second message Mes sage2 returned by the STA. After receiving the first message sent by the AP, the STA combines ANonce, SNonce, and PMK to calculate the PTK by using a PRF (Pseudo Random Funcionic Function) function.
  • PRF Pseudo Random Funcionic Function
  • the AP calculates the PTK by using the PRF function according to ANonce, SNonce, and PMK in the second message, Using the paired master key PMK in the PTK to perform a message integrity authentication code MIC check on the second message, and if the check fails, discarding the second message; if the check succeeds, the AP sends a third message to the STA Mes sage 3.
  • the third message Mes sage3 may be a broadcast frame that is sent by the AP after receiving the second message of the multiple STAs, and may be a unicast frame separately for the i-th STA.
  • the third message includes ANonce and Sn after adding 1.
  • the STA checks the third message, loads the PTK after verifying correctly, and sends a fourth message to the AP, the fourth message. Including the Sn after adding 1; after receiving the fourth message Mes sage4 returned by the STA, the AP loads the PTK after the fourth message is successfully verified, and ends the four-step handshake process.
  • a timer is started, and a broadcast mode duration is set.
  • the specific value of the duration can be set according to parameters such as the number of users waiting to access, or the busyness of the current system.
  • the AP switches the broadcast mode to unicast mode. It should be noted that, when the AP is in the broadcast mode, although the total access speed when multiple STAs access the AP at the same time can be improved, in this mode, the AP needs to reply to the information of multiple STAs, for a single STA. Said that the broadcast mode is not as flexible as the unicast mode.
  • the embodiment of the present invention detects the number of terminals waiting to access the access point AP; when detecting that the number of terminals waiting to access the AP exceeds a preset value, the AP starts the broadcast mode.
  • the four-step handshake with multiple terminals can greatly speed up the access of the terminal to the AP.
  • the AP starts the unicast mode, which makes the access mode more flexible.
  • the broadcast mode is automatically switched to the unicast mode, which can effectively reduce the calculation amount of the AP and make the access mode more flexible.
  • Embodiment 2 the problem that the terminal accesses the wireless network is too slow due to the excessive number of STAs waiting to access the AP in the prior art is improved, and the speed at which the terminal accesses the wireless network is improved, and the user experience is improved.
  • Embodiment 2 the problem that the terminal accesses the wireless network is too slow due to the excessive number of STAs waiting to access the AP in the prior art is improved, and the speed at which the terminal accesses the wireless network is improved, and the user experience is improved.
  • the embodiment provides a method for accessing a wireless network, which is applied to a process in which a terminal STA is associated with an access point AP, and adjusts a manner in which an AP interacts with a STA in a four-step handshake process. As shown in FIG. 2, the method includes :
  • the access point AP receives the message frame sent by the terminal STA.
  • the AP may determine the number of STAs waiting to access the AP according to the request or the interaction frame sent by the STA before the four-step handshake with the STA.
  • the message frame may be an association request frame or a probe request frame, or may be other messages. frame.
  • the AP determines, according to the received message frame, whether the number of STAs in the coverage of the signal is greater than or equal to a preset value. If the value is greater than or equal to the preset value, step 203 is performed. If the value is less than the preset value, step 208 is performed.
  • the AP starts the broadcast mode, and broadcasts the first message to all terminals waiting to access the AP.
  • both the AP and the STA generate the same PMK through interaction with the AS, and the AP generates a random number ANonce according to the PMK, and the STA generates a random number SNonce according to the PMK.
  • the first message broadcasted to all terminals waiting to access the AP includes a random number ANonce and a sequence code Sn.
  • the STA receives the first message, calculates a PTK according to the first message, and sends a second message to the AP.
  • the process of calculating the PTK includes: the STA acquires the ANonce in the first message, and combines itself with SNonce and PMK, using the PRF function to calculate the PTK.
  • the second message includes SNonce and a MIC value used by the second message.
  • the AP calculates a PTK corresponding to the STA according to the second message, and performs a message integrity authentication code MIC check on the second message by using the PMK in the PTK. After the verification succeeds, the AP sends the STA to the STA.
  • the third message Message3 may be a broadcast frame that is sent by the AP after the second message of the multiple STAs is aggregated, and may be a unicast frame separately for the i-th STA.
  • the AP calculates a PTK by using a PRF function according to ANonce, SNonce, and PMK in the second message, and performs a message integrity authentication code MIC on the second message by using the paired master key PMK in the PTK. Check, if the check fails, discard the second message.
  • the third message includes ANonce and Sn after adding 1.
  • the STA checks the third message, loads the PTK after the verification is correct, and sends a fourth message to the AP.
  • the fourth message includes Sn added by one.
  • the AP checks the fourth message, and after the verification succeeds, the PTK is loaded, so that the terminal accesses the wireless network.
  • the AP performs a four-step handshake with one of the terminals according to the order in which the terminal requests to access the wireless network.
  • the four-step handshake process is performed by: the AP sends a first message to one of the terminals; the AP receives the second message returned by the STA, where the STA combines ANonce, SNonce, and PMK after receiving the first message sent by the AP.
  • the PRF Physical Random Function
  • the AP uses the PRF (Pseudo Random Function) function to calculate the PTK, and then sending a second message to the AP, the second message including SNonce and the MIC value made by the PTK for the second message; the AP according to the second Aonce, SNonce in the message And PMK, calculating a PTK by using a PRF function, performing a message integrity authentication code MI C check on the second message by using the paired master key in the UI, and discarding the second message if the verification fails; If the verification is successful, the third message is sent to the STA, and the third message includes ANonce and Sn after adding 1. After receiving the third message, the STA checks the third message, and after the verification is correct, the PTK is loaded. And sending a fourth message to the AP, where the fourth message includes Sn after adding 1; after receiving the fourth message returned by the STA, the AP loads the PTK after the fourth message is successfully verified, and ends the four steps. Handshake process.
  • the AP when the AP is in the broadcast mode, although the total access speed when multiple STAs access the AP at the same time can be improved, in this mode, the AP needs to reply to the information of multiple STAs collectively, for a single STA. Said that the broadcast mode is not as flexible as the unicast mode. Since this solution is only for speeding up the initial access of the STA to the AP, it is not necessary to make the AP directly in the broadcast mode, and the mes sagel for each broadcast is also time-limited. Therefore, a time limit can be set and the AP starts broadcasting. After the mode is over, the AP automatically switches to unicast mode.
  • the method may further include the following steps:
  • the AP starts a timer while starting the broadcast mode.
  • the specific value of the duration of the timer can be set according to parameters such as the number of users waiting to access, or the busyness of the current system. 21 0. If the timer expires, the AP switches the broadcast mode to unicast mode.
  • step 208 is performed.
  • the embodiment of the present invention detects the number of terminals waiting to access the access point AP; when detecting that the number of terminals waiting to access the AP exceeds a preset value, the AP initiates the broadcast mode and multiple terminals. At the same time, the four-step handshake can greatly speed up the access of the terminal to the AP.
  • the AP starts the unicast mode, which makes the access mode more flexible.
  • the broadcast mode is automatically switched to the unicast mode, which can effectively reduce the calculation amount of the AP and make the access mode more flexible. Therefore, the number of STAs waiting to access the AP in the prior art is solved.
  • the problem that the terminal accesses the wireless network is too slow, and the speed of the terminal accessing the wireless network is improved, and the user experience is improved.
  • Embodiment 3 Embodiment 3
  • the embodiment provides an access point of a wireless network, which may be an access point AP in a wireless local area network.
  • the access point 30 includes:
  • the detecting unit 31 is configured to detect a number of terminals waiting to access the wireless network
  • the broadcast initiating unit 32 is configured to start a broadcast mode when the detecting unit 31 detects that the number of terminals waiting to access the wireless network is greater than or equal to a preset value;
  • the sending unit 33 is configured to: after broadcasting the first message Mes sagel to the terminal waiting to access the wireless network, start an access procedure to enable the terminal to access the wireless network.
  • the access point 30 further includes:
  • the receiving unit 34 is configured to receive a second message Mes sage2 returned by one or more terminals, and a calculation check unit 35, configured to calculate, according to the second message received by the receiving unit 34, a paired temporary secret corresponding to the terminal Key PTK, performing a message integrity authentication code MIC check on the second message by using the paired master key PMK in the PTK;
  • the sending unit 33 is further configured to send the third message Me s sage3 to the terminal after the verification check unit 35 successfully verifies;
  • the receiving unit 34 is further configured to receive a fourth message Mes sage4 returned by the terminal;
  • the ending unit 36 is configured to load the PTK after the fourth message received by the receiving unit 34 is successfully verified, so that the terminal accesses the wireless network.
  • the access point 30 further includes:
  • the timing unit 37 is used to start the timer and set the duration of the broadcast mode.
  • the specific value of the duration can be set according to parameters such as the number of users waiting to access, or the busyness of the current system.
  • the access point 30 when the timer that is started by the timing unit 37 times out, the access point 30 further includes: The switching unit 38 is configured to switch the broadcast mode to the unicast mode.
  • the access point 30 further includes:
  • the unicast starting unit 39 is configured to start the unicast mode when the detecting unit 31 detects that the number of terminals waiting to access the wireless network is less than a preset value, and the sending unit 33 is further configured to perform the request according to the terminal.
  • the first message Mes sagel is sent to one of the terminals, and the access process is started.
  • the embodiment of the present invention detects the number of terminals waiting to access the access point AP; when detecting that the number of terminals waiting to access the AP exceeds a preset value, the AP initiates the broadcast mode and multiple terminals. At the same time, the access process can greatly speed up the access of the terminal to the AP.
  • the AP starts the unicast mode, which makes the access mode more flexible.
  • the broadcast mode is automatically switched to the unicast mode, which can effectively reduce the calculation amount of the AP and make the access mode more flexible.
  • Embodiment 4 the problem that the terminal accesses the wireless network is too slow due to the excessive number of STAs waiting to access the AP in the prior art is improved, and the speed at which the terminal accesses the wireless network is improved, and the user experience is improved.
  • Embodiment 4 the problem that the terminal accesses the wireless network is too slow due to the excessive number of STAs waiting to access the AP in the prior art is improved, and the speed at which the terminal accesses the wireless network is improved, and the user experience is improved.
  • the embodiment provides an access point of a wireless network, which may be an access point AP in a wireless local area network.
  • the access point 40 includes:
  • the processor 41 is configured to detect a number of terminals waiting to access the wireless network, and configured to start a broadcast mode when detecting that the number of terminals waiting to access the wireless network is greater than or equal to a preset value; and the transmitter 42 is configured to wait After the terminal accessing the wireless network broadcasts the first message Mes sagel, the access procedure is initiated to enable the terminal to access the wireless network.
  • the access point 40 further includes:
  • the receiver 43 is configured to receive a second message returned by one or more terminals, Mes sage2;
  • the processor 41 is further configured to calculate and end according to the second message received by the receiver 43.
  • the paired temporary key PTK corresponding to the end uses the paired master key ⁇ in the ⁇ to perform a message integrity authentication code MI C check on the second message;
  • the transmitter 42 is further configured to send a third message Mes sage 3 to the terminal after the processor 41 successfully verifies;
  • the receiver 43 is further configured to receive a fourth message Me s sage4 returned by the terminal;
  • the processor 41 is further configured to: after the fourth message received by the receiver 43 is successfully verified, the PTK is loaded to enable the terminal to access the wireless network.
  • the processor 41 is further configured to start a timer and set a broadcast mode duration.
  • the specific value of the duration can be set according to parameters such as the number of users waiting to access, or the busyness of the current system.
  • the processor 41 is further configured to switch the broadcast mode to the unicast mode.
  • the processor 41 is further configured to: when detecting that the number of terminals waiting to access the wireless network is less than a preset value, start the unicast mode; and the transmitter 42 is further configured to request to access the wireless according to the terminal request.
  • the first message Mes sagel is sent to one of the terminals to start the access process.
  • the embodiment of the present invention detects the number of terminals waiting to access the access point AP; when detecting that the number of terminals waiting to access the AP exceeds a preset value, the AP initiates the broadcast mode and multiple terminals. At the same time, the access process can greatly speed up the access of the terminal to the AP.
  • the AP starts the unicast mode, which makes the access mode more flexible.
  • the broadcast mode is automatically switched to the unicast mode, which can effectively reduce the calculation amount of the AP and make the access mode more flexible. Therefore, the problem that the terminal accesses the wireless network is too slow due to the excessive number of STAs waiting to access the AP in the prior art is improved, and the speed at which the terminal accesses the wireless network is improved, and the user experience is improved.
  • the program may be implemented by a computer program to instruct related hardware, and the program may be stored in a computer readable storage medium, and when executed, the program may include the flow of an embodiment of the methods as described above.
  • the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory.

Landscapes

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

Abstract

本发明实施例公开了一种接入无线网络的方法及接入点,涉及通信技术领域,所述方法包括:检测等待接入无线网络的终端数量;当检测到等待接入无线网络的终端数量大于等于预设值时,启动广播模式;向等待接入无线网络的终端广播第一消息Message1后启动接入流程以使所述终端接入所述无线网络。本发明适用于无线网络中接入点和终端之间进行关联。

Description

接入无线网络的方法及接入点 本申请要求于 2013 年 05 月 21 日提交中国专利局、 申请号为 201310189847.4、发明名称为 "接入无线网络的方法及接入点 "的中国专利申 请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及无线通讯技术领域, 具体涉及一种接入无线网络的方法及 接入点。
背景技术 随着无线网络的应用和普及, 人们越来越关注无线网络的安全和效率 问题。 802. lli无线安全网络协议使用 4-Way Handshake (四步握手) 实现 用户会话密钥的动态协商, 使得 STA (Station,终端)与 AP (Access Point, 接入点 ) 关联, 进行数据传输。
上述 802. lli无线安全网络协议的完整认证过程包括: STA和 AP之间的 握手, STA和 AS (Authentication Server, 认证月良务器)之间的握手, AP 和 AS之间的握手, 我们所说的四步握手是指 STA和 AP之间的握手。 在 STA和 AP进行四步握手之前, STA和 AS彼此相互认证生成一个共同的 MSK (Master Session Key, 主会话密钥)。 AS将 MSK传输给 AP, 之后 AP和 STA分别利用这 个 MSK生成相同的 PMK (Pairwise Master Key, 成对主密钥), 其中 PMK是作 为四步握手中生成 PTK ( Pairwise Transient Key, 成对临时密钥) 的材料。
在上述准备工作完成, AP与 STA进行四步握手, 包括: AP发送 Messagel 给 STA, Messagel中包含用于产生 PTK的 AP生成的随机数 ANonce和序列码 Sn。 STA收到 Messagel后得到 ANonce, 并结合自己的 SNonce推导 PTK, 然后向 AP 发送 Message2。 Message2中包含 STA生成的随机数 SNonce和序列码 Sn并使用 计算得到的 PTK做消息完整性校验。 ΑΡ收到 Message2后得到 SNonce,计算 PTK 或者 GTK ( Group Transient Key, 群组临时密钥), 同时使用计算出的 PTK 中的成对主密钥 PMK对数据进行 MIC (Message Integrity Code,消息完整性 认证码)校验, 若校验成功, 向 STA发送 Message3, 该消息包含 ANonce并且 Sn加 1, 使用 PTK做消息完整性校验。 STA收到 Message3之后装入 PTK并发送 Message^ Message4包含 Sn+1。 表明已经装入 PTK, AP收到 Messaged 装入 PTK, 4-Way Handshake完成。
当接入 AP的 STA数量较少时, STA通过 4-Way Handshake与 AP完成动 态会话密钥协商可以很流畅的完成。 但当较多数量的 STA 同时协商动态会 话密钥时, 每一个 STA都需要与 AP完成 4-Way Handshake, 交互传输的信 息过多, 会导致网络信息的拥塞和冲突, 使得一些需要迫切接入网络的 STA 在限定的时间内无法完成与 AP的关联。
发明内容 提供一种接入无线网络的方法及接入点, 能够緩解大规模 STA同时接入
AP时带来的接入延迟问题, 提高 STA接入 AP的速度。
第一方面, 提供一种接入无线网络的方法, 包括:
检测等待接入无线网络的终端数量;
当检测到等待接入无线网络的终端数量大于等于预设值时, 启动广播 模式;
向等待接入无线网络的终端广播第一消息 Mes sagel后启动接入流程以 使所述终端接入所述无线网络。
在第一种可能的实现方式中, 向等待接入无线网络的终端广播第一消 息 Mes sagel后启动接入流程以使所述终端接入所述无线网络包括:
接收一个或多个终端返回的第二消息 Message2; 根据所述第二消息计算与所述终端对应的成对临时密钥 PTK , 使用所述 PTK中的成对主密钥 PMK对所述第二消息进行消息完整性认证码 MIC校验; 校验成功后, 向所述终端发送第三消息 Mes sage3;
接收所述终端返回的第四消息 Me s sage4 ;
对所述第四消息校验成功后装入所述 PTK使所述终端接入所述无线网 络。
进一步的, 当检测到等待接入无线网络的终端数量小于预设值时, 启 动单播模式;
按照所述终端请求接入无线网络的顺序, 向其中一个终端发送第一消 息 Mes sagel , 启动接入流程。
结合第一方面或第一方面的第一种可能的实现方式, 在第二种可能的 实现方式中, 在所述启动广播模式的同时, 所述方法还包括: 启动定时器, 设置广播模式时长。 时长的具体数值可以根据等待接入用户数目、 或当前 系统的繁忙程度等参数进行设置。
结合第二种可能的实现方式, 在第二种可能的实现方式中, 如果所述 定时器超时, 将广播模式切换为单播模式。
第二方面, 提供一种无线网络的接入点, 包括:
检测单元, 用于检测等待接入无线网络的终端数量;
广播启动单元, 用于当所述检测单元检测到等待接入无线网络的终端 数量大于等于预设值时, 启动广播模式;
发送单元, 用于向等待接入无线网络的终端广播第一消息 Mes sagel后 启动接入流程以使所述终端接入所述无线网络。
在第一种可能的实现方式中, 所述接入点还包括:
接收单元, 用于接收一个或多个终端返回的第二消息 Mes sage2 ;
计算校验单元, 用于根据所述接收单元接收的第二消息计算与所述终 端对应的成对临时密钥 PTK , 使用所述 PTK中的成对主密钥 PMK对所述第二消 息进行消息完整性认证码 MIC校验;
所述发送单元还用于所述计算校验单元校验成功后, 向所述终端发送 第三消息 Mes sage3;
所述接收单元还用于接收所述终端返回的第四消息 Mes sage4; 结束单元, 用于对所述接收单元接收的第四消息校验成功后装入所述 PTK使所述终端接入所述无线网络。
进一步的, 所述接入点还包括:
单播启动单元, 用于当所述检测单元检测到等待接入无线网络的终端 数量小于预设值时, 启动单播模式;
所述发送单元还用于按照所述终端请求接入无线网络的顺序, 向其中 一个终端发送第一消息 Me s sagel , 启动接入流程。
结合第二方面或第二方面的第一种可能的实现方式, 在第二种可能的 实现方式中, 所述接入点还包括:
计时单元, 用于启动定时器, 设置广播模式时长。 时长的具体数值可 以根据等待接入用户数目、 或当前系统的繁忙程度等参数进行设置。
结合第二种可能的实现方式, 在第三种可能的实现方式中, 当所述计 时单元启动的所述定时器超时时, 所述接入点还包括:
切换单元, 用于将广播模式切换为单播模式。
与现有技术相比, 本发明实施例通过检测等待接入接入点 AP的终端数 量; 当检测到等待接入 AP的终端数量超过一个预设值时, AP启动广播的模 式与多个终端同时进行接入流程, 可以大大加快终端接入 AP的速度; 当检 测到等待接入 AP的终端数量小于预设值时, AP启动单播模式,使接入方式 更加灵活。 进一步的, 在 AP启动广播模式的同时进行计时, 在计时达到预 定时长后, 自动将广播模式切换为单播模式, 可以有效降低 AP的运算量, 使接入方式更加灵活。 从而解决了现有技术中由于等待接入 AP的 STA数量 过多而导致的终端接入无线网络速度过慢的问题, 提高终端接入无线网络 的速度, 提升用户体验。
附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例或现 有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中 的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不 付出创造性劳动的前提下, 还可以根据这些附图获得其它的附图。
图 1为本发明实施例一提供的方法流程图;
图 2为本发明实施例二提供的方法流程图;
图 3、 图 4为本发明实施例三提供的接入点结构示意图;
图 5、 图 6为本发明实施例四提供的接入点结构示意图。
具体实施方式 为使本发明技术方案的优点更加清楚, 下面结合附图和实施例对本发 明作伴细说明。
实施例一
本实施例提供一种接入无线网络的方法, 特别应用在无线局域网中, 如图 1所示, 所述方法包括:
101、 接入点 AP检测等待接入无线网络的终端数量。
例如, AP设置在公共场所,在其所能覆盖的范围内对终端 STA进行扫描。 AP通过接收来自 STA的消息帧来确定其网络覆盖范围内有多少 STA等待接 入, 其中, 消息帧可以为关联请求帧 ( As soc i a t ion Reques t Frame )或者 探测请求帧 ( Probe Reques t Frame )。
102、 当检测到等待接入无线网络的终端数量大于等于预设值时, AP启 动广播模式。 103、 AP向等待接入无线网络的终端广播第一消息 Mes sagel后启动接入 流程以使所述终端接入所述无线网络。
其中, AP启动的接入流程可以为四步握手流程。
需要说明的是, 在步骤 103之前, AP和 STA都通过与 AS的交互生成了相 同的 PMK , AP根据此 PMK生成随机数 ANonce , STA根据此 PMK生成随机数 SNonce。 其中, 向等待接入无线网络的全部终端广播的第一消息 Mes sagel 中包括随机数 ANonce以及序列码 Sn, 进一步的, 还包括如下流程: AP接收 第 i个 STA返回的第二消息 Mes sage2 , 其中, i取值范围为 1-n, n为等待接入 无线网络的全部终端数量, 第 i个 STA在接收到 AP发送的第一消息后, 结合 ANonce, SNoncei和 PMK, 使用 PRF ( Pseudo Random Funct ion, 伪随机数函 数) 函数计算出 PTKi , 然后向 AP发送第二消息, 第二消息中包括 SNoncei和 使用 PTKi对第二消息做出的 MIC值; AP根据所述第二消息中的 ANonce、 SNonce i和 PMK , 使用 PRF函数计算出 PTKi , 使用所述 ΡΤΚ中的成对主密钥 PMK 对所述第二消息进行消息完整性认证码 MIC校验, 如果校验失败则丟弃第二 消息; 如果检验成功, AP向第 i个 STA发送第三消息 Mes sage3。 第三消息 Mes sage3 可以是 AP接收到多个 STA的第二消息之后, 将对它们的发送信息 聚合在一起后发送的广播帧, 也可以是单独针对第 i个 STA的单播帧。 第三 消息中包括 ANonce以及加 1后的 Sn, 其中第 i个 STA收到第三消息后, 对第三 消息进行检验, 校验正确后装入所述 PTKi , 并向 AP发送第四消息, 第四消 息中包括加 1后的 Sn; AP接收第 i个 STA返回的第四消息 Mes sage4后, 对所述 第四消息校验成功后 AP装入所述 PTKi , 结束四步握手流程。 需要说明的是, 上述 n个 STA与 AP进行四步握手时可以同时进行, 不必等待一个 STA与 AP完成 接入后再继续执行下一个 STA的接入, 因此广播模式下的四步握手可以大幅 提高 STA接入 AP的速度。
进一步的, 当检测到等待接入无线网络的终端数量小于预设值时, AP 启动单播模式; 按照所述终端请求接入无线网络的顺序, AP向其中一个终 端发送第一消息 Mes sagel , 启动四步握手流程。 其中, 单播模式下的四步 握手还包括以下流程:
AP接收 STA返回的第二消息 Mes sage2 , 其中, STA在接收到 AP发送的第 一消息后, 结合 ANonce、 SNonce和 PMK , 使用 PRF ( Pseudo Random Func t ion, 伪随机数函数) 函数计算出 PTK , 然后向 AP发送第二消息, 第二消息中包括 SNonce和使用 PTK对第二消息做出的 MIC值; AP根据所述第二消息中的 ANonce、 SNonce和 PMK , 使用 PRF函数计算出 PTK , 使用所述 PTK中的成对主 密钥 PMK对所述第二消息进行消息完整性认证码 MIC校验, 如果校验失败则 丟弃第二消息; 如果检验成功, AP向 STA发送第三消息 Mes sage 3。 第三消息 Mes sage3 可以是 AP接收到多个 STA的第二消息之后, 将对它们的发送信息 聚合在一起后发送的广播帧, 也可以是单独针对第 i个 STA的单播帧。 第三 消息中包括 ANonce以及加 1后的 Sn , 其中 STA收到第三消息后, 对第三消息 进行检验, 校验正确后装入所述 PTK , 并向 AP发送第四消息, 第四消息中包 括加 1后的 Sn; AP接收 STA返回的第四消息 Mes sage4后, 对所述第四消息校 验成功后 AP装入所述 PTK , 结束四步握手流程。
可选的, 在所述启动广播模式的同时, 启动定时器, 设置广播模式时 长。 时长的具体数值可以根据等待接入用户数目、 或当前系统的繁忙程度 等参数进行设置。 如果所述定时器超时, AP将广播模式切换为单播模式。 需要说明的是, 当 AP处于广播模式下时, 虽然可以提高多个 STA同时接入 AP 时总的接入速度, 但是在此模式下 AP需要对多个 STA的信息集中回复, 对于 单个 STA来说, 广播模式不如单播模式灵活。 由于本方案只是为了加快 STA 初始接入 AP的速度, 所以不必要使 AP—直处于广播模式, 而且每次广播的 mes sagel也是有时效限制的, 因此可以设定一个时间限制, 在 AP开始广播 模式一段时间后, AP自动切换为单播模式。
与现有技术相比, 本发明实施例通过检测等待接入接入点 AP的终端数 量; 当检测到等待接入 AP的终端数量超过一个预设值时, AP启动广播的模 式与多个终端同时进行四步握手, 可以大大加快终端接入 AP的速度; 当检 测到等待接入 AP的终端数量小于预设值时, AP启动单播模式, 使接入方式 更加灵活。 进一步的, 在 AP启动广播模式的同时进行计时, 在计时达到预 定时长后, 自动将广播模式切换为单播模式, 可以有效降低 AP的运算量, 使接入方式更加灵活。 从而解决了现有技术中由于等待接入 AP的 STA数量过 多而导致的终端接入无线网络速度过慢的问题, 提高终端接入无线网络的 速度, 提升用户体验。 实施例二
本实施例提供一种接入无线网络的方法, 应用于终端 STA与接入点 AP关 联的过程, 调整四步握手过程中 AP与 STA交互消息的方式, 如图 2所示, 所 述方法包括:
201、 接入点 AP接收终端 STA发送的消息帧。
例如, AP可以根据与 STA进行四步握手之前, STA发送的请求或者交互 帧来确定等待接入 AP的 STA数量, 所述消息帧可以为关联请求帧或者探测请 求帧, 也可以是其他的消息帧。
202、 AP根据接收到的消息帧, 判断其信号覆盖范围内的 STA数量是否 大于等于预设值, 若大于等于预设值, 执行步骤 203 ; 若小于预设值, 执行 步骤 208。
203、 AP开启广播模式, 向等待接入 AP的所有终端广播第一消息。
需要说明的是, 在步骤 203之前, AP和 STA都通过与 AS的交互生成了相 同的 PMK , AP根据此 PMK生成随机数 ANonce , STA根据此 PMK生成随机数 SNonce。 其中, 向等待接入 AP的全部终端广播的第一消息中包括随机数 ANonce以及序列码 Sn。
204、 STA接收第一消息,根据第一消息计算出 PTK , 向 AP发送第二消息。 例如, 计算 PTK的过程包括: STA获取第一消息中的 ANonce , 结合自身 的 SNonce和 PMK, 使用 PRF函数计算出 PTK。
需要说明的是, 本实施例的步骤中只是对众多等待接入 ΑΡ的 STA中的一 个 STA进行描述, 其计算出的 ΡΤΚ仅用于此 STA与 ΑΡ进行四步握手, 其余 STA 与 ΑΡ的交互过程请参照此 STA与 ΑΡ的交互过程。
其中, 所述第二消息中包括 SNonce和使用 ΡΤΚ对第二消息做出的 MIC值。
205、 AP根据所述第二消息计算与 STA对应的 PTK, 使用所述 PTK中的 PMK 对所述第二消息进行消息完整性认证码 MIC校验, 在校验成功后, AP向 STA 发送第三消息。 第三消息 Message3 可以是 AP接收到多个 STA的第二消息之 后, 将对它们的发送信息聚合在一起后发送的广播帧, 也可以是单独针对 第 i个 STA的单播帧。
具体的, AP根据所述第二消息中的 ANonce、 SNonce和 PMK, 使用 PRF函 数计算出 PTK, 使用所述 PTK中的成对主密钥 PMK对所述第二消息进行消息完 整性认证码 MIC校验, 如果校验失败则丟弃第二消息。
其中, 第三消息中包括 ANonce以及加 1后的 Sn。
206、 STA对第三消息进行检验, 校验正确后装入所述 PTK, 并向 AP发送 第四消息。
其中, 所述第四消息中包括加 1后的 Sn。
207、 AP对第四消息进行校验, 校验成功后装入 PTK, 使终端接入无线 网络。
208、 AP按照所述终端请求接入无线网络的顺序, 与其中一个终端进行 四步握手。
例如, 进行的四步握手流程为: AP向其中一个终端发送第一消息; AP 接收 STA返回的第二消息, 其中, STA在接收到 AP发送的第一消息后, 结合 ANonce, SNonce和 PMK, 使用 PRF ( Pseudo Random Function, 伪随机数函 数) 函数计算出 PTK, 然后向 AP发送第二消息, 第二消息中包括 SNonce和使 用 PTK对第二消息做出的 MIC值; AP根据所述第二消息中的 ANonce、 SNonce 和 PMK , 使用 PRF函数计算出 PTK , 使用所述 ΡΤΚ中的成对主密钥 ΡΜΚ对所述第 二消息进行消息完整性认证码 MI C校验, 如果校验失败则丟弃第二消息; 如 果检验成功, ΑΡ向 STA发送第三消息, 第三消息中包括 ANonce以及加 1后的 Sn , 其中 STA收到第三消息后, 对第三消息进行检验, 校验正确后装入所述 PTK , 并向 AP发送第四消息, 第四消息中包括加 1后的 Sn; AP接收 STA返回的 第四消息后, 对所述第四消息校验成功后 AP装入所述 PTK , 结束四步握手流 程。
需要说明的是, 当 AP处于广播模式下时, 虽然可以提高多个 STA同时接 入 AP时总的接入速度, 但是在此模式下 AP需要对多个 STA的信息集中回复, 对于单个 STA来说, 广播模式不如单播模式灵活。 由于本方案只是为了加快 STA初始接入 AP的速度, 所以不必要使 AP—直处于广播模式, 而且每次广播 的 mes sagel也是有时效限制的, 因此可以设定一个时间限制, 在 AP开始广 播模式一段时间后, AP自动切换为单播模式。
可选的, 在步骤 203-步骤 207执行的同时, 还可以包括如下步骤:
209、 AP在启动广播模式的同时, 启动定时器。
定时器的时长的具体数值可以根据等待接入用户数目、 或当前系统的 繁忙程度等参数进行设置。 21 0、 如果定时器超时, AP将广播模式切换为单 播模式。
其中, 在定时器超时后, 若有新的 STA接入, 执行步骤 208。
与现有技术相比, 本发明实施例通过检测等待接入接入点 AP的终端数 量; 当检测到等待接入 AP的终端数量超过一个预设值时, AP启动广播的模 式与多个终端同时进行四步握手, 可以大大加快终端接入 AP的速度; 当检 测到等待接入 AP的终端数量小于预设值时, AP启动单播模式, 使接入方式 更加灵活。 进一步的, 在 AP启动广播模式的同时进行计时, 在计时达到预 定时长后, 自动将广播模式切换为单播模式, 可以有效降低 AP的运算量, 使接入方式更加灵活。 从而解决了现有技术中由于等待接入 AP的 STA数量过 多而导致的终端接入无线网络速度过慢的问题, 提高终端接入无线网络的 速度, 提升用户体验。 实施例三
本实施例提供一种无线网络的接入点, 可以是无线局域网中接入点 AP , 如图 3所示, 所述接入点 30包括:
检测单元 31 , 用于检测等待接入无线网络的终端数量;
广播启动单元 32 , 用于当所述检测单元 31检测到等待接入无线网络的 终端数量大于等于预设值时, 启动广播模式;
发送单元 33 , 用于向等待接入无线网络的终端广播第一消息 Mes sagel 后启动接入流程以使所述终端接入所述无线网络。
进一步的, 如图 4所示, 所述接入点 30还包括:
接收单元 34 , 用于接收一个或多个终端返回的第二消息 Mes sage2 ; 计算校验单元 35 , 用于根据所述接收单元 34接收的第二消息计算与所 述终端对应的成对临时密钥 PTK , 使用所述 PTK中的成对主密钥 PMK对所述第 二消息进行消息完整性认证码 MIC校验;
所述发送单元 33还用于所述计算校验单元 35校验成功后, 向所述终端 发送第三消息 Me s sage3 ;
所述接收单元 34还用于接收所述终端返回的第四消息 Mes sage4 ;
结束单元 36 , 用于对所述接收单元 34接收的第四消息校验成功后装入 所述 PTK使所述终端接入所述无线网络。
进一步的, 如图 4所示, 所述接入点 30还包括:
计时单元 37 , 用于启动定时器, 设置广播模式时长。 时长的具体数值 可以根据等待接入用户数目、 或当前系统的繁忙程度等参数进行设置。
进一步的, 如图 4所示, 当所述计时单元 37启动的所述定时器超时时, 所述接入点 30还包括: 切换单元 38 , 用于将广播模式切换为单播模式。
进一步的, 如图 4所示, 所述接入点 30还包括:
单播启动单元 39, 用于当所述检测单元 31检测到等待接入无线网络的 终端数量小于预设值时, 启动单播模式; 则所述发送单元 33还用于按照所 述终端请求接入无线网络的顺序, 向其中一个终端发送第一消息 Mes sagel , 启动接入流程。
与现有技术相比, 本发明实施例通过检测等待接入接入点 AP的终端数 量; 当检测到等待接入 AP的终端数量超过一个预设值时, AP启动广播的模 式与多个终端同时进行接入流程, 可以大大加快终端接入 AP的速度; 当检 测到等待接入 AP的终端数量小于预设值时, AP启动单播模式, 使接入方式 更加灵活。 进一步的, 在 AP启动广播模式的同时进行计时, 在计时达到预 定时长后, 自动将广播模式切换为单播模式, 可以有效降低 AP的运算量, 使接入方式更加灵活。 从而解决了现有技术中由于等待接入 AP的 STA数量过 多而导致的终端接入无线网络速度过慢的问题, 提高终端接入无线网络的 速度, 提升用户体验。 实施例四
本实施例提供一种无线网络的接入点, 可以是无线局域网中接入点 AP , 如图 5所示, 所述接入点 40包括:
处理器 41 , 用于检测等待接入无线网络的终端数量; 以及, 用于当检 测到等待接入无线网络的终端数量大于等于预设值时, 启动广播模式; 发送器 42 , 用于向等待接入无线网络的终端广播第一消息 Mes sagel后 启动接入流程以使所述终端接入所述无线网络。
进一步的, 如图 6所示, 所述接入点 40还包括:
接收器 43 , 用于接收一个或多个终端返回的第二消息 Mes sage2 ;
所述处理器 41还用于根据所述接收器 43接收的第二消息计算与所述终 端对应的成对临时密钥 PTK , 使用所述 ΡΤΚ中的成对主密钥 ΡΜΚ对所述第二消 息进行消息完整性认证码 MI C校验;
所述发送器 42还用于所述处理器 41校验成功后, 向所述终端发送第三 消息 Mes sage 3 ;
所述接收器 43还用于接收所述终端返回的第四消息 Me s sage4 ;
则所述处理器 41还用于对所述接收器 43接收的第四消息校验成功后装 入所述 PTK使所述终端接入所述无线网络。
进一步的, 所述处理器 41还用于启动定时器, 设置广播模式时长。 时 长的具体数值可以根据等待接入用户数目、 或当前系统的繁忙程度等参数 进行设置。
进一步的, 当所述处理器 41启动的所述定时器超时时, 所述处理器 41 还用于将广播模式切换为单播模式。
进一步的, 所述处理器 41还用于当检测到等待接入无线网络的终端数 量小于预设值时, 启动单播模式; 则所述发送器 42还用于按照所述终端请 求接入无线网络的顺序, 向其中一个终端发送第一消息 Mes sagel , 启动接 入流程。
与现有技术相比, 本发明实施例通过检测等待接入接入点 AP的终端数 量; 当检测到等待接入 AP的终端数量超过一个预设值时, AP启动广播的模 式与多个终端同时进行接入流程, 可以大大加快终端接入 AP的速度; 当检 测到等待接入 AP的终端数量小于预设值时, AP启动单播模式, 使接入方式 更加灵活。 进一步的, 在 AP启动广播模式的同时进行计时, 在计时达到预 定时长后, 自动将广播模式切换为单播模式, 可以有效降低 AP的运算量, 使接入方式更加灵活。 从而解决了现有技术中由于等待接入 AP的 STA数量过 多而导致的终端接入无线网络速度过慢的问题, 提高终端接入无线网络的 速度, 提升用户体验。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储 于一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的 实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体
( Read-Only Memory,
RAM )等。

Claims

权利要求
1、 一种接入无线网络的方法, 其特征在于, 包括:
检测等待接入无线网络的终端数量;
当检测到等待接入无线网络的终端数量大于等于预设值时, 启动广播 模式;
向等待接入无线网络的终端广播第一消息 Mes sagel后启动接入流程以 使所述终端接入所述无线网络。
2、 根据权利要求 1所述的方法, 其特征在于, 向等待接入无线网络的 终端广播第一消息 Me s s age 1后启动接入流程以使所述终端接入所述无线网 络包括:
接收一个或多个所述终端返回的第二消息 Mes sage2 ;
根据所述第二消息计算与所述终端对应的成对临时密钥 PTK , 使用所述 PTK中的成对主密钥 PMK对所述第二消息进行消息完整性认证码 MIC校验; 校验成功后, 向所述终端发送第三消息 Mes sage3;
接收所述终端返回的第四消息 Mes sage4;
对所述第四消息校验成功后装入所述 PTK使所述终端接入所述无线网 络。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 在所述启动广播模式 的同时, 所述方法还包括: 启动定时器, 设置广播模式时长。
4、 根据权利要求 3所述的方法, 其特征在于, 如果所述定时器超时, 将广播模式切换为单播模式。
5、 根据权利要求 1所述的方法, 其特征在于, 当检测到等待接入无线 网络的终端数量小于预设值时, 启动单播模式;
按照所述终端请求接入无线网络的顺序, 向其中一个终端发送第一消 息 Mes sagel , 启动接入流程。
6、 一种无线网络的接入点, 其特征在于, 包括:
检测单元, 用于检测等待接入无线网络的终端数量;
广播启动单元, 用于当所述检测单元检测到等待接入无线网络的终端 数量大于等于预设值时, 启动广播模式;
发送单元, 用于向等待接入无线网络的终端广播第一消息 Mes sagel后 启动接入流程以使所述终端接入所述无线网络。
7、 根据权利要求 6所述的接入点, 其特征在于, 所述接入点还包括: 接收单元, 用于接收一个或多个所述终端返回的第二消息 Mes sage2 ; 计算校验单元, 用于根据所述接收单元接收的第二消息计算与所述终 端对应的成对临时密钥 PTK , 使用所述 PTK中的成对主密钥 PMK对所述第二消 息进行消息完整性认证码 MIC校验;
所述发送单元还用于所述计算校验单元校验成功后, 向所述终端发送 第三消息 Mes sage3;
所述接收单元还用于接收所述终端返回的第四消息 Mes sage4; 结束单元, 用于对所述接收单元接收的第四消息校验成功后装入所述
PTK使所述终端接入所述无线网络。
8、根据权利要求 6或 7所述的接入点, 其特征在于, 所述接入点还包括: 计时单元, 用于启动定时器, 设置广播模式时长。
9、 根据权利要求 8所述的接入点, 其特征在于, 当所述计时单元启动 的所述定时器超时时, 所述接入点还包括:
切换单元, 用于将广播模式切换为单播模式。
10、 根据权利要求 6所述的接入点, 其特征在于, 所述接入点还包括: 单播启动单元, 用于当所述检测单元检测到等待接入无线网络的终端 数量小于预设值时, 启动单播模式;
所述发送单元还用于按照所述终端请求接入无线网络的顺序, 向其中 一个终端发送第一消息 Mes sagel , 启动接入流程。
PCT/CN2013/087411 2013-05-21 2013-11-19 接入无线网络的方法及接入点 WO2014187091A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310189847.4 2013-05-21
CN201310189847.4A CN103298062B (zh) 2013-05-21 2013-05-21 接入无线网络的方法及接入点

Publications (1)

Publication Number Publication Date
WO2014187091A1 true WO2014187091A1 (zh) 2014-11-27

Family

ID=49098217

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087411 WO2014187091A1 (zh) 2013-05-21 2013-11-19 接入无线网络的方法及接入点

Country Status (2)

Country Link
CN (1) CN103298062B (zh)
WO (1) WO2014187091A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103298062B (zh) * 2013-05-21 2016-08-10 华为技术有限公司 接入无线网络的方法及接入点
CN105025444A (zh) * 2014-04-16 2015-11-04 中兴通讯股份有限公司 一种实现设备到设备发现业务的方法及终端
CN106255180A (zh) * 2016-10-18 2016-12-21 青岛海信宽带多媒体技术有限公司 无线网络接入点的连接方法及装置
CN107018051B (zh) * 2017-03-29 2020-12-15 西安电子科技大学 一种基于排队的网络接入方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480082A (zh) * 2006-06-23 2009-07-08 诺基亚西门子通信有限责任两合公司 网络选择
CN102647730A (zh) * 2011-02-18 2012-08-22 华为技术有限公司 一种邻区信息发送和接收方法、移动终端及基站
WO2013040046A1 (en) * 2011-09-12 2013-03-21 Qualcomm Incorporated Systems and methods for encoding exchanges with a set of shared ephemeral key data
CN103298062A (zh) * 2013-05-21 2013-09-11 华为技术有限公司 接入无线网络的方法及接入点

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5497420A (en) * 1994-02-07 1996-03-05 Le Groupe Vide/ otron Lte/ e Cable TV system using passwords
KR100342975B1 (ko) * 2000-01-17 2002-07-04 김용화 계층적 전송과 분산 아이피 멀티캐스팅을 이용한 인터넷 방송 시스템 및 인터넷 방송 방법
US9357565B2 (en) * 2010-03-09 2016-05-31 Qualcomm Incorporated Multi-user uplink communication using EDCA with polling
US9143937B2 (en) * 2011-09-12 2015-09-22 Qualcomm Incorporated Wireless communication using concurrent re-authentication and connection setup

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480082A (zh) * 2006-06-23 2009-07-08 诺基亚西门子通信有限责任两合公司 网络选择
CN102647730A (zh) * 2011-02-18 2012-08-22 华为技术有限公司 一种邻区信息发送和接收方法、移动终端及基站
WO2013040046A1 (en) * 2011-09-12 2013-03-21 Qualcomm Incorporated Systems and methods for encoding exchanges with a set of shared ephemeral key data
CN103298062A (zh) * 2013-05-21 2013-09-11 华为技术有限公司 接入无线网络的方法及接入点

Also Published As

Publication number Publication date
CN103298062B (zh) 2016-08-10
CN103298062A (zh) 2013-09-11

Similar Documents

Publication Publication Date Title
US10412083B2 (en) Dynamically generated SSID
US11451614B2 (en) Cloud authenticated offline file sharing
CN107005927B (zh) 用户设备ue的接入方法、设备及系统
US10588015B2 (en) Terminal authenticating method, apparatus, and system
EP2834965B1 (en) Push button configuration for hybrid network devices
US20150009862A1 (en) Wireless Network Connection Establishment Method and Terminal Device
US20110320802A1 (en) Authentication method, key distribution method and authentication and key distribution method
US20060094401A1 (en) Method and apparatus for authentication of mobile devices
EP3469823A1 (en) Unified authentication for heterogeneous networks
EP2214430A1 (en) An access authentication method applying to ibss network
WO2012097723A1 (zh) 数据的安全保护方法、网络侧实体和通信终端
JP2013516805A (ja) 発展型パケットシステム及びその緊急呼出のアタッチメント処理方法
WO2015176251A1 (zh) 一种设备到设备d2d通信中的信号传输方法及装置
WO2010115326A1 (zh) 一种无线局域网终端的预鉴别方法及无线局域网系统
WO2018076377A1 (zh) 一种数据传输方法、终端、节点设备以及系统
WO2010127539A1 (zh) 一种流媒体业务的接入认证方法及系统
WO2010139163A1 (zh) 一种实时数据业务的实现方法和实时数据业务系统
Pratas et al. Massive machine-type communication (mMTC) access with integrated authentication
US20130301833A1 (en) System and Method for Establishing a Secure Connection in Communications Systems
WO2013166908A1 (zh) 密钥信息生成方法及系统、终端设备、接入网设备
US20180095500A1 (en) Tap-to-dock
WO2014187091A1 (zh) 接入无线网络的方法及接入点
WO2016023198A1 (zh) 异构网络之间的切换方法及切换系统
CN113423103B (zh) 一种d2d辅助通信的统一轻量级可溯源安全数据传输方法
WO2013083082A1 (zh) 一种通信方法、装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13885043

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13885043

Country of ref document: EP

Kind code of ref document: A1