CN105263193B - The WIFI connection methods of mobile terminal and system - Google Patents
The WIFI connection methods of mobile terminal and system Download PDFInfo
- Publication number
- CN105263193B CN105263193B CN201510577711.XA CN201510577711A CN105263193B CN 105263193 B CN105263193 B CN 105263193B CN 201510577711 A CN201510577711 A CN 201510577711A CN 105263193 B CN105263193 B CN 105263193B
- Authority
- CN
- China
- Prior art keywords
- wifi
- mobile terminal
- networking
- account information
- information
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000006855 networking Effects 0.000 claims abstract description 67
- 238000012795 verification Methods 0.000 claims abstract description 25
- 238000013475 authorization Methods 0.000 claims abstract description 15
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 claims description 22
- 238000004891 communication Methods 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 6
- 238000004458 analytical method Methods 0.000 claims description 4
- 238000007726 management method Methods 0.000 description 27
- 238000010586 diagram Methods 0.000 description 3
- 230000002085 persistent effect Effects 0.000 description 2
- 238000013468 resource allocation Methods 0.000 description 2
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种移动终端的WIFI连接方法,包括:移动终端启动WIFI应用并连接至开放的AP;所述WIFI应用获取包括联网账号信息的图形码;所述WIFI应用解析所述图形码获得联网账号信息并将其发送给所述AP;所述AP接收所述联网账号信息并发送给网络管理平台;所述网络管理平台验证所述联网账号信息并在验证通过时向所述AP发送授权联网指令信息;以及所述AP授权所述移动终端启用广域网接口访问WIFI网络。本发明通过移动终端的WIFI应用连接开放的AP,并通过图形码快速获取联网账号信息,所述网络管理平台在验证所述联网账号信息后授权所述AP开放广域网接口连接WIFI,方便快捷地实现WIFI连接并验证了联网账号信息,提升了WIFI网络连接的用户体验。
The invention discloses a WIFI connection method for a mobile terminal, comprising: the mobile terminal starts a WIFI application and connects to an open AP; the WIFI application acquires a graphic code including networking account information; the WIFI application parses the graphic code to obtain The online account information is sent to the AP; the AP receives the online account information and sends it to the network management platform; the network management platform verifies the online account information and sends authorization to the AP when the verification is passed Networking instruction information; and the AP authorizes the mobile terminal to enable the wide area network interface to access the WIFI network. The invention connects the open AP through the WIFI application of the mobile terminal, and quickly obtains the networking account information through the graphic code, and the network management platform authorizes the AP to open the wide area network interface to connect to the WIFI after verifying the networking account information, which is convenient and fast. The WIFI connection and verification of the network account information improves the user experience of the WIFI network connection.
Description
技术领域technical field
本发明涉及网络通信领域,尤其涉及一种移动终端的WIFI连接方法及系统。The invention relates to the field of network communication, in particular to a WIFI connection method and system for a mobile terminal.
背景技术Background technique
现有的移动终端设备通常通过连接3G、4G的GPRS移动网络或WIFI进行上网。由于通信服务商提供的GPRS移动网络服务网速较慢且资费较贵,所以终端设备更多采用网速快且资费较低的WIFI网络连接互联网。Existing mobile terminal equipment usually accesses the Internet by connecting to 3G, 4G GPRS mobile network or WIFI. Since the GPRS mobile network service provided by communication service providers has a slow network speed and relatively expensive tariffs, terminal devices mostly use WIFI networks with fast network speeds and low tariffs to connect to the Internet.
移动终端在连接WIFI时,首先通过WIFI模块扫描周围可连接WIFI的SSID码,然后选择可用的SSID码然后输入WIFI密码,AP(Access Point,网络接入点)验证WIFI密码后就可授权该移动终端连接至互联网。现有移动终端在连接免费开放的公共网络时,在通过TCP方式连接至开放的AP后并不能直接访问互联网,因为通常AP都会暂时禁用广域网接口而先进行用户登记或身份验证。此时,需要手动输入用户身份信息比如手机号,AP登记或验证身份信息后向该手机号发送验证码短信,在手机上输入验证码给AP验证后,该AP才会开放广域网接口授权用户接入互联网。这种WIFI连接方式需要用户手动输入信息和验证码,等待验证码短信时间较长,遇到移动网络信号不好时都可能收不到验证码短信,整个登记验证的过程非常繁琐和耗时,导致用户WIFI联网的体验不佳。When the mobile terminal connects to WIFI, it first scans the SSID code that can be connected to WIFI through the WIFI module, then selects the available SSID code and then enters the WIFI password. After the AP (Access Point, network access point) verifies the WIFI password, the mobile terminal can be authorized. The terminal is connected to the Internet. When an existing mobile terminal is connected to a free and open public network, it cannot directly access the Internet after connecting to an open AP through TCP, because usually the AP will temporarily disable the WAN interface and perform user registration or identity verification first. At this time, you need to manually enter user identity information such as a mobile phone number. After the AP registers or verifies the identity information, it will send a verification code text message to the mobile phone number. into the Internet. This WIFI connection method requires the user to manually enter information and verification codes. It takes a long time to wait for the verification code text message. When the mobile network signal is not good, the verification code text message may not be received. The entire registration verification process is very cumbersome and time-consuming. As a result, the user's WIFI networking experience is not good.
发明内容Contents of the invention
鉴于此,本发明提供一种移动终端的WIFI连接方法及系统,解决现有WIFI网络连接时连接过程繁琐耗时用户体验不佳的技术问题。In view of this, the present invention provides a WIFI connection method and system for a mobile terminal, which solves the technical problem of cumbersome and time-consuming connection process and poor user experience when connecting to an existing WIFI network.
为此,本发明采用以下技术方案:For this reason, the present invention adopts following technical scheme:
根据本发明的一个实施例,提供一种移动终端的WIFI连接方法,包括:移动终端启动WIFI应用并连接至开放的AP;所述WIFI应用获取图形码,所述图形码包括联网账号信息;所述WIFI应用解析所述图形码获得联网账号信息并将其发送给所述AP;所述AP接收所述联网账号信息并发送给网络管理平台;所述网络管理平台验证所述联网账号信息,并在验证通过时向所述AP发送授权联网指令信息;以及所述AP根据所述授权联网指令信息授权所述移动终端启用广域网接口访问WIFI网络。According to an embodiment of the present invention, a WIFI connection method for a mobile terminal is provided, including: the mobile terminal starts a WIFI application and connects to an open AP; the WIFI application obtains a graphic code, and the graphic code includes networking account information; The WIFI application analyzes the graphic code to obtain the online account information and sends it to the AP; the AP receives the online account information and sends it to the network management platform; the network management platform verifies the online account information, and Sending authorization networking instruction information to the AP when the verification is passed; and the AP authorizing the mobile terminal to enable the wide area network interface to access the WIFI network according to the authorization networking instruction information.
优选的,所述移动终端启动WIFI应用并连接至开放的AP步骤包括:移动终端启动WIFI应用;所述WIFI应用检测开放的AP的SSID码;当检测到预设的SSID码时所述WIFI应用连接至对应的AP。Preferably, the step of starting the WIFI application of the mobile terminal and connecting to the open AP includes: the mobile terminal starts the WIFI application; the WIFI application detects the SSID code of the open AP; when the preset SSID code is detected, the WIFI application Connect to the corresponding AP.
优选的,所述授权联网指令信息包括授权的联网时间、持续时间、访问限制或流量限制。Preferably, the authorized networking instruction information includes authorized networking time, duration, access restriction or flow restriction.
优选的,所述WIFI应用获取图形码是通过开启相机模块扫描所述图形码获取的。Preferably, the graphic code obtained by the WIFI application is obtained by turning on the camera module and scanning the graphic code.
优选的,所述图形码为条形码或二维码。Preferably, the graphic code is a barcode or a two-dimensional code.
根据本发明的另一实施例,基于上述方法,提供一种WIFI连接系统,包括移动终端、开放的AP和网络管理平台,所述移动终端内置WIFI应用,所述WIFI应用包括用于连接所述AP的连接模块、用于获取包括联网账号信息的图形码的图形码获取模块和用于解析图形码的图形码解析模块,所述网络管理平台包括用于验证所述联网账号信息的验证模块、用于生成授权联网指令信息的授权联网指令信息生成模块和用于在验证通过时向所述AP发送授权联网指令信息的控制模块,所述AP包括用于接收所述WIFI应用发送的联网账号信息并发送给所述网络管理平台以及接收所述网络管理平台的授权联网指令信息的收发模块、用于根据所述授权联网指令信息授权所述移动终端启用广域网接口访问WIFI网络的授权模块。According to another embodiment of the present invention, based on the above method, a WIFI connection system is provided, including a mobile terminal, an open AP, and a network management platform. The mobile terminal has a built-in WIFI application, and the WIFI application includes a A connection module of the AP, a graphic code acquisition module for acquiring a graphic code including online account information, and a graphic code analysis module for parsing the graphic code, the network management platform includes a verification module for verifying the online account information, An authorized networking instruction information generating module for generating authorized networking instruction information and a control module for sending authorized networking instruction information to the AP when the verification is passed, and the AP includes networking account information for receiving the WIFI application And send to the network management platform and the transceiver module that receives the authorized networking instruction information of the network management platform, and the authorization module for authorizing the mobile terminal to enable the wide area network interface to access the WIFI network according to the authorized networking instruction information.
优选的,所述WIFI应用还包括用于检测开放的AP的SSID码的检测模块,当所述检测模块检测到预设的SSID码时所述连接模块连接至对应的AP。Preferably, the WIFI application further includes a detection module for detecting the SSID code of an open AP, and when the detection module detects a preset SSID code, the connection module connects to the corresponding AP.
优选的,所述授权联网指令信息生成模块生成的授权联网指令信息包括授权的联网时间、持续时间、访问限制或流量限制。Preferably, the authorized networking instruction information generated by the authorized networking instruction information generating module includes authorized networking time, duration, access restriction or flow restriction.
优选的,所述获取模块可启动相机模块扫描所述图形码。Preferably, the acquisition module can start the camera module to scan the graphic code.
优选的,所述图形码为条形码或二维码。Preferably, the graphic code is a barcode or a two-dimensional code.
本发明提供的移动终端的WIFI连接方法及系统,通过移动终端的WIFI应用连接开放的AP,并通过图形码快速获取联网账号信息,所述网络管理平台在验证所述联网账号信息后授权所述AP开放广域网接口连接WIFI,方便快捷地实现WIFI连接并验证了联网账号信息,提升了WIFI网络连接的用户体验,解决了现有WIFI网络连接方式连接过程繁琐耗时用户体验不佳的技术问题。The WIFI connection method and system of the mobile terminal provided by the present invention connects the open AP through the WIFI application of the mobile terminal, and quickly obtains the network account information through the graphic code, and the network management platform authorizes the network account information after verifying the network account information. The AP opens the wide area network interface to connect to WIFI, realizes WIFI connection conveniently and quickly, and verifies the network account information, improves the user experience of WIFI network connection, and solves the technical problem of cumbersome and time-consuming connection process of the existing WIFI network connection method and poor user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单的介绍。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings that need to be used in the description of the embodiments. Apparently, the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other drawings according to these drawings without creative efforts.
图1为本发明第一实施例中移动终端的WIFI连接方法的流程示意图。FIG. 1 is a schematic flowchart of a WIFI connection method for a mobile terminal in the first embodiment of the present invention.
图2为本发明第一实施例中移动终端的WIFI应用连接AP的方法的流程示意图。Fig. 2 is a schematic flowchart of a method for connecting a WIFI application of a mobile terminal to an AP in the first embodiment of the present invention.
图3为本发明第二实施例中移动终端的WIFI连接方法的示意图。FIG. 3 is a schematic diagram of a WIFI connection method for a mobile terminal in a second embodiment of the present invention.
图4为本发明第三实施例中移动终端的WIFI连接系统的结构示意图。FIG. 4 is a schematic structural diagram of a WIFI connection system for a mobile terminal in a third embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和具体实施方式对本发明的技术方案作进一步更详细的描述。显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。The technical solutions of the present invention will be further described in more detail in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1为本发明第一实施例中移动终端的WIFI连接方法的流程示意图。如图所示,本发明第一实施例中所述的移动终端的WIFI连接方法包括步骤S10至S60。FIG. 1 is a schematic flowchart of a WIFI connection method for a mobile terminal in the first embodiment of the present invention. As shown in the figure, the WIFI connection method for a mobile terminal described in the first embodiment of the present invention includes steps S10 to S60.
步骤S10:移动终端启动WIFI应用并连接至开放的AP。Step S10: the mobile terminal starts a WIFI application and connects to an open AP.
其中,所述移动终端可以为任何具有网络通讯和计算功能的电子设备,比如智能手机、平板电脑、MP3音乐播放器、笔记本电脑、智能手表等智能穿戴设备,其可通过内置的无线通讯WIFI模块与外界的AP(Acess Point,无线接入点)连接进而访问互联网。所述AP设备可以为无线路由器或交换机,可将电网络信号编译成无线电信号发送出来形成WIFI网络覆盖。Wherein, the mobile terminal can be any electronic device with network communication and computing functions, such as smart phones, tablet computers, MP3 music players, notebook computers, smart watches and other smart wearable devices, which can be connected through the built-in wireless communication WIFI module Connect with an external AP (Access Point, wireless access point) to access the Internet. The AP device can be a wireless router or switch, which can compile electrical network signals into radio signals and send them out to form WIFI network coverage.
在本发明实施例中,所述AP为预先设置状态为Open开放的无线接入点,任何具有WIFI模块的电子设备都无需任何密码就可以通过TCP协议连接至所述AP。所述WIFI应用为所述移动终端自带或预先下载安装的WIFI联网专用的APP应用,可根据实际需要和使用历史记录预先配置和保存常用的AP的SSID码和密码。In the embodiment of the present invention, the AP is a wireless access point whose state is preset as Open, and any electronic device with a WIFI module can connect to the AP through the TCP protocol without any password. The WIFI application is a dedicated APP application for WIFI networking that comes with the mobile terminal or is pre-downloaded and installed. The SSID code and password of the commonly used AP can be pre-configured and saved according to actual needs and usage history.
参见图2,在本发明实施例中,所述移动终端的WIFI应用连接AP的方法包括步骤S110至S130。Referring to FIG. 2 , in the embodiment of the present invention, the method for the WIFI application of the mobile terminal to connect to the AP includes steps S110 to S130.
步骤S110:移动终端启动WIFI应用。Step S110: the mobile terminal starts the WIFI application.
步骤S110:所述WIFI应用检测开放的AP的SSID码。Step S110: The WIFI application detects the SSID code of the open AP.
步骤S110:当检测到预设的SSID码时所述WIFI应用连接至对应的AP。Step S110: When the preset SSID code is detected, the WIFI application connects to the corresponding AP.
为了方便连接WIFI网络,所述WIFI应用可配置为所述移动终端开机自动启动,这样所述WIFI应用就可以自动不停地检测周围覆盖的AP,并读取各AP的SSID码以及网络保护状态。当检测到预设常用或期望的WIFI连接SSID码时,可建立TCP长连接连接至所述SSID码对应的AP。In order to connect to the WIFI network conveniently, the WIFI application can be configured to start automatically when the mobile terminal is turned on, so that the WIFI application can automatically and continuously detect the surrounding APs, and read the SSID code and network protection status of each AP . When a preset commonly used or expected WIFI connection SSID code is detected, a TCP persistent connection can be established to connect to the AP corresponding to the SSID code.
通常,移动终端连接至开放的AP后并没有直接获得访问互联网的权限。考虑到访问权限、网络宽带资源分配、访问流量以及人数控制、网络安全等因素,AP都会默认暂时关闭所述移动终端访问互联网的广域网接口,而先需要对请求联网的移动终端进行身份登记或联网账户验证。Usually, after a mobile terminal connects to an open AP, it does not directly obtain the right to access the Internet. Considering factors such as access rights, network broadband resource allocation, access traffic, number control, network security, etc., the AP will temporarily close the WAN interface for the mobile terminal to access the Internet by default, and first need to register the identity of the mobile terminal that requests networking or connect to the Internet. Account Verification.
步骤S20:所述WIFI应用获取图形码,所述图形码包括联网账号信息。Step S20: The WIFI application acquires a graphic code, and the graphic code includes online account information.
其中,所述图形码可以为用于存储少量信息的二维码、条形码或类似以图形显示的编码。在本发明实施例中,所述图形码为QR(Quick Response,快速反应)码,所述QR码可在生成打印在票据上,比如火车票、电影票、购物小票、发票、消费收据甚至会员卡、WIFI上网卡等等,也可以生成电子图片形式的QR码显示在电子屏幕上。所述QR码可包含用户账号信息、票据信息、消费信息或WIFI联网账号信息等,在实际应用中用户的账号信息、票据信息或消费信息等信息也都可以作为WIFI联网账号信息来使用。这样只有持有纸质或电子票据的用户才拥有QR码,相关商家开放的AP可以识别QR码信息来授权自己的客户进行WIFI联网,避免了非客户的终端蹭网的行为。Wherein, the graphic code may be a two-dimensional code for storing a small amount of information, a barcode or a code similarly displayed in a graphic. In the embodiment of the present invention, the graphic code is a QR (Quick Response, quick response) code, and the QR code can be printed on a ticket when it is generated, such as a train ticket, movie ticket, shopping ticket, invoice, consumption receipt or even Membership cards, WIFI access cards, etc. can also generate QR codes in the form of electronic pictures and display them on the electronic screen. The QR code may include user account information, ticket information, consumption information or WIFI networking account information, etc. In practical applications, information such as user account information, ticket information or consumption information can also be used as WIFI networking account information. In this way, only users who hold paper or electronic bills have QR codes, and the APs opened by relevant merchants can recognize the QR code information to authorize their customers to connect to WIFI, avoiding the behavior of non-customer terminals rubbing the Internet.
在本发明实施例中,在所述WIFI应用连接至所述AP后,所述WIFI应用自动跳出对话框要求启动所述移动终端的相机模块扫描所述QR码。当然,在本发明其他的一些实施例中,所述WIFI应用还可以通过接收QR码电子图片形式的方式或其他方式获取QR图形码。In the embodiment of the present invention, after the WIFI application is connected to the AP, the WIFI application automatically pops up a dialog box to request to start the camera module of the mobile terminal to scan the QR code. Of course, in some other embodiments of the present invention, the WIFI application can also obtain the QR graphic code by receiving the QR code electronic picture or other methods.
步骤S30:所述WIFI应用解析所述图形码获得联网账号信息并将其发送给所述AP。Step S30: The WIFI application parses the graphic code to obtain network account information and sends it to the AP.
其中,所述WIFI应用可解析QR码内的信息进而获得联网账户信息,所述联网账户信息通常为加密的ASCII码,用户并不能直接读出明文信息。Wherein, the WIFI application can analyze the information in the QR code to obtain the online account information, and the online account information is usually an encrypted ASCII code, and the user cannot directly read the plaintext information.
步骤S40:所述AP接收所述联网账号信息并发送给网络管理平台。Step S40: the AP receives the networking account information and sends it to the network management platform.
其中,所述网络管理平台为所述AP的管理系统,可以为远程或本地的计算机、服务器或云端服务器,用于整个WIFI网络的管理和配置。Wherein, the network management platform is the management system of the AP, which can be a remote or local computer, server or cloud server, and is used for management and configuration of the entire WIFI network.
步骤S50:所述网络管理平台验证所述联网账号信息,并在验证通过时向所述AP发送授权联网指令信息。Step S50: the network management platform verifies the networking account information, and sends authorization networking instruction information to the AP when the verification is passed.
在本发明实施例中,所述网络管理平台在接收到所述联网账号信息后对其进行解码获得明文信息,并将其与自带的业务数据库内的用户账号数据进行比对,以验证请求联网终端的身份或登记信息。当验证通过时,判定所述移动终端为自己客户的终端,并生成授权联网指令信息传送给所述AP,授权其连接WIFI的权限;当验证不通过时,判定所述移动终端并非为自己的客户终端,并不予授权其访问WIFI。所述网络管理平台可根据网络资源和WIFI实际使用情况,优化配置访问终端的授权联网时间、持续时间、访问限制或流量限制。In the embodiment of the present invention, after receiving the online account information, the network management platform decodes it to obtain the plaintext information, and compares it with the user account data in the built-in service database to verify the request. Identity or registration information of an Internet-connected terminal. When the verification is passed, it is determined that the mobile terminal is the terminal of its own client, and the authorization network instruction information is generated and sent to the AP to authorize its right to connect to WIFI; when the verification fails, it is determined that the mobile terminal is not its own The client terminal is not authorized to access WIFI. The network management platform can optimally configure the authorized networking time, duration, access limit or flow limit of the access terminal according to network resources and actual usage of WIFI.
步骤S60:所述AP根据所述授权联网指令信息授权所述移动终端启用广域网接口访问WIFI网络。Step S60: The AP authorizes the mobile terminal to enable the WAN interface to access the WIFI network according to the authorization networking instruction information.
优选的,在所述移动终端的WIFI应用检测到所述AP开放广域网接口可访问互联网后,所述WIFI应用提示成功接入WIFI访问互联网的信息,并在后台记录WIFI联网日志。Preferably, after the WIFI application of the mobile terminal detects that the open wide area network interface of the AP can access the Internet, the WIFI application prompts information about successful access to WIFI to access the Internet, and records WIFI networking logs in the background.
在本发明实施例中,通过移动终端的WIFI应用连接开放的AP,并通过图形码快速获取联网账号信息,所述网络管理平台在验证所述联网账号信息后授权所述AP开放广域网接口连接WIFI,方便快捷地验证联网账号信息,提升了WIFI网络连接的用户体验,解决了现有WIFI网络连接方式连接过程繁琐耗时用户体验不佳的技术问题。In the embodiment of the present invention, the open AP is connected through the WIFI application of the mobile terminal, and the network account information is quickly obtained through the graphic code, and the network management platform authorizes the AP to open the WAN interface to connect to the WIFI after verifying the network account information. , to verify the network account information conveniently and quickly, improve the user experience of WIFI network connection, and solve the technical problem of cumbersome and time-consuming connection process of the existing WIFI network connection method and poor user experience.
图3为本发明第二实施例中移动终端的WIFI连接方法的示意图。在本发明实施例中,所述移动终端的WIFI连接方法包括如下步骤。FIG. 3 is a schematic diagram of a WIFI connection method for a mobile terminal in a second embodiment of the present invention. In the embodiment of the present invention, the WIFI connection method of the mobile terminal includes the following steps.
移动终端启动WIFI应用并连接至开放的AP。The mobile terminal starts the WIFI application and connects to the open AP.
所述WIFI应用扫描并解析QR码获得联网账号信息,并将其发送给所述AP。The WIFI application scans and parses the QR code to obtain networking account information, and sends it to the AP.
所述AP接收所述联网账号信息并发送给网络管理平台。The AP receives the networking account information and sends it to the network management platform.
所述网络管理平台验证所述联网账号信息并在验证通过时向所述AP发送授权联网指令信息。The network management platform verifies the networking account information and sends authorization networking instruction information to the AP when the verification is passed.
所述AP根据所述授权联网指令信息授权所述移动终端启用广域网接口访问WIFI网络。The AP authorizes the mobile terminal to enable the WAN interface to access the WIFI network according to the authorized networking instruction information.
在本发明实施例中,所述图形码为打印在票据上QR码,所述QR码包含可作为联网账号信息来使用的用户账户信息。这样只有持有票据的客户才拥有QR码,相关商家开放的AP可以识别QR码信息来授权自己的客户进行WIFI联网,避免了非客户的终端蹭网的行为。In the embodiment of the present invention, the graphic code is a QR code printed on the receipt, and the QR code contains user account information that can be used as online account information. In this way, only the customers who hold the bill have the QR code, and the APs opened by the relevant merchants can recognize the QR code information to authorize their customers to connect to the WIFI network, avoiding the behavior of non-customer terminals rubbing the Internet.
优选的,在所述WIFI应用连接至所述AP后,所述WIFI应用自动跳出对话框要求启动所述移动终端的相机模块扫描所述QR码。Preferably, after the WIFI application is connected to the AP, the WIFI application automatically pops up a dialog box to require the camera module of the mobile terminal to scan the QR code.
基于上述发明实施例,参见图4,本发明第三实施例提供一种WIFI连接系统,包括移动终端10、开放的AP 20和网络管理平台30,所述移动终端10内置WIFI应用110,所述WIFI应用110包括用于连接所述AP 20的连接模块112、用于获取包括联网账号信息的图形码的图形码获取模块114和用于解析图形码的图形码解析模块116,所述网络管理平台30包括用于验证所述联网账号信息的验证模块310、用于生成授权联网指令信息的授权联网指令信息生成模块320和用于在验证通过时向所述AP 20发送授权联网指令信息的控制模块330,所述AP 20包括用于接收所述WIFI应用110发送的联网账号信息并发送给所述网络管理平台30以及接收所述网络管理平台30的授权联网指令信息的通讯模块210、用于根据所述授权联网指令信息授权所述移动终端10启用广域网接口访问WIFI网络的授权模块220。Based on the above embodiments of the invention, referring to FIG. 4, the third embodiment of the present invention provides a WIFI connection system, including a mobile terminal 10, an open AP 20, and a network management platform 30. The mobile terminal 10 has a built-in WIFI application 110, and the The WIFI application 110 includes a connection module 112 for connecting to the AP 20, a graphic code acquisition module 114 for obtaining a graphic code including networking account information, and a graphic code analysis module 116 for parsing the graphic code. The network management platform 30 includes a verification module 310 for verifying the networking account information, an authorized networking instruction information generation module 320 for generating authorized networking instruction information, and a control module for sending authorized networking instruction information to the AP 20 when the verification is passed 330, the AP 20 includes a communication module 210 for receiving the networking account information sent by the WIFI application 110 and sending it to the network management platform 30 and receiving the authorized networking instruction information of the network management platform 30, for The authorized networking instruction information authorizes the mobile terminal 10 to enable the WAN interface to access the authorization module 220 of the WIFI network.
在本发明实施例中,所述移动终端10可以为任何具有网络通讯和计算功能的电子设备,比如智能手机、平板电脑、MP3音乐播放器、笔记本电脑、智能手表等智能穿戴设备,其可通过内置的无线通讯WIFI模块与外界的AP 20连接进而访问互联网。所述AP20设备可以为无线路由器或交换机,可将电网络信号编译成无线电信号发送出来形成WIFI网络覆盖。所述AP 20为预先设置状态为Open开放的无线接入点,任何具有WIFI模块的电子设备都无需任何密码就可以通过TCP协议连接至所述AP 20。所述WIFI应用110为所述移动终端10自带或预先下载安装的WIFI联网专用的APP应用,可根据实际需要和使用历史记录预先配置和保存常用的AP的SSID码和密码。In the embodiment of the present invention, the mobile terminal 10 can be any electronic device with network communication and computing functions, such as smart phones, tablet computers, MP3 music players, notebook computers, smart watches and other smart wearable devices, which can be accessed through The built-in wireless communication WIFI module is connected with the external AP 20 to access the Internet. The AP20 device can be a wireless router or switch, which can compile electrical network signals into radio signals and send them out to form WIFI network coverage. The AP 20 is a wireless access point whose state is preset as Open, and any electronic device with a WIFI module can connect to the AP 20 through the TCP protocol without any password. The WIFI application 110 is a dedicated APP application for WIFI networking that comes with the mobile terminal 10 or is pre-downloaded and installed. It can pre-configure and save commonly used AP SSID codes and passwords according to actual needs and usage history.
优选的,所述WIFI应用110还包括用于检测开放的AP 20的SSID码的检测模块,当所述检测模块检测到预设的SSID码时所述连接模块112连接至对应的AP 20。为了方便连接WIFI网络,所述WIFI应用110可配置为所述移动终端10开机自动启动,这样所述WIFI应用110就可以自动不停地检测周围覆盖的AP,并读取各AP的SSID码以及网络保护状态。当检测到预设常用或期望的WIFI连接SSID码时,所述连接模块112可建立TCP长连接连接至所述SSID码对应的AP 20。Preferably, the WIFI application 110 further includes a detection module for detecting the SSID code of an open AP 20 , and the connection module 112 is connected to the corresponding AP 20 when the detection module detects a preset SSID code. In order to connect to the WIFI network conveniently, the WIFI application 110 can be configured to start automatically when the mobile terminal 10 is turned on, so that the WIFI application 110 can automatically and continuously detect the APs covered around, and read the SSID codes and Network protection status. When a preset commonly used or desired WIFI connection SSID code is detected, the connection module 112 may establish a TCP persistent connection to connect to the AP 20 corresponding to the SSID code.
通常,所述移动终端10连接至开放的AP 20后并没有直接获得访问互联网的权限。考虑到访问权限、网络宽带资源分配、访问流量以及人数控制、网络安全等因素,所述AP 20都会默认暂时关闭所述移动终端10访问互联网的广域网接口,而先需要对请求联网的移动终端10进行身份登记或联网账户验证。Usually, after the mobile terminal 10 is connected to the open AP 20, it does not directly obtain the right to access the Internet. Considering factors such as access rights, network broadband resource allocation, access traffic, number of people control, network security, etc., the AP 20 will temporarily close the WAN interface of the mobile terminal 10 to access the Internet by default, and first need to request the mobile terminal 10 to connect to the Internet. Perform identity registration or online account verification.
其中,所述图形码可以为用于存储少量信息的二维码、条形码或类似以图形显示的编码。在本发明实施例中,所述图形码为QR(Quick Response,快速反应码)码,所述QR码可在生成打印在票据上,比如火车票、电影票、购物小票、发票、消费收据甚至会员卡、WIFI上网卡等等,也可以生成电子图片形式的QR码显示在电子屏幕上。所述QR码可包含用户账号信息、票据信息、消费信息或WIFI联网账号信息等,在实际应用中用户的账号信息、票据信息或消费信息等信息也都可以作为WIFI联网账号信息来使用。这样只有持有纸质或电子票据的用户才拥有QR码,相关商家开放的AP 20可以识别QR码信息来授权自己的客户进行WIFI联网,避免了非客户的终端蹭网的行为。Wherein, the graphic code may be a two-dimensional code for storing a small amount of information, a barcode or a code similarly displayed in a graphic. In the embodiment of the present invention, the graphic code is a QR (Quick Response, quick response code) code, and the QR code can be printed on a ticket when it is generated, such as train ticket, movie ticket, shopping ticket, invoice, consumption receipt Even membership cards, WIFI access cards, etc., can also generate QR codes in the form of electronic pictures and display them on the electronic screen. The QR code may include user account information, ticket information, consumption information or WIFI networking account information, etc. In practical applications, information such as user account information, ticket information or consumption information can also be used as WIFI networking account information. In this way, only users who hold paper or electronic bills have QR codes, and the AP 20 opened by relevant merchants can recognize the QR code information to authorize their customers to connect to WIFI, avoiding the behavior of non-customer terminals rubbing the Internet.
在本发明实施例中,在所述WIFI应用110通过所述连接模块112连接至所述AP 20后,所述WIFI应用110的图形码获取模块114控制自动跳出对话框要求启动所述移动终端10的相机模块扫描所述QR码。当然,在本发明其他的一些实施例中,所述WIFI应用110的图形码获取模块114还可以通过接收QR码电子图片形式的方式或其他方式获取QR图形码。所述WIFI应用110的图形码解析模块116可解析QR码内的信息进而获得联网账户信息,所述联网账户信息通常为加密的ASCII码,用户并不能直接读出明文信息。In the embodiment of the present invention, after the WIFI application 110 is connected to the AP 20 through the connection module 112, the graphic code acquisition module 114 of the WIFI application 110 controls to automatically jump out of a dialog box requesting to start the mobile terminal 10 The camera module scans the QR code. Of course, in some other embodiments of the present invention, the graphic code acquiring module 114 of the WIFI application 110 may also acquire the QR graphic code by receiving the QR code in the form of an electronic picture or in other ways. The graphic code analysis module 116 of the WIFI application 110 can analyze the information in the QR code to obtain the online account information. The online account information is usually an encrypted ASCII code, and the user cannot directly read the plaintext information.
所述网络管理平台30为所述AP 20的管理系统,可以为远程或本地的计算机、服务器或云端服务器,用于整个WIFI网络的管理和配置。在本发明实施例中,所述网络管理平台30在接收到所述联网账号信息后对其进行解码获得明文信息,并通过所述验证模块310将其与自带的业务数据库内的用户账号数据进行比对,以验证请求联网终端的身份或登记信息。当验证通过时,所述控制模块330判定所述移动终端10为自己客户的终端,并通过所述授权联网指令信息生成模块320生成授权联网指令信息传送给所述AP 20,授权其连接WIFI的权限;当验证不通过时,控制模块330判定所述移动终端10并非为自己的客户终端,并不予授权其访问WIFI。所述授权模块220在接收到所述授权联网指令信息后,对所述移动终端10开启广域网接口授权其访问互联网。所述网络管理平台30可根据网络资源和WIFI实际使用情况,优化配置访问终端的授权联网时间、持续时间、访问限制或流量限制。The network management platform 30 is the management system of the AP 20, which can be a remote or local computer, server or cloud server, and is used for management and configuration of the entire WIFI network. In the embodiment of the present invention, after receiving the online account information, the network management platform 30 decodes it to obtain the plaintext information, and compares it with the user account data in the built-in business database through the verification module 310 Comparison is performed to verify the identity or registration information of the requesting terminal. When the verification is passed, the control module 330 determines that the mobile terminal 10 is the terminal of its own client, and generates the authorized networking instruction information through the authorized networking instruction information generating module 320 and sends it to the AP 20, authorizing it to connect to WIFI Authority; when the verification fails, the control module 330 determines that the mobile terminal 10 is not its own client terminal, and does not authorize it to access WIFI. After receiving the authorization networking instruction information, the authorization module 220 opens a wide area network interface to the mobile terminal 10 to authorize it to access the Internet. The network management platform 30 can optimally configure the authorized networking time, duration, access limit or flow limit of the access terminal according to network resources and actual usage of WIFI.
综上所述,本发明提供的移动终端的WIFI连接方法及系统,通过移动终端的WIFI应用连接开放的AP,并通过图形码快速获取联网账号信息,所述网络管理平台在验证所述联网账号信息后授权所述AP开放广域网接口连接WIFI,方便快捷地验证联网账号信息,提升了WIFI网络连接的用户体验,解决了现有WIFI网络连接方式连接过程繁琐耗时用户体验不佳的技术问题。In summary, the WIFI connection method and system of the mobile terminal provided by the present invention connects the open AP through the WIFI application of the mobile terminal, and quickly obtains the network account information through the graphic code, and the network management platform is verifying the network account information. After the information, the AP is authorized to open the wide area network interface to connect to WIFI, conveniently and quickly verifying the network account information, improving the user experience of WIFI network connection, and solving the technical problem of cumbersome and time-consuming connection process of the existing WIFI network connection method and poor user experience.
以上所揭露的仅为本发明实施例中的较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the embodiments of the present invention, which certainly cannot limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510577711.XA CN105263193B (en) | 2015-09-11 | 2015-09-11 | The WIFI connection methods of mobile terminal and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510577711.XA CN105263193B (en) | 2015-09-11 | 2015-09-11 | The WIFI connection methods of mobile terminal and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105263193A CN105263193A (en) | 2016-01-20 |
CN105263193B true CN105263193B (en) | 2018-09-28 |
Family
ID=55102649
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510577711.XA Active CN105263193B (en) | 2015-09-11 | 2015-09-11 | The WIFI connection methods of mobile terminal and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105263193B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105530612A (en) * | 2016-01-26 | 2016-04-27 | 山东康威通信技术股份有限公司 | WIFI authentication method using mobile terminal to access outdoor device and system |
CN105629764A (en) * | 2016-03-22 | 2016-06-01 | 美的集团股份有限公司 | Centralized controller, control method of home equipment and smart home system |
CN106332082A (en) * | 2016-08-24 | 2017-01-11 | 上海斐讯数据通信技术有限公司 | Authority authentication method and system for accessing wireless equipment |
CN106604276A (en) * | 2016-11-30 | 2017-04-26 | 深圳众思科技有限公司 | Wireless local area network access method and wireless local area network access device |
CN109345738A (en) * | 2016-12-27 | 2019-02-15 | 程桂平 | A method of WIFI password is transmitted by NFC connection |
CN107239971A (en) * | 2017-05-27 | 2017-10-10 | 上海斐讯数据通信技术有限公司 | A kind of upper network control method, apparatus and system based on consumption |
WO2019071412A1 (en) * | 2017-10-10 | 2019-04-18 | 深圳传音通讯有限公司 | Network connection method and device thereof |
US10862893B2 (en) * | 2018-09-19 | 2020-12-08 | GM Global Technology Operations LLC | Method for network policy management of foreground applications |
CN110035435A (en) * | 2019-03-06 | 2019-07-19 | 深圳市锐同技术有限公司 | A kind of wireless network access method, device, terminal and system |
CN111242705B (en) * | 2019-12-31 | 2023-12-26 | 航天信息股份有限公司企业服务分公司 | Invoice data acquisition method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013185533A1 (en) * | 2012-06-15 | 2013-12-19 | 惠州Tcl移动通信有限公司 | Two-dimensional bar code pattern-based method and system for sharing wi-fi network information |
CN103945380A (en) * | 2014-04-10 | 2014-07-23 | 深圳市信锐网科技术有限公司 | Method and system for network login authentication based on graphic code |
CN104008325A (en) * | 2014-05-09 | 2014-08-27 | 武汉世纪金桥安全技术有限公司 | Mobile phone Wi-Fi network-connecting real name identity authentication platform and method based on two-dimension codes |
CN104144163A (en) * | 2014-07-24 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Identity verification method, device and system |
CN104540127A (en) * | 2014-12-08 | 2015-04-22 | 哈尔滨工程大学 | Anti-free-network-use router access network right control method based on dynamic two-dimensional code |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104320861B (en) * | 2014-11-04 | 2016-06-01 | 腾讯科技(深圳)有限公司 | Wireless connecting establishment method, device, terminating unit, application server and system |
CN104320755B (en) * | 2014-11-04 | 2016-03-16 | 腾讯科技(深圳)有限公司 | A kind of wireless connecting establishment method, device and terminal equipment |
-
2015
- 2015-09-11 CN CN201510577711.XA patent/CN105263193B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013185533A1 (en) * | 2012-06-15 | 2013-12-19 | 惠州Tcl移动通信有限公司 | Two-dimensional bar code pattern-based method and system for sharing wi-fi network information |
CN103945380A (en) * | 2014-04-10 | 2014-07-23 | 深圳市信锐网科技术有限公司 | Method and system for network login authentication based on graphic code |
CN104008325A (en) * | 2014-05-09 | 2014-08-27 | 武汉世纪金桥安全技术有限公司 | Mobile phone Wi-Fi network-connecting real name identity authentication platform and method based on two-dimension codes |
CN104144163A (en) * | 2014-07-24 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Identity verification method, device and system |
CN104540127A (en) * | 2014-12-08 | 2015-04-22 | 哈尔滨工程大学 | Anti-free-network-use router access network right control method based on dynamic two-dimensional code |
Also Published As
Publication number | Publication date |
---|---|
CN105263193A (en) | 2016-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105263193B (en) | The WIFI connection methods of mobile terminal and system | |
US8495714B2 (en) | Systems and methods for authenticating users accessing unsecured wifi access points | |
US20190333060A1 (en) | System and method for verifying identity information using a social networking application | |
US8887232B2 (en) | Central biometric verification service | |
CA2768417C (en) | Hotspot network access system and method | |
US9635018B2 (en) | User identity verification method and system, password protection apparatus and storage medium | |
US20140127994A1 (en) | Policy-based resource access via nfc | |
EP3454504B1 (en) | Service provider certificate management | |
US20160241559A1 (en) | Method and System for Credential Management | |
US11063935B2 (en) | Systems and methods for providing remote desktop access | |
CN104618315B (en) | A kind of method, apparatus and system of verification information push and Information Authentication | |
CN103975615A (en) | Login via near field communication with automatically generated login information | |
US10891599B2 (en) | Use of state objects in near field communication (NFC) transactions | |
WO2017054617A1 (en) | Wifi network authentication method, device and system | |
CN109284599A (en) | It the use of portable electronic device is the method and system that user creates strong authentication | |
CN103138935B (en) | An Identity Authentication System Based on Telecom Operators | |
CN106954212A (en) | A kind of portal authentication method and system | |
CN101383816B (en) | wireless network authentication system and method thereof | |
Yeh et al. | A robust NFC-based personalized IPTV service system | |
CN106204025A (en) | A payment method and device based on a SIM card | |
CN114584978B (en) | Value-added service authentication methods, devices, equipment and readable media | |
CN108665267A (en) | Safety certification device and system | |
Nobu et al. | Implementation of a User Account Provisioning System Based on NFC for Public Wi-Fi Services | |
Gaddis | ATM Communication Models Q. 93B & CMAP | |
CN110234113A (en) | A kind of method for connecting network, terminal and computer readable 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201123 Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd. Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666 Patentee before: Phicomm (Shanghai) Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201216 Address after: 8319 Yanshan Road, Bengbu City, Anhui Province Patentee after: Bengbu Lichao Information Technology Co.,Ltd. Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd. |
|
TR01 | Transfer of patent right |
Effective date of registration: 20210309 Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd. Address before: 8319 Yanshan Road, Bengbu City, Anhui Province Patentee before: Bengbu Lichao Information Technology Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: WIFI Connection Method and System of Mobile Terminal Effective date of registration: 20221204 Granted publication date: 20180928 Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd. Registration number: Y2022330003403 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Date of cancellation: 20231205 Granted publication date: 20180928 Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd. Registration number: Y2022330003403 |
|
PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20241127 Address after: Room 11104, Zone A, 11th Floor, Building 1, Lane 3938, Huqingping Road, Qingpu District, Shanghai, with a budget of 200000 RMB Patentee after: Younike (Shanghai) Enterprise Management Co.,Ltd. Country or region after: China Address before: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China Patentee before: Huzhou YingLie Intellectual Property Operation Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |