+

CN104410963A - WiFi (wireless fidelity) connection method, WiFi agency and system - Google Patents

WiFi (wireless fidelity) connection method, WiFi agency and system Download PDF

Info

Publication number
CN104410963A
CN104410963A CN201410683329.2A CN201410683329A CN104410963A CN 104410963 A CN104410963 A CN 104410963A CN 201410683329 A CN201410683329 A CN 201410683329A CN 104410963 A CN104410963 A CN 104410963A
Authority
CN
China
Prior art keywords
wifi
mobile terminal
mac address
connection
agency
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201410683329.2A
Other languages
Chinese (zh)
Inventor
安岗
肖海浪
严斌峰
叶阳
孙宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201410683329.2A priority Critical patent/CN104410963A/en
Publication of CN104410963A publication Critical patent/CN104410963A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

本发明提供一种WiFi连接方法、WiFi代理和系统,该方法包括:WiFi代理与移动终端建立NFC连接;WiFi代理与WiFi AP建立WiFi连接;WiFi代理将移动终端的MAC地址发送给WiFi AP,使WiFi AP将该MAC地址添加入MAC地址池;WiFi代理通过该NFC连接将WiFi AP的SSID发送给移动终端,使移动终端使用该SSID与WiFi AP建立连接,本实施例中移动终端通过与预先通过WiFi AP进行安全验证的WiFi代理之间建立NFC连接,通过WiFi代理自动接入WiFi,既保证了安全,避免其他非店内用户蹭网,又简便实用,提高了用户使用体验。

The present invention provides a WiFi connection method, a WiFi agent and a system. The method includes: the WiFi agent establishes an NFC connection with a mobile terminal; the WiFi agent establishes a WiFi connection with a WiFi AP; the WiFi agent sends the MAC address of the mobile terminal to the WiFi AP, so that The WiFi AP adds the MAC address into the MAC address pool; the WiFi agent sends the SSID of the WiFi AP to the mobile terminal through the NFC connection, so that the mobile terminal uses the SSID to establish a connection with the WiFi AP. An NFC connection is established between the WiFi proxies that are authenticated by the AP, and the WiFi proxies are automatically connected to the WiFi, which not only ensures security, but also prevents other non-store users from stalking the Internet. It is also simple and practical, and improves the user experience.

Description

WiFi连接方法、WiFi代理和系统WiFi connection method, WiFi agent and system

技术领域technical field

本发明属于无线通信技术领域,尤其是涉及一种WiFi连接方法、WiFi代理和系统。The invention belongs to the technical field of wireless communication, and in particular relates to a WiFi connection method, a WiFi agent and a system.

背景技术Background technique

随着移动互联网的快速发展,各种各样方便用户生活的应用层出不穷,用户在享受应用带来便利的同时,时刻受到通信资费的困扰。无线保真(WiFi)作为一种相对廉价的联网方式,越来越受到用户喜爱。With the rapid development of the mobile Internet, various applications that facilitate users' lives emerge in an endless stream. While enjoying the convenience brought by applications, users are always troubled by communication charges. Wireless Fidelity (WiFi), as a relatively cheap way of networking, is becoming more and more popular among users.

为了满足用户的上网需求,很多公开场合如咖啡厅、饭店、机场、娱乐场所等都会向光顾的用户提供免费WiFi上网服务。现有技术中,为了避免周边的用户蹭网以及通信安全,用户在连接免费WiFi时,需要顾客向店内服务人员询问连接密码,并输入连接密码或者通过手机短信验证的方式来接入店内提供的WiFi,因此,现有技术给用户使用带来大大的不便,具有一定的局限性。In order to meet users' Internet access needs, many public places such as coffee shops, restaurants, airports, entertainment venues, etc. will provide free WiFi Internet access services to patronizing users. In the prior art, in order to prevent surrounding users from spoofing the Internet and communication security, when users connect to free WiFi, customers need to ask the service personnel in the store for the connection password, and enter the connection password or use the mobile phone SMS verification method to access the WiFi provided in the store. WiFi, therefore, the existing technology brings great inconvenience to users and has certain limitations.

发明内容Contents of the invention

针对上述存在的问题,本发明提供一种WiFi连接方法、WiFi代理和系统,用以克服现有免费WiFi连接方式给用户带来的使用不便、具有一定应用局限性的缺陷。In view of the above existing problems, the present invention provides a WiFi connection method, a WiFi agent and a system to overcome the defects of inconvenient use and certain application limitations brought to users by the existing free WiFi connection methods.

本发明提供了一种WiFi连接方法,包括:The invention provides a WiFi connection method, comprising:

WiFi代理接收移动终端发送的NFC连接请求,并与所述移动终端建立NFC连接;The WiFi agent receives the NFC connection request sent by the mobile terminal, and establishes an NFC connection with the mobile terminal;

