WO2017140111A1 - 无线通讯网络的连接方法及装置 - Google Patents

无线通讯网络的连接方法及装置 Download PDF

Info

Publication number
WO2017140111A1
WO2017140111A1 PCT/CN2016/101180 CN2016101180W WO2017140111A1 WO 2017140111 A1 WO2017140111 A1 WO 2017140111A1 CN 2016101180 W CN2016101180 W CN 2016101180W WO 2017140111 A1 WO2017140111 A1 WO 2017140111A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
wireless communication
communication network
terminal
connection condition
Prior art date
Application number
PCT/CN2016/101180
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 WO2017140111A1 publication Critical patent/WO2017140111A1/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
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for connecting a wireless communication network.
  • SSIDs service set identifiers
  • FREE public free wireless fidelity
  • the terminal device needs to connect at least one SSID at a time to connect each hotspot of a different SSID. There is a certain inconvenience for people who use public hotspots frequently.
  • the embodiment of the invention provides a method and a device for connecting a wireless communication network, so as to at least solve the problem that the steps of the terminal connecting the wireless communication network in the related art are complicated.
  • a method for connecting a wireless communication network including:
  • the terminal accesses the first wireless communication network corresponding to the identifier information.
  • determining whether the identifier information meets the preset connection condition comprises:
  • Determining whether the content of the identifier information has a content of a predefined field in the preset connection condition wherein, if the content of the identifier field has content of the predefined field, determining that the identifier information meets Preset connection conditions.
  • determining whether the identifier information meets a preset connection condition includes:
  • the method further includes:
  • the terminal sends the first prompt information, where the first prompt information is information indicating whether the first wireless communication network is connected;
  • the terminal When the terminal receives the first connection information corresponding to the first prompt information, the terminal accesses the first wireless communication network, and the terminal receives the first prompt information corresponding to the first prompt information. In the case of rejecting the connection information, the terminal no longer accesses the first wireless communication network.
  • the method further includes:
  • the terminal When the terminal detects that the identifier information of the second wireless communication network meets the preset connection condition, the terminal sends a second prompt information, where the second prompt information is to prompt the user from the first Selecting, by the wireless communication network and the second wireless communication network, information of the terminal accessing the network;
  • the terminal When the terminal receives the second connection information corresponding to the second prompt information, the terminal accesses the first wireless communication network, and the terminal receives the second prompt information corresponding to the second prompt information. In the case of the third connection information, the terminal accesses the second wireless communication network.
  • the determining the preset connection condition includes:
  • the terminal receives setting information, wherein the setting information is used to add or modify the preset connection condition.
  • a connection device for a wireless communication network which is applied to a terminal, and includes:
  • An acquiring module configured to obtain identification information of the first wireless communication network scanned by the terminal
  • a determining module configured to determine whether the identifier information meets a preset connection condition
  • the access module is configured to access the first wireless communication network corresponding to the identifier information if the identifier information meets the preset connection condition.
  • the determining module includes:
  • a first determining unit configured to determine whether the content of the identifier information has a content of a predefined field in the preset connection condition, where, in a case where the content of the identifier information has content of the predefined field, Determining that the identification information meets the preset connection condition.
  • the determining module includes:
  • a second determining unit configured to determine whether the content of the predefined field set in the preset connection condition exists in the service set identifier SSID of the WiFi, where the preset connection condition is set in the SSID In the case of the content of the predefined field, it is determined that the identification information conforms to the preset connection condition.
  • the device further includes:
  • the first prompting module is configured to send the first prompt information after the identifier information meets the preset connection condition,
  • the first prompt information is information indicating whether the first wireless communication network is connected;
  • the first connection module is configured to access the first wireless communication network, and receive the first prompt information at the terminal, when the first connection information corresponding to the first prompt information is received In the case of corresponding reject connection information, the terminal is no longer connected to the first wireless communication network.
  • the device further includes:
  • the second prompting module is configured to: after the identifier information meets the preset connection condition, and after the terminal detects that the identifier information of the second wireless communication network meets the preset connection condition, issue a second prompt Information, wherein the second prompt information is information prompting a user to select the terminal to access the network from the first wireless communication network and the second wireless communication network;
  • the second connection module is configured to, when receiving the second connection information corresponding to the second prompt information, access the first wireless communication network, and receive the first corresponding to the second prompt information In the case of three connection information, the second wireless communication network is accessed.
  • the device further includes:
  • a setting module configured to receive setting information before acquiring the identification information of the first wireless communication network scanned by the terminal, wherein the setting information is used to add or modify the preset connection condition.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing the implementation of the connection method of the wireless communication network in the foregoing embodiment.
  • the terminal acquires the identifier information of the first wireless communication network scanned by the terminal, and determines whether the identifier information meets the preset connection condition. If the identifier information meets the preset connection condition, the terminal connects The first wireless communication network corresponding to the identification information solves the problem that the terminal is connected to the wireless communication network, and the terminal can conveniently and quickly connect to the wireless communication network.
  • FIG. 1 is a flow chart of a method for connecting a wireless communication network according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram 1 of a connection device of a wireless communication network according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram 2 of a connection apparatus of a wireless communication network according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram 3 of a connection apparatus of a wireless communication network according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram 4 of a connection apparatus of a wireless communication network according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram 5 of a connection apparatus of a wireless communication network according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram 6 of a connection apparatus of a wireless communication network according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a method for a terminal to connect to a WiFi according to a pre-made rule according to a preferred embodiment of the present invention
  • FIG. 9 is a flowchart of interaction between a system and an application according to a preferred embodiment of the present invention.
  • FIG. 10 is a flowchart of an application scenario according to a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for connecting a wireless communication network according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 The terminal acquires identification information of the first wireless communication network scanned by the terminal.
  • Step S104 determining whether the identifier information meets a preset connection condition
  • Step S106 If the identifier information meets the preset connection condition, the terminal accesses the first wireless communication network corresponding to the identifier information.
  • the terminal acquires the identifier information of the first wireless communication network scanned by the terminal; determines whether the identifier information meets the preset connection condition; and if the identifier information meets the preset connection condition, the terminal accesses and The first wireless communication network corresponding to the identification information solves the complicated problem that the terminal connects to the wireless communication network, and the terminal can conveniently and quickly connect to the wireless communication network.
  • determining whether the identifier information meets the preset connection condition comprises: determining whether the content of the identifier information has a content of a predefined field in the preset connection condition, where the predefined content exists in the content of the identifier information In the case of the content of the field, determining that the identifier information meets the preset connection condition; for example, if the first wireless communication network is wireless fidelity WiFi, determining whether the preset connection exists in the service set identifier SSID of the WiFi The content of the predefined field set in the condition, wherein, in the case that the content of the predefined field set in the preset connection condition exists in the SSID, determining that the identifier information meets the preset connection condition, for example, determining the SSID It contains the FREE word, which is generally a public free WiFi hotspot, and the terminal is connected to the free WiFi hotspot.
  • FREE word which is generally a public free WiFi hotspot
  • the terminal sends a first prompt information, where the first prompt information is information indicating whether to connect to the first wireless communication network; receiving at the terminal In the case of the first connection information corresponding to the first prompt information, the terminal accesses the first wireless communication network, and if the terminal receives the rejection connection information corresponding to the first prompt information, the terminal The first wireless communication network is no longer accessed. If the terminal finds that the Bluetooth name is included, a prompt message is sent to ask the user whether to connect to the Bluetooth.
  • the terminal sends a second prompt message, where
  • the second prompt information is information for prompting the user to select the terminal to access the network from the first wireless communication network and the second wireless communication network; and receiving, by the terminal, second connection information corresponding to the second prompt information.
  • the terminal accesses the first wireless communication network, and when the terminal receives the third connection information corresponding to the second prompt information, the terminal accesses the second wireless communication network, and when the terminal detects When there are two eligible WiFi, ask the user for comments, and the user decides which WiFi to connect to.
  • the determining the preset connection condition includes: the terminal receiving the setting information, wherein the setting information is used to add or modify the preset connection condition.
  • the preset connection condition is user-defined and has a higher degree of matching with the user.
  • a connection device of a wireless communication network is also provided, which is applied to a terminal, and the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • connection device of a wireless communication network includes:
  • the obtaining module 22 is configured to obtain identification information of the first wireless communication network scanned by the terminal;
  • the determining module 24 is connected to the obtaining module 22, and is configured to determine whether the identifier information meets a preset connection condition;
  • the access module 26 is connected to the determining module 24, and is configured to access the first wireless communication network corresponding to the identifier information if the identifier information meets the preset connection condition.
  • the obtaining module 22 obtains the identifier information of the first wireless communication network scanned by the terminal; the determining module 24 determines whether the identifier information meets the preset connection condition; and the access module 26 meets the preset connection condition in the identifier information.
  • the terminal accesses the first wireless communication network corresponding to the identification information, and solves the complicated problem that the terminal connects to the wireless communication network, and the terminal can conveniently and quickly connect to the wireless communication network.
  • FIG. 3 is a structural block diagram 2 of a connection apparatus of a wireless communication network according to an embodiment of the present invention.
  • the determining module 24 includes:
  • the first determining unit 32 is configured to determine whether the content of the identifier information has a content of a predefined field in the preset connection condition, where the identifier is determined if the content of the identifier field exists in the content of the identifier information The information conforms to the preset connection condition.
  • the determining module 24 includes:
  • the second determining unit 42 is configured to determine whether the content of the predefined field set in the preset connection condition exists in the service set identifier SSID of the WiFi, where the pre-defined in the preset connection condition exists in the SSID Within the field In the case of capacity, it is determined that the identification information meets the preset connection condition.
  • FIG. 5 is a structural block diagram 4 of a connection apparatus of a wireless communication network according to an embodiment of the present invention. As shown in FIG. 5, the apparatus further includes:
  • the first prompting module 52 is configured to: after the identifier information meets the preset connection condition, issue the first prompt information, where the first prompt information is information indicating whether the first wireless communication network is connected;
  • the first connection module 54 is connected to the first prompting module 52, and is configured to access the first wireless communication network and receive the first wireless communication network after receiving the first connection information corresponding to the first prompt information. In the case of rejecting the connection information corresponding to the first prompt information, the terminal is no longer connected to the first wireless communication network.
  • FIG. 6 is a structural block diagram 5 of a connection apparatus of a wireless communication network according to an embodiment of the present invention. As shown in FIG. 6, the apparatus further includes:
  • the second prompting module 62 is configured to: after the identifier information meets the preset connection condition, and after the terminal detects that the identifier information of the second wireless communication network meets the preset connection condition, issue the second prompt information, where The second prompt information is information for prompting the user to select the terminal to access the network from the first wireless communication network and the second wireless communication network;
  • the second connection module 64 is connected to the second prompting module 62, and is configured to access the first wireless communication network when receiving the second connection information corresponding to the second prompt information, and receive the In the case of the third connection information corresponding to the second prompt information, the second wireless communication network is accessed.
  • FIG. 7 is a structural block diagram 6 of a connection apparatus of a wireless communication network according to an embodiment of the present invention. As shown in FIG. 7, the apparatus further includes:
  • the setting module 72 is configured to receive the setting information before acquiring the identification information of the first wireless communication network scanned by the terminal, wherein the setting information is used to add or modify the preset connection condition.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are respectively located. Different processors.
  • a preferred embodiment of the present invention describes a method for a terminal to connect to WiFi according to a pre-made rule: one or more methods are provided by a terminal application (an application that implements the method of the preferred embodiment of the present invention) or manually added by an application in an application.
  • Connection rules the content of these rules can be "automatically try to connect hotspots with the word 'FREE'" and / or “discover the hotspot with the word 'FREE” and prompt the user to connect" (here "FREE” is only Examples include, but are not limited to, applications that have built-in common characters for users to choose from, and users can add them themselves.
  • the application can automatically try to connect or prompt the user to connect to the hotspot of the corresponding SSID according to the rules.
  • FIG. 8 is a schematic flowchart of a method for a terminal to connect to a WiFi according to a pre-made rule according to a preferred embodiment of the present invention. As shown in FIG. 8 , the steps are as follows:
  • S806 Perform corresponding operations according to the content of the rule, such as connecting to a corresponding hotspot that meets the rule or prompting the user to manually connect.
  • the system in this embodiment may be an Android operating system, and the step S805 may be changed according to different systems, different scenarios, or the like.
  • the rules in this embodiment refer to WiFi connection rules built in or input by the user. .
  • FIG. 9 is a flowchart of interaction between a system and an application according to a preferred embodiment of the present invention. As shown in FIG. 9, the steps are as follows:
  • S901 The application registers a WiFi-related listener with the system, including WiFi status monitoring, WiFi scan result monitoring, and the like;
  • the system then sends a broadcast with the scan result when the WiFi scan result is updated;
  • the application determines whether to connect to the WiFi according to the rule and the user's selection.
  • the terminal automatically connects to the WiFi.
  • FIG. 10 is a flowchart of an application scenario according to a preferred embodiment of the present invention. As shown in FIG. 10, the steps are as follows:
  • the user adds a rule in the terminal: "Automatically connect the open hotspot with the word 'FREE' in the SSID";
  • the preferred embodiment of the present invention implements a method for automatically connecting public open WiFi, which can improve the convenience of use and improve the usage rate of public open WiFi.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the terminal acquires identifier information of the first wireless communication network scanned by the terminal.
  • the terminal accesses the first wireless communication network corresponding to the identifier information.
  • the storage medium is further arranged to store program code for performing the method steps of the above-described embodiments:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs the method steps of the foregoing embodiments according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the terminal acquires the identifier information of the first wireless communication network scanned by the terminal, and determines whether the identifier information meets the preset connection condition. If the identifier information meets the preset connection condition, the terminal connects The first wireless communication network corresponding to the identification information solves the problem that the terminal is connected to the wireless communication network, and the terminal can conveniently and quickly connect to the wireless communication network.

