WO2014169670A1 - 一种wlan组网方法及系统 - Google Patents

一种wlan组网方法及系统 Download PDF

Info

Publication number
WO2014169670A1
WO2014169670A1 PCT/CN2013/088775 CN2013088775W WO2014169670A1 WO 2014169670 A1 WO2014169670 A1 WO 2014169670A1 CN 2013088775 W CN2013088775 W CN 2013088775W WO 2014169670 A1 WO2014169670 A1 WO 2014169670A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
access point
filled
address
message
Prior art date
Application number
PCT/CN2013/088775
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 WO2014169670A1 publication Critical patent/WO2014169670A1/zh

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • 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/14Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection

Definitions

  • the present invention relates to the field of wireless local area network (WLAN) technology, and in particular, to a WLAN networking method and system.
  • WLAN wireless local area network
  • Wi-Fi Wireless Fidelity
  • Wi-Fi is simply a WLAN technology based on the IEEE 802.11 standard. Wi-Fi allows wireless connectivity in a 2.4 GHz or 5 GHz RF band in the Industrial, Scientific, Medical (ISM) band that does not require authorization in a local area network environment. They are currently widely used, from home to business to Internet access hotspots. Currently, smart phones and smart TVs basically support Wi-Fi.
  • Station (Station for short) is generally a client in a WLAN. It can be a computer with a wireless network card or a smart phone with a Wi-Fi module. The STA can be mobile or fixed, and is the most basic component of the WLAN. When the WLAN is deployed through an access point (AP), the STA needs to scan the AP to discover the AP.
  • AP access point
  • the technical problem to be solved by the embodiments of the present invention is to provide a WLAN networking method and system, which eliminates the cumbersome operation manually performed by the user on the client, and is more convenient for the user to perform WLAN networking.
  • the technical solution adopted by the embodiment of the present invention is that, in the WLAN networking method, the access point performs the following steps: Step A1: Send a connection message to the client according to the client address, where the connection message carries the authentication authentication information; In step A2, when the client automatically connects to the access point based on the authentication and authentication information in the connection message, the client cooperates with the access of the client.
  • the access point further performs the following steps: The access point periodically sends an access point broadcast message, where the access point address is carried; when the response message of the client is received, the response message is parsed to obtain the client address. Or, before the step A1, the access point performs the following steps: The access point receives the client broadcast message, and parses the client broadcast message to obtain the client address. Preferably, before the step A1, the access point further performs the following steps: the access point determines whether the client address is within a set legal address range, and if yes, sends a connection message to the client based on the client address, otherwise The process ends.
  • step A1 if the access point belongs to a certain network and the client access is not supported, the connection message sent by the access point to the client further carries other available in the networking.
  • the client performs the following steps: Step B1, the client receives the connection message, and parses the authentication authentication information from the connection message; Step B2, automatically based on the authentication authentication information in the connection message Connect to the access point.
  • the client before step B1, the client further performs the following steps: The client periodically sends a client broadcast message, which carries the client address, so that the access point knows the client address; or, before step B1, the client performs the following steps: After the client receives the broadcast message of the access point, Resolving the access point broadcast message to obtain the access point address; sending a response message to the access point based on the access point address, where the response message carries the client address, so that the access point knows the client address.
  • the connection message is a first extended management frame, in the first extended management frame, the subtype value is filled in the first reserved field, and the frame body value is filled in the authentication authentication information; the response message is the second extended management frame.
  • the subtype value is filled in the second reserved field, and the frame body value is filled in the transmission rate supported by the client;
  • the client broadcast message is the third extended management frame, and in the third extended management frame,
  • the subtype value is filled in the third reserved field, the destination address value is filled in all 1, the basic service combination identifier is filled in all 1, and the frame body value is filled in the transmission rate supported by the client.
  • the embodiment of the present invention further provides an access point, including: a connection initiation module, configured to send a connection message to the client based on the client address, where the connection message carries authentication authentication information; and the connection execution module is set to be a client When the terminal automatically connects to the access point based on the authentication and authentication information in the connection message, it cooperates with the access of the client.
  • a connection initiation module configured to send a connection message to the client based on the client address, where the connection message carries authentication authentication information
  • the connection execution module is set to be a client
  • the access point further includes: an access point broadcast module, configured to periodically send an access point broadcast message, where the access point address is carried; and the access point parsing module is configured to receive a response message from the client, Parsing the response message to obtain the client address; or, the access point further includes: The access point parsing module is configured to parse the client broadcast message to obtain the client address when receiving the client broadcast message.
  • the access point further includes: an address determining module, configured to determine whether the client address is within a set legal address range, and if yes, invoke a connection initiation module, otherwise the client is not allowed to access .
  • the connection message sent by the connection initiation module to the client further carries other available access points in the networking.
  • the address is connected to the client by the connection execution module of the other available access points.
  • the connection message is a first extended management frame, in the first extended management frame, the subtype value is filled in the first reserved field, and the frame body value is filled in the authentication authentication information; the response message is the second extended management frame.
  • the subtype value is filled in the second reserved field, and the frame body value is filled in the transmission rate supported by the client;
  • the client broadcast message is the third extended management frame, and in the third extended management frame,
  • the subtype value is filled in the third reserved field, the destination address value is filled in all 1, the basic service combination identifier is filled in all 1, and the frame body value is filled in the transmission rate supported by the client.
  • the embodiment of the present invention further provides a client, including: a client parsing module, configured to receive a connection message, parse the authentication authentication information from the connection message; and the automatic connection module is set to be based on the authentication authentication information in the connection message. Automatically connect to the access point.
  • a client parsing module configured to receive a connection message, parse the authentication authentication information from the connection message; and the automatic connection module is set to be based on the authentication authentication information in the connection message. Automatically connect to the access point.
  • the client further includes: a client broadcast module, configured to periodically send a client broadcast message, where the client address is carried, so that the access point learns the client address; or the client further includes: Module The client parsing module is further configured to: after receiving the broadcast message of the access point, the client parses the access point broadcast message to obtain an access point address; and the response module is configured to send a response message to the access point based on the access point address, where The response message carries the client address, so that the access point knows the client address.
  • the connection message is a first extended management frame, in the first extended management frame, the subtype value is filled in the first reserved field, and the frame body value is filled in the authentication authentication information; the response message is the second extended management frame.
  • the subtype value is filled in the second reserved field, and the frame body value is filled in the transmission rate supported by the client;
  • the client broadcast message is the third extended management frame, and in the third extended management frame,
  • the subtype value is filled in the third reserved field, the destination address value is filled in all 1, the basic service combination identifier is filled in all 1, and the frame body value is filled in the transmission rate supported by the client.
  • the WLAN networking method and system according to the embodiment of the present invention can automatically connect the client to the access point, thereby eliminating some manual and cumbersome operations of the user on the client.
  • the access point can also actively discover and communicate with clients existing in the surrounding environment. Further, if the access points belong to the same network, the active access point can reach the maximum load when the current access point reaches the maximum load.
  • the connection to other access points where other resources are idle is simple and quick to implement, and it is more convenient for users to establish their own private networks and realize network sharing.
  • FIG. 2 is a flowchart of a WLAN networking method according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of performing an access point in a WLAN networking method according to a first embodiment of the present invention
  • FIG. 4 is a flowchart of a client execution in the WLAN networking method according to the first embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a configuration of an access point in a WLAN networking system according to the second embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of another access point in a WLAN networking system according to a second embodiment of the present invention
  • the WLAN networking method of the first embodiment of the present invention includes the following specific steps: Step S101: The access point sends a connection message to the client according to the client address, where the connection message carries the authentication.
  • the method for obtaining the client address includes: The access point periodically sends an access point broadcast message, where the address of the access point is carried; after the client receives the broadcast message of the access point, the address is based on the access point. Sending a response message to the access point, where the response message carries the client address, so that the access point obtains the client address; or the method for obtaining the client address may include: the client periodically sends the client broadcast message.
  • the client address is carried, so that the access point obtains the client address.
  • Step S102 the client automatically connects to the access point based on the authentication authentication information in the connection message.
  • the method further includes: determining, by the access point, whether the address of the client is within a set legal address range, and if yes, sending a connection message to the client based on the address of the client, otherwise the process ends.
  • multiple access points belong to the same network, for example: multiple access points form an ESSID (Extension Service Set Identifier) network under the management of one device, or multiple access points
  • ESSID Extension Service Set Identifier
  • the networking is connected by bridging, belonging to the same WDS (Wireless Distribution System). If any of the access points belonging to a certain network cannot support the client access, the connection message sent by the access point to the client also carries the addresses of other available access points in the networking.
  • WDS Wireless Distribution System
  • the access point broadcast message sent by the access point still uses the Beacon frame in the prior art, including the name of the access point, the MAC (Media Access Control) address of the access point, and the like.
  • the connection message sent by the access point, the response message sent by the client, and the client broadcast message are all extended management frames in the 802.11 protocol.
  • the connection message sent by the access point is the first extended management frame. In the first extended management frame, the subtype value is filled in the first reserved field, and the frame body value is filled in the authentication authentication information; the response message sent by the client is the second extension.
  • the subtype value is filled in the second reserved field, and the frame body value is filled in the transmission rate supported by the client;
  • the client broadcast message is the third extended management frame, and in the third extended management frame,
  • the subtype value is filled in the third reserved field, the destination address value is filled in all 1, the basic service combination identifier is filled in all 1, and the frame body value is filled in the transmission rate supported by the client.
  • the WLAN networking method the steps of the access point and the client are respectively described, and the steps performed by each are described. As shown in FIG.
  • Step A0 the access point periodically sends an access point broadcast message, where the address of the access point is carried;
  • the response message is sent, the response message is parsed to obtain the client address.
  • step A1 the access point sends a connection message to the client based on the client address, where the connection message carries the authentication authentication information;
  • Step A2 when the client is based on the connection message When the authentication information in the connection is automatically connected to the access point, it cooperates with the access of the client.
  • Step A10 The access point receives the client broadcast message, and parses the client broadcast message to obtain the client address.
  • Step A1 the access point sends a connection message to the client based on the client address, where the connection message carries the authentication authentication information; Step A12, when the client automatically connects to the access point based on the authentication authentication information in the connection message When combined with the client's access.
  • the access point further performs the following steps: the access point determines whether the client address is within a set legal address range, and if yes, sends a connection to the client based on the client address Message, otherwise the process ends. For example, the user can pre-set the range of client addresses that can be connected to the network. If it belongs to the client address range, subsequent access is allowed. Otherwise, subsequent access is not allowed.
  • the connection message sent by the access point to the client further carries the address of other available access points in the networking.
  • the access of the client is coordinated by other available access points.
  • the client performs the following steps: Step B0: The client periodically sends a client broadcast message, where the client address is carried, so that the access point learns the client. Address; Step B1, the client receives the connection message, and parses the authentication authentication information from the connection message; Step B2, automatically connects to the access point based on the authentication authentication information in the connection message.
  • Step B0 The client periodically sends a client broadcast message, where the client address is carried, so that the access point learns the client. Address; Step B1, the client receives the connection message, and parses the authentication authentication information from the connection message; Step B2, automatically connects to the access point based on the authentication authentication information in the connection message.
  • Step B10 After receiving the broadcast message of the access point, the client parses the access point broadcast message to obtain an access point. The address is sent to the access point based on the access point address, where the response message carries the client address, so that the access point knows the client address.
  • Step B11 The client receives the connection message, and parses the authentication authentication information from the connection message.
  • Step B12 automatically connects to the access point based on the authentication authentication information in the connection message.
  • a second embodiment of the present invention includes the following components: The access point is configured to send a connection message to the client based on the client address, where the connection message carries the authentication authentication information, and the client is configured to automatically connect to the access point based on the authentication and authentication information in the connection message.
  • the access point is further configured to periodically send an access point broadcast message, where the access point address is carried, and the client is further configured to receive the access point broadcast message, based on The access point address sends a response message to the access point, where the response message carries the client address, so that the access point obtains the client address; or the client is also used to periodically send the client broadcast message, where the client carries the client The end address, so that the access point gets the client address.
  • the access point is further configured to: before sending the connection message to the client, determine whether the client address is within a set legal address range, and if yes, send a connection message to the client based on the client address, otherwise The process ends.
  • the connection message sent by the access point to the client further carries the address of other available access points in the networking.
  • the access point broadcast message sent by the access point still uses the Beacon frame in the prior art, including the name of the access point, the MAC (Media Access Control) address of the access point, and the like.
  • the connection message sent by the access point, the response message sent by the client, and the client broadcast message are all extended management frames in the 802.11 protocol.
  • the connection message sent by the access point is the first extended management frame.
  • the subtype value is filled in the first reserved field, and the frame body value is filled in the authentication authentication information;
  • the response message sent by the client is the second extension.
  • the subtype value is filled in the second reserved field, and the frame body value is filled in the transmission rate supported by the client;
  • the client broadcast message is the third extended management frame, and in the third extended management frame,
  • the subtype value is filled in the third reserved field, the destination address value is filled in all 1, the basic service combination identifier is filled in all 1, and the frame body value is filled in the transmission rate supported by the client.
  • an access point in this embodiment includes the following components:
  • the access point broadcast module 100 is configured to periodically send an access point broadcast message, where the access point address is carried; and the access point parsing module 200, set to receive the response message of the client, parse the response message to obtain the client address;
  • the connection initiation module 300 is configured to send a connection message to the client based on the client address, where the connection message carries the authentication authentication information;
  • the execution module 400 is configured to cooperate with the access of the client when the client automatically connects to the access point based on the authentication and authentication information in the connection message.
  • an access point in this embodiment includes the following components:
  • the access point parsing module 200 is configured to parse a client broadcast message to obtain a client address when receiving a client broadcast message.
  • the connection initiation module 300 is configured to send a connection message to the client based on the client address, where the connection message carries authentication authentication information; and the connection execution module 400 is configured to automatically connect when the client is based on the authentication authentication information in the connection message.
  • the access point further includes: an address determining module 500, configured to determine whether the client address is within a set legal address range, and if yes, invoke the connection initiation module 300, otherwise the client is not allowed Access.
  • a client of this embodiment includes the following components:
  • the client broadcast module 101 is configured to periodically send a client broadcast message, where the client address is carried, so that the access point knows the client address;
  • the client parsing module 102 is configured to receive the connection message, and parse the packet from the connection message.
  • the automatic connection module 103 is configured to automatically connect to the access point based on the authentication authentication information in the connection message.
  • a client in this embodiment includes the following components:
  • the client parsing module 102 is configured to: after receiving the broadcast message of the access point, the client parses the access point to obtain a broadcast message.
  • the response module 104 is configured to send a response message to the access point based on the access point address, where the response message carries the client address, thereby The entry point knows the client address.
  • the automatic connection module 103 is configured to automatically connect to the access point based on the authentication authentication information in the connection message.
  • connection message is a first extended management frame, in the first extended management frame, the subtype value is filled in the first reserved field, and the frame body value is filled in the authentication authentication information;
  • response message is the second Extending the management frame, in the second extended management frame, the subtype value is filled in the second reserved field, and the frame body value is filled in the transmission rate supported by the client;
  • client broadcast message is the third extended management frame, and the third extended management is performed.
  • the subtype value is filled in the third reserved field, the destination address value is filled in all 1, the basic service combination identifier is filled in all 1, and the frame body value is filled in the transmission rate supported by the client.
  • an application example of the present invention involves a WLAN client (hereinafter referred to as STA) and an access point (hereinafter referred to as AP).
  • STA functions as a WLAN workstation and includes 802.11 functions
  • the AP is responsible for providing WLAN access services.
  • the access point broadcast message sent by the access point still uses the Beacon frame in the prior art, including the name of the access point, the MAC address of the access point, and the like, and the connection message sent by the access point, Both the response message and the client broadcast message sent by the client use the extended management frame in the 802.11 protocol.
  • the management frame format in the 802.11 protocol is as shown in FIG. 10, wherein the subtypes of the management frame subtype values 0110-0111 and 1110-1111 are currently unused and can be used as an extension type in the embodiment of the present invention.
  • the so-called information element refers to a data block of variable length. Each data block is labeled with the type number and size, and the data bits of various information elements have a specific interpretation.
  • the response message sent by the client can be used as the response frame type of the Beacon, and the DA (Destination Address) and the BSSID (Basic Service Set Identifier) are filled in to send the Beacon frame.
  • the MAC address of the point, the source address of the SA, fills in the MAC address of the client, and the information element such as the name of the access point and the transmission rate supported by the client can be added to the Frame Body according to the standard of the 802.11 protocol.
  • the connection message sent by the access point can use the subtype value 1111 as the connection frame type of the access point, the DA fills the MAC address of the client to be transmitted, the SA fills the MAC address of the access point, and the BSSID fills in with the current access point.
  • an information element such as an access point name, an encryption method, and a key may be added to the Frame Body.
  • the name of the access point corresponds to the name of the access point filled in the BSSID.
  • the client broadcasts a message. You can use the subtype value 0111 as the broadcast frame type of the client.
  • the DA fills all 1s
  • the SA fills the client's MAC address
  • the BSSID fills all 1. You can add client-side support to the Frame Body according to the 802.11 protocol. Transmission rate.
  • Step S1 The STA monitors the air interface of the air interface and waits for the arrival of the Beacon frame sent by the AP.
  • step S2 the STA receives the Beacon frame, parses it through the frame parsing module, and saves the parsing information.
  • step S3 The STA fills the Beacon response frame by using the frame extension module according to the parsing information.
  • step S4 If the STA receives the AP connection frame sent by the AP, it parses through the frame parsing module, and proceeds to the next step; otherwise, the process ends.
  • step S5 the STA connects to the AP according to the parsed AP connection information.
  • Step C1 The AP continuously sends Beacon frames at certain intervals to announce the existence of itself.
  • Step C2 After receiving the Beacon response frame, the AP parses through the frame parsing module.
  • step C3 the AP connection frame is filled by the frame extension module according to the parsed information and the load level of the AP.
  • step C4 the AP connection frame is sent to the STA, and the process ends. It should be noted that, when the AP reaches the required load, that is, the excess STA is not allowed to access, the access point name and the BSSID of the AP connection frame may be the same ESSID or other AP information in the WDS.
  • the WLAN networking mode and system implements the function of the AP discovering the STA and transmitting the connection information with the STA by using the extended management frame, so that the connection of the STA can be directly controlled at the AP end.
  • the user can perform fast networking directly on the AP, implement automatic connection of the STA, avoid some misoperations of the user, and enable the STA to connect to other resources when the AP reaches the maximum load.
  • AP which is convenient for users to implement WLAN network sharing.
  • the technical means and functions of the present invention for achieving the intended purpose can be more deeply and specifically understood by the description of the specific embodiments.
  • the accompanying drawings are only for the purpose of illustration and description, and are not intended to limit.
  • the technical solution provided by the embodiments of the present invention can be applied to the field of a wireless local area network, and the client can be automatically connected to the access point, thereby eliminating some manual and cumbersome operations of the user on the client; the access point can also be active.
  • the client can be notified to connect to other resources idlely. Incoming point, it is simple and fast to implement, and it is more convenient for users to establish their own private network and realize network sharing.

