WO2016112706A1 - Hotspot accessing method and device, and terminal - Google Patents

Hotspot accessing method and device, and terminal Download PDF

Info

Publication number
WO2016112706A1
WO2016112706A1 PCT/CN2015/089652 CN2015089652W WO2016112706A1 WO 2016112706 A1 WO2016112706 A1 WO 2016112706A1 CN 2015089652 W CN2015089652 W CN 2015089652W WO 2016112706 A1 WO2016112706 A1 WO 2016112706A1
Authority
WO
WIPO (PCT)
Prior art keywords
hotspot
terminal
access
target
target hotspot
Prior art date
Application number
PCT/CN2015/089652
Other languages
French (fr)
Chinese (zh)
Inventor
张庆立
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016112706A1 publication Critical patent/WO2016112706A1/en

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
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • This application relates to, but is not limited to, the field of wireless local area networks.
  • Wi-Fi Wi-Fi
  • Major operators are also deploying free Wi-Fi hotspots in more and more places to provide users with Internet access.
  • the free Wi-Fi hotspot also brings certain problems: during the user's mobile process, the mobile phone may automatically connect to the free Wi-Fi hotspots that have been used before, and these free Wi-Fi hotspots are generally Further certification is required to connect to the Internet. In this way, the user terminal is automatically switched to the Wi-Fi hotspot by the previously accessed mobile network, and the Internet cannot be connected immediately after the handover is completed, and the user needs to authenticate to the Wi-Fi hotspot provider, thereby interrupting the user service and giving The user brings a bad experience.
  • This document provides a hotspot access method, device and terminal, which can not interrupt the user network service due to the automatic connection of the Wi-Fi module.
  • a hotspot access method applied to a terminal comprising:
  • the target hotspot is not automatically accessed.
  • the parameter information includes identifier information of the target hotspot
  • Determining, according to the parameter information, that the terminal needs to be controlled by the user to access the target hotspot including:
  • the database stores identifier information of a hotspot that needs to be authenticated and connected to the terminal after being accessed by the terminal; if the identifier is found in the database, The information determines that the terminal needs to be controlled by the user to access the target hotspot.
  • the identifier information of the target hotspot is saved in a specified byte of the received management frame of the target hotspot.
  • the method further includes:
  • the identifier information of the hotspot that needs to be authenticated and connected to the terminal after the terminal is first accessed is added to the database.
  • the parameter information includes encryption type information of the target hotspot
  • Determining, according to the parameter information, that the terminal needs to be controlled by the user to access the target hotspot including:
  • the encryption type information of the target hot spot indicates that the target hot spot is not encrypted, it is determined that the terminal needs to be controlled by the user to access the target hotspot.
  • the method further includes:
  • a hotspot access device applied to a terminal comprising:
  • a first determining module configured to: determine a target hot spot scanned by the terminal;
  • Obtaining a module configured to: if the terminal accesses the target hotspot, obtain parameter information of the target hotspot;
  • the processing module is configured to: if it is determined by the user that the terminal needs to access the target hotspot according to the parameter information, the target hotspot is not automatically accessed.
  • the parameter information includes identifier information of the target hotspot
  • the processing module includes:
  • the matching sub-module is configured to perform a matching search in the database according to the identifier information, where the database stores the identifier information of the hotspot that needs to be authenticated and connected to the terminal after being accessed first;
  • the first determining sub-module is configured to: if the matching information is found in the database, determine that the terminal needs to be controlled by the user to access the target hotspot.
  • the identifier information of the target hotspot is saved in a specified byte of the received management frame of the target hotspot.
  • the device further includes:
  • the adding module is configured to: add, according to a user operation, identifier information of the hotspot that needs to be authenticated and connected to the terminal after the terminal is first accessed.
  • the parameter information includes encryption type information of the target hotspot
  • the processing module further includes:
  • the second determining submodule is configured to: if the encryption type information of the target hotspot indicates that the target hotspot is not encrypted, determine that the terminal needs to be controlled by the user to access the target hotspot.
  • the device further includes:
  • the prompting module is configured to: after determining that the terminal needs to be controlled by the user to access the target hotspot, send an access prompt of the target hotspot to the user, and determine, according to the operation of the access prompt by the user, Whether to access the target hotspot.
  • a terminal includes the above hotspot access device.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the solution of the embodiment of the present invention can prevent the terminal from automatically accessing the hotspot that cannot be directly connected to the network, thereby ensuring that the network service currently running by the terminal does not be interrupted due to switching the network, so that the user can get a better online experience.
  • FIG. 1 is a schematic flowchart diagram of a hotspot access method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a Beacon management frame of a hot spot
  • FIG. 3 is a schematic diagram of a hotspot access method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a hotspot access device according to an embodiment of the present invention.
  • an embodiment of the present invention provides a hotspot access method, including:
  • Step 11 Determine a target hot spot scanned by the terminal
  • Step 12 If the terminal accesses the target hotspot, obtain parameter information of the target hotspot;
  • Step 13 If it is determined according to the parameter information that the terminal needs to be controlled by the user to access the target hotspot, the target hotspot is not automatically accessed.
  • the terminal after the terminal scans the open hotspot, the terminal does not directly select the access, but judges according to the parameter information of the hot spot, and cannot directly connect to the network after the terminal accesses.
  • the hotspot does not actively access, which can avoid interrupting the network service currently running by the terminal, and let the user get a better online experience.
  • a database may be established in the terminal or the service cloud, which is dedicated to storing the identification information of the hotspots that are authenticated first.
  • the “first access after authentication” means that the terminal needs to access the hotspot before performing related authentication, and can connect to the network after the authentication is passed.
  • the terminal scans the target hotspot, the identifier information of the target hotspot is obtained, and the matching search is performed in the database according to the identifier information. If the identifier information is found in the database, it is determined that the terminal needs to be controlled by the user to access the target hotspot.
  • the user can add the identification information in the database by himself, or upload his own database to the cloud to share with other users, when a hot spot is used by multiple users. After tagging, it will be saved in the cloud database, and users can choose to update the database information from the cloud.
  • the terminal if it is determined that the terminal has not accessed the target hotspot before, the automatic access is not performed, and the user manually selects whether to access. After the user confirms that the target hotspot needs "first access after authentication", the identifier of the target hotspot may be actively added to the database. After the terminal enters the coverage of the target hotspot next time, it may be determined according to the database that the target hotspot is not automatically accessed. For a hotspot that has been previously accessed and does not store corresponding identification information in the database, the terminal can automatically access after scanning to save user traffic.
  • the identification information may be set by the hotspot provider and stored in a specified byte of the management frame of the hotspot.
  • the terminal may receive the management frame of the target hotspot by scanning, and obtain the identification information of the target hotspot in the specified byte of the management frame.
  • the service set identifier SSID and/or physical address (ie, MAC address) of the target hotspot may be used as the identification information of the hotspot. It can also be customized by the hotspot provider, for example, the Beacon frame (one type of hotspot management frame) structure shown in FIG. 2, wherein the first behavior is the same content of all management frames, and the Frame Body is a Beacon frame.
  • the Frame Body of the Beacon frame has multiple fields and elements Element. Fields are fixed length and Element is extensible.
  • the specified field may be a Reserved field in the previous fixed length portion, or one or more custom Element.
  • the hotspot provider can also save the specified identifier information in the specified byte of the management frame, which can directly inform the terminal whether the hotspot is of the type of “first access after authentication”. .
  • a "1" in a specified byte indicates a hotspot that requires “first connect and then authenticate”, and a "0" indicates that a hotspot that does not need to be authenticated first.
  • the terminal After receiving the management frame of the hotspot, if the terminal finds the specified “1” and/or “0” in the specified byte of the management frame, the terminal can directly confirm whether to automatically access.
  • the embodiment may provide an access method, that is, the parameter information includes the encryption type information of the target hotspot; in the foregoing step 13, if the encryption type information of the target hotspot indicates the target If the hotspot is not encrypted, it is determined that the target hotspot needs to be accessed by the user.
  • the user confirms whether an unencrypted hotspot is connected, thereby preventing the terminal from being Interrupt the currently running service when switching the network connection mode.
  • the encryption type and the identification information may be combined to determine whether the target hotspot needs authentication. As shown in Figure 3, the following steps are included:
  • Step 301 the terminal provides a scan result of a hot spot
  • Step 302 it is determined whether the scanned hotspot is saved in the terminal (the terminal only automatically accesses the previously accessed hotspot), if it is saved, then proceeds to step 303; if not, then returns to step 301;
  • Step 303 determining the type information of the hotspot, that is, determining whether the hotspot belongs to the type of "first access after authentication", if yes, executing step 307, if not, executing step 304;
  • the beacon frame of the hot spot itself includes the flag information for directly indicating whether the hot spot is of the “first access after authentication” type, that is, “0” or “1” described above, if “0” is included. This means that the hotspot does not need to be authenticated and automatically accesses the scanned hotspot. If the value of "1" is included, it indicates that the hotspot needs to be authenticated; if the Beacon frame does not include the flag information that can directly indicate whether the hotspot is of the "first access after authentication” type, proceed to step 304;
  • Step 304 determining whether it is a non-encrypted hotspot, if the scanned hotspot is encrypted, performing step 306 to automatically access, if the scanned hotspot is of an open type, proceeding to step 305;
  • Step 305 whether the SSID and/or MAC address of the scanned hot spot exists in the database. If the matching finds the same SSID and/or MAC address in the database, step 308 is performed; if the database does not match, the same SSID and the same SSID are found. / or MAC address, then step 306;
  • Step 306 automatically accesses the scanned hotspot and ends the process.
  • Step 307 it is determined whether authentication is required, if necessary, step 308 is performed;
  • step 308 the user is prompted to manually select whether to access the scanned hotspot.
  • the method of the embodiment enters an activation state, and starts to monitor the result information of the terminal scanning Wi-Fi. After receiving the scan result of Wi-Fi, judge whether to automatically connect the hotspot according to the following information:
  • S1 first determine whether the currently scanned Wi-Fi hotspot has been accessed before, if there is no connection If the connection is not automatic, the user manually accesses and ends; if it has been connected before, it enters S2; in this step, according to the connection record of the terminal hotspot, it is determined whether the scanned hot spot has been connected before;
  • S2 Read the Beacon management frame of the Wi-Fi hotspot, and determine whether the customized identification information field is included therein. If it is included, it is directly determined according to this field whether it is automatically connected (the field is 0 for automatic connection, the field is 1 for no connection), and if it is not, it will enter S3.
  • S4 Obtain the name information (SSID) and the MAC address of the Wi-Fi hotspot, and then perform a matching search in the database.
  • the search process has a priority change according to the user's setting, and uses the SSID and the MAC address to match. Do not connect if a match is found, otherwise it will automatically connect.
  • this step is independent of the above steps S1 to S4, the user can newly add the Wi-Fi hotspot information in the database (can be added to the database after connecting a hotspot), and the user can also upload his own database to The cloud is shared with other users.
  • a Wi-Fi hotspot is marked by multiple users, it will enter the cloud database, and the user can choose to update the database information from the cloud.
  • the method in this embodiment compares with the related technologies to actively determine whether the open hotspot will cause a disconnection of the accessed terminal. Automatically accessing hotspots that do not cause network disconnection, prompting users for hotspots that can cause network disconnection, and manually accessing by users, thereby avoiding terminal hotspots that cannot be directly connected to the network due to automatic access. business.
  • FIG. 4 another embodiment of the present invention provides a hotspot access device, including:
  • the first determining module 41 is configured to: determine a target hot spot scanned by the terminal;
  • the obtaining module 42 is configured to: if the terminal accesses the target hotspot, obtain parameter information of the target hotspot;
  • the processing module 43 is configured to: if it is determined by the user that the terminal needs to access the target hotspot according to the parameter information, the target hotspot is not automatically accessed.
  • the terminal after the terminal scans the open hotspot, the terminal does not directly select the access, but judges according to the parameter information of the hot spot, and does not The hotspots that can be directly connected to the network are not actively accessed, which can avoid interrupting the network service currently running on the terminal and allow users to have a better online experience.
  • the parameter information includes identification information of the target hotspot
  • the processing module includes:
  • the matching sub-module is configured to perform a matching search in the database according to the identifier information, where the database stores the identifier information of the hotspot that needs to be authenticated and connected to the terminal after being accessed first;
  • the first determining sub-module is configured to: if the matching information is found in the database, determine that the terminal needs to be controlled by the user to access the target hotspot.
  • the identifier information of the target hotspot is saved in a specified byte of the received management frame of the target hotspot.
  • the device further comprises:
  • the adding module is configured to: add, according to a user operation, identifier information of the hotspot that needs to be authenticated and connected to the terminal after the terminal is first accessed.
  • the parameter information includes encryption type information of the target hotspot
  • the processing module further includes:
  • the second determining submodule is configured to: if the encryption type information of the target hotspot indicates that the target hotspot is not encrypted, determine that the terminal needs to be controlled by the user to access the target hotspot.
  • the device further comprises:
  • the prompting module is configured to: after determining that the terminal needs to be controlled by the user to access the target hotspot, send an access prompt of the target hotspot to the user, and determine, according to the operation of the access prompt by the user, Whether to access the target hotspot.
  • the hotspot access device of this embodiment can achieve the same technical effect corresponding to the hotspot access method described above.
  • the terminal may be a Wi-Fi enabled smart device such as a mobile phone or a pad.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the solution of the embodiment of the present invention can prevent the terminal from automatically accessing the hotspot that cannot be directly connected to the network, thereby ensuring that the network service currently running by the terminal does not be interrupted due to switching the network, so that the user can get a better online experience.