所述WiFi代理与WiFi AP建立WiFi连接;Described WiFi agent establishes WiFi connection with WiFi AP;

所述WiFi代理接收所述移动终端通过所述NFC连接发送的所述移动终端的MAC地址;The WiFi agent receives the MAC address of the mobile terminal sent by the mobile terminal through the NFC connection;

所述WiFi代理通过所述WiFi连接将所述MAC地址发送给所述WiFi AP,以使所述WiFi AP将所述MAC地址添加入MAC地址池,绑定所述移动终端的MAC地址;The WiFi agent sends the MAC address to the WiFi AP through the WiFi connection, so that the WiFi AP adds the MAC address into the MAC address pool, and binds the MAC address of the mobile terminal;

所述WiFi代理接收所述WiFi AP通过所述WiFi连接发送的SSID,并通过所述NFC连接将所述SSID发送给所述移动终端,以使所述移动终端使用所述SSID与所述WiFi AP建立连接。The WiFi agent receives the SSID sent by the WiFi AP through the WiFi connection, and sends the SSID to the mobile terminal through the NFC connection, so that the mobile terminal uses the SSID to communicate with the WiFi AP establish connection.

本发明提供了一种WiFi代理,包括:The present invention provides a WiFi agent, including:

接收模块,用于接收移动终端发送的NFC连接请求,并与所述移动终端建立NFC连接;A receiving module, configured to receive an NFC connection request sent by a mobile terminal, and establish an NFC connection with the mobile terminal;

建立模块,用于与WiFi AP建立WiFi连接;Establish a module for establishing a WiFi connection with a WiFi AP;

所述接收模块,还用于接收所述移动终端通过所述NFC连接发送的所述移动终端的MAC地址;The receiving module is further configured to receive the MAC address of the mobile terminal sent by the mobile terminal through the NFC connection;

发送模块,用于通过所述WiFi连接将所述MAC地址发送给所述WiFiAP,以使所述WiFi AP将所述MAC地址添加入MAC地址池,绑定所述移动终端的MAC地址;A sending module, configured to send the MAC address to the WiFi AP through the WiFi connection, so that the WiFi AP adds the MAC address to the MAC address pool, and binds the MAC address of the mobile terminal;

所述接收模块,还用于接收所述WiFi AP通过所述WiFi连接发送的SSID,并通过所述NFC连接将所述SSID发送给所述移动终端,以使所述移动终端使用所述SSID与所述WiFi AP建立连接。The receiving module is also used to receive the SSID sent by the WiFi AP through the WiFi connection, and send the SSID to the mobile terminal through the NFC connection, so that the mobile terminal uses the SSID to communicate with the mobile terminal. The WiFi AP establishes a connection.

本发明提供了一种WiFi连接系统,包括:The present invention provides a WiFi connection system, comprising:

WiFi AP和至少一个如上所述的WiFi代理。WiFi AP and at least one WiFi proxy as described above.

本发明提供的WiFi连接方法、WiFi代理和系统,WiFi代理在接收到移动终端发送的NFC连接请求时,与该移动终端建立NFC连接,并与WiFi AP建立WiFi连接。进而,WiFi代理接收移动终端通过所述NFC连接发送的移动终端的MAC地址,并通过所述WiFi连接将该MAC地址发送给WiFi AP,以使WiFi AP将该MAC地址添加入MAC地址池,以绑定移动终端的MAC地址。绑定移动终端的MAC地址之后,WiFi AP通过所述WiFi连接发送自身SSID给WiFi代理,WiFi代理通过所述NFC连接将SSID发送给移动终端,以使移动终端使用该SSID与WiFi AP建立连接。移动终端通过与WiFi代理间的NFC连接,以及WiFi代理与WiFi AP间的WiFi连接,将自身MAC地址发送给WiFi AP,使得WiFi AP在绑定该MAC地址后,将自身SSID原路反馈给移动终端,使移动终端能够自动接入WiFi,无需咨询获得接入密码或短信验证,简便实用,提高了用户使用体验。In the WiFi connection method, WiFi agent and system provided by the present invention, the WiFi agent establishes an NFC connection with the mobile terminal when receiving an NFC connection request sent by a mobile terminal, and establishes a WiFi connection with a WiFi AP. Furthermore, the WiFi agent receives the MAC address of the mobile terminal sent by the mobile terminal through the NFC connection, and sends the MAC address to the WiFi AP through the WiFi connection, so that the WiFi AP adds the MAC address to the MAC address pool, so as to Bind the MAC address of the mobile terminal. After binding the MAC address of the mobile terminal, the WiFi AP sends its own SSID to the WiFi agent through the WiFi connection, and the WiFi agent sends the SSID to the mobile terminal through the NFC connection, so that the mobile terminal uses the SSID to establish a connection with the WiFi AP. The mobile terminal sends its own MAC address to the WiFi AP through the NFC connection between the WiFi agent and the WiFi connection between the WiFi agent and the WiFi AP, so that the WiFi AP will feed back its SSID to the mobile terminal after binding the MAC address. The terminal enables the mobile terminal to automatically access the WiFi, without consulting to obtain the access password or SMS verification, which is simple and practical, and improves the user experience.

