WO2018112727A1 - 建立无线局域网连接的方法及装置 - Google Patents

建立无线局域网连接的方法及装置 Download PDF

Info

Publication number
WO2018112727A1
WO2018112727A1 PCT/CN2016/110969 CN2016110969W WO2018112727A1 WO 2018112727 A1 WO2018112727 A1 WO 2018112727A1 CN 2016110969 W CN2016110969 W CN 2016110969W WO 2018112727 A1 WO2018112727 A1 WO 2018112727A1
Authority
WO
WIPO (PCT)
Prior art keywords
identifier
station
access point
local area
area network
Prior art date
Application number
PCT/CN2016/110969
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 华为技术有限公司
Priority to CN201680080791.0A priority Critical patent/CN108605277B/zh
Priority to US16/471,661 priority patent/US20190387462A1/en
Priority to EP16924828.3A priority patent/EP3547759B1/en
Priority to PCT/CN2016/110969 priority patent/WO2018112727A1/zh
Publication of WO2018112727A1 publication Critical patent/WO2018112727A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Definitions

  • Embodiments of the present invention relate to the field of wireless fidelity technology, and in particular, to a method and an apparatus for establishing a wireless local area network connection.
  • Wireless Local Area Networks are more widely used due to their high flexibility and high mobility, especially Wireless Fidelity (Wi-Fi) technology.
  • Wi-Fi Wireless Fidelity
  • Wi-Fi Easy Configuration Method also known as Wi-Fi Simple Configuration (WSC).
  • the WSC defines the registrant (Enrollee) and the registrar (Registrar), wherein the registrar can be integrated on the access point (AP) entity, or can be separated from the AP entity to form a separate functional module.
  • the registrant wants To join a trusted network (establishing a connection with the AP), the WSC must be triggered to register with the registrar through the registrar protocol.
  • the Wi-Fi Alliance mainly defines two WSC triggering methods: personal identification number (PIN) trigger: generate PIN code on the registration machine, input PIN code on the login side, complete the trigger; push button configuration (Push Button Configuration, PBC) Trigger: When the registration machine and the registrant press the physical button or the virtual button at the same time, the trigger is completed.
  • PIN personal identification number
  • PBC Push Button Configuration
  • Embodiments of the present invention provide a method and apparatus for establishing a wireless local area network connection.
  • the access point when the wireless LAN connection is established through the access point and the site, the access point supports the automatic triggering establishment of the wireless local area network connection through the beacon frame indication, and the automatic triggering of the registration machine protocol between the station and the access point can be realized, and the wireless is improved.
  • User experience for LAN access configuration when the wireless LAN connection is established through the access point and the site, the access point supports the automatic triggering establishment of the wireless local area network connection through the beacon frame indication, and the automatic triggering of the registration machine protocol between the station and the access point can be realized, and the wireless is improved.
  • an embodiment of the present invention provides a method for establishing a wireless local area network connection.
  • the access point locally stores the identifier of the at least one site.
  • the method includes the following steps: the access point sends a beacon frame, where the beacon frame indicates that the access point supports automatically triggering establishment of a wireless local area network connection, so that the station receives the beacon.
  • the wireless local area network connection is triggered; the access point receives the probe request frame sent by the station, and the probe request frame carries the identifier of the station, where the probe request frame is used to request to establish a wireless local area network connection; when at least one site is locally saved
  • the identifier includes the identifier of the site carried in the probe request frame
  • the wireless LAN connection of the site corresponding to the probe request frame is established according to the Wi-Fi fast configuration WSC registrar protocol.
  • the embodiment of the present invention implements an automatic triggering of the WSC process based on the STA identifier pre-stored by the access point and the identity confirmation by using the extended IE.
  • the method before establishing a wireless local area network connection between the access point and the site according to the Wi-Fi fast configuration WSC registration mechanism protocol, the method further includes: the access point sending a probe response frame to the station, the probe response The frame carries an identifier of the station, and the probe response frame is used to instruct the station to trigger establishment of a wireless local area network connection.
  • the identifier of the site carried by the probe response frame may be used by the site to verify the identity of the access point.
  • the access point is considered to be valid.
  • the registrar protocol that quickly configures the WSC according to Wi-Fi is triggered to establish a wireless local area network connection with the site.
  • the two-way identity authentication between the site and the access point can be implemented by the embodiment of the present invention. More security and a higher user experience.
  • the beacon frame includes a WSC Information Element (IE) that includes an identification of the site, the WSC IE indicating that the access point supports automatic triggering of establishing a wireless local area network connection.
  • the WSC IE may further include an access point automatically triggering WSC IE version information, automatically triggering a WSC site MAC address, and manufacturer information.
  • an embodiment of the present invention provides a method for establishing a wireless local area network connection.
  • the method includes: receiving, by the station, a beacon frame sent by the access point, the beacon frame indicating that the access point supports automatically triggering establishment of a wireless local area network connection; and the station sends a probe request frame to the access point, where the probe request frame carries the identifier of the site.
  • the probe request frame is used to request to establish a wireless local area network connection, so that when the identifier of the locally saved site includes the identifier of the site carried in the probe request frame, the WSC registrar protocol is quickly configured according to the Wi-Fi to establish an access point. Connect to the wireless LAN of the site.
  • the method before establishing a wireless LAN connection between the access point and the site according to the Wi-Fi fast configuration WSC registrar protocol, the method further includes: the station receiving the probe response frame sent by the access point, the probe response The frame carries the identifier of the station, and the probe response frame is used to indicate that the station triggers to establish a wireless local area network connection; when the access point is confirmed according to the identifier of the station carried in the probe response frame, the WSC registration machine protocol is quickly configured according to Wi-Fi. Establish a wireless LAN connection between the access point and the site.
  • the probe response frame includes a first WSC Information Element IE, the first WSC IE including an identification of the site.
  • the probe request frame includes a second WSC IE that includes an identification of the site.
  • an embodiment of the present invention provides an apparatus for establishing a wireless local area network connection.
  • the device locally stores the identifier of the site, where the device specifically includes: a sending unit, configured to send a beacon frame, where the beacon frame indicates that the access point supports automatically triggering establishment of a wireless local area network connection, so that the station receives After the beacon frame, triggering to establish a wireless local area network connection;
  • the receiving unit is configured to receive a probe request frame sent by the station, where the probe request frame carries an identifier of a station, and the probe request frame is used to request to establish a wireless local area network a connection establishing unit, configured to: when the identifier of the locally saved site includes the identifier of the site carried by the probe request frame, establish a wireless local area network connection with the site according to the Wi-Fi fast configuration WSC registration machine protocol .
  • the sending unit is further configured to send a probe response frame to the station,
  • the probe response frame carries an identifier of a site, and the probe response frame is used to instruct the site to trigger establishment of a wireless local area network connection.
  • the beacon frame includes a WSC Information Element IE, the WSC IE including an identity of a site, the WSC IE indicating that the access point supports automatic triggering to establish a wireless local area network connection.
  • WSC Information Element IE the WSC IE including an identity of a site, the WSC IE indicating that the access point supports automatic triggering to establish a wireless local area network connection.
  • a fourth aspect of the present invention provides an apparatus for establishing a wireless local area network connection, including: a receiving unit, configured to receive a beacon frame sent by an access point, where the beacon frame indicates the access point Supporting automatic triggering to establish a wireless local area network connection; the sending unit is configured to send a probe request frame to the access point, where the probe request frame carries an identifier of a station, and the probe request frame is used to request to establish a wireless local area network connection, so that When the identifier of the locally saved site includes the identifier of the site carried by the probe request frame, the wireless LAN connection of the access point to the site is established according to the Wi-Fi fast configuration WSC registrar protocol.
  • the receiving unit is further configured to receive a probe response frame sent by the access point, where the probe response frame carries an identifier of a site, where the probe response frame is used to indicate that the site triggers establishment. a wireless local area network connection; when the access point is confirmed according to the identifier of the station carried in the probe response frame, the wireless network of the access point and the station is established according to the Wi-Fi fast configuration WSC registration machine protocol connection.
  • the probe response frame includes a first WSC Information Element IE, the first WSC IE including an identification of a site.
  • the probe request frame includes a second WSC IE, the second WSC IE including an identification of a station.
  • an embodiment of the present invention provides a site.
  • the site specifically includes: a transceiver, a processor, and a memory.
  • the transceiver is for wirelessly interacting with the access point, and may include a receiver and a transmitter; the memory is used to store programs, data, and identification of the site.
  • the processor implements a program stored in the memory to: send a beacon frame, the beacon frame indicates that the access point supports automatic triggering to establish a wireless local area network connection, so that the station triggers the establishment of the wireless local area network connection after receiving the beacon frame; the receiving station
  • the probe request frame sent by the point, the probe request frame carries the identifier of the site, and the probe request frame is used to request to establish a wireless local area network connection; when the identifier of the locally saved site includes the identifier of the site carried in the probe request frame, according to the Wi -Fi quickly configures the WSC registrar protocol to establish a wireless LAN connection to the site.
  • an embodiment of the present invention provides an access point.
  • the access point specifically includes: a transceiver, a processor, and a memory.
  • the transceiver is used to interact with the network element, and may include a receiver and a transmitter; the memory is used to store programs and data.
  • the processor implements a program stored in the memory to: receive a beacon frame sent by the access point, the beacon frame indicates that the access point supports automatic triggering establishment of a wireless local area network connection; and sends a probe request frame to the access point, the probe request
  • the frame carries the identifier of the site, and the probe request frame is used to request to establish a wireless local area network connection, so that when the identifier of the locally saved site includes the identifier of the site carried in the probe request frame, the WSC registration machine is quickly configured according to Wi-Fi. Protocol to establish a wireless LAN connection between the access point and the site.
  • an embodiment of the present invention provides a computer storage medium, configured to store a computer software program, where the computer runs the program, configured to: send a beacon frame, the beacon frame indicates that the access point supports automatic triggering to establish a wireless local area network. Connecting, so that the station receives the beacon frame, triggering establishment of the wireless local area network connection; receiving the probe request frame sent by the station, the probe request frame carrying the identifier of the station, the probe request frame is used to request to establish a wireless local area network connection; when locally saved When the identifier of the site includes the identifier of the site carried in the probe request frame, the WLAN registration protocol of the WSC is quickly configured according to Wi-Fi to establish a wireless LAN connection with the site.
  • an embodiment of the present invention provides a computer storage medium, configured to store a computer software program, where the computer runs the program, and is configured to: receive a beacon frame sent by an access point, where the beacon frame indicates an access point support Automatically triggering establishment of a wireless local area network connection; sending a probe request frame to the access point, the probe request frame carrying an identifier of the station, the probe request frame being used to request to establish a wireless local area network connection, so that the identifier of the locally saved station includes a probe request
  • the WSN registrar protocol is quickly configured according to Wi-Fi to establish a wireless LAN connection between the access point and the site.
  • a ninth aspect a wireless local area network system according to an embodiment of the present invention, the system includes the access point described in the sixth aspect and the site described in the fifth aspect.
  • FIG. 1 is a schematic diagram of a wireless local area network architecture
  • FIG. 2 is a schematic diagram of an automatic triggering WSC IE structure
  • FIG. 3 is a signaling interaction diagram of a method for establishing a wireless local area network connection according to an embodiment of the present invention
  • FIG. 4 is a signaling interaction diagram of another method for establishing a wireless local area network connection according to an embodiment of the present invention.
  • FIG. 5 is a schematic signaling interaction diagram according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an apparatus for establishing a wireless local area network connection according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another apparatus for establishing a wireless local area network connection according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of an access point according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a station according to an embodiment of the present invention.
  • the present invention discloses a method, apparatus and system for establishing a wireless local area network connection.
  • the access point when the access point and the station establish a wireless local area network connection, the access point supports the automatic triggering establishment of the wireless local area network connection by using the beacon frame indication, wherein the access point periodically transmits the beacon frame, and the station can receive the letter.
  • the station determines whether the access point that sends the beacon frame supports automatic triggering to establish a wireless local area network connection.
  • the station sends a probe request frame to an access point that supports automatic triggering establishment of a wireless local area network connection, so that the registrar protocol is triggered to establish a wireless local area network connection between the station and the access point.
  • the access point can authenticate the site. Specifically, the access point can pre-store the identifier of the site, and the probe request frame sent by the site to the access point carries the identifier of the site. It is known that the access point can perform identity verification on the site according to the comparison between the site identifier carried by the probe request frame and the identifier of the locally pre-stored site.
  • the site may also authenticate the access point. Specifically, the access point may send a probe response frame carrying the identifier of the locally stored site to the site, and the site determines whether the identifier of the site carried by the probe response frame is its own identifier. Implement authentication for the access point.
  • the embodiment of the present invention can automatically trigger the registrar protocol between the site and the access point, and improve the user experience of the Wi-Fi access configuration.
  • FIG. 1 is a schematic diagram of a wireless local area network architecture.
  • the WLAN network includes: an AP 10 and at least one STA 20.
  • the STA 20 includes a communication module, and the STA 20 has an identifier of the site.
  • the AP 10 includes a communication module, and the AP 10 pre-stores the identity of the site.
  • the AP 10 may include a wireless router, a wireless repeater, a wireless network card, a mobile phone, and the like.
  • the AP can add an extended IE (information element) through the management frame, complete the automatic WSC trigger configuration function claim, configure the function version claim, the manufacturer information claim, the device ID claim, and the docking site selection protocol.
  • the AP may add the extended IE by at least the following management frames: a beacon frame, a probe response frame, an authentication response frame (Auth Response) (optional), and an association response frame (Association Response) (optional) )and many more.
  • the STA can add one or more IEs (information elements) through the management frame, complete the automatic WSC trigger configuration function declaration, configure the function version declaration, the manufacturer information declaration, the device ID declaration, and the docking AP selection protocol.
  • the STA may add the extended IE by at least the following management frame: a probe request frame, an authentication request frame (Auth Request) (non-essential frame), and an association request frame (non-essential frame).
  • Auth Request authentication request frame
  • association request frame non-essential frame
  • the AP and the STA mutually verify the device ID declaration information, and implement an automatic trigger protocol of the WSC process.
  • Element ID It may take a reserved ID such as 120 that is not used by IEEE 802.11.
  • Length The length of the IE.
  • Information section [VERSION][DEVICE ID][MAC ADDR][VENDROR STRING].
  • Version (VERSION) Automatically triggers the WSC IE version.
  • DEVICE ID The STA device ID that allows the WSC process to be triggered automatically.
  • MAC ADDR Automatically triggers the WSC target device network address.
  • Manufacturer information VENDROR STRING).
  • the device ID is the identifier of the site, and the device identifier may be the serial number of the device, the MAC address, the identifier of the product, or other information that can identify the site.
  • an IE can be 128 bytes in length and can extend multiple IEs.
  • FIG. 3 is a signaling interaction diagram of a method for establishing a wireless local area network connection according to an embodiment of the present invention.
  • the access point predetermines the identity of at least one site to be accessed, and saves it locally.
  • the identifier of the site saved locally by the access point may include at least the following methods:
  • the access point can be managed by a device that manages the access point, such as a PC or a mobile phone.
  • the device managing the access point can access the access point through the IP address of the access point, and the identifier of the site is passed.
  • the IP address of the access point is sent to the access point, so that the access point saves the identity of the site locally.
  • the access point may generate an array, a linked list, or a database to store the identifier of the site.
  • the identifier of the site can be manually input, and the communication channel is directly established by the mobile phone and the access point, for example, the device identifier is sent through a fixed port socket.
  • the access point may provide a user operation interface, and receive the identifier of the site input by the user through the user operation interface.
  • the two-dimensional code can be generated according to the identifier of the site, and the access point or the device managing the access point scans the two-dimensional code, so that the access point determines the identifier of the site and saves it locally.
  • the program specifically includes the following steps:
  • the access point sends a beacon frame.
  • the beacon frame indicates that the access point supports automatic triggering to establish a wireless local area network connection.
  • the access point may send a beacon frame by means of periodic broadcast, and the beacon frame carries indication information that supports automatic triggering establishment of a wireless local area network connection.
  • the station sends a probe request frame to the access point, where the probe request frame carries an identifier of the station, where the probe request frame is used to request to establish a wireless local area network connection.
  • the station may receive the beacon frame sent by the access point by means of scanning, and determine whether the access point supports automatic triggering establishment of the wireless local area network connection according to the indication information carried by the beacon frame.
  • the station When the access point supports automatic triggering to establish a wireless LAN connection, the station sends a probe request frame to it.
  • the site when it scans, it may receive beacon frames sent by multiple access points.
  • the station selects an access point that supports automatic triggering of establishing a wireless local area network connection according to the indication of the beacon frame, and sends a probe request frame to the selected access point.
  • multiple access points corresponding to multiple beacon frames received by the station multiple supports automatic triggering of the wireless local area network connection.
  • the access point can be selected based on the signal strength.
  • the site Since there may be only one access point that stores the identity of the site locally, the site receives multiple access points that support automatic triggering of the wireless LAN connection to send beacon frames. At this time, the probe request frame can be sent to the access point supporting the automatic triggering of the wireless LAN connection one by one in an exhaustive manner until the probe request frame is correctly transmitted to the access point where the identifier of the site is stored locally.
  • the WSN registrar protocol is quickly configured according to the Wi-Fi to establish a wireless local area network connection with the site.
  • the access point may determine whether the identifier of the same site is stored locally according to the identifier of the site carried in the probe request frame. When the same site identifier is not queried, the access point may discard the probe request frame, or the access point returns a probe response frame to the site, the probe response frame indicates verification failure, so-called verification failure indication, access point The identity of the site is not stored locally.
  • the access point may send a probe response frame to the site, the probe response frame indicating that the site performs WSC negotiation with the access point to establish a wireless local area network connection.
  • the access point may receive a probe request frame sent by multiple sites, and the access point is The identity of the multiple sites is saved. At this time, the access point may separately send different probe response frames to the multiple sites, and one of the different multiple probe response frames carries one of the identifiers of the multiple sites, so that the access points respectively The multiple sites establish a wireless LAN connection.
  • the different multiple probe response frames may be sent in sequence; or the access point may send the same probe response frame to the multiple sites, where the probe response frame carries the identifiers of the multiple sites.
  • the WSC process is automatically triggered based on the STA identifier pre-stored by the access point and the identity confirmation by using the extended IE.
  • the embodiments of the present invention can be widely applied to all Wi-Fi products with low power consumption requirements, improve the information transmission speed after sleep wakeup, and improve the product experience.
  • the site can also verify the identity of the access point.
  • the method is established before the wireless LAN connection with the site is established by quickly configuring the WSC registrar protocol according to Wi-Fi. It also includes the following steps:
  • the access point sends a probe response frame to the site, where the probe response frame carries the identifier of the site, where the probe response frame is used to indicate the site. Trigger to establish a wireless LAN connection.
  • S450 The station determines that the identifier of the station carried in the probe response frame is correct, and establishes a wireless local area network connection with the access point according to the Wi-Fi fast configuration WSC registration machine protocol.
  • FIG. 5 is a schematic signaling interaction diagram according to an embodiment of the present invention. As shown in FIG. 5, the example specifically includes the following steps.
  • the AP saves the identifier of the STA.
  • the AP receives the identity of the STA and saves it locally. This ensures that the AP does not lose after powering down or restarting.
  • the AP receives the identifier of the STA refer to the manner described in the embodiment shown in FIG. 3.
  • the AP sends a beacon frame in a pre-made period, where the beacon frame carries the indication information that the AP supports automatically triggering establishment of a wireless local area network connection.
  • the STA scans a Service Set Identifier (SSID). Specifically, the STA receives the beacon frame sent by the AP, and determines, according to the identified beacon frame, an AP that automatically triggers establishment of a wireless local area network connection. The STA scans the SSID to detect which APs are in the vicinity. The specific method may be to scan the beacon frame sent by the AP.
  • SSID Service Set Identifier
  • the STA is powered on. If the current STA does not access any AP, the neighboring AP signals are automatically scanned. By parsing the management frame of the AP, the AP that supports the automatic triggering of the WSC protocol is identified.
  • the STA sends a probe request frame to the AP, where the probe response frame carries an identifier of the STA, where the probe request frame is used to request to establish a wireless local area network connection.
  • the STA identifies an AP that supports the automatic triggering of the WSC protocol, and sends a probe request frame (Probe Request) request to the WSC automatic trigger.
  • the STA fills in the STA's own DEVICE ID and the connection to be initiated in the probe request frame extension IE.
  • the MAC address of the AP is sent to the AP for validity check.
  • the DEVICE ID is mainly used for identity authentication
  • the MAC address of the AP is mainly used for addressing, so that the probe request frame is correctly sent to the AP with the initiated connection.
  • the AP matches the identifier of the locally stored STA according to the identifier of the STA carried in the received probe request frame.
  • the AP sends a probe response frame to the STA, where the probe response frame carries the identifier of the locally stored STA.
  • the probe response frame also carries the MAC address of the STA.
  • the STA starts the WSC process when determining that the AP is valid according to the identifier of the locally stored STA carried in the probe response frame.
  • the STA receives the probe response frame of the AP, parses the WSC IE automatically, detects that the physical address of the STA it carries is itself, and confirms the validity of the AP according to the DEVICE ID, that is, determines that the DEVICE ID carried in the response frame of the other side is It is not its own DEVICE ID. If it is, it is considered to be valid. If not, it is considered invalid. After confirming that the AP is valid, the WSC registration machine protocol is automatically triggered to complete the WSC interaction with the AP.
  • the AP performs WSC negotiation with the STA and establishes a wireless local area network connection.
  • the STA initiates a connection based on the Wi-Fi configuration generated by the WSC registry process, and completes the link connection establishment with the AP.
  • the WSC negotiation and establishment of the wireless local area network connection can refer to the procedures in the IEEE 802.11 and the Wi-Fi Alliance WSC standard, but are not limited thereto.
  • the AP may save the identifier of one or more STAs.
  • an AP may need to provide wireless access services for multiple home smart devices.
  • the AP may save the identifiers of the STAs of the one or more of the plurality of smart homes in batches, and then perform steps 520-580 to enable the AP to establish a wireless local area network connection with one or more of the plurality of smart homes.
  • the AP may receive one or more probe request frames, where the one or more probe request frames respectively carry identifiers of different STAs, that is, there may be one or more
  • the STA needs to establish a wireless local area network connection with the AP, and the one or more STAs send a probe request frame to the AP.
  • the AP matches the identifier of one or more STAs stored locally according to the identifier of the received one or more STAs.
  • the AP establishes a wireless local area network connection with one or more STAs that have successfully matched the identifiers of the received one or more STAs.
  • the matching succeeds in that the identifier of the received STA is determined to be matched, and the identifier of the STA that is the same as the identifier of the received STA is locally stored.
  • FIG. 6 is a schematic structural diagram of an apparatus for establishing a wireless local area network connection according to an embodiment of the present invention.
  • the device locally stores the identity of the site, and the device includes:
  • the sending unit 601 is configured to send a beacon frame, where the beacon frame indicates that the access point supports automatic triggering to establish a wireless local area network connection;
  • the receiving unit 602 is configured to receive a probe request frame sent by one or more first sites, and determine whether the identifier of the at least one site includes an identifier of one or more first sites, where the probe request frame carries one or Identification of a plurality of first sites, the probe request frame being used for request Establish a wireless LAN connection;
  • the connection establishing unit 603 is configured to: if the identifier of the at least one site includes the identifier of the one or more first sites, establish a wireless with the one or more first sites according to the Wi-Fi fast configuration WSC registrar protocol LAN connection.
  • the sending unit 601 is further configured to send a probe response frame to the one or more first sites, where the probe response frame carries an identifier of one or more first sites, where the probe response frame is used for Instructing the one or more first stations to trigger establishment of a wireless local area network connection.
  • the beacon frame includes a WSC Information Element IE, the WSC IE including an identification of one or more first sites, the WSC IE indicating that the access point supports automatic triggering to establish a wireless local area network connection.
  • WSC Information Element IE the WSC IE including an identification of one or more first sites, the WSC IE indicating that the access point supports automatic triggering to establish a wireless local area network connection.
  • FIG. 7 is a schematic structural diagram of another apparatus for establishing a wireless local area network connection according to an embodiment of the present invention. As shown in FIG. 7, the device specifically includes:
  • the receiving unit 701 is configured to receive a beacon frame sent by the access point, where the beacon frame indicates that the access point supports automatic triggering to establish a wireless local area network connection;
  • the sending unit 702 is configured to send a probe request frame to the access point, where the probe request frame carries an identifier of the first station, where the probe request frame is used to request to establish a wireless local area network connection, so that if the access point is localized
  • the identifier of the saved at least one site includes the identifier of the first site, and the wireless LAN connection with the first site is established according to the Wi-Fi Quick Configuration WSC registrar protocol.
  • the receiving unit 701 is further configured to: receive a probe response frame sent by the access point, where the probe response frame carries an identifier of a second site, where the probe response frame is used to indicate that the second site triggers Establish a wireless LAN connection;
  • the connection establishing unit 703 is configured to: if the identifier of the second station carried in the probe response frame matches the identifier of the first station, configure the access point and the protocol according to the Wi-Fi fast configuration WSC registration machine protocol.
  • the wireless LAN connection of the first site is configured to: if the identifier of the second station carried in the probe response frame matches the identifier of the first station, configure the access point and the protocol according to the Wi-Fi fast configuration WSC registration machine protocol.
  • the probe response frame includes a first WSC information element IE, and the first WSC IE includes an identifier of the second site.
  • the probe request frame includes a second WSC IE, and the second WSC IE includes an identifier of the first site.
  • FIG. 8 is a schematic structural diagram of an access point according to an embodiment of the present invention.
  • the access point includes a transceiver 801, a processor 802, and a memory 803.
  • the individual units can be connected by a bus (not shown in the figures, but will be known to those skilled in the art).
  • the transceiver 801 may include a receiver and a transmitter, or may be a circuit that integrates the receiving and transmitting functions to enable the transceiver 801 to perform wireless communication with the station.
  • the memory 803 is used to store program codes as well as data, such as identification of a site, and the like.
  • the processor 802 performs the operational steps in the access point in the embodiment shown in FIGS. 3-5 in accordance with the program instructions stored in the memory 803.
  • the functions of the receiving unit and the transmitting unit can be implemented by the transceiver in the embodiment of the present invention, and the function of the connection establishing unit is implemented by the processor in the embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a station according to an embodiment of the present invention.
  • the station may include a transceiver 901, a processor 902, and a memory 903.
  • the processor 902, the transceiver 901, and the memory 903 can connect and complete communication with one another via a bus (not shown in the figures, but as will be appreciated by those skilled in the art).
  • the transceiver 901 is configured to perform wireless communication with an access point, and may include a receiving unit and a sending unit; the memory 903 is configured to store programs and data.
  • the processor 902 performs the functions of the station in the embodiment shown in Figs. 3 to 5 by executing the program stored in the memory 903.
  • the functions of the receiving unit and the transmitting unit can be implemented by the transceiver in the embodiment of the present invention, and the function of the connection establishing unit is implemented by the processor in the embodiment of the present invention.
  • the processor described in FIG. 8 and FIG. 9 may be a processor or a collective name of multiple processing elements.
  • the processor may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. .
  • the memory may be a storage device or a collective name of a plurality of storage elements, and may be used for storing Store executable program code or parameters, data, etc. required to operate the access network management device.
  • the memory 603 may include a random access memory (RAM), and may also include a non-volatile memory such as a disk memory, a flash memory, or the like. Among them, the processor memory can be integrated into a processing circuit.
  • a Wi-Fi network system provided by an embodiment of the present invention includes an access point and a station.
  • the access points and stations in the system are respectively used to perform the operation steps corresponding to the access point and the site in the embodiment shown in FIG.
  • the network management system in the system may implement the network management system in the embodiment shown in FIG. 8, and the GNE may be implemented in the GNE in the embodiment shown in FIG. 7.