Landscapes

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

Abstract

Disclosed are a hotspot accessing method and device, and a terminal. The method comprises: determining a target hotspot scanned by a terminal; if the terminal accessed the target hotspot, acquiring parameter information of the target hotspot; and if it is determined, according to the parameter information, that a user needs to control the terminal to access the target hotspot, not automatically accessing the target hotspot.

Description

一种热点接入方法、装置及终端Hotspot access method, device and terminal 技术领域Technical field
本申请涉及但不限于无线局域网领域。This application relates to, but is not limited to, the field of wireless local area networks.
背景技术Background technique
随着移动通讯的发展,手机的功能越来越多,内置Wi-Fi功能已经成为了移动终端的标配,并且Wi-Fi也成了移动终端中用户使用最多的功能和模块之一。各大运营商也在越来越多的地方部署了免费Wi-Fi热点,为用户提供上网服务。With the development of mobile communication, the functions of mobile phones are more and more, the built-in Wi-Fi function has become the standard of mobile terminals, and Wi-Fi has become one of the functions and modules most used by users in mobile terminals. Major operators are also deploying free Wi-Fi hotspots in more and more places to provide users with Internet access.
而免费的Wi-Fi热点也带来了一定的问题:在用户移动的过程中手机有可能会自动连接上以前使用过的免费的Wi-Fi热点,而这些免费的Wi-Fi热点一般都是需要通过进一步认证才能连接互联网。这样一来,用户终端由原先接入的移动网络自动切换为Wi-Fi热点,而切换完成后并不能马上连接互联网,需要用户向Wi-Fi热点提供商进行认证,因此会中断用户业务,给用户带来了不好的体验效果。The free Wi-Fi hotspot also brings certain problems: during the user's mobile process, the mobile phone may automatically connect to the free Wi-Fi hotspots that have been used before, and these free Wi-Fi hotspots are generally Further certification is required to connect to the Internet. In this way, the user terminal is automatically switched to the Wi-Fi hotspot by the previously accessed mobile network, and the Internet cannot be connected immediately after the handover is completed, and the user needs to authenticate to the Wi-Fi hotspot provider, thereby interrupting the user service and giving The user brings a bad experience.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提供一种热点接入方法、装置及终端,能够不会因为Wi-Fi模块自动连接而造成用户网络业务的中断。This document provides a hotspot access method, device and terminal, which can not interrupt the user network service due to the automatic connection of the Wi-Fi module.
一种应用于终端的热点接入方法,包括:A hotspot access method applied to a terminal, comprising:
确定终端扫描到的目标热点;Determining the target hotspot scanned by the terminal;
若所述终端接入过所述目标热点,则获取所述目标热点的参数信息;Obtaining parameter information of the target hotspot if the terminal accesses the target hotspot;
若根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,则不自动接入所述目标热点。 If it is determined that the terminal needs to be controlled by the user to access the target hotspot according to the parameter information, the target hotspot is not automatically accessed.
可选地,所述参数信息包括所述目标热点的标识信息;Optionally, the parameter information includes identifier information of the target hotspot;
根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,包括:Determining, according to the parameter information, that the terminal needs to be controlled by the user to access the target hotspot, including:
根据所述标识信息,在数据库中进行匹配查找;其中,所述数据库保存有需要所述终端先接入后进行认证连网的热点的标识信息;若在所述数据库中匹配查找到所述标识信息,则确定需要由用户控制所述终端接入所述目标热点。Performing a matching search in the database according to the identifier information; wherein the database stores identifier information of a hotspot that needs to be authenticated and connected to the terminal after being accessed by the terminal; if the identifier is found in the database, The information determines that the terminal needs to be controlled by the user to access the target hotspot.
可选地,所述目标热点的标识信息保存在接收到的所述目标热点的管理帧的指定字节中。Optionally, the identifier information of the target hotspot is saved in a specified byte of the received management frame of the target hotspot.
可选地,所述方法还包括:Optionally, the method further includes:
根据用户操作,向所述数据库添加需要所述终端先接入后认证连网的热点的标识信息。According to the user operation, the identifier information of the hotspot that needs to be authenticated and connected to the terminal after the terminal is first accessed is added to the database.
可选地,所述参数信息包括所述目标热点的加密类型信息;Optionally, the parameter information includes encryption type information of the target hotspot;
根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,包括:Determining, according to the parameter information, that the terminal needs to be controlled by the user to access the target hotspot, including:
若所述目标热点的加密类型信息指示该目标热点未被加密,则确定需要由用户控制所述终端接入所述目标热点。If the encryption type information of the target hot spot indicates that the target hot spot is not encrypted, it is determined that the terminal needs to be controlled by the user to access the target hotspot.
可选地,所述方法还包括:Optionally, the method further includes:
在确定需要由用户控制所述终端接入所述目标热点后,向所述用户发送所述目标热点的接入提示,并根据用户针对所述接入提示的操作,确定是否接入所述目标热点。After determining that the terminal needs to be controlled by the user to access the target hotspot, send an access prompt of the target hotspot to the user, and determine whether to access the target according to the operation of the access prompt by the user. hot spot.
一种应用于终端的热点接入装置,包括:A hotspot access device applied to a terminal, comprising:
第一确定模块,设置为:确定终端扫描到的目标热点;a first determining module, configured to: determine a target hot spot scanned by the terminal;
获取模块,设置为:若所述终端接入过所述目标热点,则获取所述目标热点的参数信息;Obtaining a module, configured to: if the terminal accesses the target hotspot, obtain parameter information of the target hotspot;
处理模块,设置为:若根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,则不自动接入所述目标热点。 The processing module is configured to: if it is determined by the user that the terminal needs to access the target hotspot according to the parameter information, the target hotspot is not automatically accessed.
可选地,所述参数信息包括所述目标热点的标识信息;Optionally, the parameter information includes identifier information of the target hotspot;
所述处理模块包括:The processing module includes:
匹配子模块,设置为:根据所述标识信息,在数据库中进行匹配查找;其中,所述数据库保存有需要所述终端先接入后进行认证连网的热点的标识信息;The matching sub-module is configured to perform a matching search in the database according to the identifier information, where the database stores the identifier information of the hotspot that needs to be authenticated and connected to the terminal after being accessed first;
第一确定子模块,设置为:若在所述数据库中匹配查找到当所述标识信息,则确定需要由用户控制所述终端接入所述目标热点。The first determining sub-module is configured to: if the matching information is found in the database, determine that the terminal needs to be controlled by the user to access the target hotspot.
可选地,所述目标热点的标识信息保存在接收到的所述目标热点的管理帧的指定字节中。Optionally, the identifier information of the target hotspot is saved in a specified byte of the received management frame of the target hotspot.
可选地,所述装置还包括:Optionally, the device further includes:
添加模块,设置为:根据用户操作,向所述数据库添加需要所述终端先接入后认证连网的热点的标识信息。The adding module is configured to: add, according to a user operation, identifier information of the hotspot that needs to be authenticated and connected to the terminal after the terminal is first accessed.
可选地,所述参数信息包括所述目标热点的加密类型信息;Optionally, the parameter information includes encryption type information of the target hotspot;
所述处理模块还包括:The processing module further includes:
第二确定子模块,设置为:若所述目标热点的加密类型信息指示该目标热点未被加密,则确定需要由用户控制所述终端接入所述目标热点。The second determining submodule is configured to: if the encryption type information of the target hotspot indicates that the target hotspot is not encrypted, determine that the terminal needs to be controlled by the user to access the target hotspot.
可选地,所述装置还包括:Optionally, the device further includes:
提示模块,设置为:在确定需要由用户控制所述终端接入所述目标热点后,向所述用户发送所述目标热点的接入提示,并根据用户针对所述接入提示的操作,确定是否接入所述目标热点。The prompting module is configured to: after determining that the terminal needs to be controlled by the user to access the target hotspot, send an access prompt of the target hotspot to the user, and determine, according to the operation of the access prompt by the user, Whether to access the target hotspot.
一种终端,包括上述热点接入装置。A terminal includes the above hotspot access device.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
本发明实施例的方案可使禁止终端自动接入不能直接连网的热点,从而保障终端当前运行的网络业务不会因为切换网络而发生中断现象,让用户得到更好的上网体验。 The solution of the embodiment of the present invention can prevent the terminal from automatically accessing the hotspot that cannot be directly connected to the network, thereby ensuring that the network service currently running by the terminal does not be interrupted due to switching the network, so that the user can get a better online experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例的热点接入方法的流程示意图;FIG. 1 is a schematic flowchart diagram of a hotspot access method according to an embodiment of the present invention;
图2为热点的Beacon管理帧的结构示意图;2 is a schematic structural diagram of a Beacon management frame of a hot spot;
图3为本发明实施例的热点接入方法的逻辑示意图;FIG. 3 is a schematic diagram of a hotspot access method according to an embodiment of the present invention;
图4为本发明实施例的热点接入装置的结构示意图。FIG. 4 is a schematic structural diagram of a hotspot access device according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合附图及实施例进行详细描述。The detailed description will be made below in conjunction with the accompanying drawings and embodiments.
如图1所示,本发明的实施例提供一种热点接入方法,包括:As shown in FIG. 1 , an embodiment of the present invention provides a hotspot access method, including:
步骤11,确定终端扫描到的目标热点;Step 11: Determine a target hot spot scanned by the terminal;
步骤12,若所述终端接入过所述目标热点,则获取所述目标热点的参数信息;Step 12: If the terminal accesses the target hotspot, obtain parameter information of the target hotspot;
步骤13,若根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,则不自动接入所述目标热点。Step 13: If it is determined according to the parameter information that the terminal needs to be controlled by the user to access the target hotspot, the target hotspot is not automatically accessed.
与相关技术相比,在实施例的方法中,当终端扫描到开放的热点后,并不会直接选择接入,而是根据热点的参数信息进行判断,对于终端接入后不能直接连网的热点则不主动接入,可避免中断终端当前运行的网络业务,让用户得到更好的上网体验。Compared with the related art, in the method of the embodiment, after the terminal scans the open hotspot, the terminal does not directly select the access, but judges according to the parameter information of the hot spot, and cannot directly connect to the network after the terminal accesses. The hotspot does not actively access, which can avoid interrupting the network service currently running by the terminal, and let the user get a better online experience.
在实施过程中,可在终端或者服务云端建立一个数据库,专用于保存先接入后认证的热点的标识信息。“先接入后认证”是指终端需要先接入热点后再进行相关认证,并在认证通过后才能连网。当终端扫描到目标热点后,获取该目标热点的标识信息,并根据所述标识信息,在数据库中进行匹配查找。若在所述数据库中匹配查找到所述标识信息,则确定需要由用户控制所述终端接入所述目标热点。此外,用户可以自己添加数据库中的标识信息,也可以将自己的数据库上传到云端共享给其他用户,当一个热点被多个用户 标记后则会保存在云端数据库,用户可以选择从云端更新数据库信息。In the implementation process, a database may be established in the terminal or the service cloud, which is dedicated to storing the identification information of the hotspots that are authenticated first. The “first access after authentication” means that the terminal needs to access the hotspot before performing related authentication, and can connect to the network after the authentication is passed. After the terminal scans the target hotspot, the identifier information of the target hotspot is obtained, and the matching search is performed in the database according to the identifier information. If the identifier information is found in the database, it is determined that the terminal needs to be controlled by the user to access the target hotspot. In addition, the user can add the identification information in the database by himself, or upload his own database to the cloud to share with other users, when a hot spot is used by multiple users. After tagging, it will be saved in the cloud database, and users can choose to update the database information from the cloud.
示例性地,若确定出终端以前未接入过目标热点,则不自动接入,由用户手动选择是否接入。当用户确认所述目标热点需要“先接入后认证”后,可主动将该目标热点的标识添加到数据库中。当终端下次在进入目标热点的覆盖范围后,可根据数据库确定出该目标热点不自动接入。而对于以前接入过且数据库中没有保存对应的标识信息的热点,则终端在扫描到后可自动接入,以节省用户的流量。Exemplarily, if it is determined that the terminal has not accessed the target hotspot before, the automatic access is not performed, and the user manually selects whether to access. After the user confirms that the target hotspot needs "first access after authentication", the identifier of the target hotspot may be actively added to the database. After the terminal enters the coverage of the target hotspot next time, it may be determined according to the database that the target hotspot is not automatically accessed. For a hotspot that has been previously accessed and does not store corresponding identification information in the database, the terminal can automatically access after scanning to save user traffic.
其中,标识信息可由热点提供商进行设置,并保存在热点的管理帧的指定字节中。终端可通过扫描,接收到目标热点的管理帧;并在所述管理帧的指定字节中,获取所述目标热点的标识信息。The identification information may be set by the hotspot provider and stored in a specified byte of the management frame of the hotspot. The terminal may receive the management frame of the target hotspot by scanning, and obtain the identification information of the target hotspot in the specified byte of the management frame.
示例性地,可将目标热点的服务集标识SSID和/或物理地址(即MAC地址)作为热点的标识信息。也可以由热点提供商自定义进行设置,例如:图2所示的Beacon帧(热点管理帧的一种)结构,其中第一行为所有管理帧相同的内容,Frame Body(帧体)是Beacon帧特有的部分,Beacon帧的Frame Body又有多个字段和元素Element。字段是定长的,Element是可扩展的。对于本实施例来说,指定字段可以是前面定长部分中的Reserved字段,或者是一个或多个自定义的Element。Illustratively, the service set identifier SSID and/or physical address (ie, MAC address) of the target hotspot may be used as the identification information of the hotspot. It can also be customized by the hotspot provider, for example, the Beacon frame (one type of hotspot management frame) structure shown in FIG. 2, wherein the first behavior is the same content of all management frames, and the Frame Body is a Beacon frame. In the unique part, the Frame Body of the Beacon frame has multiple fields and elements Element. Fields are fixed length and Element is extensible. For the present embodiment, the specified field may be a Reserved field in the previous fixed length portion, or one or more custom Element.
在此基础之上,为了省去向数据库进行匹配查找的步骤,热点提供商还可以在管理帧的指定字节中保存能够直接告知终端该热点是否为“先接入后认证”类型的指定标识信息。例如,在指定字节中用“1”表示需要“先连接后认证”的热点,用“0”表示不需要“先连接后认证”的热点。终端在接收到热点的管理帧后,如果在管理帧的指定字节中找到指定的“1”和/或“0”,则以此为依据可直接确认是否自动接入。On the basis of this, in order to save the step of performing matching search to the database, the hotspot provider can also save the specified identifier information in the specified byte of the management frame, which can directly inform the terminal whether the hotspot is of the type of “first access after authentication”. . For example, a "1" in a specified byte indicates a hotspot that requires "first connect and then authenticate", and a "0" indicates that a hotspot that does not need to be authenticated first. After receiving the management frame of the hotspot, if the terminal finds the specified “1” and/or “0” in the specified byte of the management frame, the terminal can directly confirm whether to automatically access.
此外,凡是加密的热点一般都是不需要进行认证的(输入热点密码已经起到了认证的作用)。因此,本实施例可针对该特点,又提供一种接入方法,即所述参数信息包括所述目标热点的加密类型信息;上述步骤13中,若所述目标热点的加密类型信息指示该目标热点未被加密,则确定所述目标热点需要由用户选择接入。In addition, all hotspots that are encrypted do not need to be authenticated (the hotspot password has already been used for authentication). Therefore, the embodiment may provide an access method, that is, the parameter information includes the encryption type information of the target hotspot; in the foregoing step 13, if the encryption type information of the target hotspot indicates the target If the hotspot is not encrypted, it is determined that the target hotspot needs to be accessed by the user.
可见,本实施例由用户来确认是否连接未加密的热点,从而防止终端在 切换网络连接方式时中断当前运行的业务。It can be seen that, in this embodiment, the user confirms whether an unencrypted hotspot is connected, thereby preventing the terminal from being Interrupt the currently running service when switching the network connection mode.
当然,作为可选方案,可结合加密类型以及标识信息来判断目标热点是否需要认证。如图3所示,包括如下步骤:Of course, as an alternative, the encryption type and the identification information may be combined to determine whether the target hotspot needs authentication. As shown in Figure 3, the following steps are included:
步骤301,终端提供一个热点的扫描结果; Step 301, the terminal provides a scan result of a hot spot;
步骤302,判断扫描到的热点是否在终端保存过(终端只会自动接入之前接入过的热点),如果保存过则进入步骤303;如果没有保存过则返回步骤301; Step 302, it is determined whether the scanned hotspot is saved in the terminal (the terminal only automatically accesses the previously accessed hotspot), if it is saved, then proceeds to step 303; if not, then returns to step 301;
步骤303,确定热点的类型信息,即确定热点是否属于“先接入后认证”的类型,如果是,则执行步骤307,如果否,则执行步骤304; Step 303, determining the type information of the hotspot, that is, determining whether the hotspot belongs to the type of "first access after authentication", if yes, executing step 307, if not, executing step 304;
其中,判断热点本身的Beacon帧中是否包含了用于直接指示热点是否为“先接入后认证”类型的标志信息,即上文所述的“0”或“1”,如果包含“0”则表示热点不需要进行认证,并自动接入扫描到的热点。如果包含“1”则表示热点需要进行认证;如果Beacon帧中没有包含能够直接指示热点是否为“先接入后认证”类型的标志信息,则进入步骤304;And determining whether the beacon frame of the hot spot itself includes the flag information for directly indicating whether the hot spot is of the “first access after authentication” type, that is, “0” or “1” described above, if “0” is included. This means that the hotspot does not need to be authenticated and automatically accesses the scanned hotspot. If the value of "1" is included, it indicates that the hotspot needs to be authenticated; if the Beacon frame does not include the flag information that can directly indicate whether the hotspot is of the "first access after authentication" type, proceed to step 304;
步骤304,确定是否为非加密热点,如果扫描到的热点是加密的则执行步骤306自动接入,如果扫描到的热点是开放类型的则进入步骤305; Step 304, determining whether it is a non-encrypted hotspot, if the scanned hotspot is encrypted, performing step 306 to automatically access, if the scanned hotspot is of an open type, proceeding to step 305;
步骤305,扫描到的热点的SSID和/或MAC地址是否存在于数据库,如果在数据库中匹配找到相同的SSID和/或MAC地址,则执行步骤308;如果在数据库中未匹配找到相同的SSID和/或MAC地址,则执行步骤306; Step 305, whether the SSID and/or MAC address of the scanned hot spot exists in the database. If the matching finds the same SSID and/or MAC address in the database, step 308 is performed; if the database does not match, the same SSID and the same SSID are found. / or MAC address, then step 306;
步骤306自动接入该扫描到的热点,结束流程。Step 306 automatically accesses the scanned hotspot and ends the process.
步骤307,判断是否需要认证,如果需要,则执行步骤308; Step 307, it is determined whether authentication is required, if necessary, step 308 is performed;
步骤308,向用户进行提示,由用户手动选择是否接入扫描到的热点。In step 308, the user is prompted to manually select whether to access the scanned hotspot.
下面结合一个实现方式对本实施例的方法进行详细介绍。The method of this embodiment will be described in detail below in conjunction with an implementation manner.
在用户打开终端的Wi-Fi功能时,本实施例的方法进入激活状态,并开始监听终端扫描Wi-Fi的结果信息。在收到Wi-Fi的扫描结果后,根据如下信息来判断是否自动连接热点:When the user opens the Wi-Fi function of the terminal, the method of the embodiment enters an activation state, and starts to monitor the result information of the terminal scanning Wi-Fi. After receiving the scan result of Wi-Fi, judge whether to automatically connect the hotspot according to the following information:
S1,首先判断当前扫描到的Wi-Fi热点是否之前接入过,如果没有连接 过则不自动接入,由用户手动接入并结束;如果之前连接过,则进入S2;在本步骤中,可根据终端热点的连接记录,确定扫描到的热点是否在之前就已连接过;S1, first determine whether the currently scanned Wi-Fi hotspot has been accessed before, if there is no connection If the connection is not automatic, the user manually accesses and ends; if it has been connected before, it enters S2; in this step, according to the connection record of the terminal hotspot, it is determined whether the scanned hot spot has been connected before;
S2,读取Wi-Fi热点的Beacon管理帧,并判断其中是否包含自定义的标识信息字段。如果包含则直接根据这个字段来决定是否自动连接(字段为0自动连接,字段为1则不连接),如果不包含则进入S3。S2: Read the Beacon management frame of the Wi-Fi hotspot, and determine whether the customized identification information field is included therein. If it is included, it is directly determined according to this field whether it is automatically connected (the field is 0 for automatic connection, the field is 1 for no connection), and if it is not, it will enter S3.
S3,获取Wi-Fi热点的加密类型,因为需要在连接之后进行认证的Wi-Fi热点一般都是开放类型的热点,因此如果是加密类型的热点,则自动连接,否则进入S4。S3, obtaining the encryption type of the Wi-Fi hotspot, because the Wi-Fi hotspots that need to be authenticated after the connection are generally open type hotspots, so if it is an encryption type hotspot, it is automatically connected, otherwise it enters S4.
S4,获取Wi-Fi热点的名称信息(SSID)以及MAC地址,然后在数据库中进行匹配查找,查找过程根据用户的设置会有优先级的变化,并使用SSID和MAC地址进行匹配。如果查找到匹配则不连接,否则自动连接。S4: Obtain the name information (SSID) and the MAC address of the Wi-Fi hotspot, and then perform a matching search in the database. The search process has a priority change according to the user's setting, and uses the SSID and the MAC address to match. Do not connect if a match is found, otherwise it will automatically connect.
S5,此步骤独立于上述步骤S1~S4,用户可以自己新增数据库中的Wi-Fi热点信息(可以在连接上一个热点后选择添加到数据库中),同时用户也可以将自己的数据库上传到云端共享给其他用户,当一个Wi-Fi热点被多个用户标记后则会进入云端数据库,用户可以选择从云端更新数据库信息。S5, this step is independent of the above steps S1 to S4, the user can newly add the Wi-Fi hotspot information in the database (can be added to the database after connecting a hotspot), and the user can also upload his own database to The cloud is shared with other users. When a Wi-Fi hotspot is marked by multiple users, it will enter the cloud database, and the user can choose to update the database information from the cloud.
综上所述,本实施例的方法与相关技术相比,会主动判断开放式热点是否会对接入的终端造成断网。对于不会造成断网的热点则自动接入,对于能够造成断网的热点则向用户进行提示,由用户进行手动接入,从而避免了终端因自动接入不能直接连网的热点而终端网络业务。In summary, the method in this embodiment compares with the related technologies to actively determine whether the open hotspot will cause a disconnection of the accessed terminal. Automatically accessing hotspots that do not cause network disconnection, prompting users for hotspots that can cause network disconnection, and manually accessing by users, thereby avoiding terminal hotspots that cannot be directly connected to the network due to automatic access. business.
此外,如图4所示,本发明另一实施例提供一种热点接入装置,包括:In addition, as shown in FIG. 4, another embodiment of the present invention provides a hotspot access device, including:
第一确定模块41,设置为:确定终端扫描到的目标热点;The first determining module 41 is configured to: determine a target hot spot scanned by the terminal;
获取模块42,设置为:若所述终端接入过所述目标热点,则获取所述目标热点的参数信息;The obtaining module 42 is configured to: if the terminal accesses the target hotspot, obtain parameter information of the target hotspot;
处理模块43,设置为:若根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,则不自动接入所述目标热点。The processing module 43 is configured to: if it is determined by the user that the terminal needs to access the target hotspot according to the parameter information, the target hotspot is not automatically accessed.
与相关技术相比,在实施例的装置中,当终端扫描到开放的热点后,并不会直接选择接入,而是根据热点的参数信息进行判断,对于终端接入后不 能直接连网的热点则不主动接入,可避免中断终端当前运行的网络业务,让用户得到更好的上网体验。Compared with the related art, in the device of the embodiment, after the terminal scans the open hotspot, the terminal does not directly select the access, but judges according to the parameter information of the hot spot, and does not The hotspots that can be directly connected to the network are not actively accessed, which can avoid interrupting the network service currently running on the terminal and allow users to have a better online experience.
其中,所述参数信息包括所述目标热点的标识信息;The parameter information includes identification information of the target hotspot;
所述处理模块包括:The processing module includes:
匹配子模块,设置为:根据所述标识信息,在数据库中进行匹配查找;其中,所述数据库保存有需要所述终端先接入后进行认证连网的热点的标识信息;The matching sub-module is configured to perform a matching search in the database according to the identifier information, where the database stores the identifier information of the hotspot that needs to be authenticated and connected to the terminal after being accessed first;
第一确定子模块,设置为:若在所述数据库中匹配查找到当所述标识信息,则确定需要由用户控制所述终端接入所述目标热点。The first determining sub-module is configured to: if the matching information is found in the database, determine that the terminal needs to be controlled by the user to access the target hotspot.
其中,所述目标热点的标识信息保存在接收到的所述目标热点的管理帧的指定字节中。The identifier information of the target hotspot is saved in a specified byte of the received management frame of the target hotspot.
其中,所述装置还包括:Wherein, the device further comprises:
添加模块,设置为:根据用户操作,向所述数据库添加需要所述终端先接入后认证连网的热点的标识信息。The adding module is configured to: add, according to a user operation, identifier information of the hotspot that needs to be authenticated and connected to the terminal after the terminal is first accessed.
其中,所述参数信息包括所述目标热点的加密类型信息;The parameter information includes encryption type information of the target hotspot;
所述处理模块还包括:The processing module further includes:
第二确定子模块,设置为:若所述目标热点的加密类型信息指示该目标热点未被加密,则确定需要由用户控制所述终端接入所述目标热点。The second determining submodule is configured to: if the encryption type information of the target hotspot indicates that the target hotspot is not encrypted, determine that the terminal needs to be controlled by the user to access the target hotspot.
其中,所述装置还包括:Wherein, the device further comprises:
提示模块,设置为:在确定需要由用户控制所述终端接入所述目标热点后,向所述用户发送所述目标热点的接入提示,并根据用户针对所述接入提示的操作,确定是否接入所述目标热点。The prompting module is configured to: after determining that the terminal needs to be controlled by the user to access the target hotspot, send an access prompt of the target hotspot to the user, and determine, according to the operation of the access prompt by the user, Whether to access the target hotspot.
显然,本实施例的热点接入装置与上文所述热点接入方法相对应,均能够达到同样的技术效果。Obviously, the hotspot access device of this embodiment can achieve the same technical effect corresponding to the hotspot access method described above.
此外,本发明另一实施例提供一种终端,包括上述热点接入装置。所述终端可以是手机、pad等具有Wi-Fi功能智能设备。 In addition, another embodiment of the present invention provides a terminal, including the foregoing hotspot access device. The terminal may be a Wi-Fi enabled smart device such as a mobile phone or a pad.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例的方案可使禁止终端自动接入不能直接连网的热点,从而保障终端当前运行的网络业务不会因为切换网络而发生中断现象,让用户得到更好的上网体验。 The solution of the embodiment of the present invention can prevent the terminal from automatically accessing the hotspot that cannot be directly connected to the network, thereby ensuring that the network service currently running by the terminal does not be interrupted due to switching the network, so that the user can get a better online experience.