附图说明Description of drawings

图1为本发明WiFi连接方法实施例一的流程图;FIG. 1 is a flow chart of Embodiment 1 of the WiFi connection method of the present invention;

图2为本发明WiFi代理实施例一的结构示意图;Fig. 2 is a schematic structural diagram of WiFi proxy embodiment 1 of the present invention;

图3为本发明WiFi连接系统实施例一的结构示意图。FIG. 3 is a schematic structural diagram of Embodiment 1 of the WiFi connection system of the present invention.

具体实施方式Detailed ways

图1为本发明WiFi连接方法实施例一的流程图,如图1所示,该方法包括:Fig. 1 is a flowchart of Embodiment 1 of the WiFi connection method of the present invention. As shown in Fig. 1, the method includes:

步骤101、WiFi代理接收移动终端发送的NFC连接请求,并与所述移动终端建立NFC连接;Step 101, the WiFi agent receives the NFC connection request sent by the mobile terminal, and establishes an NFC connection with the mobile terminal;

本实施例中,为方便用户使用,在比如咖啡厅、机场、饭店等提供给用户免费WiFi上网功能的场所,可以在店内设置有多个WiFi代理,通过该WiFi代理实现用户无需登录密码的WiFi联网操作。In this embodiment, for the convenience of users, in places such as coffee shops, airports, restaurants, etc. that provide users with free WiFi Internet access functions, multiple WiFi agents can be set in the store, through which WiFi agents can be used to realize WiFi access that users do not need to log in to. Network operation.

具体来说,WiFi代理可以根据实际需要合理布放于合适的位置,方便用户操作。在WiFi代理中可以设置有近场通信(Near Field Communication,以下简称NFC)模块,相应的,用户的移动终端中也设置有NFC模块,从而当用户需要连接WiFi接入点(Acess Point,以下简称AP)时,首先通过利用NFC模块进行“刷卡”操作来刷WiFi代理,触发移动终端向WiFi代理发送NFC连接请求。当WiFi代理接收到用户的移动终端发送的NFC连接请求时,与移动终端建立并保持NFC连接。由此可见,只有当用户进店后,与店内设置的至少一个WiFi代理之间的距离足够近,才能通过移动终端的NFC模块和WiFi代理中设置的NFC模块之间进行进场通信,建立连接,而店外的用户一般情况下不会与店内设置的WiFi代理进行连接的。Specifically, the WiFi agent can be reasonably deployed in a suitable location according to actual needs, which is convenient for users to operate. A near field communication (Near Field Communication, hereinafter referred to as NFC) module can be set in the WiFi agent, and correspondingly, an NFC module is also set in the user's mobile terminal, so that when the user needs to connect to a WiFi access point (Access Point, hereinafter referred to as AP), first use the NFC module to perform a "swipe card" operation to swipe the WiFi proxy, triggering the mobile terminal to send an NFC connection request to the WiFi proxy. When the WiFi proxy receives the NFC connection request sent by the user's mobile terminal, it establishes and maintains the NFC connection with the mobile terminal. It can be seen that only when the user enters the store and is close enough to at least one WiFi agent set in the store, can the incoming communication be established between the NFC module of the mobile terminal and the NFC module set in the WiFi agent. , and users outside the store generally do not connect to the WiFi agent set up in the store.

步骤102、WiFi代理与WiFi AP建立WiFi连接;Step 102, WiFi agent establishes WiFi connection with WiFi AP;

本实施例中,WiFi AP预先设置WiFi连接策略为基于媒质接入控制(Media Access Control,以下简称MAC)地址绑定的连接策略,即如果任一设备想要连接该WiFi AP,则需要该WiFi AP中绑定该设备的MAC地址。为此,WiFi AP中设置一MAC地址池,用于存储绑定的各设备的MAC地址。值得说明的是,本实施例中,初始化在该WiFi AP的MAC地址池中预先添加了各个WiFi代理的MAC地址,从而允许各个WiFi代理能够自动地与WiFiAP建立WiFi连接。由此可见,通过在WiFi AP的MAC地址池中预先添加了各个WiFi代理的MAC地址相当于对WiFi代理进行了安全性的认证,因为当一个WiFi代理的MAC地址不在WiFi AP的MAC地址池中,则WiFi AP不会与该WiFi代理进行连接。In this embodiment, the WiFi AP pre-sets the WiFi connection strategy as a connection strategy based on Media Access Control (Media Access Control, hereinafter referred to as MAC) address binding, that is, if any device wants to connect to the WiFi AP, it needs the WiFi connection strategy. The MAC address of the device bound to the AP. To this end, a MAC address pool is set in the WiFi AP to store the MAC addresses of the bound devices. It is worth noting that, in this embodiment, the MAC address of each WiFi agent is pre-added in the MAC address pool of the WiFi AP during initialization, thereby allowing each WiFi agent to automatically establish a WiFi connection with the WiFi AP. It can be seen that by pre-adding the MAC address of each WiFi agent in the MAC address pool of the WiFi AP, it is equivalent to the security authentication of the WiFi agent, because when the MAC address of a WiFi agent is not in the MAC address pool of the WiFi AP , the WiFi AP will not connect with the WiFi agent.