Landscapes

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

Abstract

本发明实施例涉及一种建立无线局域网连接的方法。其中,接入点本地保存有站点的标识,该方法具体包括如下步骤:接入点发送信标帧,该信标帧指示接入点支持自动触发建立无线局域网连接,以便站点接收信标帧后,触发建立无线局域网连接;接入点接收站点发送的探测请求帧,该探测请求帧携带有站点的标识,该探测请求帧用于请求建立无线局域网连接;当本地保存的站点的标识包括探测请求帧携带的站点的标识时,则依据Wi-Fi快速配置WSC的注册机协议,建立与所述站点的无线局域网连接。本发明实施例基于接入点预先存储的STA标识,及利用扩展IE完成身份确认,实现自动触发WSC过程。

Description

建立无线局域网连接的方法及装置 技术领域
本发明实施例涉及无线保真技术领域,尤其涉及一种建立无线局域网连接的方法及装置。
背景技术
无线局域网(Wireless Local Area Networks,WLAN)由于具有高灵活性以及高移动性等的特点,应用越来越广泛,尤其是无线保真(Wireless Fidelity,Wi-Fi)技术。
为了保证Wi-Fi技术的安全性,一般需要手动输入密码来完成Wi-Fi接入配置,由于密码破解的手段越来越高,越复杂的密码越难破解的密码意味着安全性越高。越复杂的密码同时也意味着用户的操作越复杂,同时需要保证该密码记忆正确且输入正确,显然,用户体验越来越差。
为了简化Wi-Fi接入配置过程,Wi-Fi联盟提出了一种Wi-Fi简易配置方法,也叫做Wi-Fi快速配置(Wi-Fi Simple Configuration,WSC)。WSC定义了登录者(Enrollee)和注册机(Registrar),其中注册机可以集成在接入点(AccessPoint,AP)实体上,也可以从AP实体独立出来形成一个单独的功能模块,登录者想要加入某个受信网络(与AP建立连接),则必须触发WSC通过注册机协议向注册机进行注册。Wi-Fi联盟主要定义了两种WSC触发方式:个人识别码(personal identification number,PIN)触发:在注册机端生成PIN码,在登录者端输入PIN码,则完成触发;按钮配置(Push Button Configuration,PBC)触发:在注册机端及登录者同时按下物理按键或者虚拟按键,则完成触发。然而,上述方式依然不够便捷,用户体验不高。
发明内容
本发明实施例提供了一种建立无线局域网连接的方法及装置。本发明实施例通过接入点和站点建立无线局域网连接时,接入点通过信标帧指示支持自动触发建立无线局域网连接,可实现站点与接入点之间注册机协议的自动触发,提升无线局域网接入配置的用户体验。
一方面,本发明实施例提供了一种建立无线局域网连接的方法。其中,接入点本地保存有至少一个站点的标识,该方法具体包括如下步骤:接入点发送信标帧,该信标帧指示接入点支持自动触发建立无线局域网连接,以便站点接收信标帧后,触发建立无线局域网连接;接入点接收站点发送的探测请求帧,该探测请求帧携带有站点的标识,该探测请求帧用于请求建立无线局域网连接;当本地保存的至少一个站点的标识包括探测请求帧携带的站点的标识时,则依据Wi-Fi快速配置WSC的注册机协议,建立与探测请求帧对应的站点的无线局域网连接。本发明实施例基于接入点预先存储的STA标识,及利用扩展IE完成身份确认,实现自动触发WSC过程。
在一个可选地实现中,在依据Wi-Fi快速配置WSC的注册机协议,建立接入点与站点的无线局域网连接之前,还包括:接入点向站点发送探测响应帧,所述探测响应帧携带有站点的标识,所述探测响应帧用于指示所述站点触发建立无线局域网连接。其中,该探测响应帧携带的站点的标识可用于站点对接入点的身份进行验证,当站点接收到的探测响应帧携带的站点的标识是自己的标识时,则认为该接入点有效,则触发依据Wi-Fi快速配置WSC的注册机协议,建立与所述站点的无线局域网连接。通过本发明实施例可实现站点与接入点之间的双向身份认证。安全性更高,用户体验更高。
在另一个可选地实现中,信标帧包括WSC信息元素(Information Element,IE),该WSC IE包括站点的标识,该WSC IE指示所述接入点支持自动触发建立无线局域网连接。其中,该WSC IE还可以包括接入点自动触发WSC IE版本信息、自动触发WSC站点的MAC地址以及厂家信息等等。通过本发明 实施例可以实现,
第二方面,本发明实施例提供了一种建立无线局域网连接的方法。该方法包括:站点接收接入点发送的信标帧,该信标帧指示接入点支持自动触发建立无线局域网连接;站点向接入点发送探测请求帧,该探测请求帧携带有站点的标识,该探测请求帧用于请求建立无线局域网连接,以使得当本地保存的站点的标识包括探测请求帧携带的站点的标识时,则依据Wi-Fi快速配置WSC的注册机协议,建立接入点与站点的无线局域网连接。
在一个可选地实现中,在依据Wi-Fi快速配置WSC的注册机协议,建立接入点与站点的无线局域网连接之前,还包括:站点接收接入点发送的探测响应帧,该探测响应帧携带有站点的标识,该探测响应帧用于指示站点触发建立无线局域网连接;当根据探测响应帧携带的站点的标识确认接入点有效时,依据Wi-Fi快速配置WSC的注册机协议,建立接入点与站点的无线局域网连接。
在另一个可选地实现中,探测响应帧包括第一WSC信息元素IE,该第一WSC IE包括站点的标识。
在又一个可选地实现中,探测请求帧包括第二WSC IE,该第二WSC IE包括站点的标识。
第三方面,本发明实施例提供了一种建立无线局域网连接的装置。其中,该装置本地保存有站点的标识,该装置具体包括:发送单元,用于发送信标帧,所述信标帧指示所述接入点支持自动触发建立无线局域网连接,以便所述站点接收所述信标帧后,触发建立无线局域网连接;接收单元,用于接收所述站点发送的探测请求帧,所述探测请求帧携带有站点的标识,所述探测请求帧用于请求建立无线局域网连接;连接建立单元,用于当本地保存的站点的标识包括所述探测请求帧携带的站点的标识时,则依据Wi-Fi快速配置WSC的注册机协议,建立与所述站点的无线局域网连接。
在一个可选的实现中,发送单元还用于,向所述站点发送探测响应帧, 所述探测响应帧携带有站点的标识,所述探测响应帧用于指示所述站点触发建立无线局域网连接。
在另一个可选地实现中,所述信标帧包括WSC信息元素IE,所述WSC IE包括站点的标识,所述WSC IE指示所述接入点支持自动触发建立无线局域网连接。
第四方面本发明实施例提供了一种建立无线局域网连接的装置,其特征在于,包括:接收单元,用于接收接入点发送的信标帧,所述信标帧指示所述接入点支持自动触发建立无线局域网连接;发送单元,用于向所述接入点发送探测请求帧,所述探测请求帧携带有站点的标识,所述探测请求帧用于请求建立无线局域网连接,以使得当本地保存的站点的标识包括所述探测请求帧携带的站点的标识时,则依据Wi-Fi快速配置WSC的注册机协议,建立所述接入点与所述站点的无线局域网连接。
在一个可选的实现中,接收单元还用于,接收所述接入点发送的探测响应帧,所述探测响应帧携带有站点的标识,所述探测响应帧用于指示所述站点触发建立无线局域网连接;当根据所述探测响应帧携带的站点的标识确认所述接入点有效时,依据Wi-Fi快速配置WSC的注册机协议,建立所述接入点与所述站点的无线局域网连接。
在另一个可选地实现中,所述探测响应帧包括第一WSC信息元素IE,所述第一WSC IE包括站点的标识。
在又一个可选地实现中,所述探测请求帧包括第二WSC IE,所述第二WSC IE包括站点的标识。
第五方面,本发明实施例提供了一种站点。该站点具体包括:收发器、处理器和存储器。收发器用于与接入点进行无线交互,可包括接收器和发送器;存储器用来存储程序、数据以及站点的标识。处理器通过执行存储器中存储的程序,实现:发送信标帧,该信标帧指示接入点支持自动触发建立无线局域网连接,以便站点接收信标帧后,触发建立无线局域网连接;接收站 点发送的探测请求帧,该探测请求帧携带有站点的标识,该探测请求帧用于请求建立无线局域网连接;当本地保存的站点的标识包括探测请求帧携带的站点的标识时,则依据Wi-Fi快速配置WSC的注册机协议,建立与所述站点的无线局域网连接。
第六方面,本发明实施例提供了一种接入点。该接入点具体包括:收发器、处理器和存储器。收发器用于与网元进行交互,可包括接收器和发送器;存储器用来存储程序以及数据。处理器通过执行存储器中存储的程序,实现:接收接入点发送的信标帧,该信标帧指示接入点支持自动触发建立无线局域网连接;向接入点发送探测请求帧,该探测请求帧携带有站点的标识,该探测请求帧用于请求建立无线局域网连接,以使得当本地保存的站点的标识包括探测请求帧携带的站点的标识时,则依据Wi-Fi快速配置WSC的注册机协议,建立接入点与站点的无线局域网连接。
第七方面,本发明实施例提供了一种计算机存储介质,用于存储计算机软件程序,计算机运行该程序,用于:发送信标帧,该信标帧指示接入点支持自动触发建立无线局域网连接,以便站点接收信标帧后,触发建立无线局域网连接;接收站点发送的探测请求帧,该探测请求帧携带有站点的标识,该探测请求帧用于请求建立无线局域网连接;当本地保存的站点的标识包括探测请求帧携带的站点的标识时,则依据Wi-Fi快速配置WSC的注册机协议,建立与所述站点的无线局域网连接。
第八方面,本发明实施例提供了一种计算机存储介质,用于存储计算机软件程序,计算机运行该程序,用于:接收接入点发送的信标帧,该信标帧指示接入点支持自动触发建立无线局域网连接;向接入点发送探测请求帧,该探测请求帧携带有站点的标识,该探测请求帧用于请求建立无线局域网连接,以使得当本地保存的站点的标识包括探测请求帧携带的站点的标识时,则依据Wi-Fi快速配置WSC的注册机协议,建立接入点与站点的无线局域网连接。
第九方面,本发明实施例提供的一种无线局域网系统,该系统包括第六方面描述的接入点和第五方面描述的站点。
附图说明
图1为一种无线局域网网络架构示意图;
图2为一种自动触发WSC IE结构示意图;
图3为本发明实施例提供的一种建立无线局域网连接的方法的信令交互图;
图4为本发明实施例提供的另一种建立无线局域网连接的方法的信令交互图;
图5为本发明实施例提供的一个示例信令交互图;
图6为本发明实施例提供的一种建立无线局域网连接的装置结构示意图;
图7为本发明实施例提供的另一种建立无线局域网连接的装置结构示意图;
图8为本发明实施例提供的一种接入点结构示意图;
图9为本发明实施例提供的一种站点结构示意图。
具体实施方式
本发明公开了一种建立无线局域网连接的方法、装置和系统。在本发明实施例中,接入点和站点建立无线局域网连接时,接入点通过信标帧指示支持自动触发建立无线局域网连接,其中,接入点周期性发送信标帧,站点可接收信标帧,站点根据接收到的信标帧的指示,确定发送该信标帧的接入点是否支持自动触发建立无线局域网连接。站点向支持自动触发建立无线局域网连接的接入点发送探测请求帧,以使得触发注册机协议,建立站点与接入点的无线局域网连接。在此过程中,接入点可对站点进行身份验证,具体地,接入点可预存站点的标识,站点在向接入点发送的探测请求帧携带站点的标 识,接入点根据探测请求帧携带的站点标识与本地预存的站点的标识比对可实现对站点的身份验证。站点也可对接入点进行身份验证,具体地,接入点可向站点发送携带本地存储的站点的标识的探测响应帧,站点确定探测响应帧携带的站点的标识是不是自己的标识,以实现对接入点的身份验证。通过本发明实施例,可实现站点与接入点之间注册机协议的自动触发,提升Wi-Fi接入配置的用户体验。
图1为一种无线局域网网络架构示意图。如图1示,该无线局域网网络中包括:AP10和至少一个STA20。其中,STA20包括通信模块,且该STA20具有站点的标识。AP10包括通信模块,且该AP10预存有站点的标识。
其中,AP10可以包括无线路由器、无线中继器、无线网卡、手机等等。
AP可通过管理帧增加扩展IE(信息元素),完成自动WSC触发配置功能宣称、配置功能版本宣称、厂家信息宣称、设备ID宣称以及对接站点选择协议等等。其中,AP至少可通过如下管理帧增加扩展IE:信标帧(Beacon)、探测响应帧(Probe Response)、认证响应帧(Auth Response)(可选)以及关联响应帧(Association Response)(可选)等等。
STA可通过管理帧,增加扩展一个或多个IE(信息元素),完成自动WSC触发配置功能宣称、配置功能版本宣称、厂家信息宣称、设备ID宣称以及对接AP选择协议等等。其中,STA至少可通过如下管理帧增加扩展IE:探测请求帧(Probe Request)、认证请求帧(Auth Request)(非必要帧)、关联请求帧(Association Request)(非必要帧)。
AP和STA互相校验设备ID宣称信息,实现WSC过程的自动触发协议。
需要说明的是,定义的自动触发WSC IE遵循标准IEEE 802.11要求的IE定义格式如图2所示:元素标识(Element ID):可取IEEE 802.11未使用的保留(Reserved)ID,如120。
长度(Length):为IE的长度。信息(Information)部分:[VERSION][DEVICE ID][MAC ADDR][VENDROR STRING]。版本(VERSION):自动触发WSC IE版本。设备标识(DEVICE ID):允许自动触发WSC过程的STA设备ID。MAC地址(MAC ADDR):自动触发WSC目标设备网络地址。厂家信息(VENDROR STRING)。其中,设备ID即为站点的标识,该设备标识可以是设备的序列号、MAC地址、产品的标识或者其他能够标识站点的信息。可选的,一个IE长度可以是128字节,可以扩展多个IE。
下面结合附图以及更具体的实施例对本发明做进一步地介绍。
图3为本发明实施例提供的一种建立无线局域网连接的方法的信令交互图。如图3所示,接入点预先确定待接入的至少一个站点的标识,并在本地进行保存。该接入点本地保存的站点的标识至少可以包括如下方式:
方式一,可通过PC、手机等管理接入点的设备对接入点进行管理,具体地,管理接入点的设备可通过接入点的IP地址访问接入点,并将站点的标识通过接入点的IP地址发送给接入点,以使得接入点将该站点的标识本地保存,例如,接入点可生成一个数组、链表或者数据库等用来存储站点的标识。可选的,站点的标识可以手动输入,通过手机与接入点直接建立通信通道,例如通过一个固定端口的socket发送设备标识。
方式二,接入点可提供用户操作界面,通过用户操作界面接收用户输入的站点的标识。
方式三,可根据站点的标识生成二维码,接入点或管理接入点的设备通过扫描该二维码,使得接入点确定该站点的标识,并本地保存。
该方案具体还包括如下步骤:
S310,接入点发送信标帧。该信标帧指示接入点支持自动触发建立无线局域网连接。
接入点可通过周期性广播的方式发送信标帧,该信标帧携带支持自动触发建立无线局域网连接的指示信息。
S320,站点向接入点发送探测请求帧,该探测请求帧携带站点的标识,该探测请求帧用于请求建立无线局域网连接。
站点可通过扫描等方式接收接入点发送的信标帧,根据信标帧携带的指示信息,确定该接入点是否支持自动触发建立无线局域网连接。
当接入点支持自动触发建立无线局域网连接时,站点向其发送探测请求帧。
其中,站点进行扫描时,可能会接收到多个接入点发送的信标帧。站点根据信标帧的指示,选择支持自动触发建立无线局域网连接的接入点,向选定的接入点发送探测请求帧。
当站点接收到的多个信标帧对应的多个接入点中,有多个支持自动触发无线局域网连接。可以根据信号强度来选择接入点。
由于,可能仅有一个接入点本地存储有站点的标识,但是站点接收到了多个支持自动触发无线局域网连接的接入点发送信标帧。此时,可通过穷举的方式,逐一向支持支持自动触发无线局域网连接的接入点发送探测请求帧,直至将探测请求帧正确的发送到本地存储有站点的标识的接入点。
S330,当本地保存的站点的标识包括探测请求帧携带的站点的标识时,则依据Wi-Fi快速配置WSC的注册机协议,建立与站点的无线局域网连接。
接入点在接收到站点发送的探测请求帧后,可根据该探测请求帧携带的站点的标识确定本地是否存储有相同的站点的标识。当未查询到相同的站点标识时,接入点可将该探测请求帧丢弃,或者接入点向该站点返回探测响应帧,该探测响应帧指示验证失败,所谓的验证失败指示,接入点本地未存储该站点的标识。
当接入点在本地查询到相同的站点标识时,接入点可向该站点发送探测响应帧,该探测响应帧指示站点与接入点进行WSC协商,建立无线局域网连接。
其中,接入点可能会接收到多个站点发送的探测请求帧,且该接入点本 地保存有该多个站点的标识。此时,接入点可分别向该多个站点发送不同的探测响应帧,该不同的多个探测响应帧中的一个携带有该多个站点的标识中的一个,以使得接入点分别与该多个站点建立无线局域网连接。其中,该不同的多个探测响应帧可依次发送;还可以是,接入点向该多个站点发送相同的探测响应帧,该探测响应帧中携带有该多个站点的标识。
通过本发明实施例,基于接入点预先存储的STA标识,及利用扩展IE完成身份确认,实现自动触发WSC过程。本发明实施例可广泛应用到具有低功耗需求的所有Wi-Fi类产品中,提升休眠唤醒后的信息传递速度,提升产品的体验
在一个例子中,如图4所示,站点还可对接入点的身份进行验证,此时,在依据Wi-Fi快速配置WSC的注册机协议,建立与站点的无线局域网连接之前,该方法还包括如下步骤:
S440,当本地保存的站点的标识包括探测请求帧携带的站点的标识时,接入点向站点发送探测响应帧,该探测响应帧携带有站点的标识,该探测响应帧用于指示所述站点触发建立无线局域网连接。
S450,站点确定探测响应帧中携带的站点的标识正确时,依据Wi-Fi快速配置WSC的注册机协议,建立与接入点的无线局域网连接。
下面结合具体示例,对本发明实施例作进一步地介绍。
图5为本发明实施例提供的一个示例信令交互图。如图5所示,该示例具体包括如下步骤。
510,AP保存STA的标识。
AP接收STA的标识,并在本地保存,这样可保证AP在掉电或重启后不丢失。其中,AP接收STA的标识的方式可以参见图3所示的实施例中的描述方式。
520,AP以预制的周期发送信标帧,该信标帧携带该AP支持自动触发建立无线局域网连接的指示信息。
530,STA扫描服务集标识(Service Set Identifier,SSID)。具体地,STA接收AP发送的信标帧,根据识别到的信标帧确定支持自动触发建立无线局域网连接的AP。STA扫描SSID可以检测周围有哪些AP,具体方式可以是扫描AP发出来的信标帧
STA上电,如果当前STA没有接入到任何AP,则自动扫描周围AP信号,通过解析AP的管理帧,识别出支持自动触发WSC协议的AP。
540,STA向AP发送探测请求帧,该探测响应帧携带该STA的标识,该探测请求帧用于请求建立无线局域网连接。
STA向识别出支持自动触发WSC协议的AP,并向其发送探测请求帧(Probe Request)请求进行WSC自动触发,其中,STA在探测请求帧扩展IE中,填写STA自身的DEVICE ID和待发起连接的AP的MAC地址,发送给AP进行有效性校验。其中,DEVICE ID主要用于身份认证,AP的MAC地址主要用于寻址,以便将探测请求帧正确的发送至带发起连接的AP。
550,AP根据接收到的探测请求帧中携带的STA的标识与本地存储的STA的标识进行匹配。
具体匹配的过程可参见图3所示的实施例中S330中的描述。
560,当探测请求帧携带的STA的标识匹配到本地存储的STA的标识时,AP向STA发送探测响应帧,该探测响应帧携带有本地存储的STA的标识。
其中,该探测响应帧中还携带有STA的MAC地址。
570,STA根据探测响应帧携带的本地存储的STA的标识,确定AP有效时,启动WSC过程。
STA接收到AP的探测响应帧,解析自动触发WSC IE,检测到其携带的STA的物理地址是自己,并根据DEVICE ID确认AP的有效性,也就是判断他侧响应帧中携带的DEVICE ID是不是自己的DEVICE ID,如果是,则认为AP有效,如果不是,则认为无效。当确认AP有效后,则自动触发WSC注册机协议,与AP完成WSC交互。
580,AP与STA进行WSC协商和建立无线局域网连接。
STA基于WSC注册机流程生成的Wi-Fi配置主动发起连接,完成与AP的链路连接建立。
其中,WSC协商和建立无线局域网连接可参见IEEE 802.11以及Wi-Fi联盟WSC标准中的流程,但并不限于此。
需要说明的是,通过510,AP可以保存一个或多个STA的标识。例如,在智能家居构成的无线局域网场景下,一个AP可能需要为多个家居智能设备提供无线接入服务。AP可批量保存该多个智能家居中的一个或多个的STA的标识,然后再执行步骤520-580,以实现AP分别与该多个智能家居中的一个或多个STA建立无线局域网连接。
具体地,在执行步骤520-580过程中,AP可以接收到一个或多个探测请求帧,该一个或多个探测请求帧分别携带不同的STA的标识,也就是说,可能有一个或多个STA需要与AP建立无线局域网连接,该一个或多个STA向AP发送了探测请求帧。
AP根据接收到的一个或多个STA的标识,与本地存储的一个或多个STA的标识进行匹配。
AP与接收到的一个或多个STA的标识中匹配成功的一个或多个STA建立无线局域网连接。其中,匹配成功是指,接收到的STA的标识经过匹配确定,本地存储有与该收到的STA的标识相同的STA的标识。
图6为本发明实施例提供的一种建立无线局域网连接的装置结构示意图。该装置本地保存有站点的标识,该装置包括:
发送单元601,用于发送信标帧,所述信标帧指示所述接入点支持自动触发建立无线局域网连接;
接收单元602,用于接收一个或多个第一站点发送的探测请求帧,确定所述至少一个站点的标识是否包括一个或多个第一站点的标识;其中所述探测请求帧携带有一个或多个第一站点的标识,所述探测请求帧用于请求 建立无线局域网连接;
连接建立单元603,用于若至少一个站点的标识包括一个或多个第一站点的标识,则依据Wi-Fi快速配置WSC的注册机协议,建立与所述一个或多个第一站点的无线局域网连接。
可选地,发送单元601还用于,向所述一个或多个第一站点发送探测响应帧,所述探测响应帧携带有一个或多个第一站点的标识,所述探测响应帧用于指示所述一个或多个第一站点触发建立无线局域网连接。
可选地,信标帧包括WSC信息元素IE,该WSC IE包括一个或多个第一站点的标识,所述WSC IE指示所述接入点支持自动触发建立无线局域网连接。
图7为本发明实施例提供的另一种建立无线局域网连接的装置结构示意图。如图7所示,该装置具体包括:
接收单元701,用于接收接入点发送的信标帧,所述信标帧指示所述接入点支持自动触发建立无线局域网连接;
发送单元702,用于向所述接入点发送探测请求帧,所述探测请求帧携带有第一站点的标识,所述探测请求帧用于请求建立无线局域网连接,以使得若接入点本地保存的至少一个站点的标识包括所述第一站点的标识,则依据Wi-Fi快速配置WSC的注册机协议,建立与所述第一站点的无线局域网连接。
可选地,接收单元701还用于,接收所述接入点发送的探测响应帧,所述探测响应帧携带有第二站点的标识,所述探测响应帧用于指示所述第二站点触发建立无线局域网连接;
连接建立单元703,用于若根据所述探测响应帧携带的第二站点的标识与所述第一站点的标识匹配,则依据Wi-Fi快速配置WSC的注册机协议,建立接入点与所述第一站点的无线局域网连接。
可选地,所述探测响应帧包括第一WSC信息元素IE,所述第一WSC IE包括第二站点的标识。
可选地,所述探测请求帧包括第二WSC IE,所述第二WSC IE包括第一站点的标识。
图8为本发明实施例提供的一种接入点结构示意图,如图8所示,接入点包括收发器801、处理器802以及存储器803。各个单元可通过总线(图中未示出,但本领域技术人员应该知道)连接。
其中,收发器801可以包括接收器和发送器,也可以是集成接收和发送功能的电路实现收发器801与站点进行无线通信。存储器803用于存储程序代码以及数据,例如,站点的标识等。处理器802根据存储器803存储的程序指令,执行图3-图5所示的实施例中接入点中的操作步骤。
另外,在图6所描述的装置中,接收单元以及发送单元的功能可由本发明实施例中的收发器来实现,连接建立单元的功能由本发明实施例中的处理器来实现。
图9,为本发明实施例提供的一种站点结构示意图,如图9所示,该站点可以包括收发器901、处理器902、存储器903。该处理器902、收发器901和存储器903可以通过总线(图中未示出,但本领域技术人员应该知道)连接并完成相互间的通信。收发器901用于与接入点进行无线通信,可包括接收单元和发送单元;存储器903用来存储程序以及数据。处理器902通过执行存储器903中存储的程序,图3-图5所示的实施例中站点的功能。
另外,在图7所描述的装置中,接收单元以及发送单元的功能可由本发明实施例中的收发器来实现,连接建立单元的功能由本发明实施例中的处理器来实现。
需要说明的是,图8以及图9中描述的这里的处理器可以是一个处理器,也可以是多个处理元件的统称。例如,该处理器可以是中央处理器(Central Processing Unit,CPU),也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。
存储器可以是一个存储装置,也可以是多个存储元件的统称,且用于存 储可执行程序代码或接入网管理设备运行所需要参数、数据等。且存储器603可以包括随机存储器(random access memory,RAM),也可以包括非易失性存储器(non-volatile memory),例如磁盘存储器,闪存(Flash)等。其中,处理器可存储器可集成为处理电路。
本发明实施例提供的一种Wi-Fi网络系统,该系统包括接入点和站点。该系统中的接入点和站点分别用于执行图3-图5所示的实施例中接入点和站点对应的操作步骤。
进一步地,该系统中的网管可以如图8所示的实施例中的网管的实现方式,GNE可以如图7所示的实施例中的GNE的实现方式。
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令处理器完成,所述的程序可以存储于计算机可读存储介质中,所述存储介质是非短暂性(英文:non-transitory)介质,例如随机存取存储器,只读存储器,快闪存储器,硬盘,固态硬盘,磁带(英文:magnetic tape),软盘(英文:floppy disk),光盘(英文:optical disc)及其任意组合。
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。