Landscapes

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

Abstract

本发明公开了一种WLAN组网方法及系统,该方法包括:步骤S101,接入点基于客户端地址向客户端发送连接消息,所述连接消息中携带鉴权认证信息;步骤S102,客户端基于连接消息中的鉴权认证信息自动连接到接入点。本发明可以实现客户端自动连接到接入点,省去了用户在客户端的一些手动繁琐的操作;接入点也可以主动的去发现周围环境中存在的客户端并与其进行连接通信;进一步的,若接入点属于同一组网,则在当前接入点达到最大负载时,可以主动通知客户端连接到其他资源闲置的接入点,实现起来简单快捷,更方便用户建立自己的私有网络,实现网络共享。

Description

一种 WLAN组网方法及系统
技术领域 本发明涉及无线局域网络(Wireless Local Area Networks, 简称为 WLAN)技术领 域, 尤其涉及一种 WLAN组网方法及系统。 背景技术 近些年来, 各种无线技术迅猛发展, 无线联网给用户带来了很多好处, 用户之间 可以方便、 轻松地交换电子名片、 文件或其他任何信息; 通过将 PC与掌上设备、 移 动电话、 打印机、 扫描仪、 传真机以及复印机等外设相联, 来建立个人区域网络。 无线保真 (Wireless Fidelity, 简称为 Wi-Fi) 技术是一个基于 IEEE 802.11系列标 准的无线网络通信技术的品牌, 目的是改善基于 IEEE 802.11标准的无线网络产品之 间的互通性, 由 Wi-Fi联盟所持有, 简单来说 Wi-Fi就是一种基于 IEEE802.11标准的 WLAN 技术。 Wi-Fi 允许在局域网络环境中使用可以不必授权的工业、 科学、 医学 (Industrial Scientific Medical, 简称为 ISM)频段中的 2.4 GHz或 5 GHz射频波段进行 无线连接。 它们目前被广泛应用, 从家庭到企业再到 Internet接入热点, 目前的智能 手机以及智能电视上, 基本上都支持 Wi-Fi。 站 (Station, 简称为 STA) 在 WLAN 中一般为客户端, 可以是装有无线网卡的 计算机, 也可以是有 Wi-Fi模块的智能手机。 STA可以是移动的, 也可以是固定的, 是 WLAN的最基本组成单元。 目前的 WLAN在通过接入点(Access Point, 简称为 AP)进行组网时, 需要 STA 通过扫描的方式去发现 AP, 然后需要了解 AP的加密方式, 如果是开放式的, 可以直 接进行连接; 如果是加密的, 则需通过密钥进行鉴权认证。这种组网方式是单方向的; 目前大部分 AP都是加密的,很多用户在连接 AP时都需要手动输入密钥,然后再进行 连接, 如用户可能输入了错误的密钥, 或者 AP 已经达到了最大的负载量, 即已连接 的 STA数目达到最大, 那么用户都无法连接到 AP, 这样给用户带来了很多不便和疑 惑。 发明内容 本发明实施例要解决的技术问题是,提供一种 WLAN组网方法及系统, 省去用户 在客户端上手动进行的繁琐操作, 更方便用户进行 WLAN组网。 本发明实施例采用的技术方案是,所述 WLAN组网方法,由接入点执行如下步骤: 步骤 Al,基于客户端地址向客户端发送连接消息, 所述连接消息中携带鉴权认证 信息; 步骤 A2, 当客户端基于连接消息中的鉴权认证信息自动连接到接入点时, 配合客 户端的接入。 优选地, 在步骤 A1之前, 接入点还执行如下步骤: 接入点定期发送接入点广播消息, 其中携带接入点地址; 当收到客户端的应答消息时, 解析应答消息获取客户端地址; 或者, 在步骤 A1之前, 接入点还执行如下步骤: 接入点收到客户端广播消息, 解析客户端广播消息获取客户端地址。 优选地, 在步骤 A1之前, 接入点还执行如下步骤: 接入点判断所述客户端地址是否在设定的合法地址范围内, 若是, 则基于客户端 地址向客户端发送连接消息, 否则流程结束。 优选地, 在步骤 A1 中, 若接入点属于某一组网且已无法支持客户端接入, 则所 述接入点向客户端发送的连接消息中还携带有所述组网中其他可用接入点的地址, 由 其他可用接入点配合客户端的接入。 优选地, 所述 WLAN组网方法, 由客户端执行如下步骤: 步骤 Bl, 客户端接收连接消息, 从连接消息中解析出鉴权认证信息; 步骤 B2, 基于连接消息中的鉴权认证信息自动连接到接入点。 优选地, 在步骤 B1之前, 客户端还执行如下步骤: 客户端定期发送客户端广播消息, 其中携带客户端地址, 从而使接入点获知客户 端地址; 或者, 在步骤 B1之前, 客户端还执行如下步骤: 客户端收到接入点广播消息后, 解析接入点广播消息获取接入点地址; 基于接入点地址向接入点发送应答消息, 所述应答消息中携带客户端地址, 从而 使接入点获知客户端地址。 优选地, 所述连接消息为第一扩展管理帧, 在第一扩展管理帧中, 子类型值填写 第一保留字段, 帧主体值填写鉴权认证信息; 所述应答消息为第二扩展管理帧, 在第二扩展管理帧中, 子类型值填写第二保留 字段, 帧主体值填写客户端支持的传输速率; 所述客户端广播消息为第三扩展管理帧, 在第三扩展管理帧中, 子类型值填写第 三保留字段, 目的地址值填写全 1, 基本服务组合识别码填写全 1, 帧主体值填写客户 端支持的传输速率。
本发明实施例还提供一种接入点, 包括: 连接发起模块, 设置为基于客户端地址向客户端发送连接消息, 所述连接消息中 携带鉴权认证信息; 连接执行模块, 设置为当客户端基于连接消息中的鉴权认证信息自动连接到接入 点时, 配合客户端的接入。 优选地, 所述接入点还包括: 接入点广播模块, 设置为定期发送接入点广播消息, 其中携带接入点地址; 接入点解析模块, 设置为收到客户端的应答消息时, 解析应答消息获取客户端地 址; 或者, 所述接入点还包括: 接入点解析模块, 设置为收到客户端广播消息时, 解析客户端广播消息获取客户 端地址。 优选地, 所述接入点还包括: 地址判断模块, 设置为判断所述客户端地址是否在设定的合法地址范围内,若是, 则调用连接发起模块, 否则不允许所述客户端接入。 优选地, 若所述接入点属于某一组网且已无法支持客户端接入, 则所述连接发起 模块向客户端发送的连接消息中还携带有所述组网中其他可用接入点的地址, 由其他 可用接入点的连接执行模块配合客户端的接入。 优选地, 所述连接消息为第一扩展管理帧, 在第一扩展管理帧中, 子类型值填写 第一保留字段, 帧主体值填写鉴权认证信息; 所述应答消息为第二扩展管理帧, 在第二扩展管理帧中, 子类型值填写第二保留 字段, 帧主体值填写客户端支持的传输速率; 所述客户端广播消息为第三扩展管理帧, 在第三扩展管理帧中, 子类型值填写第 三保留字段, 目的地址值填写全 1, 基本服务组合识别码填写全 1, 帧主体值填写客户 端支持的传输速率。
本发明实施例还提供一种客户端, 包括: 客户端解析模块, 设置为接收连接消息, 从连接消息中解析出鉴权认证信息; 自动连接模块, 设置为基于连接消息中的鉴权认证信息自动连接到接入点。 优选地, 所述客户端还包括: 客户端广播模块, 设置为定期发送客户端广播消息, 其中携带客户端地址, 从而 使接入点获知客户端地址; 或者, 所述客户端还包括: 应答模块; 客户端解析模块, 还设置为客户端收到接入点广播消息后, 解析接入点广播消息 获取接入点地址; 应答模块, 设置为基于接入点地址向接入点发送应答消息, 所述应答消息中携带 客户端地址, 从而使接入点获知客户端地址。 优选地, 所述连接消息为第一扩展管理帧, 在第一扩展管理帧中, 子类型值填写 第一保留字段, 帧主体值填写鉴权认证信息; 所述应答消息为第二扩展管理帧, 在第二扩展管理帧中, 子类型值填写第二保留 字段, 帧主体值填写客户端支持的传输速率; 所述客户端广播消息为第三扩展管理帧, 在第三扩展管理帧中, 子类型值填写第 三保留字段, 目的地址值填写全 1, 基本服务组合识别码填写全 1, 帧主体值填写客户 端支持的传输速率。
采用上述技术方案, 本发明实施例至少具有下列优点: 本发明实施例所述 WLAN组网方法及系统, 可以实现客户端自动连接到接入点, 省去了用户在客户端的一些手动繁琐的操作; 接入点也可以主动的去发现周围环境中 存在的客户端并与其进行连接通信; 进一步的, 若接入点属于同一组网, 则在当前接 入点达到最大负载时, 可以主动通知客户端连接到其他资源闲置的接入点, 实现起来 简单快捷, 更方便用户建立自己的私有网络, 实现网络共享。 附图说明
S i 为本发明第-一实施例的 WLAN组网方法流程图; 图 2 为本发明第-一实施例的 WLAN组网方法中一种接入点执行的流程图; 图 3 为本发明第-一实施例的 WLAN组网方法中又一种接入点执行的流程图; 图 4 为本发明第-一实施例的 WLAN组网方法中一种客户端执行的流程图; 图 5 为本发明第-一实施例的 WLAN组网方法中又一种客户端执行的流程图; 图6 为本发明第:二实施例的 WLAN组网系统中一种接入点的组成结构示意图; 图 7 为本发明第二实施例的 WLAN组网系统中又一种接入点的组成结构示意图; 图 8 为本发明第二实施例的 WLAN组网系统中一种客户端的组成结构示意图; 图 9 为本发明第二实施例的 WLAN组网系统中又一种客户端的组成结构示意图; 图 10 为 802.11协议中的管理帧格式; 图 11 为本发明应用实例的 STA工作流程图; 图 12 为本发明应用实例的 AP工作流程图。 具体实施方式 为更进一步阐述本发明实施例为达成预定目的所采取的技术手段及功效, 以下结 合附图及较佳实施例, 对本发明实施例进行详细说明如后。 本发明第一实施例, 一种 WLAN组网方法, 如图 1所示, 包括以下具体步骤: 步骤 S101, 接入点基于客户端地址向客户端发送连接消息, 所述连接消息中携带 鉴权认证信息; 具体的, 该客户端地址的获取方式包括: 接入点定期发送接入点广播消息, 其中携带接入点的地址; 客户端收到接入点广播消息后, 基于接入点地址向接入点发送应答消息, 所述应 答消息中携带客户端地址, 从而使接入点获取客户端地址; 或者, 该客户端地址的获取方式也可以包括: 客户端定期发送客户端广播消息, 其中携带客户端地址, 从而使接入点获取客户 端地址。 步骤 S102, 客户端基于连接消息中的鉴权认证信息自动连接到接入点。 优选的, 在步骤 S101之前, 还包括: 接入点判断所述客户端的地址是否在设定的合法地址范围内, 若是, 则基于客户 端的地址向客户端发送连接消息, 否则流程结束。 对于多个接入点属于同一组网的情况, 比如: 多个接入点在一台设备的管理下组 成一个 ESSID (Extension Service Set Identifier, 扩展服务集标识) 网络, 或者, 多个 接入点通过桥接的方式连接组网, 属于同一个 WDS (Wireless Distribution System, 无 线分布式系统)。若属于某一组网的任一接入点已无法支持客户端接入时, 该接入点向 客户端发送的连接消息中还携带有所述组网中其他可用接入点的地址。 在本实施例中, 接入点发出的接入点广播消息还是采用现有技术中的 Beacon帧, 其中包括接入点的名称、 接入点的 MAC (Media Access Control, 介质访问控制)地址 等, 而接入点发出的连接消息、 客户端发出的应答消息和客户端广播消息均采用的是 802.11协议中的扩展管理帧。 接入点发出的连接消息为第一扩展管理帧, 在第一扩展管理帧中, 子类型值填写 第一保留字段, 帧主体值填写鉴权认证信息; 客户端发出的应答消息为第二扩展管理帧, 在第二扩展管理帧中, 子类型值填写 第二保留字段, 帧主体值填写客户端支持的传输速率; 客户端广播消息为第三扩展管理帧, 在第三扩展管理帧中, 子类型值填写第三保 留字段, 目的地址值填写全 1, 基本服务组合识别码填写全 1, 帧主体值填写客户端支 持的传输速率。 下面在所述 WLAN组网方法中分别站在接入点和客户端的角度,描述各自所执行 的步骤。 如图 2所示, 在本实施例的 WLAN组网方法中, 由接入点执行如下步骤: 步骤 A0, 接入点定期发送接入点广播消息, 其中携带接入点地址; 当收到客户端 的应答消息时, 解析应答消息获取客户端地址; 步骤 Al,接入点基于客户端地址向客户端发送连接消息, 所述连接消息中携带鉴 权认证信息; 步骤 A2, 当客户端基于连接消息中的鉴权认证信息自动连接到接入点时, 配合客 户端的接入。 或者, 如图 3所示, 在本实施例的 WLAN组网方法中, 由接入点执行如下步骤: 步骤 A10, 接入点收到客户端广播消息, 解析客户端广播消息获取客户端地址。 步骤 Al l , 接入点基于客户端地址向客户端发送连接消息, 所述连接消息中携带 鉴权认证信息; 步骤 A12, 当客户端基于连接消息中的鉴权认证信息自动连接到接入点时, 配合 客户端的接入。 优选的, 在步骤 A1或者步骤 All之前, 接入点还执行如下步骤: 接入点判断所述客户端地址是否在设定的合法地址范围内, 若是, 则基于客户端 地址向客户端发送连接消息, 否则流程结束。 比如: 用户可以预先设置可以入网的客 户端地址范围, 如果属于该客户端地址范围, 则允许后续接入, 否则不允许后续接入。 优选的, 若接入点属于某一组网且已无法支持客户端接入, 所述接入点向客户端 发送的连接消息中还携带有所述组网中其他可用接入点的地址, 由其他可用接入点配 合客户端的接入。 如图 4所示, 在本实施例的 WLAN组网方法中, 由客户端执行如下步骤: 步骤 B0, 客户端定期发送客户端广播消息, 其中携带客户端地址, 从而使接入点 获知客户端地址; 步骤 Bl, 客户端接收连接消息, 从连接消息中解析出鉴权认证信息; 步骤 B2, 基于连接消息中的鉴权认证信息自动连接到接入点。 或者, 如图 5所示, 在本实施例的 WLAN组网方法中, 由客户端执行如下步骤: 步骤 B10, 客户端收到接入点广播消息后, 解析接入点广播消息获取接入点地址; 基于接入点地址向接入点发送应答消息, 所述应答消息中携带客户端地址, 从而使接 入点获知客户端地址。 步骤 Bll, 客户端接收连接消息, 从连接消息中解析出鉴权认证信息; 步骤 B12, 基于连接消息中的鉴权认证信息自动连接到接入点。
本发明第二实施例, 一种 WLAN组网系统, 包括以下组成部分: 接入点, 用于基于客户端地址向客户端发送连接消息, 所述连接消息中携带鉴权 认证信息; 客户端, 用于基于连接消息中的鉴权认证信息自动连接到接入点。 具体的, 在所述 WLAN组网系统中, 接入点, 还用于定期发送接入点广播消息, 其中携带接入点地址; 客户端,还用于收到接入点广播消息后,基于接入点地址向接入点发送应答消息, 所述应答消息中携带客户端地址, 从而使接入点获取客户端地址; 或者, 客户端, 还用于定期发送客户端广播消息, 其中携带客户端地址, 从而使接入点 获取客户端地址。 优选的, 接入点, 还用于在向客户端发送连接消息之前, 判断所述客户端地址是 否在设定的合法地址范围内, 若是, 则基于客户端地址向客户端发送连接消息, 否则 流程结束。 优选的, 若接入点属于某一组网且已无法支持客户端接入, 则所述接入点向客户 端发送的连接消息中还携带有所述组网中其他可用接入点的地址。 在本实施例中, 接入点发出的接入点广播消息还是采用现有技术中的 Beacon帧, 其中包括接入点的名称、 接入点的 MAC (Media Access Control, 介质访问控制)地址 等, 而接入点发出的连接消息、 客户端发出的应答消息和客户端广播消息均采用的是 802.11协议中的扩展管理帧。 接入点发出的连接消息为第一扩展管理帧, 在第一扩展管理帧中, 子类型值填写 第一保留字段, 帧主体值填写鉴权认证信息; 客户端发出的应答消息为第二扩展管理帧, 在第二扩展管理帧中, 子类型值填写 第二保留字段, 帧主体值填写客户端支持的传输速率; 客户端广播消息为第三扩展管理帧, 在第三扩展管理帧中, 子类型值填写第三保 留字段, 目的地址值填写全 1, 基本服务组合识别码填写全 1, 帧主体值填写客户端支 持的传输速率。 下面在所述 WLAN组网系统中分别站在接入点和客户端的角度,描述各自所执行 的功能。 如图 6所示, 本实施例的一种接入点, 包括以下组成部分: 接入点广播模块 100, 设置为定期发送接入点广播消息, 其中携带接入点地址; 接入点解析模块 200, 设置为收到客户端的应答消息时, 解析应答消息获取客户 端地址; 连接发起模块 300, 设置为基于客户端地址向客户端发送连接消息, 所述连接消 息中携带鉴权认证信息; 连接执行模块 400, 设置为当客户端基于连接消息中的鉴权认证信息自动连接到 接入点时, 配合客户端的接入。 或者, 如图 7所示, 本实施例的一种接入点, 包括以下组成部分: 接入点解析模块 200, 设置为收到客户端广播消息时, 解析客户端广播消息获取 客户端地址。 连接发起模块 300, 设置为基于客户端地址向客户端发送连接消息, 所述连接消 息中携带鉴权认证信息; 连接执行模块 400, 设置为当客户端基于连接消息中的鉴权认证信息自动连接到 接入点时, 配合客户端的接入。 优选的, 所述接入点还包括: 地址判断模块 500, 设置为判断所述客户端地址是否在设定的合法地址范围内, 若是, 则调用连接发起模块 300, 否则不允许所述客户端接入。 对于多个接入点属于同一组网的情况, 若所述接入点属于某一组网且已无法支持 客户端接入, 则, 所述连接发起模块 300向客户端发送的连接消息中还携带有所述组 网中其他可用接入点的地址, 由其他可用接入点的连接执行模块 400配合客户端的接 入。 如图 8所示, 本实施例的一种客户端, 包括以下组成部分: 客户端广播模块 101, 设置为定期发送客户端广播消息, 其中携带客户端地址, 从而使接入点获知客户端地址; 客户端解析模块 102, 设置为接收连接消息, 从连接消息中解析出鉴权认证信息; 自动连接模块 103, 设置为基于连接消息中的鉴权认证信息自动连接到接入点。 或者, 如图 9所示, 本实施例的一种客户端, 包括以下组成部分: 客户端解析模块 102, 设置为客户端收到接入点广播消息后, 解析接入点广播消 息获取接入点地址; 接收连接消息, 从连接消息中解析出鉴权认证信息; 应答模块 104, 设置为基于接入点地址向接入点发送应答消息, 所述应答消息中 携带客户端地址, 从而使接入点获知客户端地址。 自动连接模块 103, 设置为基于连接消息中的鉴权认证信息自动连接到接入点。 在本实施例中, 所述连接消息为第一扩展管理帧, 在第一扩展管理帧中, 子类型 值填写第一保留字段, 帧主体值填写鉴权认证信息; 所述应答消息为第二扩展管理帧, 在第二扩展管理帧中, 子类型值填写第二保留 字段, 帧主体值填写客户端支持的传输速率; 所述客户端广播消息为第三扩展管理帧, 在第三扩展管理帧中, 子类型值填写第 三保留字段, 目的地址值填写全 1, 基本服务组合识别码填写全 1, 帧主体值填写客户 端支持的传输速率。
基于上述实施例, 介绍一个本发明的应用实例, 涉及 WLAN 的客户端 (以下简 称 STA) 和接入点 (以下简称 AP) , STA作为 WLAN 工作站, 包含 802.11功能, AP 负责提供 WLAN 的接入服务, 可共享网络给 STA。 本应用实例中, 接入点发出的接入点广播消息还是采用现有技术中的 Beacon帧, 其中包括接入点的名称、 接入点的 MAC地址等, 而接入点发出的连接消息、 客户端 发出的应答消息和客户端广播消息均采用的是 802.11协议中的扩展管理帧。
802.11 协议中的管理帧格式如图 10 所示, 其中管理帧之子类型 subtype 值 0110-0111 以及 1110~1111 这两段数值目前保留尚未使用, 本发明实施例可以使用其 作为扩展类型。 在帧主体 Frame Body中,我们可以加入我们需要的信息元素 information element。 所谓信息元素, 是指长度不定的数据区块。每个数据区块均会标注上类型编号与大小, 各种信息元素的数据位都有特定的解释方式。 客户端发出的应答消息, 可以使用 subtype值 1110作为 Beacon的应答帧类型, DA (Destination Address, 目的地址) 禾 B BSSID (Basic Service Set Identifier, 基本服 务组合识别码) 填充为发送 Beacon帧的接入点的 MAC地址, SA ( Source Address, 源地址) 填充客户端的 MAC 地址, 可以根据 802.11协议的标准, 在 Frame Body中 加入接入点的名称和客户端支持的传输速率等信息元素。 接入点发出的连接消息, 可以使用 subtype值 1111作为接入点的连接帧类型, DA 填充要传送给的客户端的 MAC地址, SA填充接入点的 MAC 地址, BSSID 填充与 当前接入点所属同一组网的接入点的 MAC 地址, 当接入点达到最大负载时, BSSID 为同一 ESSID 或者同一 WDS中其他空闲接入点的 MAC 地址。可以根据 802.11协议 的标准, 在 Frame Body中加入接入点的名称、 加密方式和密钥等信息元素。 此时, 接 入点的名称对应的是填入 BSSID的接入点的名称。 客户端广播消息, 可以使用 subtype值 0111作为客户端的广播帧类型, DA填充 全 1, SA填充客户端的 MAC 地址, BSSID 填充全 1, 可以根据 802.11协议的标准, 在 Frame Body中加入客户端支持的传输速率。 如图 11所示, 本应用实例的 STA工作流程如下: 步骤 Sl, STA监听空口无线报文, 等待 AP发送的 Beacon帧的到来。 步骤 S2, STA收到 Beacon帧, 通过帧解析模块进行解析, 并保存解析信息。 步骤 S3, STA根据解析信息通过帧扩展模块进行 Beacon应答帧的填充。 步骤 S4, 如果 STA收到了 AP发送的 AP连接帧, 则通过帧解析模块进行解析, 转入下一步骤; 否则, 过程结束。 步骤 S5, STA根据解析出的 AP连接信息去连接 AP。 如图 12所示, 本应用实例的 AP工作流程如下: 步骤 Cl, AP以一定的时间间隔不停地发送 Beacon帧, 宣告本身的存在。 步骤 C2, 当 AP 收到 Beacon应答帧后, 通过帧解析模块进行解析。 步骤 C3,根据解析的信息和 AP 的负载程度通过帧扩展模块进行 AP连接帧的填 充。 步骤 C4, 向 STA发送 AP连接帧, 过程结束。 需要说明的是, 当 AP达到要求的负载量即不允许多余的 STA接入时, AP连接 帧的接入点名称和 BSSID 可以是同一 ESSID或者 WDS内的其他 AP信息。 综上所述, 本发明实施例提出的 WLAN 组网方式及系统, 通过使用扩展管理帧 的方式来实现 AP发现 STA并和 STA进行连接信息传递的功能, 达到在 AP端可以 直接控制 STA的连接, 用户通过这种方法直接在 AP端即可进行快速的组网, 实现了 STA端的自动连接,避免用户的一些误操作,也能够在 AP端达到最大负载时,让 STA 连接到其他资源空闲的 AP, 方便用户实现 WLAN的网络共享。 通过具体实施方式的说明, 应当可对本发明为达成预定目的所采取的技术手段及 功效得以更加深入且具体的了解, 然而所附图示仅是提供参考与说明之用, 并非用来 对本发明加以限制。 工业实用性 本发明实施例提供的技术方案可以应用于无线局域网络领域, 可以实现客户端自 动连接到接入点, 省去了用户在客户端的一些手动繁琐的操作; 接入点也可以主动的 去发现周围环境中存在的客户端并与其进行连接通信; 进一步的, 若接入点属于同一 组网, 则在当前接入点达到最大负载时, 可以主动通知客户端连接到其他资源闲置的 接入点, 实现起来简单快捷, 更方便用户建立自己的私有网络, 实现网络共享。