Landscapes

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

Abstract

本发明提供了一种无线通讯网络的连接方法及装置,其中,该方法包括:终端获取该终端扫描到的第一无线通讯网络的标识信息,判断该标识信息是否符合预设连接条件,在该标识信息符合该预设连接条件的情况下,该终端接入与该标识信息对应的第一无线通讯网络。采用上述技术方案,解决了终端连接无线通讯网络步骤复杂的问题,终端可以方便快捷地连接无线通讯网络。

Description

无线通讯网络的连接方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及一种无线通讯网络的连接方法及装置。
背景技术
现在公共的免费无线保真(Wireless Fidelity,简称为WiFi)越来越多,这些开放热点的服务集标识(Service Set Identifier,简称为SSID)随地点、运营商、商家等不同而不同,但它们也有一些相似性,如某城市的公共热点的SSID中带有城市名的拼音;有一些公共热点的SSID中带有“FREE”等字符等。
在相关技术中,终端设备要连接每一个不同SSID的热点都要至少手动连接一次这个SSID。对于经常使用公共热点的人有一定的不便。
针对相关技术中,终端连接无线通讯网络步骤复杂的问题,目前还没有有效地解决方案。
发明内容
本发明实施例提供了一种无线通讯网络的连接方法及装置,以至少解决相关技术中终端连接无线通讯网络步骤复杂的问题。
根据本发明的一个实施例,提供了一种无线通讯网络的连接方法,包括:
终端获取所述终端扫描到的第一无线通讯网络的标识信息;
判断所述标识信息是否符合预设连接条件;
在所述标识信息符合所述预设连接条件的情况下,所述终端接入与所述标识信息对应的第一无线通讯网络。
进一步地,判断所述标识信息是否符合预设连接条件包括:
判断所述标识信息的内容是否存在所述预设连接条件中预定义字段的内容,其中,在所述标识信息的内容存在所述预定义字段的内容的情况下,确定所述标识信息符合所述预设连接条件。
进一步地,当所述第一无线通讯网络是无线保真WiFi的情况下,判断所述标识信息是否符合预设连接条件包括:
判断所述WiFi的服务集标识SSID中是否存在所述预设连接条件中设置的预定义字段的内容,其中,在所述SSID中存在所述预设连接条件中设置的预定义字段的内容的情况下,确定所述标识信息符合所述预设连接条件。
进一步地,在所述标识信息符合所述预设连接条件之后,所述方法还包括:
所述终端发出第一提示信息,其中,所述第一提示信息是提示是否连接所述第一无线通讯网络的信息;
在所述终端接收到与所述第一提示信息对应的第一连接信息的情况下,所述终端接入所述第一无线通讯网络,在所述终端接收到与所述第一提示信息对应的拒绝连接信息的情况下,所述终端不再接入所述第一无线通讯网络。
进一步地,在所述标识信息符合所述预设连接条件之后,所述方法还包括:
在所述终端检测到第二无线通讯网络的标识信息符合所述预设连接条件的情况下,所述终端发出第二提示信息,其中,所述第二提示信息是提示用户从所述第一无线通讯网络和所述第二无线通讯网络中选择所述终端接入网络的信息;
在所述终端接收到与所述第二提示信息对应的第二连接信息的情况下,所述终端接入所述第一无线通讯网络,在所述终端接收到与所述第二提示信息对应的第三连接信息的情况下,所述终端接入所述第二无线通讯网络。
进一步地,所述预设连接条件的确定方式包括:
所述终端接收设置信息,其中,所述设置信息用于添加或修改所述预设连接条件。
根据本发明的另一实施例,提供了一种无线通讯网络的连接装置,应用于终端,包括:
获取模块,设置为获取所述终端扫描到的第一无线通讯网络的标识信息;
判断模块,设置为判断所述标识信息是否符合预设连接条件;
接入模块,设置为在所述标识信息符合所述预设连接条件的情况下,接入与所述标识信息对应的第一无线通讯网络。
进一步地,所述判断模块包括:
第一判断单元,设置为判断所述标识信息的内容是否存在所述预设连接条件中预定义字段的内容,其中,在所述标识信息的内容存在所述预定义字段的内容的情况下,确定所述标识信息符合所述预设连接条件。
进一步地,当所述第一无线通讯网络是无线保真WiFi的情况下,所述判断模块包括:
第二判断单元,设置为判断所述WiFi的服务集标识SSID中是否存在所述预设连接条件中设置的预定义字段的内容,其中,在所述SSID中存在所述预设连接条件中设置的预定义字段的内容的情况下,确定所述标识信息符合所述预设连接条件。
进一步地,所述装置还包括:
第一提示模块,设置为在所述标识信息符合所述预设连接条件之后,发出第一提示信息, 其中,所述第一提示信息是提示是否连接所述第一无线通讯网络的信息;
第一连接模块,设置为在接收到与所述第一提示信息对应的第一连接信息的情况下,接入所述第一无线通讯网络,在所述终端接收到与所述第一提示信息对应的拒绝连接信息的情况下,所述终端不再接入所述第一无线通讯网络。
进一步地,所述装置还包括:
第二提示模块,设置为在所述标识信息符合所述预设连接条件之后,在所述终端检测到第二无线通讯网络的标识信息符合所述预设连接条件的情况下,发出第二提示信息,其中,所述第二提示信息是提示用户从所述第一无线通讯网络和所述第二无线通讯网络中选择所述终端接入网络的信息;
第二连接模块,设置为在接收到与所述第二提示信息对应的第二连接信息的情况下,接入所述第一无线通讯网络,在接收到与所述第二提示信息对应的第三连接信息的情况下,接入所述第二无线通讯网络。
进一步地,所述装置还包括:
设置模块,设置为在获取所述终端扫描到的第一无线通讯网络的标识信息之前,接收设置信息,其中,所述设置信息用于添加或修改所述预设连接条件。
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的无线通讯网络的连接方法的实现。
通过本发明实施例,终端获取该终端扫描到的第一无线通讯网络的标识信息,判断该标识信息是否符合预设连接条件,在该标识信息符合该预设连接条件的情况下,该终端接入与该标识信息对应的第一无线通讯网络,解决了终端连接无线通讯网络步骤复杂的问题,终端可以方便快捷地连接无线通讯网络。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的一种无线通讯网络的连接方法流程图;
图2是根据本发明实施例的一种无线通讯网络的连接装置的结构框图一;
图3是根据本发明实施例的一种无线通讯网络的连接装置的结构框图二;
图4是根据本发明实施例的一种无线通讯网络的连接装置的结构框图三;
图5是根据本发明实施例的一种无线通讯网络的连接装置的结构框图四;
图6是根据本发明实施例的一种无线通讯网络的连接装置的结构框图五;
图7是根据本发明实施例的一种无线通讯网络的连接装置的结构框图六;
图8为本发明优选实施例提供的一种终端按照预制规则连接WiFi的方法流程示意图;
图9为本发明优选实施例提供的一种系统与应用交互流程图;
图10为本发明优选实施例提供的一种应用场景实施例流程图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种无线通讯网络的连接方法,图1是根据本发明实施例的一种无线通讯网络的连接方法流程图,如图1所示,该流程包括如下步骤:
步骤S102,终端获取该终端扫描到的第一无线通讯网络的标识信息;
步骤S104,判断该标识信息是否符合预设连接条件;
步骤S106,在该标识信息符合该预设连接条件的情况下,该终端接入与该标识信息对应的第一无线通讯网络。
通过上述步骤,终端获取该终端扫描到的第一无线通讯网络的标识信息;判断该标识信息是否符合预设连接条件;在该标识信息符合该预设连接条件的情况下,该终端接入与该标识信息对应的第一无线通讯网络,解决了终端连接无线通讯网络步骤复杂的问题,终端可以方便快捷地连接无线通讯网络。
在本实施例中,判断该标识信息是否符合预设连接条件包括:判断该标识信息的内容是否存在该预设连接条件中预定义字段的内容,其中,在该标识信息的内容存在该预定义字段的内容的情况下,确定该标识信息符合该预设连接条件;例如当该第一无线通讯网络是无线保真WiFi的情况下,判断该WiFi的服务集标识SSID中是否存在该预设连接条件中设置的预定义字段的内容,其中,在该SSID中存在该预设连接条件中设置的预定义字段的内容的情况下,确定该标识信息符合该预设连接条件,比如判断到该SSID中含有FREE字样,一般为公共免费WiFi热点,终端连接到该免费WiFi热点。
在本实施例中,在该标识信息符合该预设连接条件之后,该终端发出第一提示信息,其中,该第一提示信息是提示是否连接该第一无线通讯网络的信息;在该终端接收到与该第一提示信息对应的第一连接信息的情况下,该终端接入该第一无线通讯网络,在该终端接收到与该第一提示信息对应的拒绝连接信息的情况下,该终端不再接入该第一无线通讯网络,如终端发现含有约定好的蓝牙名称时,发出提示信息,询问用户是否连接到该蓝牙。
在本实施例中,在该标识信息符合该预设连接条件之后,在该终端检测到第二无线通讯网络的标识信息符合该预设连接条件的情况下,该终端发出第二提示信息,其中,该第二提示信息是提示用户从该第一无线通讯网络和该第二无线通讯网络中选择该终端接入网络的信息;在该终端接收到与该第二提示信息对应的第二连接信息的情况下,该终端接入该第一无线通讯网络,在该终端接收到与该第二提示信息对应的第三连接信息的情况下,该终端接入该第二无线通讯网络,当终端检测到有两个符合条件的WiFi时,询问用户意见,由用户决定连接哪个WiFi。
在本实施例中,该预设连接条件的确定方式包括:该终端接收设置信息,其中,该设置信息用于添加或修改该预设连接条件。该预设连接条件由用户自定义设置,与用户的匹配度更高。
在本实施例中还提供了一种无线通讯网络的连接装置,应用于终端,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例的一种无线通讯网络的连接装置的结构框图一,如图2所示,该装置包括:
获取模块22,设置为获取该终端扫描到的第一无线通讯网络的标识信息;
判断模块24,与该获取模块22连接,设置为判断该标识信息是否符合预设连接条件;
接入模块26,与该判断模块24连接,设置为在该标识信息符合该预设连接条件的情况下,接入与该标识信息对应的第一无线通讯网络。
通过上述步骤,获取模块22获取该终端扫描到的第一无线通讯网络的标识信息;判断模块24判断该标识信息是否符合预设连接条件;接入模块26在该标识信息符合该预设连接条件的情况下,该终端接入与该标识信息对应的第一无线通讯网络,解决了终端连接无线通讯网络步骤复杂的问题,终端可以方便快捷地连接无线通讯网络。
图3是根据本发明实施例的一种无线通讯网络的连接装置的结构框图二,如图3所示,该判断模块24包括:
第一判断单元32,设置为判断该标识信息的内容是否存在该预设连接条件中预定义字段的内容,其中,在该标识信息的内容存在该预定义字段的内容的情况下,确定该标识信息符合该预设连接条件。
图4是根据本发明实施例的一种无线通讯网络的连接装置的结构框图三,如图4所示,当该第一无线通讯网络是无线保真WiFi的情况下,该判断模块24包括:
第二判断单元42,设置为判断该WiFi的服务集标识SSID中是否存在该预设连接条件中设置的预定义字段的内容,其中,在该SSID中存在该预设连接条件中设置的预定义字段的内 容的情况下,确定该标识信息符合该预设连接条件。
图5是根据本发明实施例的一种无线通讯网络的连接装置的结构框图四,如图5所示,该装置还包括:
第一提示模块52,设置为在该标识信息符合该预设连接条件之后,发出第一提示信息,其中,该第一提示信息是提示是否连接该第一无线通讯网络的信息;
第一连接模块54,与该第一提示模块52连接,设置为在接收到与该第一提示信息对应的第一连接信息的情况下,接入该第一无线通讯网络,在该终端接收到与该第一提示信息对应的拒绝连接信息的情况下,该终端不再接入该第一无线通讯网络。
图6是根据本发明实施例的一种无线通讯网络的连接装置的结构框图五,如图6所示,该装置还包括:
第二提示模块62,设置为在该标识信息符合该预设连接条件之后,在该终端检测到第二无线通讯网络的标识信息符合该预设连接条件的情况下,发出第二提示信息,其中,该第二提示信息是提示用户从该第一无线通讯网络和该第二无线通讯网络中选择该终端接入网络的信息;
第二连接模块64,与该第二提示模块62连接,设置为在接收到与该第二提示信息对应的第二连接信息的情况下,接入该第一无线通讯网络,在接收到与该第二提示信息对应的第三连接信息的情况下,接入该第二无线通讯网络。
图7是根据本发明实施例的一种无线通讯网络的连接装置的结构框图六,如图7所示,该装置还包括:
设置模块72,设置为在获取该终端扫描到的第一无线通讯网络的标识信息之前,接收设置信息,其中,该设置信息用于添加或修改该预设连接条件。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述各个模块均位于同一处理器中;或者,上述各个模块分别位于不同的处理器中。
下面结合本发明优选实施例进行详细说明。
本发明优选实施例描述了一种终端按照预制规则连接WiFi的方法:由终端应用(实现了本发明优选实施例所述方法的应用)内置或用户手动在应用中添加的方式给出一个或多个连接规则,这些规则的内容可以是“自动尝试连接带有‘FREE’字样的热点”和/或“发现带有‘FREE’字样的热点后提示用户连接”等(这里的“FREE”仅为示例,包括但不限于此,应用可内置常用字符供用户选择,用户也可以自己添加)。当符合规则的情况出现时,应用就可以按照规则自动尝试连接或提示用户连接相应SSID的热点。
图8为本发明优选实施例提供的一种终端按照预制规则连接WiFi的方法流程示意图,如图8所示,步骤如下:
S801,应用内置连接规则;
S802,用户在应用内手动添加或修改连接规则;
S803,接收系统底层的WiFi模块发送过来的WiFi扫描结果;
S804,判断这些WiFi扫描结果中是否有符合规则的热点;
S805,判断当前条件是否适合连接符合规则的热点,如是否用户已主动连接至其他热点等;
S806,根据规则的内容做出相应的操作,如连接至符合规则的相应热点或提示用户手动连接等。
本实施例中的系统可以是Android操作系统,S805步骤可以根据系统的不同、所处情景的不同等有所变化或省略此步骤,本实施例中的规则指应用内置或用户输入的WiFi连接规则。
系统以Android为例,图9为本发明优选实施例提供的一种系统与应用交互流程图,如图9所示,步骤如下:
S901,应用向系统注册WiFi相关监听器,包括WiFi状态监听、WiFi扫描结果监听等;
S902,然后系统在WiFi扫描结果更新时发送带有扫描结果的广播;
S903,在WiFi状态改变时发送带有WiFi状态信息的广播;
S904,应用根据规则和用户的选择决定是否连接WiFi。
在应用完成上述步骤S904后,本发明优选实施例的目的就实现了:终端自动连接WiFi。
图10为本发明优选实施例提供的一种应用场景实施例流程图,如图10所示,步骤如下:
S1001,用户在终端添加一条规则:“自动连接SSID中带有‘FREE’字样的开放热点”;
S1002,当应用接收到WiFi扫描结果后;
S1003,对比每一条信息是否符合规则,当扫描结果中有一条信息为“CMCC-FREE”时,应用发现这条信息符合用户添加的规则;
S1004,应用自动连接到这个热点CMCC-FREE。
实际应用本发明优选实施例提供的方法时,可能会遇到各种冲突,如同时有几条规则,它们之间可能有重合或冲突的部分,这需要在具体实现应用时做好处理。但这并不影像本发明的核心方法。
另外,实际生活中,大部分公共开放WiFi需要二次认证,如门户网站Web Portal认证等。在使用本发明所述的方法连接到公共WiFi后,可能并不能直接上网,但这并不妨碍本发明所提供的便捷性,同时这种情况也可以通过在应用中引导用户进行二次认证来解决。
本发明优选实施例实现了自动连接公共开放WiFi的一种方法,能提高使用的便捷性,提高公共开放WiFi的使用率。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,终端获取该终端扫描到的第一无线通讯网络的标识信息;
S2,判断该标识信息是否符合预设连接条件;
S3,在该标识信息符合该预设连接条件的情况下,该终端接入与该标识信息对应的第一无线通讯网络。
可选地,存储介质还被设置为存储用于执行上述实施例的方法步骤的程序代码:
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例的方法步骤。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
通过本发明实施例,终端获取该终端扫描到的第一无线通讯网络的标识信息,判断该标识信息是否符合预设连接条件,在该标识信息符合该预设连接条件的情况下,该终端接入与该标识信息对应的第一无线通讯网络,解决了终端连接无线通讯网络步骤复杂的问题,终端可以方便快捷地连接无线通讯网络。