Claims (14)

  1. 一种建立无线局域网连接的方法,其特征在于,接入点本地保存有至少一个站点的标识,所述方法包括:
    所述接入点发送信标帧,所述信标帧指示所述接入点支持自动触发建立无线局域网连接;
    所述接入点接收第一站点发送的探测请求帧,确定所述至少一个站点的标识是否包括第一站点的标识;其中所述探测请求帧携带有第一站点的标识,所述探测请求帧用于请求建立无线局域网连接;
    若所述至少一个站点的标识包括所述第一站点的标识,则依据Wi-Fi快速配置WSC的注册机协议,建立与所述第一站点的无线局域网连接。
  2. 根据权利要求1所述的方法,其特征在于,在依据Wi-Fi快速配置WSC的注册机协议,建立与所述第一站点的无线局域网连接之前,还包括:
    所述接入点向所述第一站点发送探测响应帧,所述探测响应帧携带有所述第一站点的标识,所述探测响应帧用于指示所述第一站点触发建立无线局域网连接。
  3. 根据权利要求1或2所述的方法,其特征在于,所述信标帧包括WSC信息元素IE,所述WSC信息元素IE包括第一站点的标识,所述WSC信息元素IE指示所述接入点支持自动触发建立无线局域网连接。
  4. 一种建立无线局域网连接的方法,其特征在于,包括:
    第一站点接收接入点发送的信标帧,所述信标帧指示所述接入点支持自动触发建立无线局域网连接;
    所述第一站点向所述接入点发送探测请求帧,所述探测请求帧携带有第一站点的标识,所述探测请求帧用于请求建立无线局域网连接,以使得当接入点本地保存的至少一个站点的标识包括所述第一站点的标识时,依据Wi-Fi快速配置WSC的注册机协议,建立与所述第一站点的无线局域网连接。
  5. 根据权利要求4所述的方法,其特征在于,在依据Wi-Fi快速配置 WSC的注册机协议,建立与所述第一站点的无线局域网连接之前,还包括:
    所述第一站点接收所述接入点发送的探测响应帧,所述探测响应帧携带有第二站点的标识,所述探测响应帧用于指示所述第二站点触发建立无线局域网连接;
    当所述探测响应帧携带的第二站点的标识与所述第一站点的标识匹配时,依据Wi-Fi快速配置WSC的注册机协议,建立接入点与所述第一站点的无线局域网连接。
  6. 根据权利要求5所述的方法、其特征在于,所述探测响应帧包括第一WSC信息元素IE,所述第一WSC信息元素IE包括所述第二站点的标识。
  7. 根据权利要求4-6任意一项所述的方法,其特征在于,所述探测请求帧包括第二WSC信息元素IE,所述第二WSC信息元素IE包括所述第一站点的标识。
  8. 一种建立无线局域网连接的装置,其特征在于,所述装置在本地保存有站点的标识,所述装置包括:
    发送单元,用于发送信标帧,所述信标帧指示所述接入点支持自动触发建立无线局域网连接;
    接收单元,用于接收第一站点发送的探测请求帧,确定所述至少一个站点的标识是否包括第一站点的标识;其中所述探测请求帧携带有第一站点的标识,所述探测请求帧用于请求建立无线局域网连接;
    连接建立单元,用于当所述至少一个站点的标识包括所述第一站点的标识时,依据Wi-Fi快速配置WSC的注册机协议,建立与所述第一站点的无线局域网连接。
  9. 根据权利要求8所述的装置,其特征在于,所述发送单元还用于,向所述第一站点发送探测响应帧,所述探测响应帧携带有所述第一站点的标识,所述探测响应帧用于指示所述第一站点触发建立无线局域网连接。
  10. 根据权利要求8或9所述的装置,其特征在于,所述信标帧包括WSC 信息元素IE,所述WSC信息元素IE包括所述第一站点的标识,所述WSC IE指示所述接入点支持自动触发建立无线局域网连接。
  11. 一种建立无线局域网连接的装置,其特征在于,包括:
    接收单元,用于接收接入点发送的信标帧,所述信标帧指示所述接入点支持自动触发建立无线局域网连接;
    发送单元,用于向所述接入点发送探测请求帧,所述探测请求帧携带有第一站点的标识,所述探测请求帧用于请求建立无线局域网连接,以使得当接入点本地保存的至少一个站点的标识包括所述第一站点的标识时,依据Wi-Fi快速配置WSC的注册机协议,建立与所述第一站点的无线局域网连接。
  12. 根据权利要求11所述的装置,其特征在于,所述接收单元还用于,接收所述接入点发送的探测响应帧,所述探测响应帧携带有第二站点的标识,所述探测响应帧用于指示所述第二站点触发建立无线局域网连接;
    当所述探测响应帧携带的第二站点的标识与所述第一站点的标识匹配时,依据Wi-Fi快速配置WSC的注册机协议,建立接入点与所述第一站点的无线局域网连接。
  13. 根据权利要求12所述的装置,其特征在于,所述探测响应帧包括第一WSC信息元素IE,所述第一WSC信息元素IE包括所述第二站点的标识。
  14. 根据权利要求11-13任意一项所述的装置,其特征在于,所述探测请求帧包括第二WSC信息元素IE,所述第二WSC信息元素IE包括所述第一站点的标识。