Claims (14)

  1. 一种热点接入方法,应用于终端,所述方法包括:A hotspot access method is applied to a terminal, and the method includes:
    确定终端扫描到的目标热点;Determining the target hotspot scanned by the terminal;
    若所述终端接入过所述目标热点,则获取所述目标热点的参数信息;Obtaining parameter information of the target hotspot if the terminal accesses the target hotspot;
    若根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,则不自动接入所述目标热点。If it is determined that the terminal needs to be controlled by the user to access the target hotspot according to the parameter information, the target hotspot is not automatically accessed.
  2. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    所述参数信息包括所述目标热点的标识信息;The parameter information includes identification information of the target hotspot;
    根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,包括:Determining, according to the parameter information, that the terminal needs to be controlled by the user to access the target hotspot, including:
    根据所述标识信息,在数据库中进行匹配查找;其中,所述数据库保存有需要所述终端先接入后进行认证连网的热点的标识信息;若在所述数据库中匹配查找到所述标识信息,则确定需要由用户控制所述终端接入所述目标热点。Performing a matching search in the database according to the identifier information; wherein the database stores identifier information of a hotspot that needs to be authenticated and connected to the terminal after being accessed by the terminal; if the identifier is found in the database, The information determines that the terminal needs to be controlled by the user to access the target hotspot.
  3. 根据权利要求2所述的方法,其中,The method of claim 2, wherein
    所述目标热点的标识信息保存在接收到的所述目标热点的管理帧的指定字节中。The identification information of the target hotspot is saved in a specified byte of the received management frame of the target hotspot.
  4. 根据权利要求2所述的方法,所述方法还包括:The method of claim 2, the method further comprising:
    根据用户操作,向所述数据库添加需要所述终端先接入后认证连网的热点的标识信息。According to the user operation, the identifier information of the hotspot that needs to be authenticated and connected to the terminal after the terminal is first accessed is added to the database.
  5. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    所述参数信息包括所述目标热点的加密类型信息;The parameter information includes encryption type information of the target hotspot;
    根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,包括:Determining, according to the parameter information, that the terminal needs to be controlled by the user to access the target hotspot, including:
    若所述目标热点的加密类型信息指示该目标热点未被加密,则确定需要由用户控制所述终端接入所述目标热点。 If the encryption type information of the target hot spot indicates that the target hot spot is not encrypted, it is determined that the terminal needs to be controlled by the user to access the target hotspot.
  6. 根据权利要求2或5所述的方法,所述方法还包括:The method of claim 2 or 5, further comprising:
    在确定需要由用户控制所述终端接入所述目标热点后,向所述用户发送所述目标热点的接入提示,并根据用户针对所述接入提示的操作,确定是否接入所述目标热点。After determining that the terminal needs to be controlled by the user to access the target hotspot, send an access prompt of the target hotspot to the user, and determine whether to access the target according to the operation of the access prompt by the user. hot spot.
  7. 一种热点接入装置,应用于终端,包括:A hotspot access device is applied to a terminal, including:
    第一确定模块,设置为:确定终端扫描到的目标热点;a first determining module, configured to: determine a target hot spot scanned by the terminal;
    获取模块,设置为:若所述终端接入过所述目标热点,则获取所述目标热点的参数信息;Obtaining a module, configured to: if the terminal accesses the target hotspot, obtain parameter information of the target hotspot;
    处理模块,设置为:若根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,则不自动接入所述目标热点。The processing module is configured to: if it is determined by the user that the terminal needs to access the target hotspot according to the parameter information, the target hotspot is not automatically accessed.
  8. 根据权利要求7所述的装置,其中,The apparatus according to claim 7, wherein
    所述参数信息包括所述目标热点的标识信息;The parameter information includes identification information of the target hotspot;
    所述处理模块包括:The processing module includes:
    匹配子模块,设置为:根据所述标识信息,在数据库中进行匹配查找;其中,所述数据库保存有需要所述终端先接入后进行认证连网的热点的标识信息;The matching sub-module is configured to perform a matching search in the database according to the identifier information, where the database stores the identifier information of the hotspot that needs to be authenticated and connected to the terminal after being accessed first;
    第一确定子模块,设置为:若在所述数据库中匹配查找到当所述标识信息,则确定需要由用户控制所述终端接入所述目标热点。The first determining sub-module is configured to: if the matching information is found in the database, determine that the terminal needs to be controlled by the user to access the target hotspot.
  9. 根据权利要求8所述的装置,其中,The device according to claim 8, wherein
    所述目标热点的标识信息保存在接收到的所述目标热点的管理帧的指定字节中。The identification information of the target hotspot is saved in a specified byte of the received management frame of the target hotspot.
  10. 根据权利要求8所述的装置,还包括:The apparatus of claim 8 further comprising:
    添加模块,设置为:根据用户操作,向所述数据库添加需要所述终端先接入后认证连网的热点的标识信息。The adding module is configured to: add, according to a user operation, identifier information of the hotspot that needs to be authenticated and connected to the terminal after the terminal is first accessed.
  11. 根据权利要求7所述的装置,其中,The apparatus according to claim 7, wherein
    所述参数信息包括所述目标热点的加密类型信息;The parameter information includes encryption type information of the target hotspot;
    所述处理模块还包括: The processing module further includes:
    第二确定子模块,设置为:若所述目标热点的加密类型信息指示该目标热点未被加密,则确定需要由用户控制所述终端接入所述目标热点。The second determining submodule is configured to: if the encryption type information of the target hotspot indicates that the target hotspot is not encrypted, determine that the terminal needs to be controlled by the user to access the target hotspot.
  12. 根据权利要求8或11所述的装置,所述装置还包括:The device according to claim 8 or 11, the device further comprising:
    提示模块,设置为:在确定需要由用户控制所述终端接入所述目标热点后,向所述用户发送所述目标热点的接入提示,并根据用户针对所述接入提示的操作,确定是否接入所述目标热点。The prompting module is configured to: after determining that the terminal needs to be controlled by the user to access the target hotspot, send an access prompt of the target hotspot to the user, and determine, according to the operation of the access prompt by the user, Whether to access the target hotspot.
  13. 一种终端,包括如权利要求7-12任一项所述的热点接入装置。A terminal comprising the hotspot access device of any of claims 7-12.
  14. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-6任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-6.
