WO2017181919A1 - Method of connecting to wireless local area network, device, and system - Google Patents

Method of connecting to wireless local area network, device, and system Download PDF

Info

Publication number
WO2017181919A1
WO2017181919A1 PCT/CN2017/080714 CN2017080714W WO2017181919A1 WO 2017181919 A1 WO2017181919 A1 WO 2017181919A1 CN 2017080714 W CN2017080714 W CN 2017080714W WO 2017181919 A1 WO2017181919 A1 WO 2017181919A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
initiator
current
identifier
local area
Prior art date
Application number
PCT/CN2017/080714
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 WO2017181919A1 publication Critical patent/WO2017181919A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The application provides a method of connecting to a wireless local area network (WLAN), a device, and a system. The application is applicable to an initiator in a WLAN. The method comprises: determining current data corresponding to a current scenario and comprising a current identification information set; transmitting, when the initiator is a network access point, in WLAN coverage, a management frame comprising the current data and an initiator identifier; receiving a connection request transmitted by a terminal in the WLAN coverage, wherein the connection request is transmitted to the initiator when the terminal determines that the terminal is located in a terminal allowable range and a second predefined condition is satisfied; and connecting the initiator and the terminal to establish a WLAN connection therebetween. In the application, the method can achieve the goal of an initiator flexibly changing according to different scenarios a participator connected to a WLAN, so as to meet connection requirements for the different scenarios.

Description