具体地,当WiFi代理在接收到移动终端发送的NFC连接请求,并建立与移动终端间的NFC连接后,随即建立与WiFi AP间的WiFi连接。具体来说,在WiFi代理中除了NFC模块外,还设置有WiFi通信模块,从而,WiFi代理激活内部的WiFi通信模块,并通过WiFi通信模块自动与WiFi AP建立WiFi连接。Specifically, when the WiFi agent receives the NFC connection request sent by the mobile terminal and establishes an NFC connection with the mobile terminal, it immediately establishes a WiFi connection with the WiFi AP. Specifically, in addition to the NFC module, the WiFi agent is also provided with a WiFi communication module, so that the WiFi agent activates the internal WiFi communication module, and automatically establishes a WiFi connection with the WiFi AP through the WiFi communication module.

步骤103、WiFi代理接收所述移动终端通过所述NFC连接发送的所述移动终端的MAC地址;Step 103, the WiFi agent receives the MAC address of the mobile terminal sent by the mobile terminal through the NFC connection;

步骤104、WiFi代理通过所述WiFi连接将所述MAC地址发送给所述WiFi AP,以使所述WiFi AP将所述MAC地址添加入MAC地址池,绑定所述移动终端的MAC地址;Step 104, the WiFi agent sends the MAC address to the WiFi AP through the WiFi connection, so that the WiFi AP adds the MAC address into the MAC address pool, and binds the MAC address of the mobile terminal;

基于上述的WiFi连接策略,对于当前要接入WiFi AP的移动终端来说,需要将该移动终端的MAC地址提供给WiFi AP,以使WiFi AP绑定该移动终端的MAC地址,以为该移动终端提供WiFi上网服务。Based on the above-mentioned WiFi connection strategy, for a mobile terminal that currently wants to access a WiFi AP, it is necessary to provide the MAC address of the mobile terminal to the WiFi AP so that the WiFi AP can bind the MAC address of the mobile terminal as the mobile terminal. Provide WiFi Internet service.

具体来说,移动终端将自身的MAC地址通过与WiFi代理之间已经建立的NFC连接传输给WiFi代理,进而,WiFi代理通过与WiFi AP间已经建立的WiFi连接将该MAC地址转发给WiFi AP,从而,WiFi AP在接收到该移动终端的MAC地址后,将该MAC地址添加到MAC地址池中,从而绑定该移动终端的MAC地址。Specifically, the mobile terminal transmits its own MAC address to the WiFi agent through the established NFC connection with the WiFi agent, and then the WiFi agent forwards the MAC address to the WiFi AP through the established WiFi connection with the WiFi AP, Therefore, after receiving the MAC address of the mobile terminal, the WiFi AP adds the MAC address to the MAC address pool, thereby binding the MAC address of the mobile terminal.

值得说明的是,本实施例中,移动终端MAC地址优选是该移动终端通过内部单线程协议(Single Wire Protocol,以下简称SWP)卡中预置的应用程序(Applet)获得的。可以理解的是,该MAC地址也可以通过在移动终端中设置一个客户端来获得。但是,为了简化操作,避免额外的应用开发,优先前者的方式来实现。It should be noted that, in this embodiment, the mobile terminal MAC address is preferably obtained by the mobile terminal through an application program (Applet) preset in the internal Single Wire Protocol (Single Wire Protocol, hereinafter referred to as SWP) card. It can be understood that the MAC address can also be obtained by configuring a client in the mobile terminal. However, in order to simplify operations and avoid additional application development, the former method is preferred.

步骤105、WiFi代理接收所述WiFi AP通过所述WiFi连接发送的SSID,并通过所述NFC连接将所述SSID发送给所述移动终端,以使所述移动终端使用所述SSID与所述WiFi AP建立连接。Step 105, the WiFi agent receives the SSID sent by the WiFi AP through the WiFi connection, and sends the SSID to the mobile terminal through the NFC connection, so that the mobile terminal uses the SSID to communicate with the WiFi The AP establishes a connection.

