WO2016112591A1 - 一种热点接入方法、装置、终端及计算机存储介质 - Google Patents

一种热点接入方法、装置、终端及计算机存储介质 Download PDF

Info

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

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present invention relates to the field of wireless local area networks, and in particular, to a hotspot access method, apparatus, terminal, and computer storage medium.
  • 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.
  • the embodiments of the present invention provide a hotspot access method, device, terminal, and computer storage medium.
  • the embodiment of the present invention provides a hotspot access method applied to a terminal, including:
  • 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:
  • 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 hotspot indicates that the target hotspot 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 including:
  • a first determining module configured to determine a target hot spot scanned by the terminal
  • the processing module is configured to determine, according to the parameter information, that the terminal needs to be controlled by the user to access the target hotspot, and does not automatically access the target hotspot.
  • 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 identifier information of a hotspot that needs to be authenticated and connected to the terminal after being accessed by the terminal;
  • the first determining sub-module is configured to: when 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 parameter information includes encryption type information of the target hotspot
  • the processing module further includes:
  • a second determining submodule configured to determine, if the encryption type information of the target hotspot indicates that the target hotspot is not encrypted, determining that the terminal needs to access the target hotspot by the user.
  • the device further comprises:
  • a prompting module 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 an operation of the user for the access prompt, Access to the target hotspot.
  • another embodiment of the present invention further provides a terminal, including the foregoing hotspot access device.
  • another embodiment of the present invention further provides a computer storage medium, the computer storage medium comprising a set of instructions, when executed, causing at least one processor to perform the hotspot access method.
  • 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 in the related art
  • 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.
  • determining a target hotspot scanned by the terminal if the terminal accesses the target hotspot, acquiring parameter information of the target hotspot; if determining, according to the parameter information, determining If the user controls the terminal to access the target hotspot, the target hotspot is not automatically accessed.
  • 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, it is determined that the terminal needs to be controlled by the user. If the target hotspot is described, 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 hotspots are not actively accessed, which can avoid interrupting the network service currently running on the terminal and allowing users to get a better online experience.
  • a database may be established in the terminal or the service cloud, and is dedicated to storing the identification information of the hotspots that are authenticated first.
  • “First access and post-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 marked by multiple users, it will be saved in the cloud database, and the user 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.
  • 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" or "0" in the specified byte of the management frame, it can directly confirm whether it is automatically accessed.
  • 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 the unencrypted hotspot is connected, thereby preventing the terminal from interrupting 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 First, the terminal provides a scan result of a hot spot
  • Step 302 After determining whether the scanned hotspot is saved in the terminal (the terminal only automatically accesses the previously accessed hotspot), if it is saved, the second determination is performed, and step 303 is performed;
  • Step 303 Whether the segment contains hotspot type information, if yes, proceed to step 304, otherwise, perform step 306;
  • step 306 is performed.
  • Step 304 Determine the type information of the hotspot, that is, determine whether the hotspot belongs to the type of "first access after authentication", and if yes, execute step 305;
  • the Beacon frame of the hotspot itself includes flag information for directly indicating whether the hotspot 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.
  • Step 305 The hotspot needs to be authenticated, and then prompts the user, and the user manually selects whether to access the scanned hotspot;
  • Step 306 Determine whether it is a non-encrypted hotspot, if yes, go to step 307; otherwise, go to step 308;
  • step 307 the fourth determination is entered, that is, step 307 is performed.
  • Step 307 The scanned SSID and/or MAC address of the hotspot is present in the database, if yes, step 305 is performed; otherwise, step 308 is performed;
  • step 305 the matching in the database finds the same SSID and/or MAC address
  • the user is prompted, and the user manually selects whether to access, that is, step 305 is performed; if the database does not match, the same SSID and/or is found.
  • the MAC address is automatically accessed to the scanned hotspot, that is, step 308 is performed.
  • step 306 and step 307 can be interchanged.
  • Step 308 Connect the 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 determining whether the currently scanned Wi-Fi hotspot has been accessed before, if not connected, then not automatically accessing, manually accessing and ending by the user; if previously connected, then entering S2; in this step, Specifically, 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 actively determines whether an 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 acquire the target if the terminal accesses the target hotspot Parameter information of the hot spot;
  • the processing module 43 is configured to: if 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.
  • 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 hotspots are not actively accessed, which can avoid interrupting the network service currently running on the terminal and allowing users to get a better online experience.
  • the parameter information includes identification information of the target hotspot
  • the processing module 43 includes:
  • the matching sub-module is configured to perform a matching search in the database according to the identifier information, where the database stores identifier information of a hotspot that needs to be authenticated and connected to the terminal after being accessed by the terminal;
  • a first determining submodule configured to: if the identifier 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 parameter information includes encryption type information of the target hotspot
  • the processing module 43 further includes:
  • a second determining submodule 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 43 further includes:
  • a prompting module configured to determine that the terminal needs to be controlled by the user to access the target hotspot And sending an access prompt of the target hotspot to the user, and determining whether to access the target hotspot according to the operation of the user for the access prompt.
  • the hotspot access device of this embodiment can achieve the same technical effect corresponding to the hotspot access method described above.
  • the first determining module 41, the obtaining module 42, the processing module 43, the matching sub-module, the first determining sub-module, the adding module, the second determining sub-module, and the prompting module may be centrally processed in the hotspot access device.
  • CPU Central Processing Unit
  • MCU Microprocessor
  • DSP Digital Signal Processor
  • FPGA Field-Programmable Gate Array
  • the terminal may be a Wi-Fi enabled smart device such as a mobile phone or a pad.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • still another embodiment of the present invention further provides a computer storage medium, the computer storage medium comprising a set of instructions, when executed, causing at least one processor to perform the hotspot access method.