PCT/CN2016/110969 2016-12-20 2016-12-20 建立无线局域网连接的方法及装置 WO2018112727A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201680080791.0A CN108605277B (zh) 2016-12-20 2016-12-20 建立无线局域网连接的方法及装置
US16/471,661 US20190387462A1 (en) 2016-12-20 2016-12-20 Method and apparatus for establishing wireless local area network connection
EP16924828.3A EP3547759B1 (en) 2016-12-20 2016-12-20 Method, access point and wireless local area network system for establishing a wireless local area network connection between an access point and a station
PCT/CN2016/110969 WO2018112727A1 (zh) 2016-12-20 2016-12-20 建立无线局域网连接的方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/110969 WO2018112727A1 (zh) 2016-12-20 2016-12-20 建立无线局域网连接的方法及装置

Publications (1)

Publication Number Publication Date
WO2018112727A1 true WO2018112727A1 (zh) 2018-06-28

Family

ID=62624265

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/110969 WO2018112727A1 (zh) 2016-12-20 2016-12-20 建立无线局域网连接的方法及装置

Country Status (4)

Country Link
US (1) US20190387462A1 (zh)
EP (1) EP3547759B1 (zh)
CN (1) CN108605277B (zh)
WO (1) WO2018112727A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143782A (zh) * 2021-11-03 2022-03-04 支付宝(杭州)信息技术有限公司 建立无线局域网连接的方法和装置

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021159516A1 (zh) * 2020-02-14 2021-08-19 北京小米移动软件有限公司 初始接入方法、初始接入装置及存储介质
CN111479248B (zh) * 2020-03-19 2022-03-01 烽火通信科技股份有限公司 一种快速漫游自动配置方法及系统
CN111669801B (zh) * 2020-05-22 2022-10-18 浙江大华技术股份有限公司 一种建立网络连接的方法、终端以及接入点设备
CN114731679B (zh) * 2022-02-28 2023-08-18 北京小米移动软件有限公司 用于代理感知的通信方法和通信装置
WO2024011390A1 (zh) * 2022-07-11 2024-01-18 北京小米移动软件有限公司 代理感知测量方法及装置
CN118266201A (zh) * 2022-10-26 2024-06-28 北京小米移动软件有限公司 通信方法、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096426A (zh) * 2006-10-16 2013-05-08 马维尔国际有限公司 使用wps的自动自组织网络创建和联合
CN103124422A (zh) * 2012-12-04 2013-05-29 华为终端有限公司 关联设备的方法、装置及系统
CN103916856A (zh) * 2013-01-06 2014-07-09 华为终端有限公司 建立无线通信的方法、用户设备和接入点
CN104010309A (zh) * 2014-05-19 2014-08-27 百度在线网络技术(北京)有限公司 接入点和终端之间建立连接的方法及终端
WO2016058166A1 (zh) * 2014-10-16 2016-04-21 华为技术有限公司 一种触发注册机协议交互的方法、接入点、站点

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090113033A (ko) * 2008-04-25 2009-10-29 삼성전자주식회사 기기의 무선 랜 설정 방법 및 장치
US8818276B2 (en) * 2012-05-16 2014-08-26 Nokia Corporation Method, apparatus, and computer program product for controlling network access to guest apparatus based on presence of hosting apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096426A (zh) * 2006-10-16 2013-05-08 马维尔国际有限公司 使用wps的自动自组织网络创建和联合
CN103124422A (zh) * 2012-12-04 2013-05-29 华为终端有限公司 关联设备的方法、装置及系统
CN103916856A (zh) * 2013-01-06 2014-07-09 华为终端有限公司 建立无线通信的方法、用户设备和接入点
CN104010309A (zh) * 2014-05-19 2014-08-27 百度在线网络技术(北京)有限公司 接入点和终端之间建立连接的方法及终端
WO2016058166A1 (zh) * 2014-10-16 2016-04-21 华为技术有限公司 一种触发注册机协议交互的方法、接入点、站点

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143782A (zh) * 2021-11-03 2022-03-04 支付宝(杭州)信息技术有限公司 建立无线局域网连接的方法和装置