WiFi AP在绑定移动终端的MAC地址之后,将自身的服务集标识(ServiceSet Identifier,以下简称SSID)通过与WiFi代理间的WiFi连接反馈给WiFi代理,进而由WiFi代理通过NFC连接反馈给移动终端,从而移动终端根据该SSID接入该WiFi AP,进行WiFi上网应用。After the WiFi AP binds the MAC address of the mobile terminal, it feeds back its own service set identifier (ServiceSet Identifier, hereinafter referred to as SSID) to the WiFi agent through the WiFi connection with the WiFi agent, and then the WiFi agent feeds back to the mobile terminal through the NFC connection , so that the mobile terminal accesses the WiFi AP according to the SSID, and performs WiFi Internet access applications.

另外,值得说明的是,WiFi代理在接收到WiFi AP通过WiFi连接发送的SSID之后,为了进一步节省WiFi代理的电量消耗,还可以包括:In addition, it is worth noting that after the WiFi agent receives the SSID sent by the WiFi AP through the WiFi connection, in order to further save the power consumption of the WiFi agent, it can also include:

WiFi代理控制自身中的WiFi通信模块处于休眠状态。The WiFi agent controls the WiFi communication module in itself to be in a dormant state.

本实施例中,WiFi代理在接收到移动终端发送的NFC连接请求时,与该移动终端建立NFC连接,并与WiFi AP建立WiFi连接。进而,WiFi代理接收移动终端通过所述NFC连接发送的移动终端的MAC地址,并通过所述WiFi连接将该MAC地址发送给WiFi AP,以使WiFi AP将该MAC地址添加入MAC地址池,以绑定移动终端的MAC地址。绑定移动终端的MAC地址之后,WiFi AP通过所述WiFi连接发送自身SSID给WiFi代理,WiFi代理通过所述NFC连接将SSID发送给移动终端,以使移动终端使用该SSID与WiFiAP建立连接。移动终端通过与WiFi代理间的NFC连接,以及WiFi代理与WiFi AP间的WiFi连接,将自身MAC地址发送给WiFi AP,使得WiFi AP在绑定该MAC地址后,将自身SSID原路反馈给移动终端,本实施例中移动终端通过与预先通过WiFi AP进行安全验证的WiFi代理之间建立NFC连接,通过WiFi代理自动接入WiFi,与现有技术相比,本实施例提供的WiFi连接方法无需咨询获得接入密码或短信验证,既保证了安全,避免其他非店内用户蹭网,又简便实用,提高了用户使用体验。In this embodiment, when the WiFi agent receives the NFC connection request sent by the mobile terminal, it establishes an NFC connection with the mobile terminal, and establishes a WiFi connection with the WiFi AP. Furthermore, the WiFi agent receives the MAC address of the mobile terminal sent by the mobile terminal through the NFC connection, and sends the MAC address to the WiFi AP through the WiFi connection, so that the WiFi AP adds the MAC address to the MAC address pool, so as to Bind the MAC address of the mobile terminal. After binding the MAC address of the mobile terminal, the WiFi AP sends its own SSID to the WiFi agent through the WiFi connection, and the WiFi agent sends the SSID to the mobile terminal through the NFC connection, so that the mobile terminal uses the SSID to establish a connection with the WiFiAP. The mobile terminal sends its own MAC address to the WiFi AP through the NFC connection between the WiFi agent and the WiFi connection between the WiFi agent and the WiFi AP, so that the WiFi AP will feed back its own SSID to the mobile terminal after binding the MAC address. Terminal, in this embodiment, the mobile terminal establishes an NFC connection with a WiFi agent that is pre-securely verified through the WiFi AP, and automatically accesses WiFi through the WiFi agent. Compared with the prior art, the WiFi connection method provided by this embodiment does not require consultation Obtaining the access password or text message verification not only ensures security, but also prevents other non-store users from spoofing the Internet, and is simple and practical, which improves the user experience.

图2为本发明WiFi代理实施例一的结构示意图,如图2所示,该代理包括:Fig. 2 is a schematic structural diagram of Embodiment 1 of the WiFi agent of the present invention. As shown in Fig. 2, the agent includes:

接收模块11,用于接收移动终端发送的NFC连接请求,并与所述移动终端建立NFC连接;The receiving module 11 is configured to receive the NFC connection request sent by the mobile terminal, and establish an NFC connection with the mobile terminal;

建立模块12,用于与WiFi AP建立WiFi连接;Build module 12, be used for setting up WiFi connection with WiFi AP;

所述接收模块11,还用于接收所述移动终端通过所述NFC连接发送的所述移动终端的MAC地址;The receiving module 11 is further configured to receive the MAC address of the mobile terminal sent by the mobile terminal through the NFC connection;