Claims (12)

  1. 一种无线通讯网络的连接方法,包括:
    终端获取所述终端扫描到的第一无线通讯网络的标识信息;
    判断所述标识信息是否符合预设连接条件;
    在所述标识信息符合所述预设连接条件的情况下,所述终端接入与所述标识信息对应的第一无线通讯网络。
  2. 根据权利要求1所述的方法,其中,判断所述标识信息是否符合预设连接条件包括:
    判断所述标识信息的内容是否存在所述预设连接条件中预定义字段的内容,其中,在所述标识信息的内容存在所述预定义字段的内容的情况下,确定所述标识信息符合所述预设连接条件。
  3. 根据权利要求2所述的方法,其中,当所述第一无线通讯网络是无线保真WiFi的情况下,判断所述标识信息是否符合预设连接条件包括:
    判断所述WiFi的服务集标识SSID中是否存在所述预设连接条件中设置的预定义字段的内容,其中,在所述SSID中存在所述预设连接条件中设置的预定义字段的内容的情况下,确定所述标识信息符合所述预设连接条件。
  4. 根据权利要求1所述的方法,其中,在所述标识信息符合所述预设连接条件之后,所述方法还包括:
    所述终端发出第一提示信息,其中,所述第一提示信息是提示是否连接所述第一无线通讯网络的信息;
    在所述终端接收到与所述第一提示信息对应的第一连接信息的情况下,所述终端接入所述第一无线通讯网络,在所述终端接收到与所述第一提示信息对应的拒绝连接信息的情况下,所述终端不再接入所述第一无线通讯网络。
  5. 根据权利要求1所述的方法,其中,在所述标识信息符合所述预设连接条件之后,所述方法还包括:
    在所述终端检测到第二无线通讯网络的标识信息符合所述预设连接条件的情况下,所述终端发出第二提示信息,其中,所述第二提示信息是提示用户从所述第一无线通讯网络和所述第二无线通讯网络中选择所述终端接入网络的信息;
    在所述终端接收到与所述第二提示信息对应的第二连接信息的情况下,所述终端接入所述第一无线通讯网络,在所述终端接收到与所述第二提示信息对应的第三连接信息的情况下,所述终端接入所述第二无线通讯网络。
  6. 根据权利要求1所述的方法,其中,所述预设连接条件的确定方式包括:
    所述终端接收设置信息,其中,所述设置信息用于添加或修改所述预设连接条件。
  7. 一种无线通讯网络的连接装置,应用于终端,包括:
    获取模块,设置为获取所述终端扫描到的第一无线通讯网络的标识信息;
    判断模块,设置为判断所述标识信息是否符合预设连接条件;
    接入模块,设置为在所述标识信息符合所述预设连接条件的情况下,接入与所述标识信息对应的第一无线通讯网络。
  8. 根据权利要求7所述的装置,其中,所述判断模块包括:
    第一判断单元,设置为判断所述标识信息的内容是否存在所述预设连接条件中预定义字段的内容,其中,在所述标识信息的内容存在所述预定义字段的内容的情况下,确定所述标识信息符合所述预设连接条件。
  9. 根据权利要求8所述的装置,其中,当所述第一无线通讯网络是无线保真WiFi的情况下,所述判断模块包括:
    第二判断单元,设置为判断所述WiFi的服务集标识SSID中是否存在所述预设连接条件中设置的预定义字段的内容,其中,在所述SSID中存在所述预设连接条件中设置的预定义字段的内容的情况下,确定所述标识信息符合所述预设连接条件。
  10. 根据权利要求7所述的装置,其中,所述装置还包括:
    第一提示模块,设置为在所述标识信息符合所述预设连接条件之后,发出第一提示信息,其中,所述第一提示信息是提示是否连接所述第一无线通讯网络的信息;
    第一连接模块,设置为在接收到与所述第一提示信息对应的第一连接信息的情况下,接入所述第一无线通讯网络,在所述终端接收到与所述第一提示信息对应的拒绝连接信息的情况下,所述终端不再接入所述第一无线通讯网络。
  11. 根据权利要求7所述的装置,其中,所述装置还包括:
    第二提示模块,设置为在所述标识信息符合所述预设连接条件之后,在所述终端检测到第二无线通讯网络的标识信息符合所述预设连接条件的情况下,发出第二提示信息,其中,所述第二提示信息是提示用户从所述第一无线通讯网络和所述第二无线通讯网络中选择所述终端接入网络的信息;
    第二连接模块,设置为在接收到与所述第二提示信息对应的第二连接信息的情况下,接入所述第一无线通讯网络,在接收到与所述第二提示信息对应的第三连接信息的情况下,接入所述第二无线通讯网络。
  12. 根据权利要求7所述的装置,其中,所述装置还包括:
    设置模块,设置为在获取所述终端扫描到的第一无线通讯网络的标识信息之前,接收设置信息,其中,所述设置信息用于添加或修改所述预设连接条件。