Claims

权 利 要 求 书 、 一种 WLAN组网方法, 由接入点执行如下步骤:
步骤 Al,基于客户端地址向客户端发送连接消息,所述连接消息中携带鉴 权认证信息;
步骤 A2,当客户端基于连接消息中的鉴权认证信息自动连接到所述接入点 时, 配合所述客户端的接入。 、 根据权利要求 1所述的 WLAN组网方法, 其中, 在步骤 A1之前, 接入点还执 行如下步骤:
定期发送接入点广播消息, 所述接入点广播消息携带接入点地址; 当收到客户端的应答消息时, 解析应答消息获取所述客户端地址; 或者,
在步骤 A1之前, 接入点还执行如下步骤:
收到客户端广播消息, 解析所述客户端广播消息获取所述客户端地址。 、 根据权利要求 1所述的 WLAN组网方法, 其中, 在步骤 A1之前, 接入点还执 行如下步骤:
接入点判断所述客户端地址是否在设定的合法地址范围内, 若是, 则基于 客户端地址向客户端发送连接消息, 否则流程结束。 、 根据权利要求 1所述的 WLAN组网方法, 其中, 在步骤 A1中, 若接入点属于 某一组网且已无法支持客户端接入, 则所述接入点向客户端发送的连接消息中 还携带有所述组网中其他可用接入点的地址, 由其他可用接入点配合客户端的 接入。 、 根据权利要求 2所述的 WLAN组网方法,其中,所述连接消息为第一扩展管理 帧, 在第一扩展管理帧中, 子类型值填写第一保留字段, 帧主体值填写鉴权认 证信息;
所述应答消息为第二扩展管理帧, 在第二扩展管理帧中, 子类型值填写第 二保留字段, 帧主体值填写客户端支持的传输速率; 所述客户端广播消息为第三扩展管理帧, 在第三扩展管理帧中, 子类型值 填写第三保留字段, 目的地址值填写全 1, 基本服务组合识别码填写全 1, 帧主 体值填写客户端支持的传输速率。 、 一种 WLAN组网方法, 由客户端执行如下步骤:
步骤 Bl, 接收连接消息, 从连接消息中解析出鉴权认证信息; 步骤 B2, 基于连接消息中的鉴权认证信息自动连接到接入点。 、 根据权利要求 6所述的 WLAN组网方法, 其中, 在步骤 B1之前, 客户端还执 行如下步骤:
定期发送客户端广播消息, 所述客户端广播消息携带客户端地址, 从而使 接入点获知客户端地址;
或者, 在步骤 B1之前, 客户端还执行如下步骤:
收到接入点广播消息后, 解析接入点广播消息获取接入点地址; 基于接入点地址向接入点发送应答消息,所述应答消息中携带客户端地址, 从而使接入点获知客户端地址。 、 根据权利要求 7所述的 WLAN组网方法,其中,所述连接消息为第一扩展管理 帧, 在第一扩展管理帧中, 子类型值填写第一保留字段, 帧主体值填写鉴权认 证信息;
所述应答消息为第二扩展管理帧, 在第二扩展管理帧中, 子类型值填写第 二保留字段, 帧主体值填写客户端支持的传输速率;
所述客户端广播消息为第三扩展管理帧, 在第三扩展管理帧中, 子类型值 填写第三保留字段, 目的地址值填写全 1, 基本服务组合识别码填写全 1, 帧主 体值填写客户端支持的传输速率。 、 一种接入点, 包括:
连接发起模块, 设置为基于客户端地址向客户端发送连接消息, 所述连接 消息中携带鉴权认证信息;
连接执行模块, 设置为当客户端基于连接消息中的鉴权认证信息自动连接 到接入点时, 配合客户端的接入。 0、 根据权利要求 9所述的接入点, 其中, 所述接入点还包括: 接入点广播模块,设置为定期发送接入点广播消息,其中携带接入点地址; 接入点解析模块, 设置为收到客户端的应答消息时, 解析应答消息获取客 户端地址;
或者,
所述接入点还包括:
接入点解析模块, 设置为收到客户端广播消息时, 解析客户端广播消息获 取客户端地址。 、 根据权利要求 9所述的接入点, 其中, 所述接入点还包括:
地址判断模块,设置为判断所述客户端地址是否在设定的合法地址范围内, 若是, 则调用连接发起模块, 否则不允许所述客户端接入。 、 根据权利要求 9所述的接入点, 其中, 若所述接入点属于某一组网且已无法支 持客户端接入, 则所述连接发起模块向客户端发送的连接消息中还携带有所述 组网中其他可用接入点的地址, 由其他可用接入点的连接执行模块配合客户端 的接入。 、 根据权利要求 10所述的接入点, 其中, 所述连接消息为第一扩展管理帧, 在第 一扩展管理帧中, 子类型值填写第一保留字段, 帧主体值填写鉴权认证信息; 所述应答消息为第二扩展管理帧, 在第二扩展管理帧中, 子类型值填写第 二保留字段, 帧主体值填写客户端支持的传输速率;
所述客户端广播消息为第三扩展管理帧, 在第三扩展管理帧中, 子类型值 填写第三保留字段, 目的地址值填写全 1, 基本服务组合识别码填写全 1, 帧主 体值填写客户端支持的传输速率。 、 一种客户端, 包括: 客户端解析模块, 设置为接收连接消息, 从连接消息中解析出鉴权认证信 息;
自动连接模块,设置为基于连接消息中的鉴权认证信息自动连接到接入点。 、 根据权利要求 14所述的客户端, 其中, 所述客户端还包括: 客户端广播模块,设置为定期发送客户端广播消息,其中携带客户端地址, 从而使接入点获知客户端地址; 或者,
所述客户端还包括: 应答模块;
客户端解析模块, 还设置为客户端收到接入点广播消息后, 解析接入点广 播消息获取接入点地址;
应答模块, 设置为基于接入点地址向接入点发送应答消息, 所述应答消息 中携带客户端地址, 从而使接入点获知客户端地址。 根据权利要求 15所述的客户端, 其中, 所述连接消息为第一扩展管理帧, 在第 一扩展管理帧中, 子类型值填写第一保留字段, 帧主体值填写鉴权认证信息; 所述应答消息为第二扩展管理帧, 在第二扩展管理帧中, 子类型值填写第 二保留字段, 帧主体值填写客户端支持的传输速率;
所述客户端广播消息为第三扩展管理帧, 在第三扩展管理帧中, 子类型值 填写第三保留字段, 目的地址值填写全 1, 基本服务组合识别码填写全 1, 帧主 体值填写客户端支持的传输速率。
PCT/CN2013/088775 2013-09-16 2013-12-06 一种wlan组网方法及系统 WO2014169670A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310420179.1A CN104469764A (zh) 2013-09-16 2013-09-16 一种wlan组网方法及系统
CN201310420179.1 2013-09-16