发送模块13,用于通过所述WiFi连接将所述MAC地址发送给所述WiFiAP,以使所述WiFi AP将所述MAC地址添加入MAC地址池,绑定所述移动终端的MAC地址;The sending module 13 is used to send the MAC address to the WiFi AP through the WiFi connection, so that the WiFi AP adds the MAC address to the MAC address pool and binds the MAC address of the mobile terminal;

所述接收模块11,还用于接收所述WiFi AP通过所述WiFi连接发送的SSID,并通过所述NFC连接将所述SSID发送给所述移动终端,以使所述移动终端使用所述SSID与所述WiFi AP建立连接。The receiving module 11 is also configured to receive the SSID sent by the WiFi AP through the WiFi connection, and send the SSID to the mobile terminal through the NFC connection, so that the mobile terminal uses the SSID Establish a connection with the WiFi AP.

进一步地,所述MAC地址池中包括预先添加的允许自动接入所述WiFiAP的所述WiFi代理的MAC地址;Further, the MAC address pool includes a pre-added MAC address of the WiFi agent that allows automatic access to the WiFi AP;

所述建立模块12具体用于:激活所述WiFi代理内部的WiFi通信模块,并通过所述WiFi通信模块自动与WiFi AP建立WiFi连接。The establishment module 12 is specifically used for: activating the internal WiFi communication module of the WiFi agent, and automatically establishing a WiFi connection with the WiFi AP through the WiFi communication module.

进一步地,所述WiFi代理还包括:Further, the WiFi agent also includes:

控制模块14,用于在所述接收模块11接收到所述WiFi AP通过所述WiFi连接发送的SSID之后,控制所述WiFi通信模块处于休眠状态。The control module 14 is used to control the WiFi communication module to be in a dormant state after the receiving module 11 receives the SSID sent by the WiFi AP through the WiFi connection.

本实施例的WiFi代理可以用于执行图1所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The WiFi agent in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 1 , and its implementation principle and technical effect are similar, and will not be repeated here.

图3为本发明WiFi连接系统实施例一的结构示意图,如图3所示,该系统包括:Fig. 3 is a schematic structural diagram of Embodiment 1 of the WiFi connection system of the present invention. As shown in Fig. 3, the system includes:

至少一个如图2中任一所述的WiFi代理1和WiFi接入点(AP)2。At least one WiFi proxy 1 and WiFi access point (AP) 2 as described in any one of FIG. 2 .

进一步地,所述WiFi AP 2还用于:Further, the WiFi AP 2 is also used for:

若所述WiFi AP 2检测到与所述移动终端间的所述WiFi连接断开,则将所述移动终端的MAC地址从所述MAC地址池中移除。If the WiFi AP 2 detects that the WiFi connection with the mobile terminal is disconnected, the MAC address of the mobile terminal is removed from the MAC address pool.

本实施例中,为了在用户的移动终端与WiFi AP断开WiFi连接时,释放该移动终端所使用的WiFi资源,以避免WiFi资源的浪费,WiFi AP检测到与移动终端间的WiFi连接断开时,将该移动终端的MAC地址从MAC地址池中移除。值得说明的是,WiFi AP检测到与移动终端间的WiFi连接断开的方式与现有技术中相同,不再赘述。In this embodiment, in order to release the WiFi resources used by the mobile terminal when the user's mobile terminal disconnects the WiFi connection with the WiFi AP, so as to avoid the waste of WiFi resources, the WiFi AP detects that the WiFi connection with the mobile terminal is disconnected , remove the MAC address of the mobile terminal from the MAC address pool. It is worth noting that the way in which the WiFi AP detects that the WiFi connection with the mobile terminal is disconnected is the same as that in the prior art, and will not be repeated here.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (9)