PCT/CN2016/101180 2016-02-16 2016-09-30 无线通讯网络的连接方法及装置 WO2017140111A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610088137.6 2016-02-16
CN201610088137.6A CN105578570A (zh) 2016-02-16 2016-02-16 无线通讯网络的连接方法及装置

Publications (1)

Publication Number Publication Date
WO2017140111A1 true WO2017140111A1 (zh) 2017-08-24

Family

ID=55888102

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101180 WO2017140111A1 (zh) 2016-02-16 2016-09-30 无线通讯网络的连接方法及装置

Country Status (2)

Country Link
CN (1) CN105578570A (zh)
WO (1) WO2017140111A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578570A (zh) * 2016-02-16 2016-05-11 中兴通讯股份有限公司 无线通讯网络的连接方法及装置
CN106559542A (zh) * 2016-11-30 2017-04-05 努比亚技术有限公司 一种终端和骚扰拦截方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060209773A1 (en) * 2004-12-28 2006-09-21 Hundal Sukhdeep S Method and system for enhanced wireless communications
CN103458409A (zh) * 2013-08-19 2013-12-18 小米科技有限责任公司 网络连接方法、网络共享方法及装置
CN103561404A (zh) * 2013-10-22 2014-02-05 宇龙计算机通信科技(深圳)有限公司 一种接入网络的方法及装置
CN104601262A (zh) * 2013-10-30 2015-05-06 联想(北京)有限公司 一种信息处理方法和移动设备
CN104640174A (zh) * 2015-02-05 2015-05-20 腾讯科技(深圳)有限公司 无线网络接入点提示方法和装置
CN105578570A (zh) * 2016-02-16 2016-05-11 中兴通讯股份有限公司 无线通讯网络的连接方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5842362B2 (ja) * 2011-03-31 2016-01-13 富士通株式会社 プログラム、情報通信機器および連携方法
CN103687048A (zh) * 2012-08-30 2014-03-26 光宝电子(广州)有限公司 具有自动联机设定的无线装置、无线网络架构及连网方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060209773A1 (en) * 2004-12-28 2006-09-21 Hundal Sukhdeep S Method and system for enhanced wireless communications
CN103458409A (zh) * 2013-08-19 2013-12-18 小米科技有限责任公司 网络连接方法、网络共享方法及装置
CN103561404A (zh) * 2013-10-22 2014-02-05 宇龙计算机通信科技(深圳)有限公司 一种接入网络的方法及装置
CN104601262A (zh) * 2013-10-30 2015-05-06 联想(北京)有限公司 一种信息处理方法和移动设备
CN104640174A (zh) * 2015-02-05 2015-05-20 腾讯科技(深圳)有限公司 无线网络接入点提示方法和装置
CN105578570A (zh) * 2016-02-16 2016-05-11 中兴通讯股份有限公司 无线通讯网络的连接方法及装置