Publications (1)

Publication Number Publication Date
WO2014169670A1 true WO2014169670A1 (zh) 2014-10-23

Family

ID=51730778

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/088775 WO2014169670A1 (zh) 2013-09-16 2013-12-06 一种wlan组网方法及系统

Country Status (2)

Country Link
CN (1) CN104469764A (zh)
WO (1) WO2014169670A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611604A (zh) * 2014-11-25 2016-05-25 中兴通讯股份有限公司 无线终端及其连接控制方法、无线接入点设备及通信系统

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106888454A (zh) * 2015-12-16 2017-06-23 北京奇虎科技有限公司 WiFi网络连接方法和装置
WO2017147745A1 (zh) 2016-02-29 2017-09-08 华为技术有限公司 一种对接入点ap的认证方法、系统及相关设备
CN106912001B (zh) * 2017-01-09 2021-12-03 上海蔚来汽车有限公司 基于wifi广播的自动鉴权方法和系统
CN107257563B (zh) * 2017-06-30 2020-08-07 精伦电子股份有限公司 一种远距离低功耗网络系统及组网方法
CN111757419B (zh) * 2019-03-29 2021-08-03 华为技术有限公司 一种网络接入方法和装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009687A (zh) * 2006-01-25 2007-08-01 北京六合万通微电子技术有限公司 无线互联中设备自动发现的方法
CN102421202A (zh) * 2011-12-06 2012-04-18 深圳市共进电子股份有限公司 无线设备与上行网络接入设备自动连接的方法
CN102821439A (zh) * 2012-07-18 2012-12-12 中兴通讯股份有限公司 一种无线网络的接入方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873719A (zh) * 2010-05-31 2010-10-27 华为终端有限公司 一种配置wifi参数的方法、装置及系统
KR101439534B1 (ko) * 2011-09-16 2014-09-12 주식회사 케이티 AC와 AP의 연동 기반의 WiFi 로밍에서의 웹 리다이렉트 인증 방법 및 장치
CN102791016B (zh) * 2012-07-04 2014-12-10 大唐移动通信设备有限公司 一种接入处理方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009687A (zh) * 2006-01-25 2007-08-01 北京六合万通微电子技术有限公司 无线互联中设备自动发现的方法
CN102421202A (zh) * 2011-12-06 2012-04-18 深圳市共进电子股份有限公司 无线设备与上行网络接入设备自动连接的方法
CN102821439A (zh) * 2012-07-18 2012-12-12 中兴通讯股份有限公司 一种无线网络的接入方法和装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611604A (zh) * 2014-11-25 2016-05-25 中兴通讯股份有限公司 无线终端及其连接控制方法、无线接入点设备及通信系统