PCT/CN2015/089652 2015-01-16 2015-09-15 Hotspot accessing method and device, and terminal WO2016112706A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510022068.4 2015-01-16
CN201510022068.4A CN105848251B (en) 2015-01-16 2015-01-16 Hotspot access method, device and terminal

Publications (1)

Publication Number Publication Date
WO2016112706A1 true WO2016112706A1 (en) 2016-07-21

Family

ID=56405159

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2015/076414 WO2016112591A1 (en) 2015-01-16 2015-04-13 Hotspot access method and device, terminal and computer storage medium
PCT/CN2015/089652 WO2016112706A1 (en) 2015-01-16 2015-09-15 Hotspot accessing method and device, and terminal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/076414 WO2016112591A1 (en) 2015-01-16 2015-04-13 Hotspot access method and device, terminal and computer storage medium

Country Status (2)

Country Link
CN (1) CN105848251B (en)
WO (2) WO2016112591A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339957A (en) * 2022-02-28 2022-04-12 深圳市元征科技股份有限公司 Wi-Fi hotspot connection method and device and terminal equipment
CN114339957B (en) * 2022-02-28 2024-05-10 深圳市元征科技股份有限公司 Wi-Fi hot spot connection method and device and terminal equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636441B (en) * 2018-11-06 2023-12-19 三六零科技集团有限公司 Advertisement putting method and device
CN111770495B (en) * 2020-06-29 2023-06-02 中国联合网络通信集团有限公司 Network connection method, mobile terminal, computer device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080176515A1 (en) * 2007-01-19 2008-07-24 Hiles Paul E Wireless hotspot detection system and method
CN101651973A (en) * 2009-08-26 2010-02-17 广州市动景计算机科技有限公司 Network switching method for mobile communication equipment terminals and system thereof
CN103997768A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Method and device for preventing access to invalid Wi-Fi hot spots
CN104105167A (en) * 2013-04-15 2014-10-15 中兴通讯股份有限公司 Terminal Wi-Fi hotspot access processing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083152B (en) * 2011-03-07 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Method for switching hotspots in wireless local area network (WLAN) and terminal
CN103139876A (en) * 2011-11-24 2013-06-05 北京千橡网景科技发展有限公司 Method and device selecting wireless access mode for mobile terminal adaptively
CN102883320B (en) * 2012-09-18 2017-03-15 东莞宇龙通信科技有限公司 WiFi method for authenticating and its system
CN103686899A (en) * 2012-09-25 2014-03-26 东莞宇龙通信科技有限公司 A switching method between a mobile data service network and a wifi network and a mobile terminal thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080176515A1 (en) * 2007-01-19 2008-07-24 Hiles Paul E Wireless hotspot detection system and method
CN101651973A (en) * 2009-08-26 2010-02-17 广州市动景计算机科技有限公司 Network switching method for mobile communication equipment terminals and system thereof
CN104105167A (en) * 2013-04-15 2014-10-15 中兴通讯股份有限公司 Terminal Wi-Fi hotspot access processing method and device
CN103997768A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Method and device for preventing access to invalid Wi-Fi hot spots

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339957A (en) * 2022-02-28 2022-04-12 深圳市元征科技股份有限公司 Wi-Fi hotspot connection method and device and terminal equipment
CN114339957B (en) * 2022-02-28 2024-05-10 深圳市元征科技股份有限公司 Wi-Fi hot spot connection method and device and terminal equipment