1. a WiFi method of attachment, is characterized in that, comprising:
Wireless Fidelity WiFi acts on behalf of the near-field communication NFC connection request that mobile terminal receive sends, and sets up NFC with described mobile terminal and be connected;
Described WiFi agency sets up WiFi with WiFi access point AP and is connected;
Described WiFi agency receives described mobile terminal connects the described mobile terminal sent Media access contorl MAC Address by described NFC;
Described MAC Address is sent to described WiFi AP by described WiFi connection by described WiFi agency, to make described WiFi AP that described MAC Address is added into MAC Address pond, binds the MAC Address of described mobile terminal;
Described WiFi agency is received described WiFi AP and is connected the service set SSID sent by described WiFi, and by described NFC connection, described SSID is sent to described mobile terminal, use described SSID and described WiFi AP to connect to make described mobile terminal.
2. method according to claim 1, is characterized in that, the MAC Address of described mobile terminal is that described mobile terminal is obtained by the preset application A pplet in internal single-threaded agreement SWP card.
3. method according to claim 1, is characterized in that, described MAC Address pond comprises the MAC Address that the permission added in advance accesses the described WiFi agency of described WiFi AP automatically;
Described WiFi agency sets up WiFi with WiFi AP and is connected, and comprising:
Described WiFi agency activates inner WiFi communication module, and automatically sets up WiFi with WiFi AP by described WiFi communication module and be connected.
4. method according to claim 3, is characterized in that, described WiFi agency also comprises after receiving the SSID of described WiFi AP by described WiFi connection transmission:
Described in described WiFi agentbased control, WiFi communication module is in resting state.
5. a WiFi agency, is characterized in that, comprising:
Receiver module, for the NFC connection request that mobile terminal receive sends, and sets up NFC with described mobile terminal and is connected;
Setting up module, being connected for setting up WiFi with WiFi AP;
Described receiver module, also for receiving the MAC Address of the described mobile terminal that described mobile terminal is sent by described NFC connection;
Sending module, being sent to described WiFiAP for being connected by described WiFi by described MAC Address, to make described WiFi AP that described MAC Address is added into MAC Address pond, binding the MAC Address of described mobile terminal;
Described receiver module, also connects for receiving described WiFi AP the SSID sent by described WiFi, and by described NFC connection, described SSID is sent to described mobile terminal, uses described SSID and described WiFi AP to connect to make described mobile terminal.
6. WiFi agency according to claim 5, is characterized in that, described MAC Address pond comprises the MAC Address that the permission added in advance accesses the described WiFi agency of described WiFi AP automatically;
Described set up module specifically for: activate described WiFi and act on behalf of inner WiFi communication module, and automatically set up WiFi with WiFi AP by described WiFi communication module and be connected.
7. WiFi agency according to claim 6, is characterized in that, also comprise:
Control module, for receive the SSID of described WiFi AP by described WiFi connection transmission at described receiver module after, controls described WiFi communication module and is in resting state.
8. a WiFi connected system, is characterized in that, comprising:
WiFi AP and at least one according to any one of claim 5 to 7 WiFi agency.
9. system according to claim 8, is characterized in that, described WiFi AP also for:
Disconnect if described WiFi AP detects to be connected with the described WiFi between described mobile terminal, then the MAC Address of described mobile terminal is removed from described MAC Address pond.
CN201410683329.2A 2014-11-24 2014-11-24 WiFi (wireless fidelity) connection method, WiFi agency and system Pending CN104410963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410683329.2A CN104410963A (en) 2014-11-24 2014-11-24 WiFi (wireless fidelity) connection method, WiFi agency and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410683329.2A CN104410963A (en) 2014-11-24 2014-11-24 WiFi (wireless fidelity) connection method, WiFi agency and system

Publications (1)

Publication Number Publication Date
CN104410963A true CN104410963A (en) 2015-03-11

Family

ID=52648545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410683329.2A Pending CN104410963A (en) 2014-11-24 2014-11-24 WiFi (wireless fidelity) connection method, WiFi agency and system

Country Status (1)