Also Published As

Publication number Publication date
CN104469764A (zh) 2015-03-25

Similar Documents

Publication Publication Date Title
US11297660B2 (en) Session management with relaying and charging for indirect connection for internet of things applications in 3GPP network
US10278055B2 (en) System and method for pre-association discovery
KR101092822B1 (ko) 무선 랜에서 외부 네트워크와의 인터워킹 절차 및 이를 위한 메시지 포맷
US8768323B2 (en) Service discovery in a wireless network
JP5526236B2 (ja) 無線通信ネットワーク内でのピア発見のための方法および装置
US9699715B2 (en) Discovery method and device in a wireless communication system
EP2574134B1 (en) Method for Using Legacy Wi-Fi and Wi-Fi P2P Simultaneously
US9699819B2 (en) Method and apparatus for establishing session in wireless communication system
EP3128718B1 (en) Service discovery method and device
US8892722B1 (en) Peer-to-peer discovery systems and methods
US20150327313A1 (en) Method and device for session initialization in wireless communication system
US9980121B2 (en) Method and apparatus for performing discovery in wireless communication system
EP3200490B1 (en) System and method for online sign up provider selection
KR20100042207A (ko) 터널 다이렉트 링크 설정 무선 네트워크에서의 다이렉트 링크 설정 절차
WO2014169670A1 (zh) 一种wlan组网方法及系统
US9125053B2 (en) Communication system, connection control apparatus, mobile terminal, base station control method, service request method, and program
CN114846841A (zh) 使用wtru到wtru中继的直接发现和通信的方法和设备
CN106465251B (zh) 利用存储的高层信息的系统和方法
US10051673B2 (en) Method and apparatus for session initiation in wireless communication system
US10506501B2 (en) Service discovery method and device in wireless communication system
US9980122B2 (en) Method and device for conducting discovery in wireless communication system
US10264441B2 (en) Method and apparatus for performing discovery by device supporting Wi-Fi Direct in wireless communication system
WO2023040732A1 (zh) 确定密钥获取方式的方法、通信方法及通信装置
EP3298840B1 (en) Supporting packet query-response transactions at lower layer
CN117223303A (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: 13882084

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: 13882084

Country of ref document: EP

Kind code of ref document: A1