Landscapes

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

Abstract

本发明提供一种热点接入方法、装置及终端,涉及无线局域网领域。方法包括:确定终端扫描到的目标热点;若所述终端接入过所述目标热点,则获取所述目标热点的参数信息;若根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,则不自动接入所述目标热点。本发明的方案不会因为Wi-Fi模块自动连接而造成用户网络业务的中断,提升了用户的体验。

Description

一种热点接入方法、装置、终端及计算机存储介质 技术领域
本发明涉及无线局域网领域,特别是一种热点接入方法、装置、终端及计算机存储介质。
背景技术
随着移动通讯的发展,手机的功能越来越多,内置Wi-Fi功能已经成为了移动终端的标准配置,并且Wi-Fi也成了移动终端中用户使用最多的功能和模块之一。各大运营商也在越来越多的地方部署了免费Wi-Fi热点,为用户提供上网服务。
而免费的Wi-Fi热点也带来了一定的问题:在用户移动的过程中手机有可能会自动连接上以前使用过的免费的Wi-Fi热点,而这些免费的Wi-Fi热点一般都是需要通过进一步认证才能连接互联网。这样一来,用户终端由原先接入的移动网络自动切换为Wi-Fi热点,而切换完成后并不能马上连接互联网,需要用户向Wi-Fi热点提供商进行认证,因此会中断用户业务,给用户带来了不好的体验效果。
发明内容
为解决现有存在的技术问题,本发明实施例提供一种热点接入方法、装置、终端及计算机存储介质。
具体地,本发明实施例提供一种应用于终端的热点接入方法,包括:
确定终端扫描到的目标热点;
所述终端接入过所述目标热点时,获取所述目标热点的参数信息;
根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点 时,不自动接入所述目标热点。
其中,所述参数信息包括所述目标热点的标识信息;
所述根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,包括:
根据所述标识信息,在数据库中进行匹配查找;其中,所述数据库保存有需要所述终端先接入后进行认证连网的热点的标识信息;若在所述数据库中匹配查找到所述标识信息,则确定需要由用户控制所述终端接入所述目标热点。
其中,所述目标热点的标识信息保存在接收到的所述目标热点的管理帧的指定字节中。
其中,所述方法还包括:
根据用户操作,向所述数据库添加需要所述终端先接入后认证连网的热点的标识信息。
其中,所述参数信息包括所述目标热点的加密类型信息;
所述根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,包括:
所述目标热点的加密类型信息指示所述目标热点未被加密时,确定需要由用户控制所述终端接入所述目标热点。
其中,所述方法还包括:
确定需要由用户控制所述终端接入所述目标热点后,向所述用户发送所述目标热点的接入提示,并根据用户针对所述接入提示的操作,确定是否接入所述目标热点。
此外,本发明另一实施例还提供一种应用于终端的热点接入装置,包括:
第一确定模块,配置为确定终端扫描到的目标热点;
获取模块,配置为所述终端接入过所述目标热点时,获取所述目标热点的参数信息;
处理模块,配置为根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点时,不自动接入所述目标热点。
其中,所述参数信息包括所述目标热点的标识信息;
所述处理模块包括:
匹配子模块,配置为根据所述标识信息,在数据库中进行匹配查找;其中,所述数据库保存有需要所述终端先接入后进行认证连网的热点的标识信息;
第一确定子模块,配置为在所述数据库中匹配查找到所述标识信息时,确定需要由用户控制所述终端接入所述目标热点。
其中,所述目标热点的标识信息保存在接收到的所述目标热点的管理帧的指定字节中。
其中,所述装置还包括:
添加模块,配置为根据用户操作,向所述数据库添加需要所述终端先接入后认证连网的热点的标识信息。
其中,所述参数信息包括所述目标热点的加密类型信息;
所述处理模块还包括:
第二确定子模块,配置为若所述目标热点的加密类型信息指示所述目标热点未被加密时,确定需要由用户控制所述终端接入所述目标热点。
其中,所述装置还包括:
提示模块,配置为在确定需要由用户控制所述终端接入所述目标热点后,向所述用户发送所述目标热点的接入提示,并根据用户针对所述接入提示的操作,确定是否接入所述目标热点。
此外,本发明另一实施例还提供一种终端,包括上述热点接入装置。
此外,本发明另一实施例还提供一种计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行上述的热点接入方法。
本发明实施例的上述技术方案的有益效果如下:
本发明实施例的方案可使禁止终端自动接入不能直接连网的热点,从而保障终端当前运行的网络业务不会因为切换网络而发生中断现象,让用户得到更好的上网体验。
附图说明
图1为本发明实施例的热点接入方法的流程示意图;
图2为相关技术中热点的Beacon管理帧的结构示意图;
图3为本发明实施例的热点接入方法的逻辑示意图;
图4为本发明实施例的热点接入装置的结构示意图。
具体实施方式
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。
在本发明的各种实施例中:确定终端扫描到的目标热点;若所述终端接入过所述目标热点,则获取所述目标热点的参数信息;若根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,则不自动接入所述目标热点。
如图1所示,本发明的实施例提供一种热点接入方法,包括:
步骤11,确定终端扫描到的目标热点;
步骤12,若所述终端接入过所述目标热点,则获取所述目标热点的参数信息;
步骤13,若根据所述参数信息,确定需要由用户控制所述终端接入所 述目标热点,则不自动接入所述目标热点。
与现有技术相比,在实施例的方法中,当终端扫描到开放的热点后,并不会直接选择接入,而是根据热点的参数信息进行判断,对于终端接入后不能直接连网的热点则不主动接入,可避免中断终端当前运行的网络业务,让用户得到更好的上网体验。
在具体实施过程中,可在终端或者服务云端建立一个数据库,专用于保存先接入后认证的热点的标识信息。“先接入后认证”是指:终端需要先接入热点后再进行相关认证,并在认证通过后才能连网。当终端扫描到目标热点后,获取该目标热点的标识信息,并根据所述标识信息,在数据库中进行匹配查找。若在所述数据库中匹配查找到所述标识信息,则确定需要由用户控制所述终端接入所述目标热点。此外,用户可以自己添加数据库中的标识信息,也可以将自己的数据库上传到云端共享给其他用户,当一个热点被多个用户标记后则会保存在云端数据库,用户可以选择从云端更新数据库信息。
示例性地,若确定出终端以前未接入过目标热点,则不自动接入,由用户手动选择是否接入。当用户确认所述目标热点需要“先接入后认证”后,可主动将该目标热点的标识添加到数据库中。当终端下次在进入目标热点的覆盖范围后,可根据数据库确定出该目标热点不自动接入。而对于以前接入过且数据库中没有保存对应的标识信息的热点,则终端在扫描到后可自动接入,以节省用户的流量。
其中,标识信息可由热点提供商进行设置,并保存在热点的管理帧的指定字节中。终端可通过扫描,接收到目标热点的管理帧;并在所述管理帧的指定字节中,获取所述目标热点的标识信息。
示例性地,可将目标热点的服务集标识(SSID)和/或物理地址(即MAC地址)作为热点的标识信息。也可以由热点提供商自定义进行设置, 例如:图2所示的Beacon帧(热点管理帧的一种)结构,其中第一行为所有管理帧相同的内容,FrameBody是Beacon帧特有的部分,Beacon帧的Frame Body又有多个字段和元素(Element)。字段是定长的,Element是可扩展的。对于本实施例来说,指定字段可以是前面定长部分中的预留(Reserved)字段,或者是一个或多个自定义的Element。
在此基础之上,为了省去向数据库进行匹配查找的步骤,热点提供商还可以在管理帧的指定字节中保存能够直接告知终端该热点是否为“先接入后认证”类型的指定标识信息。例如,在指定字节中用“1”表示需要“先连接后认证”的热点,用“0”表示不需要“先连接后认证”的热点。终端接收到热点的管理帧后,如果在管理帧的指定字节中找到指定的“1”或“0”,则以此为依据可直接确认是否自动接入。
此外,凡是加密的热点一般都是不需要进行认证的(输入热点密码已经起到了认证的作用)。因此,本实施例可针对该特点,又提供一种接入方法,即所述参数信息包括所述目标热点的加密类型信息;上述步骤13中,若所述目标热点的加密类型信息指示该目标热点未被加密,则确定所述目标热点需要由用户选择接入。
可见,本实施例由用户来确认是否连接未加密的热点,从而防止终端在切换网络连接方式时中断当前运行的业务。
当然,作为一个实施例,可结合加密类型以及标识信息来判断目标热点是否需要认证。如图3所示,包括以下步骤:
步骤301:首先终端提供一个热点的扫描结果;
步骤302:之后判断扫描到的热点是否在终端保存过(终端只会自动接入之前接入过的热点),如果保存过则进入第二个判断,执行步骤303;
步骤303:判段是否包含热点类型信息,如果是,则执行步骤304,否则,执行步骤306;
这里,如果Beacon帧中没有包含能够直接指示热点是否为“先接入后认证”类型的标志信息,则执行步骤306。
步骤304:确定热点的类型信息,即确定热点是否属于“先接入后认证”的类型,如果是,则执行步骤305;
具体地,判断热点本身的Beacon帧中是否包含了用于直接指示热点是否为“先接入后认证”类型的标志信息,即上文所述的“0”或“1”,如果包含“0”则表示热点不需要进行认证,并自动接入扫描到的热点。
步骤305:热点需要进行认证,之后向用户进行提示,由用户手动选择是否接入扫描到的热点;
步骤306:确定是否为非加密热点,如果是,则执行步骤307;否则,执行步骤308;
具体地,如果扫描到的热点是加密的则自动接入,如果扫描到的热点是开放类型的则进入第四个判断,即执行步骤307。
步骤307:扫描到的热点的SSID和/或MAC地址是否存在于数据库,如果是,则执行步骤305;否则,执行步骤308;
具体地:如果在数据库中匹配找到相同的SSID和/或MAC地址,则向用户进行提示,由用户手动选择是否接入,即执行步骤305;如果在数据库中未匹配找到相同的SSID和/或MAC地址,则自动接入该扫描到的热点,即执行步骤308。
其中,步骤306与步骤307的执行顺序可以进行互换。
步骤308:连接热点。
下面结合一个实现方式对本实施例的方法进行详细介绍。
在用户打开终端的Wi-Fi功能时,本实施例的方法进入激活状态,并开始监听终端扫描Wi-Fi的结果信息。在收到Wi-Fi的扫描结果后,根据如下信息来判断是否自动连接热点:
S1,首先判断当前扫描到的Wi-Fi热点是否之前接入过,如果没有连接过则不自动接入,由用户手动接入并结束;如果之前连接过,则进入S2;在本步骤中,具体可根据终端热点的连接记录,确定扫描到的热点是否在之前就已连接过;
S2,读取Wi-Fi热点的Beacon管理帧,并判断其中是否包含自定义的标识信息字段。如果包含则直接根据这个字段来决定是否自动连接(字段为0自动连接,字段为1则不连接),如果不包含则进入S3。
S3,获取Wi-Fi热点的加密类型,因为需要在连接之后进行认证的Wi-Fi热点一般都是开放类型的热点,因此如果是加密类型的热点,则自动连接,否则进入S4。
S4,获取Wi-Fi热点的名称信息(SSID)以及MAC地址,然后在数据库中进行匹配查找,查找过程根据用户的设置会有优先级的变化,并使用SSID和MAC地址进行匹配。如果查找到匹配则不连接,否则自动连接。
S5,此步骤独立于上述步骤S1~S4,用户可以自己新增数据库中的Wi-Fi热点信息(可以在连接上一个热点后选择添加到数据库中),同时用户也可以将自己的数据库上传到云端共享给其他用户,当一个Wi-Fi热点被多个用户标记后则会进入云端数据库,用户可以选择从云端更新数据库信息。
综上所述,本实施例的方法与现有技术相比,会主动判断开放式热点是否会对接入的终端造成断网。对于不会造成断网的热点则自动接入,对于能够造成断网的热点则向用户进行提示,由用户进行手动接入,从而避免了终端因自动接入不能直接连网的热点而终端网络业务。
此外,如图4所示,本发明另一实施例提供一种热点接入装置,包括:
第一确定模块41,配置为确定终端扫描到的目标热点;
获取模块42,配置为若所述终端接入过所述目标热点,则获取所述目 标热点的参数信息;
处理模块43,配置为若根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,则不自动接入所述目标热点。
与现有技术相比,在实施例的装置中,当终端扫描到开放的热点后,并不会直接选择接入,而是根据热点的参数信息进行判断,对于终端接入后不能直接连网的热点则不主动接入,可避免中断终端当前运行的网络业务,让用户得到更好的上网体验。
其中,所述参数信息包括所述目标热点的标识信息;
所述处理模块43包括:
匹配子模块,配置为根据所述标识信息,在数据库中进行匹配查找;其中,所述数据库保存有需要所述终端先接入后进行认证连网的热点的标识信息;
第一确定子模块,配置为若在所述数据库中匹配查找到所述标识信息,则确定需要由用户控制所述终端接入所述目标热点。
其中,所述目标热点的标识信息保存在接收到的所述目标热点的管理帧的指定字节中。
其中,所述装置还包括:
添加模块,配置为根据用户操作,向所述数据库添加需要所述终端先接入后认证连网的热点的标识信息。
其中,所述参数信息包括所述目标热点的加密类型信息;
所述处理模块43还包括:
第二确定子模块,配置为若所述目标热点的加密类型信息指示该目标热点未被加密,则确定需要由用户控制所述终端接入所述目标热点。
其中,所述装置43还包括:
提示模块,配置为在确定需要由用户控制所述终端接入所述目标热点 后,向所述用户发送所述目标热点的接入提示,并根据用户针对所述接入提示的操作,确定是否接入所述目标热点。
显然,本实施例的热点接入装置与上文所述热点接入方法相对应,均能够达到同样的技术效果。
实际应用时,所述第一确定模块41、获取模块42、处理模块43、匹配子模块、第一确定子模块、添加模块、第二确定子模块、提示模块可由热点接入装置中的中央处理器(CPU,Central Processing Unit)、微处理器(MCU,Micro Control Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。
此外,本发明另一实施例提供一种终端,包括上述热点接入装置。所述终端可以是手机、pad等具有Wi-Fi功能智能设备。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
基于此,本发明又一实施例还提供一种计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行上述的热点接入方法。
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (14)

  1. 一种热点接入方法,应用于终端,所述方法包括:
    确定终端扫描到的目标热点;
    所述终端接入过所述目标热点时,获取所述目标热点的参数信息;
    根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点时,不自动接入所述目标热点。
  2. 根据权利要求1所述的方法,其中,
    所述参数信息包括所述目标热点的标识信息;
    所述根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,包括:
    根据所述标识信息,在数据库中进行匹配查找;其中,所述数据库保存有需要所述终端先接入后进行认证连网的热点的标识信息;在所述数据库中匹配查找到所述标识信息时,确定需要由用户控制所述终端接入所述目标热点。
  3. 根据权利要求2所述的方法,其中,
    所述目标热点的标识信息保存在接收到的所述目标热点的管理帧的指定字节中。
  4. 根据权利要求2所述的方法,其中,所述方法还包括:
    根据用户操作,向所述数据库添加需要所述终端先接入后认证连网的热点的标识信息。
  5. 根据权利要求1所述的方法,其中,
    所述参数信息包括所述目标热点的加密类型信息;
    所述根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点,包括:
    所述目标热点的加密类型信息指示所述目标热点未被加密时,确定需 要由用户控制所述终端接入所述目标热点。
  6. 根据权利要求2或5所述的方法,其中,所述方法还包括:
    确定需要由用户控制所述终端接入所述目标热点后,向所述用户发送所述目标热点的接入提示,并根据用户针对所述接入提示的操作,确定是否接入所述目标热点。
  7. 一种热点接入装置,应用于终端,包括:
    第一确定模块,配置为确定终端扫描到的目标热点;
    获取模块,配置为所述终端接入过所述目标热点时,获取所述目标热点的参数信息;
    处理模块,配置为根据所述参数信息,确定需要由用户控制所述终端接入所述目标热点时,不自动接入所述目标热点。
  8. 根据权利要求7所述的装置,其中,
    所述参数信息包括所述目标热点的标识信息;
    所述处理模块包括:
    匹配子模块,配置为根据所述标识信息,在数据库中进行匹配查找;其中,所述数据库保存有需要所述终端先接入后进行认证连网的热点的标识信息;
    第一确定子模块,配置为在所述数据库中匹配查找到所述标识信息时,确定需要由用户控制所述终端接入所述目标热点。
  9. 根据权利要求8所述的装置,其中,
    所述目标热点的标识信息保存在接收到的所述目标热点的管理帧的指定字节中。
  10. 根据权利要求8所述的装置,其中,所述装置还包括:
    添加模块,配置为根据用户操作,向所述数据库添加需要所述终端先接入后认证连网的热点的标识信息。
  11. 根据权利要求7所述的装置,其中,
    所述参数信息包括所述目标热点的加密类型信息;
    所述处理模块还包括:
    第二确定子模块,配置为所述目标热点的加密类型信息指示所述目标热点未被加密时,确定需要由用户控制所述终端接入所述目标热点。
  12. 根据权利要求8或11所述的装置,其中,所述装置还包括:
    提示模块,配置为确定需要由用户控制所述终端接入所述目标热点后,向所述用户发送所述目标热点的接入提示,并根据用户针对所述接入提示的操作,确定是否接入所述目标热点。
  13. 一种终端,包括如权利要求7-12任一项所述的热点接入装置。
  14. 一种计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行如权利要求1至6任一项所述的热点接入方法。
PCT/CN2015/076414 2015-01-16 2015-04-13 一种热点接入方法、装置、终端及计算机存储介质 WO2016112591A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510022068.4 2015-01-16
CN201510022068.4A CN105848251B (zh) 2015-01-16 2015-01-16 一种热点接入方法、装置及终端

Publications (1)

Publication Number Publication Date
WO2016112591A1 true WO2016112591A1 (zh) 2016-07-21

Family

ID=56405159

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2015/076414 WO2016112591A1 (zh) 2015-01-16 2015-04-13 一种热点接入方法、装置、终端及计算机存储介质
PCT/CN2015/089652 WO2016112706A1 (zh) 2015-01-16 2015-09-15 一种热点接入方法、装置及终端

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089652 WO2016112706A1 (zh) 2015-01-16 2015-09-15 一种热点接入方法、装置及终端

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636441A (zh) * 2018-11-06 2019-04-16 北京奇虎科技有限公司 广告投放方法及装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770495B (zh) * 2020-06-29 2023-06-02 中国联合网络通信集团有限公司 网络连接方法、移动终端、计算机设备及存储介质
CN114339957B (zh) * 2022-02-28 2024-05-10 深圳市元征科技股份有限公司 Wi-Fi热点连接方法、装置及终端设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083152A (zh) * 2011-03-07 2011-06-01 宇龙计算机通信科技(深圳)有限公司 无线局域网的热点切换方法和终端
CN102883320A (zh) * 2012-09-18 2013-01-16 东莞宇龙通信科技有限公司 WiFi鉴权方法及其系统
CN103139876A (zh) * 2011-11-24 2013-06-05 北京千橡网景科技发展有限公司 自适应地为移动终端选择无线接入模式的方法和装置
CN103686899A (zh) * 2012-09-25 2014-03-26 东莞宇龙通信科技有限公司 移动数据业务网络与wifi网络切换的方法及移动终端
CN104105167A (zh) * 2013-04-15 2014-10-15 中兴通讯股份有限公司 终端Wi-Fi热点接入处理方法及装置

Family Cites Families (3)

* 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 (zh) * 2009-08-26 2010-02-17 广州市动景计算机科技有限公司 一种用于移动通讯设备终端的网络切换方法及其系统
CN103997768B (zh) * 2014-05-16 2018-01-16 广东欧珀移动通信有限公司 一种防止接入无效Wi‑Fi热点的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083152A (zh) * 2011-03-07 2011-06-01 宇龙计算机通信科技(深圳)有限公司 无线局域网的热点切换方法和终端
CN103139876A (zh) * 2011-11-24 2013-06-05 北京千橡网景科技发展有限公司 自适应地为移动终端选择无线接入模式的方法和装置
CN102883320A (zh) * 2012-09-18 2013-01-16 东莞宇龙通信科技有限公司 WiFi鉴权方法及其系统
CN103686899A (zh) * 2012-09-25 2014-03-26 东莞宇龙通信科技有限公司 移动数据业务网络与wifi网络切换的方法及移动终端
CN104105167A (zh) * 2013-04-15 2014-10-15 中兴通讯股份有限公司 终端Wi-Fi热点接入处理方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636441A (zh) * 2018-11-06 2019-04-16 北京奇虎科技有限公司 广告投放方法及装置
CN109636441B (zh) * 2018-11-06 2023-12-19 三六零科技集团有限公司 广告投放方法及装置

Also Published As

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

Similar Documents

Publication Publication Date Title
US11736519B2 (en) Mobile communication method, apparatus, and device
CN111263334B (zh) 向移动无线设备配置电子用户身份模块
EP3151628B1 (en) Method, device and system for accessing a wireless network
US9749377B2 (en) Method and system for network access control
US20160242033A1 (en) Communication service using method and electronic device supporting the same
US20190268155A1 (en) Method for Ensuring Terminal Security and Device
EP1589703B1 (en) System and method for accessing a wireless network
US9826399B2 (en) Facilitating wireless network access by using a ubiquitous SSID
KR101743195B1 (ko) 정보 제공방법, 장치, 프로그램 및 기록매체
WO2018000834A1 (zh) 一种wifi热点信息修改方法及装置
JP2012054918A (ja) Wi−fiアクセス方法、アクセスポイント、及びwi−fiアクセスシステム
KR20100100641A (ko) 듀얼 모뎀 디바이스
WO2009000206A1 (fr) Procédé et système de commande d'accès de nœud initial b
WO2018010425A1 (zh) Wifi热点信息推送方法、接收方法、装置及存储介质
WO2018233726A1 (zh) 网络切片的认证方法及相应装置、系统和介质
WO2018076598A1 (zh) 接入点的接入方法、装置及系统
WO2016112591A1 (zh) 一种热点接入方法、装置、终端及计算机存储介质
KR101730954B1 (ko) 애플리케이션을 통한 보안 서비스 제공 시스템 및 방법, 그리고 이에 적용되는 장치
WO2019091458A1 (zh) 无线连接方法、无线接入点、终端和具有存储功能的装置
WO2017185460A1 (zh) 一种接入网络的方法、终端及接入点
KR102266044B1 (ko) 단말과 액세스 포인트의 연결 방법
KR101729661B1 (ko) 네트워크 접속 시스템 및 네트워크 접속 방법
CN107979838A (zh) 一种无线接入方法、装置、接入点设备及存储介质
CN114630311A (zh) 数据网络重鉴权方法、装置、设备及可读存储介质
WO2022037619A1 (zh) 鉴权失败的处理方法、装置、终端及网络侧设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15877509

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

Country of ref document: EP

Kind code of ref document: A1