Country Link
CN (1) CN104410963A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105451306A (en) * 2015-11-18 2016-03-30 广州美渠信息科技有限公司 Automatic wifi connection method of advertisement injecting machine
CN106060767A (en) * 2016-05-31 2016-10-26 成都数聚云信息技术有限公司 Mobile terminal connection wireless network hot spot method and system
CN106211051A (en) * 2016-09-13 2016-12-07 广东欧珀移动通信有限公司 A method, device and mobile terminal for automatically connecting to WIFI hotspots
CN106454938A (en) * 2016-10-08 2017-02-22 努比亚技术有限公司 Information sharing method, terminal and router
WO2017067430A1 (en) * 2015-10-21 2017-04-27 珠海赛纳打印科技股份有限公司 Smart device, electronic device, and near field communication-based network connection method
CN107040978A (en) * 2017-04-28 2017-08-11 北京星网锐捷网络技术有限公司 A kind of method and apparatus of the Access Control of terminal in a wireless local area network
CN110366152A (en) * 2019-07-09 2019-10-22 重庆科赛孚科技有限公司 Equipment far field communication connecting method and system are realized based on near-field communication identification
US10764934B2 (en) 2015-02-13 2020-09-01 Xiaomi Inc. Method, apparatus for terminal device to access wireless network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110292835A1 (en) * 2010-05-31 2011-12-01 Huawei Device Co.,Ltd. Method, and device for configuring wifi parameters
CN103369707A (en) * 2012-03-27 2013-10-23 华为终端有限公司 Wireless network connection establishing method and terminal equipment
CN103607714A (en) * 2013-11-18 2014-02-26 宽兆科技(深圳)有限公司 Wireless router and rapid access control method and connection authenticating method of wireless router
CN103874168A (en) * 2013-12-27 2014-06-18 北京奇虎科技有限公司 Method and routing device for realizing network authentication through Bluetooth matching
CN103916855A (en) * 2014-04-28 2014-07-09 太仓市同维电子有限公司 Method for enabling mobile phone to be connected to WiFi network
CN103945564A (en) * 2014-04-30 2014-07-23 Tcl集团股份有限公司 Wireless network connecting method and system and wireless access point equipment
CN104144463A (en) * 2014-08-19 2014-11-12 天津三星通信技术研究有限公司 Wi-Fi network access method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110292835A1 (en) * 2010-05-31 2011-12-01 Huawei Device Co.,Ltd. Method, and device for configuring wifi parameters
CN103369707A (en) * 2012-03-27 2013-10-23 华为终端有限公司 Wireless network connection establishing method and terminal equipment
CN103607714A (en) * 2013-11-18 2014-02-26 宽兆科技(深圳)有限公司 Wireless router and rapid access control method and connection authenticating method of wireless router
CN103874168A (en) * 2013-12-27 2014-06-18 北京奇虎科技有限公司 Method and routing device for realizing network authentication through Bluetooth matching
CN103916855A (en) * 2014-04-28 2014-07-09 太仓市同维电子有限公司 Method for enabling mobile phone to be connected to WiFi network
CN103945564A (en) * 2014-04-30 2014-07-23 Tcl集团股份有限公司 Wireless network connecting method and system and wireless access point equipment
CN104144463A (en) * 2014-08-19 2014-11-12 天津三星通信技术研究有限公司 Wi-Fi network access method and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10764934B2 (en) 2015-02-13 2020-09-01 Xiaomi Inc. Method, apparatus for terminal device to access wireless network
WO2017067430A1 (en) * 2015-10-21 2017-04-27 珠海赛纳打印科技股份有限公司 Smart device, electronic device, and near field communication-based network connection method
CN105451306A (en) * 2015-11-18 2016-03-30 广州美渠信息科技有限公司 Automatic wifi connection method of advertisement injecting machine
CN106060767A (en) * 2016-05-31 2016-10-26 成都数聚云信息技术有限公司 Mobile terminal connection wireless network hot spot method and system
CN106211051A (en) * 2016-09-13 2016-12-07 广东欧珀移动通信有限公司 A method, device and mobile terminal for automatically connecting to WIFI hotspots
CN106454938A (en) * 2016-10-08 2017-02-22 努比亚技术有限公司 Information sharing method, terminal and router
CN106454938B (en) * 2016-10-08 2020-04-17 深圳市前海信息通信发展有限公司 Information sharing method, terminal and router
CN107040978A (en) * 2017-04-28 2017-08-11 北京星网锐捷网络技术有限公司 A kind of method and apparatus of the Access Control of terminal in a wireless local area network
CN107040978B (en) * 2017-04-28 2020-08-21 北京星网锐捷网络技术有限公司 Method and device for controlling terminal access in wireless local area network
CN110366152A (en) * 2019-07-09 2019-10-22 重庆科赛孚科技有限公司 Equipment far field communication connecting method and system are realized based on near-field communication identification
CN110366152B (en) * 2019-07-09 2022-08-30 重庆科赛孚科技有限公司 Method and system for realizing far-field communication connection of equipment based on near-field communication identity recognition

Similar Documents

Publication Publication Date Title
CN104410963A (en) WiFi (wireless fidelity) connection method, WiFi agency and system
US11395122B2 (en) Network access method, device, and system
US9769732B2 (en) Wireless network connection establishment method and terminal device
JP7419310B2 (en) Select IP version
CN102752748B (en) Based on the data transmission method of mobile terminal and system and mobile terminal
US20130311692A1 (en) Apparatus and method for direct pairing in a wireless docking system
CN104247499B (en) Data packet transmission method, system, terminal equipment, and network equipment
CN104584490B (en) Data transmission method for uplink and device
WO2015139179A1 (en) Method and terminal for content synchronization among terminals
CN103068066A (en) Intelligent mobile communication terminal and wireless network access method and system thereof
WO2015176251A1 (en) Signal transmission method and device in device-to-device communication
CN103220822A (en) Data transmission method, data transmission device and mobile terminal
CN103415084A (en) Mobile terminal internet surfing method and mobile terminal
WO2016161832A1 (en) System and corresponding method for realizing mobile communication via sim card management
WO2014187241A1 (en) Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network
CN106576238A (en) Method and apparatus for establishment of private communication between devices
CN113475036A (en) Secure certificate sharing through WI-FI protection settings
WO2015139401A1 (en) Establishment method and system for wireless network, and wireless routing device
WO2018157646A1 (en) File transmission method, device and system
CN107872795B (en) Authentication method and system for accessing terminal to WiFi and related equipment
WO2013167047A2 (en) Lte supporting wireless access method, system and device
CN117501728A (en) Personal networking PIN primitive credential configuration method, device, communication equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150311

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载