一种无线局域网连接方法、装置及系统Wireless local area network connection method, device and system
本申请要求于2016年4月18日提交中国专利局、申请号为201610243703.6、发明名称为“一种无线局域网连接方法、装置及系统”的中国专利申请的优先权,其全部内容引用在本申请中。The present application claims priority to Chinese Patent Application No. PCT Application No. No. No. No. No. No. No. No. No. No. No. in.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种无线局域网连接方法、装置及系统。The present application relates to the field of communications technologies, and in particular, to a wireless local area network connection method, apparatus, and system.
背景技术Background technique
目前,在家庭或公司中经常使用无线局域网,一些设备可以发出无线局域网,例如,无线路由器、开放热点的移动设备等;其它设备可以连接无线局域网。为了方便描述,将发出无线局域网的设备称为发起方,将连接无线局域网的其它设备称为参与方。例如,以移动设备连接无线路由器为例,无线路由器则称为发起方,移动设备称为参与方。再如,以移动设备A向移动设备B开放热点为例,移动设备A称为发起方,移动设备B称为参与方。Currently, wireless LANs are often used in homes or companies, and some devices can issue wireless local area networks, such as wireless routers, mobile devices that open hotspots, etc.; other devices can connect to a wireless local area network. For convenience of description, a device that issues a wireless local area network is referred to as an initiator, and other devices that are connected to a wireless local area network are referred to as parties. For example, a mobile device is connected to a wireless router as an example, a wireless router is called an initiator, and a mobile device is called a participant. For another example, taking mobile device A as a hot spot for mobile device B, mobile device A is called an initiator, and mobile device B is called a participant.
伴随着无线局域网的使用,安装有发起方的用户可能希望在不同场景下,设置不同的参与方连接发起方的无线局域网。例如,在公司A内具有不同的部门,当部门A的员工在商讨方案时,则可以允许部门A员工的移动终端连接无线局域网,其它部门员工的移动终端不允许连接无线局域网。又如,在家庭中当孩子正在作业时间时,不允许孩子的移动终端连接无线局域网,在作业时间结束之后,才允许孩子的移动终端连接无线局域网。当然还有一些其它场景,在此不再一一列举。 Along with the use of a wireless local area network, a user installed with an initiator may wish to set up a different participant to connect to the initiator's wireless local area network in different scenarios. For example, there are different departments in company A. When the employees of department A are discussing the plan, they can allow the mobile terminal of department A employees to connect to the wireless local area network, and the mobile terminals of other department employees are not allowed to connect to the wireless local area network. For example, when the child is working in the family, the child's mobile terminal is not allowed to connect to the wireless local area network, and the child's mobile terminal is allowed to connect to the wireless local area network after the working time is over. Of course, there are some other scenarios, which are not listed here.
但是目前连接无线局域网的方式中,在发起方无线局域网覆盖范围内的任何参与方、在得知发起方的无线局域网密码的情况下,均可以与发起方建立连接。即,目前发起方无法灵活地选择连接无线局域网的参与方,这给使用发起方的用户带来不便。However, in the current mode of connecting to the wireless local area network, any participant in the coverage of the initiator's wireless local area network can establish a connection with the initiator when the wireless LAN password of the initiator is known. That is, the initiator cannot currently flexibly select the participant who connects to the WLAN, which is inconvenient for the user who uses the initiator.
因此,现在需要一种方法,使得发起方可以根据用户在不同场景的使用习惯来灵活改变连接无线局域网的参与方,以便适用于不同场景的连接需求。Therefore, there is a need for a method that allows an initiator to flexibly change the participants connected to the WLAN according to the usage habits of the user in different scenarios, so as to be suitable for connection needs of different scenarios.
发明内容Summary of the invention
本申请提供了一种无线局域网连接方法、装置及系统,本申请可以使得发起方根据用户在不同场景的使用习惯来灵活改变连接无线局域网的参与方,以便适用于不同场景的连接需求。The present application provides a wireless local area network connection method, device, and system. The present application can enable an initiator to flexibly change a participant connected to a wireless local area network according to a user's usage habits in different scenarios, so as to be applicable to connection requirements of different scenarios.
为了实现上述目的,本申请提供了以下技术内容:In order to achieve the above object, the present application provides the following technical contents:
一种无线局域网连接方法,应用于无线局域网的发起方,所述方法包括:A wireless local area network connection method is applied to an initiator of a wireless local area network, and the method includes:
确定与当前场景对应的当前数据,所述当前数据至少包括当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;Determining current data corresponding to the current scenario, where the current data includes at least a current identification information set; wherein the current identification information set is used to indicate a terminal allowed range that allows a connection with the initiator's wireless local area network in the current scenario. ;
在所述发起方为网络接入点情况下,向所述发起方的无线局域网覆盖范围内发送管理帧;其中,所述管理帧包括所述当前数据和发起方标识;And sending, in the case that the initiator is a network access point, a management frame to a wireless local area network coverage of the initiator; wherein the management frame includes the current data and an initiator identifier;
接收无线局域网覆盖范围内的终端发送的连接请求;其中,所述连接请求为所述终端在确认处于所述终端允许范围内且满足第二预设条件的情况下向所述发起方发送的;Receiving a connection request sent by a terminal in a coverage area of the wireless local area network; wherein the connection request is sent by the terminal to the initiator if the terminal is within the allowed range of the terminal and meets a second preset condition;
将所述发起方与终端建立无线局域网连接。 Establishing a wireless local area network connection between the initiator and the terminal.
优选的,当前标识信息集合的确定过程,包括:Preferably, the determining process of the current identification information set includes:
获取所述发起方的当前好友标识集合、当前好友组标识集合和总体标识的任意组合;其中,所述当前好友标识集合为所述发起方的第一预设好友标识集合中一个或多个好友标识的集合,所述当前好友组标识集合为所述发起方的第一预设好友组标识集合中一个或多个好友组标识的集合,所述总体标识用于指示所述发起方无线局域网覆盖范围内的所有终端标识;And obtaining, by the initiator, any combination of the current friend identifier set, the current friend group identifier set, and the overall identifier, where the current friend identifier set is one or more friends in the first preset friend identifier set of the initiator a set of identifiers, where the current buddy group identifier set is a set of one or more buddy group identifiers in the first preset buddy group identifier set of the initiator, where the overall identifier is used to indicate the initiator WLAN coverage All terminal identifiers within the scope;
将所述当前好友标识集合、所述当前好友组标识集合和所述总体标识的任意组合,确定为所述当前标识信息集合。Determining, as the current identification information set, any combination of the current buddy identifier set, the current buddy group identifier set, and the overall identifier.
优选的,所述连接请求包括用于表示所述终端的终端标识,所述方法还包括:Preferably, the connection request includes a terminal identifier for indicating the terminal, and the method further includes:
判断所述第一预设好友标识集合是否包含所述终端标识;Determining whether the first preset friend identifier set includes the terminal identifier;
若所述第一预设好友标识集合不包含所述终端标识,则将所述终端标识添加至所述第一预设好友标识集合中。If the first preset buddy identifier set does not include the terminal identifier, add the terminal identifier to the first preset buddy identifier set.
优选的,所述当前数据还包括:Preferably, the current data further includes:
与发起方的无线局域网对应的提示信息;a prompt message corresponding to the initiator's wireless local area network;
与所述当前场景对应的当前场景标识;a current scene identifier corresponding to the current scene;
其中,所述提示信息包括:所述发起方的昵称、发起方的设备名称、发起方的设备型号、所述发起方发起无线局域网的发起时间、所述发起方的地理位置和/或发起方发起无线局域网的主题。The prompt information includes: a nickname of the initiator, a device name of the initiator, a device model of the initiator, an initiation time of the initiator to initiate a wireless local area network, a geographical location of the initiator, and/or an initiator. Initiate the topic of wireless LAN.
一种无线局域网连接方法,应用于发起方无线局域网覆盖范围内的终端,所述方法包括:A wireless local area network connection method is applied to a terminal in a coverage area of an initiator wireless local area network, and the method includes:
在接收发起方发送的管理帧之后,在所述管理帧提取当前数据和发起 方标识;其中,所述管理帧为在所述发起方为网络接入点情况下发送至所述终端的,所述管理帧包括所述当前数据和发起方标识,所述当前数据至少包括当前标识信息集合,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;After receiving the management frame sent by the initiator, extracting current data and initiating in the management frame a party identifier, where the management frame is sent to the terminal when the initiator is a network access point, the management frame includes the current data and an initiator identifier, and the current data includes at least a current And an identifier information set, where the current identifier information set is used to indicate a terminal allowed range that allows a connection with the initiator's wireless local area network in the current scenario;
在满足第一预设条件的情况下,判断所述终端是否已与所述发起方标识对应的发起方建立无线局域网连接;If the first preset condition is met, determining whether the terminal has established a wireless local area network connection with the initiator corresponding to the initiator identifier;
若未与所述发起方建立无线局域网连接,则基于所述当前标识信息集合,确定所述发起方允许建立无线局域网连接的终端允许范围;If the wireless local area network connection is not established with the initiator, determining, according to the current identification information set, the allowed range of the terminal that the initiator allows to establish a wireless local area network connection;
若所述终端确定处于所述终端允许范围内,则在满足第二预设条件的情况下,向所述发起方发送连接请求。If the terminal determines to be within the allowed range of the terminal, if the second preset condition is met, a connection request is sent to the initiator.
优选的,所述基于所述当前标识信息集合,确定所述发起方允许建立无线局域网连接的终端允许范围,包括:Preferably, the determining, according to the current identifier information set, the terminal permission range that the initiator allows to establish a wireless local area network connection, includes:
若所述当前标识信息集合包含总体标识,则将所述发起方无线局域网覆盖范围内的所有终端标识,确定为终端允许范围;其中,所述总体标识用于表示所述发起方无线局域网覆盖范围内的所有终端标识;If the current identifier information set includes an overall identifier, determining, by the initiator, the metrics of all the terminal identifiers in the coverage area of the WLAN are determined as the terminal permission range; wherein the overall identifier is used to indicate the initiator WLAN coverage All terminal identifiers within;
若所述当前标识信息集合不包含总体标识,则在所述当前标识信息集合仅包含所述当前好友标识集合的情况下,将所述当前好友标识集合确定为所述终端允许范围;If the current identifier information set does not include the overall identifier, if the current identifier information set only includes the current buddy identifier set, the current buddy identifier set is determined as the terminal allowed range;
若所述当前标识信息集合不包含总体标识,在所述当前标识信息集合仅包含所述当前好友组标识集合的情况下,将所述当前好友组标识集合确定为所述终端允许范围;If the current identifier information set does not include the overall identifier, if the current identifier information set only includes the current buddy group identifier set, the current buddy group identifier set is determined as the terminal allowed range;
若所述当前标识信息集合不包含总体标识,在所述当前标识信息集合 包含当前好友标识集合和当前好友组标识集合的情况下,将所述当前好友标识集合和所述当前好友组标识集合的并集确定为所述终端允许范围。If the current identification information set does not include an overall identifier, the current identification information set In the case that the current friend identifier set and the current friend group identifier set are included, the union of the current friend identifier set and the current friend group identifier set is determined as the terminal allowed range.
优选的,在所述当前标识信息集合不包含总体标识的情况下,所述确定所述终端处于所述终端允许范围内,包括:Preferably, in the case that the current identifier information set does not include an overall identifier, the determining that the terminal is within the allowed range of the terminal includes:
在所述终端允许范围为所述当前好友标识集合的情况下,若所述终端标识包含在当前好友标识集合内,则确定所述终端处于所述终端允许范围内;If the terminal allowed range is the current buddy identifier set, if the terminal identifier is included in the current buddy identifier set, determining that the terminal is within the terminal allowed range;
在所述终端允许范围为当前好友组标识集合的情况下,若所述终端的第二预设好友组标识集合中任一好友组标识包含在所述当前好友组标识集合内,则确定所述终端处于所述终端允许范围内;If the allowed range of the terminal is the current buddy group identifier set, if any of the buddy group identifiers in the second preset buddy group identifier set of the terminal is included in the current buddy group identifier set, determining the The terminal is within the allowed range of the terminal;
若所述终端允许范围为所述当前好友标识集合和当前好友组标识集合的情况下,若所述终端标识包含在当前好友标识集合内,或者,若所述终端的第二预设好友组标识集合中任一好友组标识包含在所述当前好友组标识集合内,则确定所述终端处于所述终端允许范围内。If the terminal allowed range is the current buddy identifier set and the current buddy group identifier set, if the terminal identifier is included in the current buddy identifier set, or if the second preset buddy group identifier of the terminal is If any of the buddy group identifiers in the set are included in the current buddy group identifier set, it is determined that the terminal is within the allowed range of the terminal.
优选的,在所述当前数据包括与发起方的无线局域网对应的提示信息和与所述当前场景对应的当前场景标识的情况下,满足第二预设条件的确定过程包括:Preferably, in the case that the current data includes the prompt information corresponding to the wireless local area network of the initiator and the current scene identifier corresponding to the current scene, the determining process that satisfies the second preset condition includes:
若所述终端与所述发起方非陌生人关系,则确定满足第二预设条件;If the terminal is in a non-stranger relationship with the initiator, determining that the second preset condition is met;
若所述终端与所述发起方为陌生人关系,则显示所述提示信息;其中,所述提示信息包括所述发起方的名称、所述发起方发起无线局域网的发起时间、所述发起方的地理位置和/或发起方发起无线局域网的主题;If the terminal is in a stranger relationship with the initiator, the prompt information is displayed; wherein the prompt information includes a name of the initiator, an initiation time of the initiator to initiate a wireless local area network, and the initiator Geographic location and/or the originator initiated the WLAN theme;
若接收到允许与所述发起方的无线局域网建立连接的确认指令,则确 定满足第二预设条件;If a confirmation command is received that allows a connection to the initiator's wireless local area network, Satisfying the second preset condition;
若接收到不允许与所述发起方的无线局域网建立连接的确认指令,则将所述当前场景标识添加至拒绝列表中。If a confirmation command is not allowed to establish a connection with the initiator's wireless local area network, the current scene identifier is added to the rejection list.
优选的,若所述终端与所述发起方为陌生人关系,且,接收到允许与所述发起方的无线局域网建立连接的确认指令,所述方法还包括:Preferably, if the terminal is in a stranger relationship with the initiator, and receives an acknowledgment command to establish a connection with the WLAN of the initiator, the method further includes:
将所述发起方标识添加至所述第二预设好友列表中。Adding the initiator identifier to the second preset buddy list.
优选的,所述连接请求包括:所述终端的终端标识,所述连接请求还包括终端昵称、终端设备名称、终端设备型号。Preferably, the connection request includes: a terminal identifier of the terminal, and the connection request further includes a terminal nickname, a terminal device name, and a terminal device model.
优选的,在所述当前数据包括与所述当前场景对应的当前场景标识的情况下,满足第一预设条件的确定过程包括:Preferably, in a case that the current data includes a current scene identifier corresponding to the current scenario, the determining process that satisfies the first preset condition includes:
判断所述当前场景标识是否处于拒绝列表中;其中,所述拒绝列表包括一个或多个已被拒绝的场景标识;Determining whether the current scene identifier is in a deny list; wherein the deny list includes one or more scene identifiers that have been rejected;
若所述当前场景标识处于所述拒绝列表中,则确定不满足第一预设条件;If the current scene identifier is in the reject list, determining that the first preset condition is not met;
若所述当前场景标识未处于所述拒绝列表中,则确定满足第一预设条件。If the current scene identifier is not in the reject list, it is determined that the first preset condition is met.
一种无线局域网连接装置,应用于无线局域网的发起方,所述装置包括:A wireless local area network connection device is applied to an initiator of a wireless local area network, and the device includes:
第一确定单元,用于确定与当前场景对应的当前数据,所述当前数据至少包括当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;a first determining unit, configured to determine current data corresponding to the current scenario, where the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the wireless device is allowed to be initiating with the initiator in the current scenario. The allowed range of the terminal for establishing a connection with the local area network;
发送单元,用于在所述发起方为网络接入点情况下,向所述发起方的 无线局域网覆盖范围内发送管理帧;其中,所述管理帧包括所述当前数据和发起方标识;a sending unit, configured to: if the initiator is a network access point, to the initiator Transmitting a management frame within a wireless local area network coverage; wherein the management frame includes the current data and an initiator identifier;
接收单元,用于接收无线局域网覆盖范围内的终端发送的连接请求;其中,所述连接请求为所述终端在确认处于所述终端允许范围内且满足第二预设条件的情况下向所述发起方发送的;a receiving unit, configured to receive a connection request sent by a terminal in a coverage area of the wireless local area network, where the connection request is that the terminal is determined to be within the allowed range of the terminal and meet a second preset condition Sent by the originator;
连接单元,用于将所述发起方与终端建立无线局域网连接。And a connecting unit, configured to establish a wireless local area network connection between the initiator and the terminal.
一种无线局域网连接装置,应用于发起方无线局域网覆盖范围内的终端,所述装置包括:A wireless local area network connection device is applied to a terminal in a coverage area of an initiator wireless local area network, and the device includes:
提取单元,用于在接收发起方发送的管理帧之后,在所述管理帧提取当前数据和发起方标识;其中,所述管理帧为在所述发起方为网络接入点情况下发送至所述终端的,所述管理帧包括所述当前数据和发起方标识,所述当前数据至少包括当前标识信息集合,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;And an extracting unit, configured to: after receiving the management frame sent by the initiator, extract the current data and the initiator identifier in the management frame; where the management frame is sent to the server when the initiator is a network access point In the terminal, the management frame includes the current data and an initiator identifier, and the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the wireless device and the initiator are allowed to be in the current scenario. The allowed range of the terminal for establishing a connection with the local area network;
判断单元,用于判断所述终端是否已与所述发起方标识对应的发起方建立无线局域网连接;a determining unit, configured to determine whether the terminal has established a wireless local area network connection with an initiator corresponding to the initiator identifier;
第二确定单元,用于若未与所述发起方建立无线局域网连接,则基于所述当前标识信息集合,确定所述发起方允许建立无线局域网连接的终端允许范围;a second determining unit, configured to determine, according to the current identifier information set, a terminal allowable range in which the initiator allows to establish a wireless local area network connection, if the wireless local area network connection is not established with the initiator;
发送请求单元,用于若所述终端确定处于所述终端允许范围内,则在满足第二预设条件的情况下,向所述发起方发送连接请求。And a sending requesting unit, configured to send a connection request to the initiator if the terminal determines that the terminal is within the allowed range of the terminal, if the second preset condition is met.
一种无线局域网连接系统,包括: A wireless local area network connection system includes:
无线局域网的发起方,和,处于所述发起方无线局域网覆盖范围内的终端;其中,所述发起方,用于确定与当前场景对应的当前数据,所述当前数据至少包括当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;在所述发起方为网络接入点情况下,向所述发起方的无线局域网覆盖范围内发送管理帧;其中,所述管理帧包括所述当前数据和发起方标识;接收无线局域网覆盖范围内的终端发送的连接请求;其中,所述连接请求为所述终端在确认处于所述终端允许范围内且满足第二预设条件的情况下向所述发起方发送的;将所述发起方与终端建立无线局域网连接;An initiator of the WLAN, and a terminal that is in the coverage of the WLAN of the initiator; wherein the initiator is configured to determine current data corresponding to the current scenario, where the current data includes at least a current identifier information set; The current identifier information set is used to indicate a terminal allowable range that allows a connection with the initiator's wireless local area network in the current scenario; and in the case that the initiator is a network access point, to the initiator Sending a management frame in a wireless local area network coverage; wherein the management frame includes the current data and an initiator identifier; receiving a connection request sent by a terminal within a coverage of the wireless local area network; wherein the connection request is confirmed by the terminal Transmitting to the initiator if the terminal is within the allowable range of the terminal and satisfying the second preset condition; establishing the wireless local area network connection between the initiator and the terminal;
所述终端,用于在接收发起方发送的管理帧之后,在所述管理帧提取当前数据和发起方标识;其中,所述管理帧为在所述发起方为网络接入点情况下发送至所述终端的,所述管理帧包括所述当前数据和发起方标识,所述当前数据至少包括当前标识信息集合,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;判断所述终端是否已与所述发起方标识对应的发起方建立无线局域网连接;若未与所述发起方建立无线局域网连接,则基于所述当前标识信息集合,确定所述发起方允许建立无线局域网连接的终端允许范围;若所述终端确定处于所述终端允许范围内,则在满足第二预设条件的情况下,向所述发起方发送连接请求。The terminal is configured to: after receiving the management frame sent by the initiator, extract the current data and the initiator identifier in the management frame; where the management frame is sent to the initiator when the initiator is a network access point The management frame includes the current data and an initiator identifier, and the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the current scene is allowed to be associated with the initiator. Setting a range of the terminal for establishing a connection by the WLAN; determining whether the terminal has established a wireless local area network connection with the initiator corresponding to the initiator identifier; and if not establishing a wireless local area network connection with the initiator, based on the current identification information set Determining, by the initiator, a terminal allowed range for establishing a wireless local area network connection; if the terminal determines to be within the allowed range of the terminal, sending a connection request to the initiator if the second preset condition is met.
一种无线局域网的连接方法,包括:A method for connecting a wireless local area network, comprising:
接收发起方发送的当前数据;其中,所述当前数据至少包括当前标识信息集合和接入点标识,所述当前标识信息集合用于表示在所述当前场景 下允许与网络接入点的无线局域网建立连接的终端允许范围;Receiving current data sent by the initiator; where the current data includes at least a current identifier information set and an access point identifier, where the current identifier information set is used to indicate the current scenario The allowable range of terminals allowed to establish a connection with the wireless LAN of the network access point;
将接入点标识对应的终端确定网络接入点;Determining, by the terminal corresponding to the access point identifier, a network access point;
在满足第一预设条件的情况下,在判定本身非网络接入点且本身处于所述终端允许范围内的情况下,则在满足第二预设条件的情况下,向所述网络接入点发送无线局域网的连接请求;If the first preset condition is met, if it is determined that the non-network access point is itself and is within the allowed range of the terminal, then the network access is performed if the second preset condition is met. Point to send a WLAN connection request;
在判定本身为网路接入点的情况下,则启动本身的网络接入点功能,并接收其它终端发送的连接请求,并与其它终端建立局域网连接。In the case that it is determined to be a network access point, it activates its own network access point function, and receives connection requests sent by other terminals, and establishes a local area network connection with other terminals.
一种无线局域网连接方法,包括:A wireless local area network connection method includes:
通过蓝牙方式获取周边终端的终端信息,所述终端信息包括终端标识和终端的扩展信息,并将各个终端信息中的终端标识添加到潜在标识信息集合中;Obtain terminal information of the peripheral terminal by using a Bluetooth method, where the terminal information includes the terminal identifier and the extended information of the terminal, and adds the terminal identifier in each terminal information to the potential identifier information set;
在所述潜在标识信息集合中,确定与当前场景对应的网络接入点和当前标识信息集合,并构建与当前场景对应的当前数据;其中,所述当前数据至少包括当前标识信息集合和接入点标识,所述当前标识信息集合用于表示在所述当前场景下允许与网络接入点的无线局域网建立连接的终端允许范围;Determining, in the set of potential identification information, a network access point and a current identification information set corresponding to the current scenario, and constructing current data corresponding to the current scenario; where the current data includes at least a current identification information set and access a point identifier, where the current identifier information set is used to indicate a terminal allowable range that allows a connection with a wireless local area network of a network access point in the current scenario;
通过蓝牙方式向周边终端广播所述当前数据。The current data is broadcast to the peripheral terminal by Bluetooth.
一种无线局域网连接方法,包括:A wireless local area network connection method includes:
在接收用于连接局域网的连接消息后,基于所述连接消息确定网络接入点;After receiving the connection message for connecting to the local area network, determining a network access point based on the connection message;
在满足第一预设条件的情况下,判断所述终端是否已与所述网络接入点建立无线局域网连接; If the first preset condition is met, determining whether the terminal has established a wireless local area network connection with the network access point;
若未与所述网络接入点建立无线局域网连接,则在满足第二预设条件的情况下,向所述网络接入点发送连接请求。If the wireless local area network connection is not established with the network access point, the connection request is sent to the network access point if the second preset condition is met.
一种无线局域网连接方法,包括:A wireless local area network connection method includes:
通过蓝牙方式获取周边终端的终端信息,所述终端信息包括终端标识和终端的扩展信息,并将各个终端信息中的终端标识添加至潜在标识信息集合;Obtain terminal information of the peripheral terminal by using a Bluetooth method, where the terminal information includes the terminal identifier and the extended information of the terminal, and adds the terminal identifier in each terminal information to the potential identification information set;
在所述潜在标识信息集合中,确定与当前场景对应的网络接入点和当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与网络接入点的无线局域网建立连接的终端允许范围;Determining, in the set of the potential identification information, a network access point and a current identification information set corresponding to the current scenario, where the current identification information set is used to indicate that the wireless connection with the network access point is allowed in the current scenario. The allowed range of the terminal for establishing a connection with the local area network;
通过蓝牙向当前标识信息集合中的终端发送用于连接局域网的连接消息;其中,所述消息包括接入点标识。The connection message for connecting to the local area network is sent to the terminal in the current identification information set by Bluetooth; wherein the message includes an access point identifier.
通过以上内容,可以看出本申请具有以下有益效果:From the above, it can be seen that the present application has the following beneficial effects:
本申请提供了一种无线局域网连接方法,本方法可以根据当前场景来确定与发起方建立连接的当前标识信息集合,当前信息标识集合可以指示与发起方与建立无线局域网连接的终端允许范围。只有在终端允许范围内的终端才可以与发起方的无线局域网建立连接。然后,将当前信息标识集合编入管理帧中并向无线局域网的覆盖范围内发送管理帧。The present application provides a wireless local area network connection method. The method may determine a current identification information set that establishes a connection with an initiator according to a current scenario, where the current information identification set may indicate a terminal allowed range with an initiator and a wireless local area network connection. Only terminals within the allowed range of the terminal can establish a connection with the initiator's WLAN. The current set of information identifiers is then programmed into the management frame and the management frame is sent within the coverage of the wireless local area network.
在无线局域网覆盖范围内的终端只有在终端允许范围内的情况下,才有可能与发起方的无线局域网建立连接。终端不在终端允许范围内的情况下不可以与发起方的无线局域网建立连接。本申请通过该方式可以达到发起方根据不同场景来灵活改变连接无线局域网的参与方目的,以便适用于不同场景的连接需求。 It is possible to establish a connection with the initiator's WLAN only if the terminal within the coverage of the WLAN is only within the allowable range of the terminal. The terminal may not establish a connection with the initiator's WLAN if the terminal is not within the allowed range of the terminal. In this manner, the present application can achieve the purpose of the initiator to flexibly change the participants of the wireless local area network according to different scenarios, so as to be suitable for connection requirements in different scenarios.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本申请实施例提供的一种无线局域网连接方法的流程图;FIG. 1 is a flowchart of a method for connecting a wireless local area network according to an embodiment of the present application;
图2为本申请实施例提供的又一无线局域网连接方法的流程图;2 is a flowchart of still another method for connecting a wireless local area network according to an embodiment of the present application;
图3为本申请实施例提供的又一无线局域网连接方法的流程图;FIG. 3 is a flowchart of still another method for connecting a wireless local area network according to an embodiment of the present application;
图4为本申请实施例提供的又一无线局域网连接方法的流程图;4 is a flowchart of still another method for connecting a wireless local area network according to an embodiment of the present application;
图5为本申请实施例提供的又一无线局域网连接方法的流程图;FIG. 5 is a flowchart of still another method for connecting a wireless local area network according to an embodiment of the present application;
图6为本申请实施例提供的又一无线局域网连接方法的流程图;FIG. 6 is a flowchart of still another method for connecting a wireless local area network according to an embodiment of the present application;
图7为本申请实施例提供的一种无线局域网连接装置的结构示意图;FIG. 7 is a schematic structural diagram of a wireless local area network connection apparatus according to an embodiment of the present application;
图8为本申请实施例提供的一种无线局域网连接装置的结构示意图;FIG. 8 is a schematic structural diagram of a wireless local area network connection apparatus according to an embodiment of the present application;
图9为本申请实施例提供的一种无线局域网连接系统的结构示意图;FIG. 9 is a schematic structural diagram of a wireless local area network connection system according to an embodiment of the present application;
图10为本申请实施例提供的又一无线局域网连接方法的流程图;FIG. 10 is a flowchart of still another method for connecting a wireless local area network according to an embodiment of the present application;
图11为本申请实施例提供的又一无线局域网连接方法的流程图;FIG. 11 is a flowchart of still another method for connecting a wireless local area network according to an embodiment of the present application;
图12为本申请实施例提供的又一无线局域网连接方法的流程图;FIG. 12 is a flowchart of still another method for connecting a wireless local area network according to an embodiment of the present application;
图13为本申请实施例提供的又一无线局域网连接方法的流程图。FIG. 13 is a flowchart of still another method for connecting a wireless local area network according to an embodiment of the present application.
具体实施方式detailed description
本申请分为两个方面,第一方面:预先确定网络接入点,网络接入点作为发起方。第二方面:基于扩展信息灵活地确定网络接入点。下面分别对两个方面进行一一说明。 The application is divided into two aspects. The first aspect: a network access point is determined in advance, and a network access point is used as an initiator. The second aspect: flexibly determines the network access point based on the extended information. The following two aspects are explained separately.
第一方面:预先确定网络接入点,网络接入点作为发起方。The first aspect: a network access point is determined in advance, and the network access point acts as an initiator.
基于背景技术内容可知,在不同的场景下发起方可能希望与不同终端建立无线局域网连接。为此,本申请可以在发起方的存储空间中存储潜在与发起方进行无线局域网连接的潜在标识信息集合。Based on the background art, the initiator may wish to establish a wireless local area network connection with different terminals in different scenarios. To this end, the present application can store a set of potential identification information potentially connected to the initiator for wireless local area network in the storage space of the originator.
为了方便用户单独地选择一个或多个终端标识,潜在标识信息集合可以包括第一预设好友集合。第一预设好友集合为中包含潜在与发起方建立无线局域网连接的一个或多个终端标识的集合。In order to facilitate the user to individually select one or more terminal identifiers, the potential identification information set may include a first preset friend set. The first set of preset friends includes a set of one or more terminal identifiers that potentially establish a wireless local area network connection with the initiator.
当发起方内存储有终端标识时,发起方与终端则可以看成好友关系,因此,将一个或多个终端标识的集合称为第一预设好友集合。When the terminal identifier is stored in the initiator, the initiator and the terminal can be regarded as a friend relationship. Therefore, the set of one or more terminal identifiers is referred to as a first preset friend set.
当发起方需要同时与较多数量终端建立连接时,需要逐个选择较多数量的终端标识。这样会影响发起方的使用用户体验感受。因此,可以在发起方存储空间内建立多个好友组,每个好友组可以包含一个或多个好友标识,并用一个组标识表示。When the initiator needs to establish a connection with a larger number of terminals at the same time, it is necessary to select a larger number of terminal identifiers one by one. This will affect the experience of the user experience of the initiator. Therefore, multiple friend groups can be established in the initiator storage space, and each friend group can include one or more friend identifiers and be represented by a group identifier.
为了便于描述,将一个或多个好友组标识的集合称为第一好友组标识集合。这样,可以在第一好友组标识集合中选择一个或多个好友组标识,从而达到一次性选中多个好友标识的目的。For ease of description, a set of one or more buddy group identities is referred to as a first buddy group identification set. In this way, one or more friend group identifiers can be selected in the first friend group identifier set, thereby achieving the purpose of selecting multiple friend identifiers at one time.
在一些情况下,发起方可能仍然需要与无线局域网覆盖范围内的所有终端建立连接,因此为了方便发起方的使用用户的使用,还可以设置一个总体标识。In some cases, the initiator may still need to establish a connection with all terminals within the coverage of the WLAN, so an overall identity can also be set in order to facilitate the use of the user by the initiator.
总体标识用于代表发起方的无线局域网覆盖范围内的所有终端标识。即,当总体标识被选中,则代表发起方的无线局域网覆盖范围内的所有终端均可以与发起方建立无线局域网连接。 The overall identity is used to represent all terminal identities within the WLAN coverage of the originator. That is, when the overall identity is selected, all terminals within the wireless local area network coverage on behalf of the initiator can establish a wireless local area network connection with the initiator.
发起方可以通过用户输入方式或者通过扫描二维码的方式获取终端标识和好友组标识,还可以通过其它方式来获取终端标识和好友组标识。在此不再一一列举。The initiator can obtain the terminal identifier and the buddy group identifier by using the user input method or by scanning the two-dimensional code, and can obtain the terminal identifier and the buddy group identifier by other means. I will not list them one by one here.
发起方存储空间中的潜在标识信息集合包括第一预设好友集合和/或第一好友组标识集合,此外,潜在标识信息集合还可以包括总体标识。优选的情况下,潜在标识信息集合包括第一预设好友集合、第一好友组标识集合和总体标识。The set of potential identification information in the initiator storage space includes a first preset friend set and/or a first friend group identification set. Further, the potential identification information set may further include an overall identification. In a preferred case, the potential identification information set includes a first preset friend set, a first friend group identifier set, and an overall identifier.
当然,潜在标识信息集合可以进行更改,当用户有需求时,可以随着用户的操作而进行更改,即可以重新向潜在标识信息集合添加终端标识/好友组标识,也可以删除一些终端标识/好友组标识。Certainly, the set of potential identification information can be changed. When the user needs, the user can change according to the operation of the user, that is, the terminal identifier/friend group identifier can be newly added to the potential identification information set, and some terminal identifiers/friends can also be deleted. Group ID.
下面介绍本申请提供了一种无线局域网连接方法实施例,应用于无线局域网的发起方。如图1所示,所述方法包括:The following describes an embodiment of a wireless local area network connection method, which is applied to an initiator of a wireless local area network. As shown in FIG. 1, the method includes:
步骤S101:确定与当前场景对应的当前数据,所述当前数据至少包括当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围。Step S101: Determine current data corresponding to the current scenario, where the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the connection to the initiator's wireless local area network is allowed to be established in the current scenario. The range allowed by the terminal.
为了满足用户不同情境下使用习惯、灵活选择连接无线局域网的参与方,本申请在本实施例之前,已经在发起方的存储空间中构建潜在标识信息集合(详见前述内容,在此不再赘述)。为了与当前场景对应,可以依据潜在标识信息集合确定与当前场景对应的当前数据中的当前标识信息集合。In order to satisfy the user's usage habits and flexible selection of participants in the WLAN, the present application has constructed a set of potential identification information in the storage space of the initiator before the present embodiment (see the foregoing for details), and details are not described herein again. ). In order to correspond to the current scenario, the current identification information set in the current data corresponding to the current scenario may be determined according to the set of potential identification information.
确定当前标识信息集合有两种实现方式,下面一一介绍这两种实现方式: There are two ways to determine the current set of identity information. The following two implementations are described below:
第一种实现方式:发起方的使用用户自主确定当前标识信息集合。The first implementation manner: the user of the initiator determines the current identification information set by the user.
以潜在标识信息集合包括第一预设好友集合、第一好友组标识集合和总体标识为例,假设第一预设好友集合包括终端标识1、终端标识2……终端标识N,第一好友组标识集合包括好友组标识1、好友组标识2……好友组标识M,以及总体标识G。Taking the potential identification information set including the first preset friend set, the first friend group identifier set, and the overall identifier as an example, the first preset friend set includes the terminal identifier 1, the terminal identifier 2, the terminal identifier N, and the first friend group. The identity set includes a friend group identity 1, a friend group identity 2, a friend group identity M, and an overall identity G.
那么,发起方可以显示潜在标识信息集合中第一预设好友集合中的终端标识1、终端标识2……终端标识N,显示第一好友组标识集合中的好友组标识1、好友组标识2……好友组标识M,以及,显示总体标识G。Then, the initiator may display the terminal identifier 1, the terminal identifier 2, the terminal identifier N in the first preset friend set in the potential identifier information set, and display the friend group identifier 1 and the friend group identifier 2 in the first friend group identifier set. ... the friend group ID M, and the overall flag G.
在上述情况下,如图2所示,确定当前标识信息集合的过程具体包括以下步骤:In the above case, as shown in FIG. 2, the process of determining the current identification information set specifically includes the following steps:
步骤S201:获取所述发起方的当前好友标识集合、当前好友组标识集合和总体标识的任意组合;其中,所述当前好友标识集合为所述发起方的第一预设好友标识集合中一个或多个好友标识的集合,所述当前好友组标识集合为所述发起方的第一预设好友组标识集合中一个或多个好友组标识的集合,所述总体标识用于表示所述发起方无线局域网覆盖范围内的所有终端标识。Step S201: Acquire any combination of the current buddy identifier set, the current buddy group identifier set, and the overall identifier of the initiator, where the current buddy identifier set is one of the first preset buddy identifier set of the initiator or a set of multiple friend identifiers, where the current friend group identifier set is a set of one or more friend group identifiers in the first preset friend group identifier set of the initiator, and the overall identifier is used to represent the initiator All terminal IDs within the coverage of the WLAN.
发起方的使用用户可以根据自己对当前场景的要求,在潜在标识信息集合的第一预设好友标识集合、第一预设好友组标识集合和总体标识中进行选择。The user of the initiator can select the first preset friend identifier set, the first preset friend group identifier set, and the overall identifier of the potential identification information set according to the requirements of the current scene.
用户可以在潜在标识信息集合的第一预设好友标识集合中选择一个或多个好友标识的集合、作为当前好友标识集合。用户可以在第一预设好友组标识集合中、选择一个或多个好友组标识的集合作为当前好友组标识集 合。用户还可以在潜在标识信息集合选中总体标识。选择权可以由发起方的使用用户决定。The user may select one or more sets of friend identifiers in the first preset friend identifier set of the potential identifier information set as the current friend identifier set. The user may select one or more sets of friend group identifiers as the current friend group identifier set in the first preset friend group identifier set. Hehe. The user can also select the overall identity in the set of potential identification information. The choice can be determined by the user of the originator.
用户在潜在标识信息集合中进行选择,则选择结果为:所述发起方的当前好友标识集合、当前好友组标识集合和总体标识的任意组合。The user selects in the set of potential identification information, and the selection result is: any combination of the current friend identification set of the initiator, the current friend group identifier set, and the overall identifier.
步骤S202:将所述当前好友标识集合、所述当前好友组标识集合和所述总体标识的任意组合,确定为所述当前标识信息集合。Step S202: Determine any combination of the current buddy identifier set, the current buddy group identifier set, and the overall identifier as the current identifier information set.
待用户选择结束之后发起方可以获取用户的选择结果,然后将选择结果确定为与当前情境对应的当前标识信息集合。即,将所述当前好友标识集合、所述当前好友组标识集合和所述总体标识的任意组合,确定为所述当前标识信息集合。After the end of the user selection, the initiator can obtain the selection result of the user, and then determine the selection result as the current identification information set corresponding to the current context. That is, any combination of the current buddy identifier set, the current buddy group identifier set, and the overall identifier is determined as the current identification information set.
第二种实现方式:发起方自主确定当前标识信息集合。The second implementation manner: the initiator independently determines the current identification information set.
在发起方中预先建立有与多个场景对应的标识信息集合,并将每个场景和与之对应的标识信息集合建立对应关系,然后存储至存储空间中。与每个场景对应的标识信息集合的获取过程与图2所示的过程类似,在此不再赘述。An identifier information set corresponding to multiple scenes is pre-established in the initiator, and each scene is associated with the identifier information set corresponding thereto, and then stored in the storage space. The process of obtaining the identification information set corresponding to each scenario is similar to the process shown in FIG. 2, and details are not described herein again.
当用户选择一个当前场景或者发起方通过传感器识别方式确定一个当前场景时,发起方可以基于预先存储的场景与标识信息集合的对应关系,查找与当前场景对应的标识信息集合,从而确定当前标识信息集合。When the user selects a current scenario or the initiator determines a current scenario by using the sensor identification manner, the initiator may search for the identifier information set corresponding to the current scenario based on the corresponding relationship between the pre-stored scenario and the identifier information set, thereby determining the current identifier information. set.
当前数据中除了包括当前标识信息集合之外,还可以包括与发起方的无线局域网相关的提示信息,用于连接无线局域网的密码信息,和/或,与所述当前场景对应的当前场景标识。The current data may include, in addition to the current identification information set, prompt information related to the wireless local area network of the initiator, password information for connecting to the wireless local area network, and/or a current scene identifier corresponding to the current scene.
其中,所述提示信息包括:所述发起方的昵称、发起方的设备名称、 发起方的设备型号、所述发起方发起无线局域网的发起时间、所述发起方的地理位置和/或发起方发起无线局域网的主题。当然,提示信息还可以包括其它内容,在此不再赘述。The prompt information includes: a nickname of the initiator, a device name of the initiator, The device model of the initiator, the origination time of the initiator to initiate the wireless local area network, the geographic location of the initiator, and/or the subject of the originator of the wireless local area network. Of course, the prompt information may also include other content, and details are not described herein again.
为了增加终端的使用用户对发起方的了解,可以当前数据中添加提示信息。以便终端在连接发起方的无线局域网时,可以得知自身即将连接的无线局域网的相关信息。In order to increase the user's understanding of the initiator by the user of the terminal, a prompt information may be added to the current data. Therefore, when the terminal connects to the initiator's wireless local area network, it can know the information about the wireless local area network to which it is about to connect.
其中,提示信息包括发起方的昵称,可以将发起方的型号作为发起方的昵称,还可以将发起方序列号作为发起方的昵称,还可以利用用户自己设定的名称作为发起方的昵称。例如,发起方名称为苹果6(型号)、12434(序列号)、第一公司。当然还可以采用其它内容,作为发起方的昵称,在此不做限定。The prompt information includes the nickname of the initiator, the model of the initiator may be used as the nickname of the initiator, the serial number of the initiator may be used as the nickname of the initiator, and the name set by the user may be used as the nickname of the initiator. For example, the initiator name is Apple 6 (model number), 12434 (serial number), and the first company. Of course, other content can also be used as the nickname of the initiator, which is not limited herein.
提示信息中还可以包括发起方发起无线局域网的时间,以便终端的使用用户了解无线局域网的发起时间。还可以包括发起方的地理位置,以便终端了解无线局域网的发起方的地址来源。提示信息还可以包括建立无限局域网连接的主题,例如,第一部门开会、大学同学加入讨论组、闺蜜聚会等等。The prompt information may also include the time when the initiator initiates the wireless local area network, so that the user of the terminal knows the initiation time of the wireless local area network. It may also include the geographic location of the originator so that the terminal knows the source of the address of the originator of the WLAN. The prompt information may also include topics for establishing an infinite LAN connection, such as a first department meeting, a college classmate joining a discussion group, a girlfriend meeting, and the like.
从提示信息的内容可以看出,通过提示信息可以让终端的使用用户更加了解发起方的相关信息,或者说了解无线局域网的相关信息。这可以为终端的使用用户在决定是否与发起方建立无线局域网连接时给出提示性信息。It can be seen from the content of the prompt information that the user of the terminal can make the user of the terminal more aware of the relevant information of the initiator, or the related information of the wireless local area network. This can give the user of the terminal an informative message when deciding whether to establish a wireless LAN connection with the initiator.
接着返回图1,进入步骤S102:在所述发起方为网络接入点情况下,向所述发起方的无线局域网覆盖范围内发送管理帧;其中,所述管理帧包 括所述当前数据和发起方标识。Returning to FIG. 1 , proceeding to step S102 : transmitting a management frame to the initiator's wireless local area network coverage area when the initiator is a network access point; wherein the management frame packet The current data and the initiator identifier are included.
在所述发起方为网络接入点情况下,发起方将当前数据和发起方标识编入管理帧中,然后将无线局域网覆盖范围内发送管理帧,以便无线局域网覆盖范围内的终端可以接收管理帧。In the case that the initiator is a network access point, the initiator encodes the current data and the initiator identifier into the management frame, and then sends the management frame within the coverage of the wireless local area network, so that the terminal within the coverage of the wireless local area network can receive the management. frame.
在实际使用过程中,管理帧可以为信标帧或探测响应帧。当发起方主动想告知无线局域网覆盖范围内可连接终端时,发起方可以主动向无线局域网覆盖范围内发送信标帧。In actual use, the management frame may be a beacon frame or a probe response frame. When the initiator actively wants to inform the connectable terminal within the coverage of the WLAN, the initiator can actively send the beacon frame to the coverage of the WLAN.
当无线局域网覆盖范围内的终端向探测周围的发起方时,可以向周围发送探测请求帧。在发起方接收探测请求帧之后,向终端发送探测响应帧。When a terminal within the coverage of the wireless local area network detects the surrounding initiator, it may send a probe request frame to the surroundings. After the initiator receives the probe request frame, it sends a probe response frame to the terminal.
通常情况下管理帧的长度有限,而当前标识信息集合中的有多个标识信息,标识信息可以包括好友标识和/或好友组标识,好友标识可以为好友的序列号、好友IMEI号码、MAC地址等等唯一表示好友的标识。Generally, the length of the management frame is limited, and the current identification information set has multiple identification information, and the identification information may include a friend identifier and/or a friend group identifier, and the friend identifier may be a friend's serial number, a friend IMEI number, and a MAC address. The only identifier that means a friend.
一般完整的序列号、IMEI号码或MAC地址的长度均较长,若将序列号、IMEI号码或MAC地址完整放入管理帧中,则会无法容纳较多的标识信息。因此,可以截取序列号、IMEI号码或MAC地址的一部分内容作为好友标识编入管理帧中。Generally, the complete serial number, IMEI number, or MAC address has a long length. If the serial number, IMEI number, or MAC address is completely placed in the management frame, it will not be able to accommodate more identification information. Therefore, part of the serial number, IMEI number, or MAC address can be intercepted into the management frame as a friend identifier.
例如,以序列号为为例,序列号的前几位通常是一致的,而后几位是不同的,所以可以截取序列号的后几位编入管理帧中。For example, taking the serial number as an example, the first few digits of the serial number are usually consistent, and the latter digits are different, so the last few digits of the serial number can be intercepted into the management frame.
步骤S103:接收无线局域网覆盖范围内的终端发送的连接请求;其中,所述连接请求为所述终端在确认处于所述终端允许范围内且满足第二预设条件的情况下向所述发起方发送的。Step S103: Receive a connection request sent by a terminal in a coverage area of the wireless local area network, where the connection request is that the terminal is in the case that the terminal is confirmed to be within the allowed range of the terminal and meets a second preset condition. Sent.
在无线局域网覆盖范围内的终端在接收管理帧之后,可以基于管理帧 确定终端允许范围,然后验证自身是否处于终端允许范围内。若终端处于终端允许范围内,则说明该终端满足发起方建立无线局域网连接的条件,此时有可能与发起方的无线局域网建立连接,否则,不可以与发起方的无线局域网建立连接。A terminal within the coverage of a wireless local area network may be based on a management frame after receiving a management frame. Determine the allowed range of the terminal and then verify that it is within the allowable range of the terminal. If the terminal is within the allowed range of the terminal, it indicates that the terminal satisfies the condition that the initiator establishes the wireless local area network connection. At this time, it is possible to establish a connection with the initiator's wireless local area network. Otherwise, the terminal may not establish a connection with the initiator's wireless local area network.
然后,终端判断发起方是否满足自身建立无线局域网连接的第二预设条件,若满足则确定满足第二预设条件。若终端确认自身处于终端允许范围内且满足第二预设条件的情况下,则可以向发起方发送连接请求。关于终端的具体执行过程将在下一实施例中进行详细说明,在此不再赘述。Then, the terminal determines whether the initiator meets the second preset condition for establishing the wireless local area network connection, and if yes, determines that the second preset condition is met. If the terminal confirms that it is within the allowed range of the terminal and meets the second preset condition, the connection request may be sent to the initiator. The specific implementation process of the terminal will be described in detail in the next embodiment, and details are not described herein again.
所述连接请求包括所述终端的终端标识,所述连接请求还包括终端昵称、终端设备名称、终端设备型号。The connection request includes a terminal identifier of the terminal, and the connection request further includes a terminal nickname, a terminal device name, and a terminal device model.
步骤S104:将所述发起方与终端建立无线局域网连接。Step S104: Establish a wireless local area network connection between the initiator and the terminal.
发起方在接收终端发送的连接请求之后,则将发起方无线局域网与终端建立连接。在建立连接之后,发起方可以向终端发送连接成功消息,以告知终端已与发起方建立连接。After receiving the connection request sent by the terminal, the initiator establishes a connection between the initiator wireless local area network and the terminal. After the connection is established, the initiator may send a connection success message to the terminal to inform the terminal that a connection has been established with the initiator.
若当前标识信息集合包含总体标识的情况下,则表明无线局域网覆盖范围内的所有终端均可以与发起方建立连接。在此情况下,可能有第一好友标识集合中的标识对应的终端发送的连接请求,也可能有其它终端发送的连接请求。If the current identification information set includes the overall identifier, it indicates that all terminals within the coverage of the wireless local area network can establish a connection with the initiator. In this case, there may be a connection request sent by the terminal corresponding to the identifier in the first friend identifier set, and there may be a connection request sent by other terminals.
因此,本实施例还提供了增加第一好友标识集合中好友标识的方式。如图3所示,在步骤S104之后,还可以包括以下步骤:Therefore, the embodiment further provides a manner of adding a friend identifier in the first friend identifier set. As shown in FIG. 3, after step S104, the following steps may also be included:
步骤S301:判断所述第一预设好友标识集合是否包含所述终端标识;其中,所述连接请求包括用于表示所述终端的终端标识;若是,则进入步 骤S302,否则进入步骤S303。Step S301: determining whether the first preset buddy identifier set includes the terminal identifier, where the connection request includes a terminal identifier for indicating the terminal; if yes, proceeding to the step Step S302, otherwise proceeding to step S303.
终端发送的连接请求包括请求建立连接终端的终端标识,然后发起方判断已存储的第一预设好友标识集合中是否包含终端标识。若是的话,则表示第一预设好友标识集合中已存在终端标识,若否的话,则表示第一预设好友标识集合不存在终端标识。The connection request sent by the terminal includes requesting to establish a terminal identifier of the connection terminal, and then the initiator determines whether the stored first preset friend identifier set includes the terminal identifier. If yes, it indicates that the terminal identifier exists in the first preset friend identifier set. If not, the first preset friend identifier set does not have the terminal identifier.
步骤S302:若所述第一预设好友标识集合不包含所述终端标识,则将所述终端标识添加至所述第一预设好友标识集合中。Step S302: Add the terminal identifier to the first preset friend identifier set if the first preset friend identifier set does not include the terminal identifier.
若第一预设好友标识集合不包含所述终端标识,则表示该终端标识对应的终端与发起方还不是好友关系。因此,为了增加发起方第一预设好友标识集合中的好友标识,则可以将终端标识添加至第一预设好友标识集合中。If the first preset friend identifier set does not include the terminal identifier, it indicates that the terminal corresponding to the terminal identifier is not a friend relationship with the initiator. Therefore, in order to increase the friend identifier in the first preset friend identifier set of the initiator, the terminal identifier may be added to the first preset friend identifier set.
步骤S303:若所述第一预设好友标识集合包含所述终端标识,则执行其它处理流程。Step S303: If the first preset friend identification set includes the terminal identifier, perform other processing procedures.
若预设好友标识集合包含所述终端标识,则说明该终端标识对应的终端与发起方已经是好友关系。即,发起方预先已经将终端标识添加至第一预设好友标识集合中,因此,无需重复执行将终端标识添加至第一预设好友标识集合。因此,可以结束本次连接过程。If the preset friend identifier set includes the terminal identifier, it indicates that the terminal corresponding to the terminal identifier and the initiator are already in a friend relationship. That is, the initiator adds the terminal identifier to the first preset friend identifier set in advance, and therefore, the terminal identifier is added to the first preset friend identifier set without repeated execution. Therefore, the connection process can be ended.
从本实施例可以看出本申请具有以下有益效果:It can be seen from the embodiment that the present application has the following beneficial effects:
本申请提供了一种无线局域网连接方法,本方法可以根据当前场景来确定与发起方建立连接的当前标识信息集合,当前信息标识集合可以指示与发起方与建立无线局域网连接的终端允许范围。只有在终端允许范围内的终端才可以与发起方的无线局域网建立连接。然后,将当前信息标识集 合编入管理帧中并向无线局域网的覆盖范围内发送管理帧。The present application provides a wireless local area network connection method. The method may determine a current identification information set that establishes a connection with an initiator according to a current scenario, where the current information identification set may indicate a terminal allowed range with an initiator and a wireless local area network connection. Only terminals within the allowed range of the terminal can establish a connection with the initiator's WLAN. Then, the current information identification set Coordinated into the management frame and sent management frames to the coverage of the WLAN.
在无线局域网覆盖范围内的终端只有在终端允许范围内的情况下,才有可能与发起方的无线局域网建立连接。终端不在终端允许范围内的情况下不可以与发起方的无线局域网建立连接。本申请通过该方式可以达到发起方根据不同场景来灵活改变连接无线局域网的参与方目的,以便适用于不同场景的连接需求。It is possible to establish a connection with the initiator's WLAN only if the terminal within the coverage of the WLAN is only within the allowable range of the terminal. The terminal may not establish a connection with the initiator's WLAN if the terminal is not within the allowed range of the terminal. In this manner, the present application can achieve the purpose of the initiator to flexibly change the participants of the wireless local area network according to different scenarios, so as to be suitable for connection requirements in different scenarios.
图1所示的过程为发起方的执行过程,在上述发起方的处理过程的基础上,本申请提供了在发起方无线局域网覆盖范围内的终端的处理过程。如图4所示,一种无线局域网连接方法,应用于发起方无线局域网覆盖范围内的终端,包括:The process shown in FIG. 1 is an execution process of the initiator. Based on the process of the initiator, the present application provides a process of the terminal within the coverage of the initiator wireless local area network. As shown in FIG. 4, a wireless local area network connection method is applied to a terminal in a coverage area of an initiator wireless local area network, including:
步骤S401:在接收发起方发送的管理帧之后,在所述管理帧提取当前数据和发起方标识;其中,所述管理帧为在所述发起方为网络接入点情况下发送至所述终端的,所述管理帧包括所述当前数据和发起方标识,所述当前数据至少包括当前标识信息集合,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围。Step S401: After receiving the management frame sent by the initiator, extract the current data and the initiator identifier in the management frame, where the management frame is sent to the terminal when the initiator is a network access point. The management frame includes the current data and an initiator identifier, and the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the wireless local area network with the initiator is allowed to be established in the current scenario. The range of connected terminals is allowed.
终端可以接收发起方发送的管理帧,并在管理帧中提取当前数据和发起方标识。当前数据包括当前标识信息集合,利用当前标识信息集合可以确定终端允许范围。The terminal may receive the management frame sent by the initiator, and extract the current data and the initiator identifier in the management frame. The current data includes a current set of identification information, and the current identification information set can be used to determine the allowed range of the terminal.
步骤S402:在满足第一预设条件的情况下,判断所述终端是否已与所述发起方标识对应的发起方建立无线局域网连接。若是,则执行其它处理流程,否则进入步骤S403。 Step S402: If the first preset condition is met, determine whether the terminal has established a wireless local area network connection with the initiator corresponding to the initiator identifier. If so, another processing flow is executed, otherwise the process proceeds to step S403.
终端可以存储有拒绝列表,所述拒绝列表包括一个或多个已被拒绝的场景标识。那么,在所述当前数据包括与所述当前场景对应的当前场景标识的情况下,满足第一预设条件的确定过程具体包括:The terminal may store a deny list including one or more scene identifiers that have been rejected. Then, in a case that the current data includes the current scene identifier corresponding to the current scenario, the determining process that meets the first preset condition specifically includes:
判断所述当前场景标识是否处于拒绝列表中;其中,所述拒绝列表包括一个或多个已被拒绝的场景标识。Determining whether the current scene identifier is in a reject list; wherein the reject list includes one or more scene identifiers that have been rejected.
若所述当前场景标识处于所述拒绝列表中,则确定不满足第一预设条件;在确定不满足第一预设条件之后,则不必执行后续的处理过程。若所述当前场景标识未处于所述拒绝列表中,则确定满足第一预设条件;在确定满足第一预设条件之后,则可以执行后续的处理过程。If the current scene identifier is in the reject list, it is determined that the first preset condition is not met; after determining that the first preset condition is not met, the subsequent processing procedure does not have to be performed. If the current scene identifier is not in the reject list, it is determined that the first preset condition is met; after determining that the first preset condition is met, a subsequent processing procedure may be performed.
由于本实施例在终端与发起方标识对应的发起方未建立连接的情况下适用,因此,首先终端判断自身是否已经与发起方标识对应的发起方建立连接。若是的话,则因为终端已经与发起方建立连接,则无需在使用本实施例再次建立连接,因此可以执行其它处理流程。若否的话,则说明终端未与发起方的无线局域网建立连接,因此,进入步骤S403。This embodiment is applicable to the case where the initiator and the initiator corresponding to the initiator identifier do not establish a connection. Therefore, the terminal first determines whether the initiator has established a connection with the initiator corresponding to the initiator identifier. If so, since the terminal has established a connection with the initiator, there is no need to establish a connection again using the present embodiment, and thus other processing procedures can be performed. If not, it means that the terminal has not established a connection with the initiator's wireless local area network. Therefore, the process proceeds to step S403.
步骤S403:若未与所述发起方建立无线局域网连接,则基于所述当前标识信息集合,确定所述发起方允许建立无线局域网连接的终端允许范围。Step S403: If a wireless local area network connection is not established with the initiator, determining, according to the current identification information set, the terminal permission range that the initiator allows to establish a wireless local area network connection.
若终端未与所述发起方的无线局域网建立连接,则按本实施例提供的方式与发起方建立连接,因为并不是无线局域网覆盖范围内的所有终端均可以建立无线局域网连接,而是处于终端允许范围之内的终端可以建立无线局域网连接。因此,基于当前标识信息集合需要确定终端允许范围。If the terminal does not establish a connection with the WLAN of the initiator, the connection is established with the initiator according to the manner provided in this embodiment, because not all terminals in the coverage of the WLAN can establish a wireless LAN connection, but are at the terminal. Terminals within the allowed range can establish a wireless LAN connection. Therefore, it is necessary to determine the terminal allowable range based on the current identification information set.
如图5所示,基于当前标识信息集合需要确定终端允许范围具体包括以下步骤: As shown in FIG. 5, determining the allowed range of the terminal based on the current identifier information set specifically includes the following steps:
步骤S501:判断所述当前标识信息集合包含总体标识,若是则进入步骤S502,否则进入步骤S503。Step S501: determining that the current identification information set includes an overall identifier, and if yes, proceeding to step S502, otherwise proceeding to step S503.
通过图1所示的实施例可以得知当前标识信息集合为当前好友标识集合、当前好友组标识集合和总体标识的任意组合。因此,首先判断当前标识信息集合中是否包含总体标识,若是的话,则进入步骤S502。The embodiment shown in FIG. 1 can be used to know that the current identification information set is any combination of the current buddy identification set, the current buddy group identification set, and the overall identities. Therefore, it is first determined whether the current identification information set includes the overall identification, and if so, the process proceeds to step S502.
步骤S502:若所述当前标识信息集合包含总体标识,则将所述发起方无线局域网覆盖范围内的所有终端标识,确定为终端允许范围;其中,所述总体标识用于表示所述发起方无线局域网覆盖范围内的所有终端标识。Step S502: Determine, if the current identifier information set includes an overall identifier, all terminal identifiers in the coverage area of the initiator wireless local area network as a terminal allowable range, where the overall identifier is used to indicate the initiator wireless All terminal IDs within the coverage of the LAN.
由于总体标识表示所述发起方无线局域网覆盖范围内的所有终端标识。即,无线局域网覆盖范围内的所有终端均属于终端允许范围。因此,若当前标识信息集合包含总体标识,则将发起方无线局域网覆盖范围内的所有终端标识,确定为终端允许范围。即,无线局域网覆盖范围内的任一个终端向发起方发送连接请求,发起方均会接收连接请求,并与之建立连接。Since the overall identity represents all terminal identities within the coverage of the initiator WLAN. That is, all terminals within the coverage of the WLAN belong to the terminal allowable range. Therefore, if the current identification information set includes the overall identifier, all terminal identifiers within the coverage of the initiator wireless local area network are determined as the terminal allowed range. That is, any terminal within the coverage of the WLAN sends a connection request to the initiator, and the initiator will receive the connection request and establish a connection with the initiator.
步骤S503:将当前标识信息集合确定的范围,作为终端允许范围。Step S503: The range determined by the current identification information set is used as the terminal allowed range.
若所述当前标识信息集合不包含总体标识,则当前标识信息集合可以包括当前好友标识集合和/或当前好友组标识集合。即,当前标识信息集合仅包括当前好友标识集合,仅包括当前好友组标识集合,包括当前好友标识集合和当前好友组标识集合三种情况。下面针对三种情况分别进行描述:If the current identifier information set does not include an overall identifier, the current identifier information set may include a current friend identifier set and/or a current friend group identifier set. That is, the current identification information set includes only the current buddy identities set, including only the current buddy group identities set, including the current buddy identities set and the current buddy group identities set. The following describes each of the three situations:
第一种情况:当前标识信息集合仅包含所述当前好友标识集合。In the first case, the current identification information set only includes the current friend identification set.
若所述当前标识信息集合不包含总体标识,则在所述当前标识信息集合仅包含所述当前好友标识集合的情况下,将所述当前好友标识集合确定 为所述终端允许范围。If the current identifier information set does not include an overall identifier, if the current identifier information set only includes the current buddy identifier set, determining the current buddy identifier set The range is allowed for the terminal.
第二种情况:当前标识信息集合仅包含所述当前好友组标识集合。The second case: the current identification information set only includes the current buddy group identification set.
若所述当前标识信息集合不包含总体标识,在所述当前标识信息集合仅包含所述当前好友组标识集合的情况下,将所述当前好友组标识集合确定为所述终端允许范围。If the current identifier information set does not include the overall identifier, if the current identifier information set only includes the current buddy group identifier set, the current buddy group identifier set is determined as the terminal allowed range.
第三种情况:当前标识信息集合包含当前好友标识集合和当前好友组标识集合。The third case: the current identification information set includes a current friend identification set and a current friend group identification set.
若所述当前标识信息集合不包含总体标识,在所述当前标识信息集合包含当前好友标识集合和当前好友组标识集合的情况下,将所述当前好友标识集合和所述当前好友组标识集合的并集确定为所述终端允许范围。If the current identifier information set does not include an overall identifier, if the current identifier information set includes a current friend identifier set and a current friend group identifier set, the current friend identifier set and the current friend group identifier set are The union is determined to be the allowable range of the terminal.
接着返回图4,进入步骤S404:若所述终端确定处于所述终端允许范围内,则在满足第二预设条件的情况下,向所述发起方发送连接请求。Going back to FIG. 4, the process proceeds to step S404: If the terminal determines to be within the allowed range of the terminal, if the second preset condition is met, a connection request is sent to the initiator.
在按图5所示的过程确定终端允许范围之后,则判断终端是否在终端允许范围内。若终端在终端允许范围内,且,满足第二预设条件的情况下,则向发起方发送连接请求,连接请求包括终端标识。After determining the allowed range of the terminal according to the procedure shown in FIG. 5, it is judged whether the terminal is within the allowable range of the terminal. If the terminal is within the allowed range of the terminal and the second preset condition is met, the connection request is sent to the initiator, and the connection request includes the terminal identifier.
根据当前标识信息集合,终端允许范围本步骤可以分为两种情况:包含总体标识和不包含总体标识。According to the current identification information set, the terminal allows the range. This step can be divided into two cases: including the overall identifier and not including the overall identifier.
第一种情况:当前标识信息集合包含总体标识,则终端允许范围为所有终端。The first case: the current identification information set contains the overall identification, and the terminal allows the range to be all terminals.
若当前标识信息集合包含总体标识的情况下,则确定终端必然在终端允许范围内。因为,总体标识对应的终端允许范围为无线局域网覆盖范围内的所有终端,因此,只要终端在无线局域网的覆盖范围内,则说明终端 在终端允许范围内。If the current identification information set includes the overall identification, it is determined that the terminal is necessarily within the allowed range of the terminal. Because the terminal corresponding to the overall identifier is allowed to be all terminals in the coverage of the wireless local area network, therefore, as long as the terminal is within the coverage of the wireless local area network, the terminal is described Within the allowable range of the terminal.
第二种情况:当前标识信息集合包含总体标识,则当前标识信息集合为终端允许范围。The second case: the current identification information set includes an overall identifier, and the current identification information set is a terminal allowed range.
当前标识信息集合可以包括当前好友标识集合和/或当前好友组标识集合。即,当前标识信息集合仅包括当前好友标识集合,仅包括当前好友组标识集合,包括当前好友标识集合和当前好友组标识集合三种方式。针对不同的方式,确定终端处于所述终端允许范围的方式不同。下面针对三种方式分别进行描述:The current set of identification information may include a current set of buddy identities and/or a set of current buddy group identities. That is, the current identifier information set includes only the current buddy identities set, and only includes the current buddy group identifier set, including the current buddy identities set and the current buddy group identifier set. For different ways, it is determined that the manner in which the terminal is in the allowed range of the terminal is different. The following describes each of the three ways:
第一方式:终端允许范围为所述当前好友标识集合。The first mode: the terminal allowed range is the current friend identifier set.
在所述终端允许范围为所述当前好友标识集合的情况下,若所述终端标识包含在当前好友标识集合内,则确定所述终端处于所述终端允许范围内。否则,确定所述终端不处于所述终端允许范围内。If the terminal allowed range is the current buddy identifier set, if the terminal identifier is included in the current buddy identifier set, determining that the terminal is within the terminal allowed range. Otherwise, it is determined that the terminal is not within the allowed range of the terminal.
第二方式:终端允许范围为当前好友组标识集合。The second mode: the terminal allowed range is the current friend group identifier set.
在所述终端允许范围为当前好友组标识集合的情况下,若所述终端的第二预设好友组标识集合中任一好友组标识包含在所述当前好友组标识集合内,则确定所述终端处于所述终端允许范围内。否则,确定所述终端不处于所述终端允许范围内。If the allowed range of the terminal is the current buddy group identifier set, if any of the buddy group identifiers in the second preset buddy group identifier set of the terminal is included in the current buddy group identifier set, determining the The terminal is within the allowable range of the terminal. Otherwise, it is determined that the terminal is not within the allowed range of the terminal.
第三方式:终端允许范围为当前好友标识集合和当前好友组标识集合的并集。The third mode: the terminal allowed range is a union of the current friend identifier set and the current friend group identifier set.
在所述终端允许范围为所述当前好友标识集合和当前好友组标识集合的并集的情况下,则只要满足第一种方式或第二种方式,便可以确定所述终端处于所述终端允许范围内。若终端即不满足第一种方式又不满足第二 种方式,则确定所述终端不处于所述终端允许范围内。In a case that the terminal allowed range is a union of the current buddy identifier set and the current buddy group identifier set, the first mode or the second mode may be satisfied, so that the terminal is determined to be in the terminal permission. Within the scope. If the terminal does not satisfy the first method and does not satisfy the second Alternatively, it is determined that the terminal is not within the allowed range of the terminal.
若按上述方式确定终端处于终端允许范围内时,则说明终端满足发起方的建立无线局域网连接的条件。此时,终端还可以判断发起方是否满足自身建立无线局域网连接的第二预设条件。第二预设条件可以为空条件,即,在终端处于终端允许范围内的情况下,终端则可向发起方发送连接请求,以便与发起方的无线局域网建立连接。If it is determined in the above manner that the terminal is within the allowed range of the terminal, it indicates that the terminal satisfies the condition of the initiator to establish a wireless local area network connection. At this time, the terminal may also determine whether the initiator meets the second preset condition for establishing a wireless local area network connection by itself. The second preset condition may be an empty condition, that is, if the terminal is within the allowed range of the terminal, the terminal may send a connection request to the initiator to establish a connection with the initiator's wireless local area network.
但是,当第二预设条件为空条件的方式稍微有些不人性化,因为,因为此时会直接越过终端的使用用户的允许,而直接与发起方建立无线局域网连接,这会引起终端的使用用户的不便。However, when the second preset condition is an empty condition, the method is slightly unhumanized because, because the user's permission of the terminal is directly crossed at this time, and the wireless LAN connection is directly established with the initiator, this may cause the terminal to be used. User's inconvenience.
因此,优选的情况下,第二预设条件非空条件,终端在确定处于终端允许范围的情况下,还需要再次判断是否满足第二预设条件,以确认是否满足终端建立无线局域网连接的条件。若终端确定满足第二预设条件,则可以向发起方发送连接请求,以便与发起方建立连接。若终端不满足第二预设条件,则终端不向发起方发送连接请求。Therefore, in a preferred case, the second preset condition is a non-empty condition, and if the terminal determines that the terminal is within the allowable range of the terminal, it is further required to determine whether the second preset condition is met to confirm whether the condition for establishing the wireless local area network connection by the terminal is met. . If the terminal determines that the second preset condition is met, the connection request may be sent to the initiator to establish a connection with the initiator. If the terminal does not satisfy the second preset condition, the terminal does not send a connection request to the initiator.
在当前数据包括用于连接无线局域网的密码信息时,连接请求可以包括用于连接无线局域网的密码信息,以便网络接入点依据密码信息来进行验证,以保证密码信息正确的终端接入无线局域网。When the current data includes password information for connecting to the wireless local area network, the connection request may include password information for connecting to the wireless local area network, so that the network access point performs verification according to the password information to ensure that the terminal with the correct password information accesses the wireless local area network. .
下面详细说明终端是否满足第二预设条件的过程。如图6所示,具体包括以下步骤:The process of whether the terminal satisfies the second preset condition will be described in detail below. As shown in FIG. 6, the following steps are specifically included:
步骤S601:判断所述终端与发起方是否为陌生人关系。若是,则进入步骤S602;若否,则进入步骤S605。Step S601: Determine whether the terminal and the initiator are in a stranger relationship. If yes, go to step S602; if no, go to step S605.
在图1所示的实施例中可以得知发起方中具有第一预设好友标识集 合,和/或第一预设好友组标识。在终端中也可以包括预设好友标识集合和/或预设好友组标识,为了区分将终端的预设好友标识集合和/或预设好友组标识称为第二预设好友标识集合和/或第二预设好友组标识。In the embodiment shown in FIG. 1, it can be known that the initiator has the first preset friend identifier set. And, and/or the first preset friend group identifier. The preset friend identifier set and/or the preset friend group identifier may also be included in the terminal, and the preset friend identifier set and/or the preset friend group identifier of the terminal are referred to as a second preset friend identifier set and/or The second preset friend group identifier.
终端基于第二预设好友标识集合和/或第二预设好友组标识判断自身与发起方是否陌生人关系,具体方式可以为:The terminal determines whether the relationship between the initiator and the initiator is a stranger based on the second preset friend identifier set and/or the second preset friend group identifier, and the specific manner may be:
在终端包含第二预设好友标识集合的情况下,判断所述发起方标识是否包含在终端的第二预设好友标识集合,若发起方标识包含在第二预设好友标识集合中,则说明发起方标识已经预先存储在终端中。这表示发起方为终端潜在连接方,因此,终端确定自身与发起方标识对应的发起方为好友关系而非陌生人关系。If the terminal includes the second preset friend identifier set, the method determines whether the initiator identifier is included in the second preset friend identifier set of the terminal, and if the initiator identifier is included in the second preset friend identifier set, The initiator ID has been previously stored in the terminal. This means that the initiator is a potential connection party of the terminal, and therefore, the terminal determines that the initiator corresponding to the initiator identifier is a friend relationship rather than a stranger relationship.
在终端包含第二预设好友组集合且当前标识信息集合包含当前好友组的情况下,判断第二预设好友组标识集合与所述当前好友组标识集合具有相同的组标识;若两者具有相同的组标识,则说明两者同属于同一好友组,这间接表明两者是好友关系非陌生人关系。If the terminal includes the second preset buddy group set and the current identities information set includes the current buddy group, the second preset buddy group identifier set and the current buddy group identifier set have the same group identifier; The same group ID indicates that both belong to the same group of friends, which indirectly indicates that the two are non-stranger relationships.
若发起方标识不包含在第二预设好友标识集合中,且,第二预设好友组标识集合与所述当前好友组标识集合不具有相同组标识,则说明终端与发起方为陌生人关系。If the initiator identifier is not included in the second preset friend identifier set, and the second preset friend group identifier set does not have the same group identifier as the current friend group identifier set, the terminal and the initiator are strangers. .
步骤S602:若所述终端与所述发起方为陌生人关系,则显示所述提示信息;其中,所述提示信息包括所述发起方的名称、所述发起方发起无线局域网的发起时间、所述发起方的地理位置和/或发起方发起无线局域网的主题。Step S602: Display the prompt information if the terminal and the initiator are in a stranger relationship, where the prompt information includes a name of the initiator, a start time of the initiator to initiate a wireless local area network, and a location The geographic location of the originator and/or the originator initiated the subject of the wireless local area network.
若终端与发起方为陌生人关系,则终端会显示管理帧包含的当前数据 中的提示信息。所述提示信息包括所述发起方的名称、所述发起方发起无线局域网的发起时间、所述发起方的地理位置和/或发起方发起无线局域网的主题。If the terminal and the initiator are in a stranger relationship, the terminal displays the current data contained in the management frame. Prompt information in . The prompt information includes a name of the initiator, an origination time of the initiator to initiate a wireless local area network, a geographic location of the initiator, and/or a subject of the initiator initiating a wireless local area network.
终端的使用用户可以通过提示信息查看到发起方的相关信息或者说无线局域网的相关信息,因此,使得终端的使用用户了解发起方,以便决定是否与发起方的无线局域网建立连接。The user of the terminal can view the related information of the initiator or the related information of the wireless local area network through the prompt information, so that the user of the terminal knows the initiator to decide whether to establish a connection with the initiator's wireless local area network.
步骤S603:判断是否接收到允许与所述发起方的无线局域网建立连接的确认指令;若是,则进入步骤S604,否则进入步骤S606。Step S603: determining whether an acknowledgment instruction for allowing connection with the WLAN of the initiator is received; if yes, proceeding to step S604, otherwise proceeding to step S606.
若接收到确认指令,则确定满足第二预设条件。在确定满足第二预设条件之后,终端便可以与发起方建立无线局域网连接。If a confirmation command is received, it is determined that the second preset condition is satisfied. After determining that the second preset condition is met, the terminal can establish a wireless local area network connection with the initiator.
步骤S604:将所述发起方标识添加至所述第二预设好友列表中。Step S604: Add the initiator identifier to the second preset buddy list.
在终端接收到用户的确认指令之后,可以将发起方标识添加至第二预设好友列表中。以便再次接收发起方的无线局域网连接时,可以与发起方的无线局域网,而不必经过用户的确认指令。After the terminal receives the confirmation instruction of the user, the initiator identifier may be added to the second preset buddy list. In order to receive the initiator's wireless LAN connection again, it can communicate with the initiator's wireless LAN without having to go through the user's confirmation command.
步骤S605:确定满足第二预设条件,并向发起方发送连接请求。Step S605: It is determined that the second preset condition is met, and a connection request is sent to the initiator.
若终端与发起方非陌生人关系,则表示终端潜在希望与发起方建立连接,因此,则确定终端满足第二预设条件。或者,若终端与发起方为陌生人关系,但是终端希望与发起方建立连接,则确定终端满足第二预设条件。If the terminal is not in a stranger relationship with the initiator, it indicates that the terminal potentially wants to establish a connection with the initiator, and therefore, it is determined that the terminal satisfies the second preset condition. Alternatively, if the terminal and the initiator are in a stranger relationship, but the terminal wishes to establish a connection with the initiator, it is determined that the terminal satisfies the second preset condition.
若终端确定满足第二预设条件,则可以与发起方建立连接。If the terminal determines that the second preset condition is met, a connection can be established with the initiator.
步骤S606:若未接收到确认指令,则确定不满足第二预设条件。Step S606: If the confirmation command is not received, it is determined that the second preset condition is not satisfied.
若未接收到用户的确认指令,则说明用户不希望与发起方建立无线局域网连接,因此,终端不向发起方发起连接请求。 If the user's confirmation command is not received, the user does not want to establish a wireless LAN connection with the initiator, and therefore, the terminal does not initiate a connection request to the initiator.
步骤S607:将所述当前场景标识添加至拒绝列表中。Step S607: Add the current scene identifier to the rejection list.
如图7所示,本申请还包括一种无线局域网连接装置,应用于无线局域网的发起方,所述装置包括:As shown in FIG. 7, the application further includes a wireless local area network connection device, which is applied to an initiator of a wireless local area network, and the device includes:
第一确定单元71,用于确定与当前场景对应的当前数据,所述当前数据至少包括当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围。The first determining unit 71 is configured to determine current data corresponding to the current scenario, where the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the current scenario is allowed to be associated with the initiator. The range of the terminal allowed by the WLAN to establish a connection.
其中,所述当前数据还包括:与发起方的无线局域网对应的提示信息;其中,所述提示信息包括:所述发起方的名称、所述发起方发起无线局域网的发起时间、所述发起方的地理位置和/或发起方发起无线局域网的主题。The current data further includes: prompt information corresponding to the wireless local area network of the initiator; wherein the prompt information includes: a name of the initiator, an initiation time of the initiator to initiate a wireless local area network, and the initiator The geographic location and/or the originator initiated the topic of the WLAN.
发送单元72,用于在所述发起方为网络接入点情况下,向所述发起方的无线局域网覆盖范围内发送管理帧;其中,所述管理帧包括所述当前数据和发起方标识。The sending unit 72 is configured to send, in the case that the initiator is a network access point, a management frame to a wireless local area network coverage of the initiator, where the management frame includes the current data and an initiator identifier.
接收单元73,用于接收无线局域网覆盖范围内的终端发送的连接请求;其中,所述连接请求为所述终端在确认处于所述终端允许范围内且满足第二预设条件的情况下向所述发起方发送的。The receiving unit 73 is configured to receive a connection request sent by a terminal in a coverage area of the wireless local area network, where the connection request is that the terminal confirms that the terminal is within the allowed range of the terminal and meets a second preset condition. Sent by the initiator.
连接单元74,用于将所述发起方与终端建立无线局域网连接。The connecting unit 74 is configured to establish a wireless local area network connection between the initiator and the terminal.
其中,当前标识信息集合的确定过程,包括:The determining process of the current identifier information set includes:
获取所述发起方的当前好友标识集合、当前好友组标识集合和总体标识的任意组合;其中,所述当前好友标识集合为所述发起方的第一预设好友标识集合中一个或多个好友标识的集合,所述当前好友组标识集合为所述发起方的第一预设好友组标识集合中一个或多个好友组标识的集合,所 述总体标识用于指示所述发起方无线局域网覆盖范围内的所有终端标识;将所述当前好友标识集合、所述当前好友组标识集合和所述总体标识的任意组合,确定为所述当前标识信息集合。And obtaining, by the initiator, any combination of the current friend identifier set, the current friend group identifier set, and the overall identifier, where the current friend identifier set is one or more friends in the first preset friend identifier set of the initiator a set of identifiers, where the current buddy group identifier set is a set of one or more buddy group identifiers in the first preset buddy group identifier set of the initiator, The overall identifier is used to indicate all terminal identifiers in the coverage area of the initiator WLAN; and any combination of the current buddy identifier set, the current buddy group identifier set, and the overall identifier is determined as the current identifier. Information collection.
其中,所述连接请求包括用于表示所述终端的终端标识,则所述装置还包括:判断所述第一预设好友标识集合是否包含所述终端标识;若所述第一预设好友标识集合不包含所述终端标识,则将所述终端标识添加至所述第一预设好友标识集合中。The device, the device further includes: determining whether the first preset friend identifier set includes the terminal identifier; and if the first preset friend identifier is If the set does not include the terminal identifier, the terminal identifier is added to the first preset friend identifier set.
如图8所示,本申请还提供一种无线局域网连接装置,应用于发起方无线局域网覆盖范围内的终端,所述装置包括:As shown in FIG. 8 , the present application further provides a wireless local area network connection device, which is applied to a terminal in a coverage area of an initiator wireless local area network, and the device includes:
提取单元81,用于在接收发起方发送的管理帧之后,在所述管理帧提取当前数据和发起方标识;其中,所述管理帧为在所述发起方为网络接入点情况下发送至所述终端的,所述管理帧包括所述当前数据和发起方标识,所述当前数据至少包括当前标识信息集合,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围。The extracting unit 81 is configured to: after receiving the management frame sent by the initiator, extract the current data and the initiator identifier in the management frame; where the management frame is sent to the initiator when the initiator is a network access point The management frame of the terminal includes the current data and an initiator identifier, and the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the current scene is allowed to be associated with the initiator. The range of the terminal allowed by the WLAN to establish a connection.
判断单元82,用于在满足第一预设条件的情况下,判断所述终端是否已与所述发起方标识对应的发起方建立无线局域网连接。The determining unit 82 is configured to determine, if the first preset condition is met, whether the terminal has established a wireless local area network connection with an initiator corresponding to the initiator identifier.
其中,在所述当前数据包括与所述当前场景对应的当前场景标识的情况下,满足第一预设条件的确定过程包括:判断所述当前场景标识是否处于拒绝列表中;其中,所述拒绝列表包括一个或多个已被拒绝的场景标识;若所述当前场景标识处于所述拒绝列表中,则确定不满足第一预设条件; 若所述当前场景标识未处于所述拒绝列表中,则确定满足第一预设条件。In the case that the current data includes the current scene identifier corresponding to the current scene, the determining process of the first preset condition includes: determining whether the current scene identifier is in the reject list; wherein the rejecting The list includes one or more scene identifiers that have been rejected; if the current scene identifier is in the rejection list, it is determined that the first preset condition is not met; If the current scene identifier is not in the reject list, it is determined that the first preset condition is met.
第二确定单元83,用于若未与所述发起方建立无线局域网连接,则基于所述当前标识信息集合,确定所述发起方允许建立无线局域网连接的终端允许范围。The second determining unit 83 is configured to determine, according to the current identifier information set, a terminal allowable range for the initiator to establish a wireless local area network connection, if the wireless local area network connection is not established with the initiator.
发送请求单元84,用于若所述终端确定处于所述终端允许范围内,则在满足第二预设条件的情况下,向所述发起方发送连接请求。所述连接请求包括所述终端的终端标识,所述连接请求还包括终端昵称、终端设备名称、终端设备型号。The sending requesting unit 84 is configured to send a connection request to the initiator if the terminal determines that the terminal is within the allowed range of the terminal, if the second preset condition is met. The connection request includes a terminal identifier of the terminal, and the connection request further includes a terminal nickname, a terminal device name, and a terminal device model.
其中,所述基于所述当前标识信息集合,确定所述发起方允许建立无线局域网连接的终端允许范围,包括:The determining, according to the current identifier information set, the allowed range of the terminal that the initiator allows to establish a wireless local area network connection, including:
(1)若所述当前标识信息集合包含总体标识,则将所述发起方无线局域网覆盖范围内的所有终端标识,确定为终端允许范围;其中,所述总体标识用于表示所述发起方无线局域网覆盖范围内的所有终端标识。(1) determining, if the current identifier information set includes an overall identifier, all terminal identifiers in the coverage area of the initiator wireless local area network as a terminal allowable range; wherein the overall identifier is used to indicate that the initiator is wireless All terminal IDs within the coverage of the LAN.
(2)若所述当前标识信息集合不包含总体标识,则在所述当前标识信息集合仅包含所述当前好友标识集合的情况下,将所述当前好友标识集合确定为所述终端允许范围。(2) If the current identifier information set does not include the overall identifier, if the current identifier information set only includes the current buddy identifier set, the current buddy identifier set is determined as the terminal allowed range.
(3)若所述当前标识信息集合不包含总体标识,在所述当前标识信息集合仅包含所述当前好友组标识集合的情况下,将所述当前好友组标识集合确定为所述终端允许范围。(3) If the current identifier information set does not include the overall identifier, if the current identifier information set only includes the current buddy group identifier set, the current buddy group identifier set is determined as the terminal allowed range. .
(4)若所述当前标识信息集合不包含总体标识,在所述当前标识信息集合包含当前好友标识集合和当前好友组标识集合的情况下,将所述当前 好友标识集合和所述当前好友组标识集合的并集确定为所述终端允许范围。(4) If the current identifier information set does not include an overall identifier, if the current identifier information set includes a current buddy identifier set and a current buddy group identifier set, the current The union of the buddy identification set and the current buddy group identification set is determined as the terminal allowed range.
在所述当前标识信息集合不包含总体标识的情况下,所述确定所述终端处于所述终端允许范围内,包括:If the current identifier information set does not include the overall identifier, the determining that the terminal is within the allowed range of the terminal includes:
(1)在所述终端允许范围为所述当前好友标识集合的情况下,若所述终端标识包含在当前好友标识集合内,则确定所述终端处于所述终端允许范围内。(1) If the terminal allowed range is the current buddy identity set, if the terminal identifier is included in the current buddy identity set, determining that the terminal is within the terminal allowed range.
(2)在所述终端允许范围为当前好友组标识集合的情况下,若所述终端的第二预设好友组标识集合中任一好友组标识包含在所述当前好友组标识集合内,则确定所述终端处于所述终端允许范围内。(2) If the allowed range of the terminal is the current buddy group identifier set, if any of the buddy group identifiers in the second preset buddy group identifier set of the terminal is included in the current buddy group identifier set, Determining that the terminal is within the allowed range of the terminal.
(3)若所述终端允许范围为所述当前好友标识集合和当前好友组标识集合的情况下,若所述终端标识包含在当前好友标识集合内,或者,若所述终端的第二预设好友组标识集合中任一好友组标识包含在所述当前好友组标识集合内,则确定所述终端处于所述终端允许范围内。(3) If the terminal allowed range is the current buddy identifier set and the current buddy group identifier set, if the terminal identifier is included in the current buddy identifier set, or if the terminal is in the second preset If any of the buddy group identifiers in the buddy group identifier set is included in the current buddy group identifier set, it is determined that the terminal is within the allowed range of the terminal.
其中,在所述当前数据包括与发起方的无线局域网对应的提示信息的情况下,满足第二预设条件的确定过程包括:若所述终端与所述发起方非陌生人关系,则确定满足第二预设条件;若所述终端与所述发起方为陌生人关系,则显示所述提示信息;其中,所述提示信息包括所述发起方的名称、所述发起方发起无线局域网的发起时间、所述发起方的地理位置和/或发起方发起无线局域网的主题;若接收到允许与所述发起方的无线局域网建立连接的确认指令,则确定满足第二预设条件。若接收到不允许与所 述发起方的无线局域网建立连接的确认指令,则将所述当前场景标识添加至拒绝列表中。Wherein, in the case that the current data includes prompt information corresponding to the wireless local area network of the initiator, the determining process of satisfying the second preset condition includes: if the terminal is non-stranger relationship with the initiator, determining to satisfy a second preset condition; if the terminal is in a stranger relationship with the initiator, the prompt information is displayed; wherein the prompt information includes a name of the initiator, and the initiator initiates initiation of a wireless local area network The time, the geographic location of the initiator, and/or the initiator initiates the subject of the wireless local area network; if an acknowledgment command is received that allows a connection to the wireless local area network of the originator to be established, it is determined that the second predetermined condition is met. If you do not allow it, The confirmation message of the initiator's wireless local area network establishing a connection adds the current scene identifier to the rejection list.
若所述终端与所述发起方为陌生人关系,且,接收到允许与所述发起方的无线局域网建立连接的确认指令,所述方法还包括:将所述发起方标识添加至所述第二预设好友列表中。If the terminal is in a stranger relationship with the initiator, and receives an acknowledgment command to establish a connection with the initiator's WLAN, the method further includes: adding the initiator identifier to the Two preset friends list.
如图9所示,本申请还提供一种无线局域网连接系统,包括:As shown in FIG. 9, the application further provides a wireless local area network connection system, including:
无线局域网的发起方100,和,处于所述发起方无线局域网覆盖范围内的终端200。The initiator 100 of the wireless local area network, and the terminal 200 within the coverage of the initiator's wireless local area network.
其中,所述发起方100,用于确定与当前场景对应的当前数据,所述当前数据至少包括当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;在所述发起方为网络接入点情况下,向所述发起方的无线局域网覆盖范围内发送管理帧;其中,所述管理帧包括所述当前数据和发起方标识;接收无线局域网覆盖范围内的终端发送的连接请求;其中,所述连接请求为所述终端在确认处于所述终端允许范围内且满足第二预设条件的情况下向所述发起方发送的;将所述发起方与终端建立无线局域网连接。The initiator 100 is configured to determine current data corresponding to the current scenario, where the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the current scenario is allowed and initiated. The wireless local area network establishes a connected terminal allowed range; in the case that the initiator is a network access point, sends a management frame to the initiator's wireless local area network coverage; wherein the management frame includes the current data And an initiator identifier; receiving a connection request sent by the terminal in the coverage of the wireless local area network; wherein the connection request is that the terminal is in the case that the terminal is confirmed to be within the allowed range of the terminal and meets the second preset condition The initiator sends the wireless LAN connection with the terminal.
所述终端200,用于在接收发起方发送的管理帧之后,在所述管理帧提取当前数据和发起方标识;其中,所述管理帧为在所述发起方为网络接入点情况下发送至所述终端的,所述管理帧包括所述当前数据和发起方标识,所述当前数据至少包括当前标识信息集合,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许 范围;判断所述终端是否已与所述发起方标识对应的发起方建立无线局域网连接;若未与所述发起方建立无线局域网连接,则基于所述当前标识信息集合,确定所述发起方允许建立无线局域网连接的终端允许范围;若所述终端确定处于所述终端允许范围内,则在满足第二预设条件的情况下,向所述发起方发送连接请求。The terminal 200 is configured to: after receiving the management frame sent by the initiator, extract the current data and the initiator identifier in the management frame; where the management frame is sent when the initiator is a network access point. To the terminal, the management frame includes the current data and an initiator identifier, and the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the initiator and the initiator are allowed in the current scenario. WLAN to establish a connected terminal allows Determining whether the terminal has established a wireless local area network connection with the initiator corresponding to the initiator identifier; if the wireless local area network connection is not established with the initiator, determining, according to the current identification information set, the initiator permission Establishing a terminal allowable range of the wireless local area network connection; if the terminal is determined to be within the allowed range of the terminal, sending a connection request to the initiator if the second preset condition is met.
通过以上内容,可以看出本申请具有以下有益效果:From the above, it can be seen that the present application has the following beneficial effects:
本申请提供了一种无线局域网连接系统,本系统可以根据当前场景来确定与发起方建立连接的当前标识信息集合,当前信息标识集合可以指示与发起方与建立无线局域网连接的终端允许范围。只有在终端允许范围内的终端才可以与发起方的无线局域网建立连接。然后,将当前信息标识集合编入管理帧中并向无线局域网的覆盖范围内发送管理帧。The present application provides a wireless local area network connection system. The system can determine a current identification information set that establishes a connection with an initiator according to a current scenario. The current information identification set can indicate a terminal allowed range with an initiator and a wireless local area network connection. Only terminals within the allowed range of the terminal can establish a connection with the initiator's WLAN. The current set of information identifiers is then programmed into the management frame and the management frame is sent within the coverage of the wireless local area network.
在无线局域网覆盖范围内的终端只有在终端允许范围内的情况下,才有可能与发起方的无线局域网建立连接。终端不在终端允许范围内的情况下不可以与发起方的无线局域网建立连接。本申请通过该方式可以达到发起方根据不同场景来灵活改变连接无线局域网的参与方目的,以便适用于不同场景的连接需求。It is possible to establish a connection with the initiator's WLAN only if the terminal within the coverage of the WLAN is only within the allowable range of the terminal. The terminal may not establish a connection with the initiator's WLAN if the terminal is not within the allowed range of the terminal. In this manner, the present application can achieve the purpose of the initiator to flexibly change the participants of the wireless local area network according to different scenarios, so as to be suitable for connection requirements in different scenarios.
第二方面:基于扩展信息和场景信息灵活地确定网络接入点。The second aspect: flexibly determines the network access point based on the extended information and the scene information.
本申请提供了一种无线局域网连接方法,参见图10,具体包括以下步骤:The present application provides a wireless local area network connection method. Referring to FIG. 10, the method specifically includes the following steps:
步骤S1001:终端生成用于连接无线局域网连接的扩展信息;其中,扩展信息包括连接状态、共享文件标识和/或设备信息。Step S1001: The terminal generates extended information for connecting to the wireless local area network connection; wherein the extended information includes a connection status, a shared file identifier, and/or device information.
为了便于用于可以在多个终端中基于当前场景灵活选择网络接入点, 本实施例中终端可以预先生成一些用于连接无线局域网的扩展信息,扩展信息可以用于显示给用户,以便用户可以根据终端的扩展信息和场景信息来灵活选择网络接入点。For ease of use, the network access point can be flexibly selected based on the current scene in multiple terminals. In this embodiment, the terminal may generate some extended information for connecting to the wireless local area network, and the extended information may be used for displaying to the user, so that the user can flexibly select the network access point according to the extended information and the scene information of the terminal.
其中,扩展信息中的连接状态表示终端是否与网络接入点已经建立无线局域网连接。终端可以判断自身是否已经与网络接入点建立无线局域网连接,若是,则确定连接状态为忙碌状态;若否则确定连接状态为空闲状态。The connection status in the extended information indicates whether the terminal has established a wireless local area network connection with the network access point. The terminal can determine whether it has established a wireless local area network connection with the network access point, and if so, determine that the connection status is busy; if otherwise, determine that the connection status is idle.
扩展信息中的共享文件标识表示终端与其它终端共享文件的标识。终端如果与其它终端共享过文件,则终端可以存储共享文件的标识。The shared file identifier in the extended information indicates the identifier of the file shared by the terminal with other terminals. If the terminal shares a file with other terminals, the terminal can store the identifier of the shared file.
扩展信息中的设备信息包括:终端的设备名称、设备具有4G通信功能、5G通信功能、蓝牙的发射功率或者其它设备信息。设备信息的具体内容可以根据情况具体而定,在此不做限定。The device information in the extended information includes: the device name of the terminal, the device has a 4G communication function, a 5G communication function, a Bluetooth transmit power, or other device information. The specific content of the device information may be determined according to the specific situation, and is not limited herein.
当然扩展信息还可以包括其它内容,具体内容不做限定。Of course, the extended information may also include other content, and the specific content is not limited.
步骤S1002:发起方获取周边终端的终端信息,所述终端信息包括终端的标识和终端的扩展信息,将各个终端信息的终端标识添加至潜在标识信息集合中。获取周边终端发送的蓝牙信号的当前信号强度,基于当前信号强度和原始发射功率计算发起方与终端之间的距离,并在潜在信息标识集合中,通过各个终端的扩展信息、场景信息和/或距离信息确定网络接入点和当前标识信息集合。Step S1002: The initiator acquires terminal information of the peripheral terminal, where the terminal information includes the identifier of the terminal and the extended information of the terminal, and adds the terminal identifier of each terminal information to the potential identifier information set. Obtaining a current signal strength of the Bluetooth signal sent by the peripheral terminal, calculating a distance between the initiator and the terminal based on the current signal strength and the original transmit power, and performing extended information, scene information, and/or information of each terminal in the potential information identifier set. The distance information determines a network access point and a current set of identification information.
发起方接收其它终端发送的蓝牙信号时,可以获得蓝牙信号的当前信号强度,将当前信号强度和原始发射功率进行计算,从而得到发起方与终端之间的距离。本实施例提供两种发起方获取终端信息的方式,下面一一 介绍。When the initiator receives the Bluetooth signal sent by other terminals, the current signal strength of the Bluetooth signal can be obtained, and the current signal strength and the original transmit power are calculated, thereby obtaining the distance between the initiator and the terminal. This embodiment provides two ways for an initiator to obtain terminal information. Introduction.
第一种获取方式:发起方通过蓝牙扫描周边终端,获取周边终端的蓝牙名称和/或广播报文,并从蓝牙名称和/或广播报文中获取扩展信息。The first type of acquisition: the initiator scans the peripheral terminal through Bluetooth, obtains the Bluetooth name and/or broadcast message of the peripheral terminal, and obtains the extended information from the Bluetooth name and/or the broadcast message.
终端在步骤S1001中获取扩展信息后,可以将扩展信息添加至蓝牙名称/或广播报文中。这样,发起方可以通过蓝牙扫描周边终端,并获取周边终端的蓝牙名称/或广播报文,这样发起方便可以在蓝牙名称/或广播报文中获取周边终端的扩展信息。After the terminal acquires the extended information in step S1001, the extended information may be added to the Bluetooth name/or broadcast message. In this way, the initiator can scan the peripheral terminal through Bluetooth and obtain the Bluetooth name/ broadcast message of the peripheral terminal, so that it is convenient to initiate the extension information of the peripheral terminal in the Bluetooth name/ broadcast message.
第二种实现方式:发起方通过与周边终端建立蓝牙连接,接收其它设备发送的终端信息。The second implementation manner: the initiator establishes a Bluetooth connection with the peripheral terminal, and receives terminal information sent by other devices.
发起方可以通过蓝牙与周边终端建立蓝牙连接,其它终端向发起方发送终端信息。发起方便接收周边终端发送的终端信息。The initiator can establish a Bluetooth connection with the peripheral terminal through Bluetooth, and other terminals send the terminal information to the initiator. It is convenient to receive the terminal information sent by the peripheral terminal.
发起方在获得终端信息后,将各个终端信息的终端标识添加至潜在标识信息集合中。潜在标识信息集合在添加终端标识之前,可以具有以其它方式获得的终端标识。After obtaining the terminal information, the initiator adds the terminal identifier of each terminal information to the potential identification information set. The set of potential identification information may have terminal identifications obtained in other ways before adding the terminal identification.
发起方可以在潜在标识信息集合中,根据周边终端发送的终端信息中的扩展信息、场景信息和/或距离信息来确定网络接入点。The initiator may determine the network access point according to the extended information, the scene information, and/or the distance information in the terminal information sent by the peripheral terminal in the set of potential identification information.
网络接入点可以由发起方利用扩展信息、场景信息和距离信息,并基于预设规则在多个终端中进行自动选择,也可以将多个终端的扩展信息、场景信息和距离信息显示至用户,由用户自己进行选择。The network access point may use the extended information, the scene information, and the distance information by the initiator, and automatically selects among the multiple terminals based on the preset rule, and may also display the extended information, the scene information, and the distance information of the multiple terminals to the user. , by the user to make their own choices.
其中,距离信息为发起方与各个终端之间的距离。场景信息表示与当前场景的一些信息,例如,时间、地点、人物、会议主题、用户连接需求等等内容。 The distance information is the distance between the initiator and each terminal. The scene information represents some information about the current scene, such as time, place, person, conference theme, user connection requirements, and the like.
以用户自己选择网络接入点为例,用户可以查看各个终端的连接状态,并在连接状态为空闲状态的终端选择一个终端,将该终端为网络接入点。Taking the user's own selection of the network access point as an example, the user can view the connection status of each terminal, and select a terminal in the terminal whose connection state is idle, and the terminal is a network access point.
以终端自动选择网络接入点为例,通过扩展信息中的共享文件的标识,发现其中一个终端共享过一个热点文件,则可以将该终端作为网络接入点,以便该网络接入点可以继续共享热点文件。或者,通过扩展信息发现一个终端正在拍摄视频,则可以将该终端作为网络接入点,以便通过局域网传播所网络接入点所拍摄的视频,等等。Taking the terminal automatically selecting a network access point as an example, by extending the identifier of the shared file in the information and discovering that one of the terminals shares a hotspot file, the terminal can be used as a network access point, so that the network access point can continue. Share hotspot files. Alternatively, by expanding the information to find that a terminal is capturing a video, the terminal can be used as a network access point to propagate the video captured by the network access point through the local area network, and the like.
本实施例可以根据终端信息中的扩展信息、场景信息和/或距离信息来确定网络接入点来设定网络接入点,相对于第一方面预先设定网络接入点而言,可以提高构建无线局域网的灵活性。In this embodiment, the network access point may be determined according to the extended information, the scenario information, and/or the distance information in the terminal information, and the network access point may be set according to the first aspect. Build the flexibility of a wireless LAN.
发起方还可以基于终端的扩展信息、场景信息和/或距离信息来确定当前标识信息集合。具体而言,当前标识信息集合可以利用终端的扩展信息、场景信息和/或距离信息,并由终端基于预设规则在多个终端中进行自动选择。也可以将多个终端的扩展信息、场景信息和/或距离信息显示至用户,由用户自己进行选择。The initiator may also determine the current set of identification information based on the extension information, the scene information, and/or the distance information of the terminal. Specifically, the current identification information set may utilize extension information, scene information, and/or distance information of the terminal, and the terminal automatically selects among the multiple terminals based on the preset rule. It is also possible to display the extension information, the scene information, and/or the distance information of the plurality of terminals to the user, and the user himself or herself selects.
以用户确定当前标识信息集合为例,用户通过查看各个终端的连接状态,将连接状态处于空闲状态的终端标识作为当前标识信息集合。当然还有其他的确定方式,在此不再一一列举。As an example, the user determines the current identification information set. The user identifies the connection status of each terminal as the current identification information set. Of course, there are other ways to determine them, which are not listed here.
本实施例中通过蓝牙方式来获取终端信息,并利用终端信息来构建当前标识信息集合。这样可以保证当前标识信息集合中的终端标识均在发起方附近,从而可以保证当前标识信息集合中的终端均可以接收到当期数据。In this embodiment, the terminal information is acquired through the Bluetooth method, and the current identification information set is constructed by using the terminal information. In this way, the terminal identifiers in the current identifier information set are all in the vicinity of the initiator, so that the terminals in the current identifier information set can receive the current data.
步骤S1003:发起方构建与当前场景对应的当前数据。 Step S1003: The initiator constructs current data corresponding to the current scene.
当前数据包括当前标识信息集合和接入点标识;当前数据还可以包括与网络接入点的无线局域网相关的提示信息和与所述当前场景对应的当前场景标识,还可以包括用于连接无线局域网的密码信息。The current data includes a current identification information set and an access point identifier; the current data may further include prompt information related to the wireless local area network of the network access point and the current scene identifier corresponding to the current scene, and may further include Password information.
其中,所述提示信息包括:所述发起方的昵称、发起方的设备名称、发起方的设备型号、所述发起方发起无线局域网的发起时间、所述发起方的地理位置和/或发起方发起无线局域网的主题。当然,提示信息还可以包括其它内容,在此不再赘述。The prompt information includes: a nickname of the initiator, a device name of the initiator, a device model of the initiator, an initiation time of the initiator to initiate a wireless local area network, a geographical location of the initiator, and/or an initiator. Initiate the topic of wireless LAN. Of course, the prompt information may also include other content, and details are not described herein again.
步骤S1004:发起方通过蓝牙方式向周边终端广播当前数据。Step S1004: The initiator broadcasts current data to the peripheral terminal by using a Bluetooth method.
当然,发起方不论其是否为网络接入点,其自身也可以接收到当前数据。Of course, the initiator can receive the current data itself regardless of whether it is a network access point.
参见图11,下面介绍发起方和周边终端的实现方式。Referring to Figure 11, the implementation of the initiator and peripheral terminals is described below.
步骤S1101:接收当前数据;其中,所述当前数据至少包括当前标识信息集合,所述当前标识信息集合用于表示在所述当前场景下允许与网络接入点的无线局域网建立连接的终端允许范围。Step S1101: Receive current data, where the current data includes at least a current identification information set, where the current identification information set is used to indicate a terminal allowed range that allows a connection with a wireless local area network of a network access point in the current scenario. .
步骤S1102:基于所述当前数据确定网络接入点。Step S1102: Determine a network access point based on the current data.
将当前数据中的接入点标识对应的终端确定为网络接入点。The terminal corresponding to the access point identifier in the current data is determined as a network access point.
步骤S1103:终端判断自身是否为网络接入点,若不是,则进入步骤S1104,若是则进入步骤S1105。Step S1103: The terminal determines whether it is a network access point. If not, the process proceeds to step S1104, and if yes, the process proceeds to step S1105.
终端在确定接入点标识后,将接入点标识与自身终端标识进行对比,若不一致,则确定自身非网络接入点,进入步骤S1104。若一致,则确定自身为网络接入点,进入步骤S1105。After determining the identifier of the access point, the terminal compares the identifier of the access point with the identifier of the terminal, and if not, determines the non-network access point of the access point, and proceeds to step S1104. If they are consistent, it is determined that it is a network access point, and the process proceeds to step S1105.
步骤S1104:在满足第一预设条件的情况下,在终端判定自身非网络 接入点的情况下,若终端本身处于所述终端允许范围内,则在满足第二预设条件的情况下,向网络接入点发送连接请求。Step S1104: In the case that the first preset condition is met, the terminal determines that it is not a network. In the case of an access point, if the terminal itself is within the allowed range of the terminal, the connection request is sent to the network access point if the second preset condition is met.
当终端判断自身是否在终端允许范围内,即,在当前标识信息集合查看是否具有本终端的标识,若具有本终端的标识,则确定自身在终端允许范围内。然后,向网络接入点发送连接请求,以便接入网络接入点的无线局域网。When the terminal determines whether it is within the allowed range of the terminal, that is, whether the current identification information set has the identity of the terminal, if it has the identity of the terminal, it determines that it is within the allowed range of the terminal. A connection request is then sent to the network access point to access the wireless local area network of the network access point.
在当前数据还包括用于连接无线局域网的密码信息的情况下,连接请求还包括用于连接无线局域网的密码信息。In the case where the current data also includes password information for connecting to the wireless local area network, the connection request further includes password information for connecting to the wireless local area network.
若当前标识信息集合中不具有本终端的终端标识,则确定自身不在终端允许范围内,不执行建立无线局域网的过程。If the current identity information set does not have the terminal identifier of the terminal, it is determined that the terminal is not within the allowed range of the terminal, and the process of establishing the wireless local area network is not performed.
至于第一预设条件和第二预设条件的判断过程,可以参见图4所示的实例中的描述,在此不再赘述。本实例中,接入点标识与它启动的无线局域网名称存在对应关系。For the determination process of the first preset condition and the second preset condition, refer to the description in the example shown in FIG. 4, and details are not described herein again. In this example, the access point identifier has a corresponding relationship with the wireless LAN name it starts.
步骤S1105:在终端判定自身为网络接入点的情况下,则启动网络接入点,并接收其它终端发送的连接请求,并与其它终端建立局域网连接。Step S1105: When the terminal determines that it is a network access point, the network access point is started, and a connection request sent by another terminal is received, and a local area network connection is established with other terminals.
当终端判定自身为网络接入点的情况下,则自身启动网络接入点的功能,然后,可以接收其它终端发送的连接请求,以便与其它终端接入局域网。When the terminal determines that it is a network access point, it activates the function of the network access point itself, and then can receive the connection request sent by other terminals to access the local area network with other terminals.
参见图12所示,本申请又提供了一种无线局域网连接方法,包括:Referring to FIG. 12, the application further provides a wireless local area network connection method, including:
步骤S1201:发起方获取周边终端的终端信息,所述终端信息包括终端的标识和终端的扩展信息,并将各个终端信息中的终端标识添加到潜在 标识信息集合中。获取周边终端发送的蓝牙信号的当前信号强度,基于当前信号强度和原始发射功率计算发起方与终端之间的距离。Step S1201: The initiator acquires terminal information of the peripheral terminal, where the terminal information includes the identifier of the terminal and the extended information of the terminal, and adds the terminal identifier in each terminal information to the potential. Identify the information in the collection. Obtain the current signal strength of the Bluetooth signal sent by the peripheral terminal, and calculate the distance between the initiator and the terminal based on the current signal strength and the original transmit power.
发起方在获得终端信息后,将各个终端信息的终端标识添加至潜在标识信息集合中。潜在标识信息集合在添加终端标识之前,可以具有以其它方式获得的终端标识。After obtaining the terminal information, the initiator adds the terminal identifier of each terminal information to the potential identification information set. The set of potential identification information may have terminal identifications obtained in other ways before adding the terminal identification.
步骤S1202:在潜在标识信息集合中,通过终端的扩展信息、场景信息和/或距离信息确定网络接入点和当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与网络接入点的无线局域网建立连接的终端允许范围。Step S1202: In the potential identification information set, the network access point and the current identification information set are determined by the extension information, the scene information, and/or the distance information of the terminal, where the current identification information set is used to indicate the current scene. The allowable range of terminals allowed to establish a connection with the wireless LAN of the network access point.
步骤1203:通过蓝牙向当前标识信息集合中的终端发送用于连接局域网的连接消息;其中,所述连接消息包括接入点标识。Step 1203: Send, by using Bluetooth, a connection message for connecting to the local area network to the terminal in the current identification information set; wherein the connection message includes an access point identifier.
本实施例与图10所示的方式的区别在于,本实施例未向周边终端广播当前数据,而是直接向当前标识信息集合中的终端发送用于连接局域网的连接消息。其它内容可以参见图10所示的实施例,在此不再赘述。The difference between the embodiment and the mode shown in FIG. 10 is that the current embodiment does not broadcast current data to the peripheral terminal, but directly sends a connection message for connecting to the local area network to the terminal in the current identification information set. For other content, refer to the embodiment shown in FIG. 10, and details are not described herein again.
参见图13所示,本申请又提供一种无线局域网连接方法,包括:Referring to FIG. 13, the application further provides a wireless local area network connection method, including:
步骤S1301:在接收用于连接局域网的连接消息后,基于所述连接消息确定网络接入点。Step S1301: After receiving the connection message for connecting to the local area network, determining the network access point based on the connection message.
在连接消息中包括接入点标识的情况下,将接入点标识对应的终端作为网络接入点。In the case that the connection message includes the access point identifier, the terminal corresponding to the access point identifier is used as the network access point.
步骤S1302:在满足第一预设条件的情况下,判断所述终端是否已与所述网络接入点建立无线局域网连接。Step S1302: If the first preset condition is met, determine whether the terminal has established a wireless local area network connection with the network access point.
步骤S1303:若未与所述网络接入点建立无线局域网连接,则在满足 第二预设条件的情况下,向所述网络接入点发送连接请求。Step S1303: If the wireless local area network connection is not established with the network access point, the In the case of the second predetermined condition, a connection request is sent to the network access point.
至于第一预设条件和第二预设条件的判断过程,可以参见图4所示的实例中的描述,在此不再赘述。For the determination process of the first preset condition and the second preset condition, refer to the description in the example shown in FIG. 4, and details are not described herein again.
本实施例方法所述的功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算设备可读取存储介质中。基于这样的理解,本发明实施例对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一台计算设备(可以是个人计算机,服务器,移动计算设备或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions described in the method of the present embodiment can be stored in a computing device readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, a portion of the embodiments of the present invention that contributes to the prior art or a portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a The computing device (which may be a personal computer, server, mobile computing device, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts of the respective embodiments may be referred to each other.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but the scope of the invention is to be accorded

Claims (18)

  1. 一种无线局域网连接方法,其特征在于,应用于无线局域网的发起方,所述方法包括:A wireless local area network connection method is characterized in that it is applied to an initiator of a wireless local area network, and the method includes:
    确定与当前场景对应的当前数据,所述当前数据至少包括当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;Determining current data corresponding to the current scenario, where the current data includes at least a current identification information set; wherein the current identification information set is used to indicate a terminal allowed range that allows a connection with the initiator's wireless local area network in the current scenario. ;
    在所述发起方为网络接入点情况下,向所述发起方的无线局域网覆盖范围内发送管理帧;其中,所述管理帧包括所述当前数据和发起方标识;And sending, in the case that the initiator is a network access point, a management frame to a wireless local area network coverage of the initiator; wherein the management frame includes the current data and an initiator identifier;
    接收无线局域网覆盖范围内的终端发送的连接请求;其中,所述连接请求为所述终端在确认处于所述终端允许范围内且满足第二预设条件的情况下向所述发起方发送的;Receiving a connection request sent by a terminal in a coverage area of the wireless local area network; wherein the connection request is sent by the terminal to the initiator if the terminal is within the allowed range of the terminal and meets a second preset condition;
    将所述发起方与终端建立无线局域网连接。Establishing a wireless local area network connection between the initiator and the terminal.
  2. 如权利要求1所述的方法,其特征在于,当前标识信息集合的确定过程,包括:The method according to claim 1, wherein the determining process of the current identification information set comprises:
    获取所述发起方的当前好友标识集合、当前好友组标识集合和总体标识的任意组合;其中,所述当前好友标识集合为所述发起方的第一预设好友标识集合中一个或多个好友标识的集合,所述当前好友组标识集合为所述发起方的第一预设好友组标识集合中一个或多个好友组标识的集合,所述总体标识用于指示所述发起方无线局域网覆盖范围内的所有终端标识;And obtaining, by the initiator, any combination of the current friend identifier set, the current friend group identifier set, and the overall identifier, where the current friend identifier set is one or more friends in the first preset friend identifier set of the initiator a set of identifiers, where the current buddy group identifier set is a set of one or more buddy group identifiers in the first preset buddy group identifier set of the initiator, where the overall identifier is used to indicate the initiator WLAN coverage All terminal identifiers within the scope;
    将所述当前好友标识集合、所述当前好友组标识集合和所述总体标识的任意组合,确定为所述当前标识信息集合。Determining, as the current identification information set, any combination of the current buddy identifier set, the current buddy group identifier set, and the overall identifier.
  3. 如权利要求2所述的方法,其特征在于,所述连接请求包括用于表 示所述终端的终端标识,所述方法还包括:The method of claim 2 wherein said connection request comprises a table The terminal identifier of the terminal is displayed, and the method further includes:
    判断所述第一预设好友标识集合是否包含所述终端标识;Determining whether the first preset friend identifier set includes the terminal identifier;
    若所述第一预设好友标识集合不包含所述终端标识,则将所述终端标识添加至所述第一预设好友标识集合中。If the first preset buddy identifier set does not include the terminal identifier, add the terminal identifier to the first preset buddy identifier set.
  4. 如权利要求1所述的方法,其特征在于,所述当前数据还包括:The method of claim 1 wherein said current data further comprises:
    与发起方的无线局域网对应的提示信息;a prompt message corresponding to the initiator's wireless local area network;
    与所述当前场景对应的当前场景标识;a current scene identifier corresponding to the current scene;
    和/或,用于连接无线局域网的密码信息;And/or password information for connecting to a wireless local area network;
    其中,所述提示信息包括:所述发起方的昵称、发起方的设备名称、发起方的设备型号、所述发起方发起无线局域网的发起时间、所述发起方的地理位置和/或发起方发起无线局域网的主题。The prompt information includes: a nickname of the initiator, a device name of the initiator, a device model of the initiator, an initiation time of the initiator to initiate a wireless local area network, a geographical location of the initiator, and/or an initiator. Initiate the topic of wireless LAN.
  5. 一种无线局域网连接方法,其特征在于,应用于发起方无线局域网覆盖范围内的终端,所述方法包括:A wireless local area network connection method is characterized in that it is applied to a terminal in a coverage area of an initiator wireless local area network, and the method includes:
    在接收发起方发送的管理帧之后,在所述管理帧提取当前数据和发起方标识;其中,所述管理帧为在所述发起方为网络接入点情况下发送至所述终端的,所述管理帧包括所述当前数据和发起方标识,所述当前数据至少包括当前标识信息集合,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;After receiving the management frame sent by the initiator, extracting the current data and the initiator identifier in the management frame, where the management frame is sent to the terminal when the initiator is a network access point. The management frame includes the current data and an initiator identifier, and the current data includes at least a current identifier information set, where the current identifier information set is used to indicate a terminal that is allowed to establish a connection with the initiator's wireless local area network in the current scenario. Allowable range
    在满足第一预设条件的情况下,判断所述终端是否已与所述发起方标识对应的发起方建立无线局域网连接;If the first preset condition is met, determining whether the terminal has established a wireless local area network connection with the initiator corresponding to the initiator identifier;
    若未与所述发起方建立无线局域网连接,则基于所述当前标识信息集 合,确定所述发起方允许建立无线局域网连接的终端允许范围;If the wireless local area network connection is not established with the initiator, based on the current identification information set And determining, by the initiator, the allowed range of the terminal for establishing a wireless local area network connection;
    若所述终端确定处于所述终端允许范围内,则在满足第二预设条件的情况下,向所述发起方发送连接请求。If the terminal determines to be within the allowed range of the terminal, if the second preset condition is met, a connection request is sent to the initiator.
  6. 如权利要求5所述的方法,其特征在于,所述基于所述当前标识信息集合,确定所述发起方允许建立无线局域网连接的终端允许范围,包括:The method according to claim 5, wherein the determining, based on the current identification information set, the terminal permission range that the initiator allows to establish a wireless local area network connection comprises:
    若所述当前标识信息集合包含总体标识,则将所述发起方无线局域网覆盖范围内的所有终端标识,确定为终端允许范围;其中,所述总体标识用于表示所述发起方无线局域网覆盖范围内的所有终端标识;If the current identifier information set includes an overall identifier, determining, by the initiator, the metrics of all the terminal identifiers in the coverage area of the WLAN are determined as the terminal permission range; wherein the overall identifier is used to indicate the initiator WLAN coverage All terminal identifiers within;
    若所述当前标识信息集合不包含总体标识,则在所述当前标识信息集合仅包含所述当前好友标识集合的情况下,将所述当前好友标识集合确定为所述终端允许范围;If the current identifier information set does not include the overall identifier, if the current identifier information set only includes the current buddy identifier set, the current buddy identifier set is determined as the terminal allowed range;
    若所述当前标识信息集合不包含总体标识,在所述当前标识信息集合仅包含所述当前好友组标识集合的情况下,将所述当前好友组标识集合确定为所述终端允许范围;If the current identifier information set does not include the overall identifier, if the current identifier information set only includes the current buddy group identifier set, the current buddy group identifier set is determined as the terminal allowed range;
    若所述当前标识信息集合不包含总体标识,在所述当前标识信息集合包含当前好友标识集合和当前好友组标识集合的情况下,将所述当前好友标识集合和所述当前好友组标识集合的并集确定为所述终端允许范围。If the current identifier information set does not include an overall identifier, if the current identifier information set includes a current friend identifier set and a current friend group identifier set, the current friend identifier set and the current friend group identifier set are The union is determined to be the allowable range of the terminal.
  7. 如权利要求6所述的方法,其特征在于,在所述当前标识信息集合不包含总体标识的情况下,所述确定所述终端处于所述终端允许范围内,包括:The method according to claim 6, wherein in the case that the current identification information set does not include an overall identifier, the determining that the terminal is within the allowed range of the terminal comprises:
    在所述终端允许范围为所述当前好友标识集合的情况下,若所述终端标识包含在当前好友标识集合内,则确定所述终端处于所述终端允许范围 内;If the terminal allowed range is the current buddy identifier set, if the terminal identifier is included in the current buddy identifier set, determining that the terminal is in the terminal allowed range Inside;
    在所述终端允许范围为当前好友组标识集合的情况下,若所述终端的第二预设好友组标识集合中任一好友组标识包含在所述当前好友组标识集合内,则确定所述终端处于所述终端允许范围内;If the allowed range of the terminal is the current buddy group identifier set, if any of the buddy group identifiers in the second preset buddy group identifier set of the terminal is included in the current buddy group identifier set, determining the The terminal is within the allowed range of the terminal;
    若所述终端允许范围为所述当前好友标识集合和当前好友组标识集合的情况下,若所述终端标识包含在当前好友标识集合内,或者,若所述终端的第二预设好友组标识集合中任一好友组标识包含在所述当前好友组标识集合内,则确定所述终端处于所述终端允许范围内。If the terminal allowed range is the current buddy identifier set and the current buddy group identifier set, if the terminal identifier is included in the current buddy identifier set, or if the second preset buddy group identifier of the terminal is If any of the buddy group identifiers in the set are included in the current buddy group identifier set, it is determined that the terminal is within the allowed range of the terminal.
  8. 如权利要求5所述的方法,其特征在于,在所述当前数据包括与发起方的无线局域网对应的提示信息和与所述当前场景对应的当前场景标识的情况下,满足第二预设条件的确定过程包括:The method according to claim 5, wherein in the case that the current data includes prompt information corresponding to the wireless local area network of the initiator and the current scene identifier corresponding to the current scene, the second preset condition is met. The process of determining includes:
    若所述终端与所述发起方非陌生人关系,则确定满足第二预设条件;If the terminal is in a non-stranger relationship with the initiator, determining that the second preset condition is met;
    若所述终端与所述发起方为陌生人关系,则显示所述提示信息;其中,所述提示信息包括所述发起方的名称、所述发起方发起无线局域网的发起时间、所述发起方的地理位置和/或发起方发起无线局域网的主题;If the terminal is in a stranger relationship with the initiator, the prompt information is displayed; wherein the prompt information includes a name of the initiator, an initiation time of the initiator to initiate a wireless local area network, and the initiator Geographic location and/or the originator initiated the WLAN theme;
    若接收到允许与所述发起方的无线局域网建立连接的确认指令,则确定满足第二预设条件;If the confirmation command is allowed to establish a connection with the initiator's wireless local area network, determining that the second preset condition is met;
    若接收到不允许与所述发起方的无线局域网建立连接的确认指令,则将所述当前场景标识添加至拒绝列表中。If a confirmation command is not allowed to establish a connection with the initiator's wireless local area network, the current scene identifier is added to the rejection list.
  9. 如权利要求8所述的方法,其特征在于,若所述终端与所述发起方为陌生人关系,且,接收到允许与所述发起方的无线局域网建立连接的确认指令,所述方法还包括: The method according to claim 8, wherein if the terminal is in a stranger relationship with the originator and receives an acknowledgment command allowing a connection with the initiator's WLAN, the method further Includes:
    将所述发起方标识添加至所述第二预设好友列表中。Adding the initiator identifier to the second preset buddy list.
  10. 如权利要求5所述的方法,其特征在于,所述连接请求包括所述终端的终端标识,所述连接请求还包括终端昵称、终端设备名称、终端设备型号。The method according to claim 5, wherein the connection request comprises a terminal identifier of the terminal, and the connection request further comprises a terminal nickname, a terminal device name, and a terminal device model.
  11. 如权利要求5所述的方法,其特征在于,在所述当前数据包括与所述当前场景对应的当前场景标识的情况下,满足第一预设条件的确定过程包括:The method according to claim 5, wherein, in a case that the current data includes a current scene identifier corresponding to the current scene, the determining process of satisfying the first preset condition comprises:
    判断所述当前场景标识是否处于拒绝列表中;其中,所述拒绝列表包括一个或多个已被拒绝的场景标识;Determining whether the current scene identifier is in a deny list; wherein the deny list includes one or more scene identifiers that have been rejected;
    若所述当前场景标识处于所述拒绝列表中,则确定不满足第一预设条件;If the current scene identifier is in the reject list, determining that the first preset condition is not met;
    若所述当前场景标识未处于所述拒绝列表中,则确定满足第一预设条件。If the current scene identifier is not in the reject list, it is determined that the first preset condition is met.
  12. 一种无线局域网连接装置,其特征在于,应用于无线局域网的发起方,所述装置包括:A wireless local area network connection device is characterized in that it is applied to an initiator of a wireless local area network, and the device includes:
    第一确定单元,用于确定与当前场景对应的当前数据,所述当前数据至少包括当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;a first determining unit, configured to determine current data corresponding to the current scenario, where the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the wireless device is allowed to be initiating with the initiator in the current scenario. The allowed range of the terminal for establishing a connection with the local area network;
    发送单元,用于在所述发起方为网络接入点情况下,向所述发起方的无线局域网覆盖范围内发送管理帧;其中,所述管理帧包括所述当前数据和发起方标识; a sending unit, configured to send, in the case that the initiator is a network access point, a management frame to a wireless local area network coverage of the initiator; where the management frame includes the current data and an initiator identifier;
    接收单元,用于接收无线局域网覆盖范围内的终端发送的连接请求;其中,所述连接请求为所述终端在确认处于所述终端允许范围内且满足第二预设条件的情况下向所述发起方发送的;a receiving unit, configured to receive a connection request sent by a terminal in a coverage area of the wireless local area network, where the connection request is that the terminal is determined to be within the allowed range of the terminal and meet a second preset condition Sent by the originator;
    连接单元,用于将所述发起方与终端建立无线局域网连接。And a connecting unit, configured to establish a wireless local area network connection between the initiator and the terminal.
  13. 一种无线局域网连接装置,其特征在于,应用于发起方无线局域网覆盖范围内的终端,所述装置包括:A wireless local area network connection device is characterized in that it is applied to a terminal in a coverage area of an initiator wireless local area network, and the device includes:
    提取单元,用于在接收发起方发送的管理帧之后,在所述管理帧提取当前数据和发起方标识;其中,所述管理帧为在所述发起方为网络接入点情况下发送至所述终端的,所述管理帧包括所述当前数据和发起方标识,所述当前数据至少包括当前标识信息集合,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;And an extracting unit, configured to: after receiving the management frame sent by the initiator, extract the current data and the initiator identifier in the management frame; where the management frame is sent to the server when the initiator is a network access point In the terminal, the management frame includes the current data and an initiator identifier, and the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the wireless device and the initiator are allowed to be in the current scenario. The allowed range of the terminal for establishing a connection with the local area network;
    判断单元,用于判断所述终端是否已与所述发起方标识对应的发起方建立无线局域网连接;a determining unit, configured to determine whether the terminal has established a wireless local area network connection with an initiator corresponding to the initiator identifier;
    第二确定单元,用于若未与所述发起方建立无线局域网连接,则基于所述当前标识信息集合,确定所述发起方允许建立无线局域网连接的终端允许范围;a second determining unit, configured to determine, according to the current identifier information set, a terminal allowable range in which the initiator allows to establish a wireless local area network connection, if the wireless local area network connection is not established with the initiator;
    发送请求单元,用于若所述终端确定处于所述终端允许范围内,则在满足第二预设条件的情况下,向所述发起方发送连接请求。And a sending requesting unit, configured to send a connection request to the initiator if the terminal determines that the terminal is within the allowed range of the terminal, if the second preset condition is met.
  14. 一种无线局域网连接系统,其特征在于,包括: A wireless local area network connection system, comprising:
    无线局域网的发起方,和,处于所述发起方无线局域网覆盖范围内的终端;An initiator of the wireless local area network, and a terminal within the coverage of the initiator wireless local area network;
    其中,所述发起方,用于确定与当前场景对应的当前数据,所述当前数据至少包括当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;在所述发起方为网络接入点情况下,向所述发起方的无线局域网覆盖范围内发送管理帧;其中,所述管理帧包括所述当前数据和发起方标识;接收无线局域网覆盖范围内的终端发送的连接请求;其中,所述连接请求为所述终端在确认处于所述终端允许范围内且满足第二预设条件的情况下向所述发起方发送的;将所述发起方与终端建立无线局域网连接;The initiator is configured to determine current data corresponding to the current scenario, where the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the current context is allowed and the initiator The WLAN establishes a connected terminal allowed range; in the case that the initiator is a network access point, transmits a management frame to the initiator's WLAN coverage; wherein the management frame includes the current data and The initiator identifier is received; the connection request sent by the terminal in the coverage of the wireless local area network is received; wherein the connection request is sent to the terminal if the terminal is confirmed to be within the allowed range of the terminal and meets the second preset condition. Transmitting by the party; establishing a wireless local area network connection between the initiator and the terminal;
    所述终端,用于在接收发起方发送的管理帧之后,在所述管理帧提取当前数据和发起方标识;其中,所述管理帧为在所述发起方为网络接入点情况下发送至所述终端的,所述管理帧包括所述当前数据和发起方标识,所述当前数据至少包括当前标识信息集合,所述当前标识信息集合用于表示在所述当前场景下允许与发起方的无线局域网建立连接的终端允许范围;判断所述终端是否已与所述发起方标识对应的发起方建立无线局域网连接;若未与所述发起方建立无线局域网连接,则基于所述当前标识信息集合,确定所述发起方允许建立无线局域网连接的终端允许范围;若所述终端确定处于所述终端允许范围内,则在满足第二预设条件的情况下,向所述发起方发送连接请求。The terminal is configured to: after receiving the management frame sent by the initiator, extract the current data and the initiator identifier in the management frame; where the management frame is sent to the initiator when the initiator is a network access point The management frame includes the current data and an initiator identifier, and the current data includes at least a current identifier information set, where the current identifier information set is used to indicate that the current scene is allowed to be associated with the initiator. Setting a range of the terminal for establishing a connection by the WLAN; determining whether the terminal has established a wireless local area network connection with the initiator corresponding to the initiator identifier; and if not establishing a wireless local area network connection with the initiator, based on the current identification information set Determining, by the initiator, a terminal allowed range for establishing a wireless local area network connection; if the terminal determines to be within the allowed range of the terminal, sending a connection request to the initiator if the second preset condition is met.
  15. 一种无线局域网的连接方法,其特征在于,包括:A method for connecting a wireless local area network, comprising:
    接收发起方发送的当前数据;其中,所述当前数据至少包括当前标识 信息集合和接入点标识,所述当前标识信息集合用于表示在所述当前场景下允许与网络接入点的无线局域网建立连接的终端允许范围;Receiving current data sent by the initiator; wherein the current data includes at least a current identifier An information set and an access point identifier, where the current identifier information set is used to indicate a terminal allowed range that allows a connection with a wireless local area network of the network access point in the current scenario;
    将接入点标识对应的终端确定网络接入点;Determining, by the terminal corresponding to the access point identifier, a network access point;
    在满足第一预设条件的情况下,在判定本身非网络接入点且本身处于所述终端允许范围内的情况下,则在满足第二预设条件的情况下,向所述网络接入点发送无线局域网的连接请求;If the first preset condition is met, if it is determined that the non-network access point is itself and is within the allowed range of the terminal, then the network access is performed if the second preset condition is met. Point to send a WLAN connection request;
    在判定本身为网路接入点的情况下,则启动本身的网络接入点功能,并接收其它终端发送的连接请求,并与其它终端建立局域网连接。In the case that it is determined to be a network access point, it activates its own network access point function, and receives connection requests sent by other terminals, and establishes a local area network connection with other terminals.
  16. 一种无线局域网连接方法,其特征在于,包括:A wireless local area network connection method, comprising:
    通过蓝牙方式获取周边终端的终端信息,所述终端信息包括终端标识和终端的扩展信息,并将各个终端信息中的终端标识添加到潜在标识信息集合中;Obtain terminal information of the peripheral terminal by using a Bluetooth method, where the terminal information includes the terminal identifier and the extended information of the terminal, and adds the terminal identifier in each terminal information to the potential identifier information set;
    在所述潜在标识信息集合中,确定与当前场景对应的网络接入点和当前标识信息集合,并构建与当前场景对应的当前数据;其中,所述当前数据至少包括当前标识信息集合和接入点标识,所述当前标识信息集合用于表示在所述当前场景下允许与网络接入点的无线局域网建立连接的终端允许范围;Determining, in the set of potential identification information, a network access point and a current identification information set corresponding to the current scenario, and constructing current data corresponding to the current scenario; where the current data includes at least a current identification information set and access a point identifier, where the current identifier information set is used to indicate a terminal allowable range that allows a connection with a wireless local area network of a network access point in the current scenario;
    通过蓝牙方式向周边终端广播所述当前数据。The current data is broadcast to the peripheral terminal by Bluetooth.
  17. 一种无线局域网连接方法,其特征在于,包括:A wireless local area network connection method, comprising:
    在接收用于连接局域网的连接消息后,基于所述连接消息确定网络接入点; After receiving the connection message for connecting to the local area network, determining a network access point based on the connection message;
    在满足第一预设条件的情况下,判断所述终端是否已与所述网络接入点建立无线局域网连接;If the first preset condition is met, determining whether the terminal has established a wireless local area network connection with the network access point;
    若未与所述网络接入点建立无线局域网连接,则在满足第二预设条件的情况下,向所述网络接入点发送连接请求。If the wireless local area network connection is not established with the network access point, the connection request is sent to the network access point if the second preset condition is met.
  18. 一种无线局域网连接方法,其特征在于,包括:A wireless local area network connection method, comprising:
    通过蓝牙方式获取周边终端的终端信息,所述终端信息包括终端标识和终端的扩展信息,并将各个终端信息中的终端标识添加至潜在标识信息集合;Obtain terminal information of the peripheral terminal by using a Bluetooth method, where the terminal information includes the terminal identifier and the extended information of the terminal, and adds the terminal identifier in each terminal information to the potential identification information set;
    在所述潜在标识信息集合中,确定与当前场景对应的网络接入点和当前标识信息集合;其中,所述当前标识信息集合用于表示在所述当前场景下允许与网络接入点的无线局域网建立连接的终端允许范围;Determining, in the set of the potential identification information, a network access point and a current identification information set corresponding to the current scenario, where the current identification information set is used to indicate that the wireless connection with the network access point is allowed in the current scenario. The allowed range of the terminal for establishing a connection with the local area network;
    通过蓝牙向当前标识信息集合中的终端发送用于连接局域网的连接消息;其中,所述消息包括接入点标识。 The connection message for connecting to the local area network is sent to the terminal in the current identification information set by Bluetooth; wherein the message includes an access point identifier.
PCT/CN2017/080714 2016-04-18 2017-04-17 Method of connecting to wireless local area network, device, and system WO2017181919A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610243703.6 2016-04-18
CN201610243703.6A CN105916188A (en) 2016-04-18 2016-04-18 WLAN (wireless local area network) connection method, device and system

Publications (1)

Publication Number Publication Date
WO2017181919A1 true WO2017181919A1 (en) 2017-10-26

Family

ID=56747461

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/080714 WO2017181919A1 (en) 2016-04-18 2017-04-17 Method of connecting to wireless local area network, device, and system

Country Status (2)

Country Link
CN (2) CN105916188A (en)
WO (1) WO2017181919A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105916188A (en) * 2016-04-18 2016-08-31 肖华薇 WLAN (wireless local area network) connection method, device and system
CN107466000A (en) * 2017-08-07 2017-12-12 北京奇艺世纪科技有限公司 A kind of connection method of router and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102869014A (en) * 2012-09-18 2013-01-09 东莞宇龙通信科技有限公司 Terminal and data communication method
CN103476092A (en) * 2013-09-13 2013-12-25 惠州Tcl移动通信有限公司 Mobile terminal based WIFI hotspot access method and system
CN103857013A (en) * 2014-03-21 2014-06-11 中国联合网络通信集团有限公司 Method for setting personal hotspot and mobile terminal
WO2015046954A1 (en) * 2013-09-26 2015-04-02 엘지전자(주) Apparatus and method for accessing electronic device having hot spot function
CN104581727A (en) * 2015-02-03 2015-04-29 福州瑞芯微电子有限公司 Equipment connecting method and device and AP (access point) end electronic equipment
CN105916188A (en) * 2016-04-18 2016-08-31 肖华薇 WLAN (wireless local area network) connection method, device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404725B (en) * 2011-11-08 2014-07-09 复旦大学 Method for safely building WiFi connection by SSID in application program
CN103248615A (en) * 2012-02-10 2013-08-14 中国移动通信集团公司 Implementation method, terminal, server and system of interconnection game
CN103619018A (en) * 2013-11-21 2014-03-05 北京奇虎科技有限公司 Method and device for detecting access right of wireless network and router
CN105101349A (en) * 2015-05-12 2015-11-25 中兴通讯股份有限公司 Access control method, device and terminal for wireless local area network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102869014A (en) * 2012-09-18 2013-01-09 东莞宇龙通信科技有限公司 Terminal and data communication method
CN103476092A (en) * 2013-09-13 2013-12-25 惠州Tcl移动通信有限公司 Mobile terminal based WIFI hotspot access method and system
WO2015046954A1 (en) * 2013-09-26 2015-04-02 엘지전자(주) Apparatus and method for accessing electronic device having hot spot function
CN103857013A (en) * 2014-03-21 2014-06-11 中国联合网络通信集团有限公司 Method for setting personal hotspot and mobile terminal
CN104581727A (en) * 2015-02-03 2015-04-29 福州瑞芯微电子有限公司 Equipment connecting method and device and AP (access point) end electronic equipment
CN105916188A (en) * 2016-04-18 2016-08-31 肖华薇 WLAN (wireless local area network) connection method, device and system

Also Published As

Publication number Publication date
CN106954247A (en) 2017-07-14
CN106954247B (en) 2020-11-17
CN105916188A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
US10117206B2 (en) Method for synchronizing content among terminals and terminals
RU2617928C2 (en) Method and device for forming peer group in direct communication system
US11502864B2 (en) Onboarding devices for use in conference room
US10819635B2 (en) SMS technology for computerized devices
EP2884813B1 (en) Method and apparatus for generating p2p group for wi-fi direct service
US20040082352A1 (en) Enhanced group call implementation
TWI403148B (en) Communication system, method for operating a communication system, server unit, method for operating a server unit, communication service client unit and method for operating a communication service client unit
KR101085629B1 (en) Method and apparatus for setting of internet protocol communication network in mobile communication terminal
KR101719111B1 (en) Telephone network system and method
JP2007534247A (en) Group invitation
JP2009516981A (en) Method, terminal device, and system for establishing ad hoc PoC session in PoC system
EP3130124B1 (en) Selectively exchanging data between p2p-capable client devices via a server
WO2020024775A1 (en) Data transmission control method and related apparatus
US20190297119A1 (en) Establishing direct secure connection between collaboration devices in a room or space
WO2016177025A1 (en) Pseudo base station-based method, device, and storage medium for implementing mobile communication
WO2017181919A1 (en) Method of connecting to wireless local area network, device, and system
EP3285509B1 (en) Discovery method and device
JP2005197821A (en) Communication controller, terminal, communication system, and communication method
JP3910580B2 (en) COMMUNICATION CONTROL DEVICE, TERMINAL DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
WO2016138645A1 (en) Voice service sharing method, device and system
WO2013053104A1 (en) Conference participation method and conference system
KR101322990B1 (en) Method for securing privacy in the automatic answer mode of Push-To service
KR101788128B1 (en) Method for selective communication by using receiver filtering and providing unenrolled-user message sending in multi-user communication for after-school teachers
KR101019315B1 (en) Method for providing service of giving or taking personal information on line
JP5170558B2 (en) Communication apparatus and communication method

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17785404

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17785404

Country of ref document: EP

Kind code of ref document: A1