Also Published As

Publication number Publication date
CN105848251A (en) 2016-08-10
WO2016112591A1 (en) 2016-07-21
CN105848251B (en) 2020-05-22

Similar Documents

Publication Publication Date Title
US11736519B2 (en) Mobile communication method, apparatus, and device
CN111263334B (en) Configuring an electronic subscriber identity module for a mobile wireless device
US20160242033A1 (en) Communication service using method and electronic device supporting the same
EP3151628B1 (en) Method, device and system for accessing a wireless network
US9749377B2 (en) Method and system for network access control
JP5281128B2 (en) WI-FI access method, access point, and WI-FI access system
US9826399B2 (en) Facilitating wireless network access by using a ubiquitous SSID
US9967099B2 (en) Method and apparatus for providing information
WO2018000834A1 (en) Wifi hotspot information modification method and device
US20230189001A1 (en) System and method for operating a user device with personalized identity module profiles
WO2016169311A1 (en) Card selection method and device
KR101460766B1 (en) Security setting system and the control method for using clurster function in Wireless network system
WO2021031051A1 (en) Mobile device authentication without electronic subscriber identity module (esim) credentials
JP7416984B2 (en) Service acquisition method, device, communication device and readable storage medium
WO2019091458A1 (en) Wireless connection method, wireless access point, terminal, and device having storage function
WO2016112706A1 (en) Hotspot accessing method and device, and terminal
KR101729661B1 (en) Network access system and network access method
CN114902789A (en) Communication method and device
WO2022037619A1 (en) Method and apparatus for processing authentication failure, terminal and network side device
JP7276960B2 (en) Relay device, relay method and relay program
WO2023130821A1 (en) Network access method and apparatus
WO2023138525A1 (en) Network selection and access information transmission method and apparatus, network selection and access information obtaining method and apparatus, and related device
WO2020057315A1 (en) Authentication method, device, and system
KR101184722B1 (en) Terminal Connected to Access Point FMC Service is available
WO2020215272A1 (en) Communication method, communication apparatus, and communication system

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15877619

Country of ref document: EP

Kind code of ref document: A1