Also Published As

Publication number Publication date
CN105578570A (zh) 2016-05-11

Similar Documents

Publication Publication Date Title
RU2603496C2 (ru) Беспроводной сетевой интерфейс с инфраструктурными и прямыми режимами
JP6626462B2 (ja) 無線ネットワークアクセスおよび無線データトラヒックを制御する装置および方法
US9659419B2 (en) Method of controlling mobile terminal based on location information and applying security policy based on priority rules, and system thereof
JP2019537805A (ja) 外部デバイスを制御するサーバ及びその方法
WO2017125025A1 (zh) 寻呼的方法、装置、系统及存储介质
US9380516B2 (en) Local wireless data communication system, and method and apparatus for automatically setting information in the system
US20180103499A1 (en) Control method for bluetooth communication and bluetooth low energy communication
US11070433B2 (en) Network function NF management method and NF management device
WO2020007158A1 (zh) 一种网络接入方法及装置
WO2018103405A1 (zh) 识别接入点和热点的方法及相关产品
WO2019011203A1 (zh) 设备接入方法、设备及系统
JP6001099B2 (ja) ピアツーピア接続を実行するためのシステム及び方法
US9516684B2 (en) Data transmission method, data acquiring method, and electronic device
CN110267314B (zh) 切换网络切片的方法及装置
WO2017182002A1 (zh) 一种设备控制方法、装置及存储介质
JP2016144205A (ja) 信号強度を用いた無線lanの接続方法
WO2017140111A1 (zh) 无线通讯网络的连接方法及装置
WO2014199537A1 (ja) 無線通信装置、無線通信方法、および無線通信制御プログラム
US10200864B2 (en) Method and device for managing wireless access point
US20140068058A1 (en) Usage-based sorting of local network services
WO2016172948A1 (zh) 路由信息配置方法及装置
US20180376285A1 (en) Method and device for implementing internet services
JP6301446B2 (ja) Uiccによる非同期コマンド処理をサポートするアクセス端末の中にuiccとプロセッサとの間のインターフェースを設けるための方法および装置
KR102195475B1 (ko) 서버, IoT 디바이스, 및 그 동작 방법
US9723644B2 (en) Access point and control method thereof

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

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

Country of ref document: EP

Kind code of ref document: A1