Also Published As

Publication number Publication date
US20190387462A1 (en) 2019-12-19
CN108605277B (zh) 2021-08-13
EP3547759A4 (en) 2019-11-20
EP3547759B1 (en) 2021-01-27
CN108605277A (zh) 2018-09-28
EP3547759A1 (en) 2019-10-02

Similar Documents

Publication Publication Date Title
WO2018112727A1 (zh) 建立无线局域网连接的方法及装置
US11516644B2 (en) Communication device
EP2416617B1 (en) Method and apparatus for connecting wireless network in a digital device
US20180249313A1 (en) Smart device, electronic apparatus, and nfc-based network connection method
US9055430B2 (en) Rapid local address assignment for wireless communication networks
EP1589703B1 (en) System and method for accessing a wireless network
US20130272164A1 (en) Systems and methods of wi-fi enabled device configuration
CN103493397A (zh) 将客户端与无线局域网中的接入点相关联的方法
US8270380B2 (en) Method for selecting an access point and apparatus for using the same
US20160242033A1 (en) Communication service using method and electronic device supporting the same
CN107979864B (zh) 接入点的接入方法、装置及系统
WO2014086252A1 (zh) 关联设备的方法、装置及系统
US11019483B2 (en) Access point supporting at least two virtual networks and method performed thereby for communicating with wireless device
JP2007135146A (ja) 無線lan通信システム及び無線lan通信方法
JP2012060351A (ja) データ転送方法および端末
JP6366113B2 (ja) 通信システム、通信装置及び通信方法
CN102196597A (zh) 无线局域网装置、协议执行方法
US8861492B2 (en) Method for communication between a WLAN terminal and a human interface device
JP4836537B2 (ja) 無線基地局装置および無線基地局装置の通信パラメータ設定方法
KR20140113232A (ko) 주변 무선접속장치를 활용하는 이동 단말기의 무선 링크 설정을 위한 방법
US20170257895A1 (en) Wireless communication apparatus, server, payment apparatus, wireless communication method, and program
CN105682250A (zh) 基于Wifi Direct的情侣终端实现方法、装置及其终端
JP2003018234A (ja) 無線システム
JP2004241911A (ja) 無線ステーション端末

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2016924828

Country of ref document: EP

Effective date: 20190627