CN105916188A - WLAN (wireless local area network) connection method, device and system - Google Patents
WLAN (wireless local area network) connection method, device and system Download PDFInfo
- Publication number
- CN105916188A CN105916188A CN201610243703.6A CN201610243703A CN105916188A CN 105916188 A CN105916188 A CN 105916188A CN 201610243703 A CN201610243703 A CN 201610243703A CN 105916188 A CN105916188 A CN 105916188A
- Authority
- CN
- China
- Prior art keywords
- initiator
- terminal
- wlan
- current
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a WLAN (wireless local area network) connection method, device and system, and the method, device and system are used for an initiator of a WLAN. The method comprises the steps: determining the current data corresponding to a current scene, wherein the current data at least comprises a current identification information set; transmitting a management frame to a WLAN coverage area of the initiator under the condition that the initiator is a network access point, wherein the management frame comprises the current data and the identification of the initiator; receiving a connection request sent by a terminal in the WLAN coverage area, wherein the connection request is sent by the terminal to the initiator under the conditions that the terminal is determined to be in an allowed range and a second preset condition is met; and enabling the initiator to be in WLAN connection with the terminal. The method can a purpose that the initiator flexibly changes a participating side connected with the WLAN according to difference scenes, so as to meet the connection demands of different scenes.
Description
Technical field
The application relates to communication technical field, particularly relate to a kind of WLAN method of attachment, device and
System.
Background technology
At present, commonly used WLAN in family or company, some equipment can send wireless office
Territory net, such as, wireless router, the mobile device etc. of open focus;Miscellaneous equipment can connect wireless
LAN.Describe for convenience, the equipment sending WLAN is referred to as initiator, will connect wireless
The miscellaneous equipment of LAN is referred to as participant.Such as, connect as a example by wireless router by mobile device, nothing
Line router is then referred to as initiator, and mobile device is referred to as participant.For another example, with mobile device A to movement
As a example by the open focus of equipment B, mobile device A is referred to as initiator, and mobile device B is referred to as participant.
Along with the use of WLAN, the user being provided with initiator may want under different sights,
Different participants is set and connects the WLAN of initiator.Such as, have in company A different
Department, when the employee of department A is in the scheme of discussion, then can allow the mobile terminal of department A employee even
Connecing WLAN, the mobile terminal of other department employee does not allow to connect WLAN.And for example, exist
In family when child is just in the activity duration, the mobile terminal of child is not allowed to connect WLAN,
After activity duration terminates, the mobile terminal of child is just allowed to connect WLAN.Certainly also have
Other scene, will not enumerate at this.
But connect in the mode of WLAN at present, in initiator's WLAN coverage
Any participant, in the case of learning the WLAN password of initiator, all can build with initiator
Vertical connection.That is, current initiator cannot select to connect the participant of WLAN neatly, and this is made
Make troubles with the user of initiator.
Accordingly, it is now desired to a kind of method so that initiator can be according to user in the use of different sights
Custom changes the participant connecting WLAN flexibly, in order to be applicable to the connection requirement of different sight.
Summary of the invention
This application provides a kind of WLAN method of attachment, Apparatus and system, the application so that
Initiator changes the participation connecting WLAN flexibly according to user in the use habit of different sights
Side, in order to be applicable to the connection requirement of different sight.
To achieve these goals, this application provides techniques below content:
A kind of WLAN method of attachment, is applied to the initiator of WLAN, and described method includes:
Determine that the current data corresponding with the situation of presence, described current data at least include current identification information
Set;Wherein, described current identification information aggregate allows under the described situation of presence for expression and initiates
The WLAN of side sets up the terminal allowed band connected;
In the case of described initiator is Network Access Point, cover model to the WLAN of described initiator
Enclose interior transmission and manage frame;Wherein, described management frame includes described current data and initiator's mark;
Receive the connection request that the terminal in WLAN coverage sends;Wherein, described connection please
Ask for described terminal confirm be in described terminal allowed band in and meet second pre-conditioned in the case of
Send to described initiator;
With terminal, described initiator is set up WLAN be connected.
Preferably, the determination process of current identification information aggregate, including:
Obtain current good friend's logo collection of described initiator, current buddy group logo collection and be designated generally by
Combination in any;Wherein, described current good friend's logo collection is that the first of described initiator presets good friend's mark
Knowing zero in set, the set of one or more good friend mark, described current buddy group logo collection is institute
State the first of initiator and preset zero in buddy group logo collection, the set of one or more buddy group mark,
The described all terminal iidentifications being designated generally by indicating described initiator's WLAN coverage;
By described current good friend's logo collection, described current buddy group logo collection with described be generally identified with
Combination in any, is defined as described current identification information aggregate.
Preferably, described connection request includes the terminal iidentification for representing described terminal, and described method is also
Including:
Judge that described first presets whether good friend's logo collection comprises described terminal iidentification;
If described first presets good friend's logo collection does not comprise described terminal iidentification, then by described terminal iidentification
Add and extremely described first preset in good friend's logo collection.
Preferably, described current data also includes:
The information corresponding with the WLAN of initiator;
The situation of presence mark corresponding with the described situation of presence;
Wherein, described information includes: the pet name of described initiator, the device name of initiator, send out
Play the unit type of side, described initiator initiates the initiation time of WLAN, the ground of described initiator
Reason position and/or initiator initiate the theme of WLAN.
A kind of WLAN method of attachment, is applied to the terminal in initiator's WLAN coverage,
Described method includes:
After receiving the management frame that initiator sends, extract current data and initiator at described management frame
Mark;Wherein, described management frame is to send to described end in the case of described initiator is for Network Access Point
End, described management frame includes described current data and initiator's mark, and described current data at least includes
Current identification information aggregate, described current identification information aggregate is for representing permission under the described situation of presence
The terminal allowed band being connected is set up with the WLAN of initiator;
Meet first pre-conditioned in the case of, it is judged that described terminal identifies with described initiator the most
Corresponding initiator sets up WLAN and connects;
If not setting up WLAN with described initiator to be connected, then based on described current identification information aggregate,
Determine that described initiator allows to set up the terminal allowed band that WLAN connects;
It is in described terminal allowed band if described terminal determines, then in satisfied second pre-conditioned feelings
Under condition, send connection request to described initiator.
Preferably, described based on described current identification information aggregate, determine that described initiator allows to set up nothing
The terminal allowed band that line LAN connects, including:
If described current identification information aggregate comprises it is designated generally by, then described initiator's WLAN is covered
All terminal iidentifications in the range of lid, are defined as terminal allowed band;Wherein, be designated generally by described in for
Represent all terminal iidentifications in described initiator's WLAN coverage;
If described current identification information aggregate does not comprise it is designated generally by, then at described current identification information aggregate
In the case of only comprising described current good friend's logo collection, described current good friend's logo collection is defined as institute
State terminal allowed band;
If described current identification information aggregate does not comprise it is designated generally by, at described current identification information aggregate only
In the case of comprising described current buddy group logo collection, described current buddy group logo collection is defined as
Described terminal allowed band;
If described current identification information aggregate does not comprise it is designated generally by, at described current identification information aggregate bag
In the case of current good friend's logo collection and current buddy group logo collection, described current good friend is identified
The union of set and described current buddy group logo collection is defined as described terminal allowed band.
Preferably, in the case of described current identification information aggregate does not comprise and is designated generally by, described determine
Described terminal is in described terminal allowed band, including:
In the case of described terminal allowed band is described current good friend's logo collection, if described terminal mark
Know and be included in current good friend's logo collection, it is determined that described terminal is in described terminal allowed band;
In the case of described terminal allowed band is current buddy group logo collection, if the of described terminal
Two preset arbitrary buddy group mark in buddy group logo collection is included in described current buddy group logo collection
In, it is determined that described terminal is in described terminal allowed band;
If described terminal allowed band is described current good friend's logo collection and current buddy group logo collection
In the case of, if described terminal iidentification is included in current good friend's logo collection, or, if described terminal
Second presets arbitrary buddy group mark in buddy group logo collection is included in described current buddy group logo collection
In, it is determined that described terminal is in described terminal allowed band.
Preferably, described current data include the information corresponding with the WLAN of initiator and
In the case of the situation of presence mark corresponding with the described situation of presence, meet the second pre-conditioned determination
Journey includes:
If described terminal and described initiator non-stranger relation, it is determined that meet second pre-conditioned;
If described terminal and described initiator are stranger's relation, then show described information;Wherein,
When described information includes the initiation that the title of described initiator, described initiator initiate WLAN
Between, the geographical position of described initiator and/or initiator initiate the theme of WLAN;
If receiving the WLAN allowed with described initiator to set up the confirmation instruction being connected, it is determined that
Meet second pre-conditioned;
If receiving the WLAN not allowed with described initiator to set up the confirmation instruction being connected, then will
Described situation of presence mark is added to refusal list.
Preferably, if described terminal and described initiator are stranger's relation, and, receive permission and institute
The WLAN stating initiator sets up the confirmation instruction connected, and described method also includes:
Described initiator identifies interpolation preset in buddy list to described second.
Preferably, described connection request includes: the terminal iidentification of described terminal, and described connection request also wraps
Include the terminal pet name, terminal unit title, terminal unit model.
Preferably, the feelings of the situation of presence mark corresponding with the described situation of presence are included in described current data
Under condition, meet the first pre-conditioned determination process and include:
Judge that the described situation of presence identifies whether to be in refusal list;Wherein, described refusal list includes
Zero, the most unaccepted one or more sight identify;
If described situation of presence mark is in described refusal list, it is determined that be unsatisfactory for first pre-conditioned;
If described situation of presence mark is not in described refusal list, it is determined that meet first pre-conditioned.
A kind of wireless local net connecting device, is applied to the initiator of WLAN, and described device includes:
First determines unit, and for determining the current data corresponding with the situation of presence, described current data is extremely
Include current identification information aggregate less;Wherein, described current identification information aggregate is worked as described for expression
The WLAN with initiator is allowed to set up the terminal allowed band being connected under front sight;
Transmitting element, in the case of described initiator is Network Access Point, to the nothing of described initiator
Management frame is sent in line LAN coverage;Wherein, described management frame includes described current data and sends out
Play side's mark;
Receive unit, for receiving the connection request that the terminal in WLAN coverage sends;Its
In, described connection request is described terminal in confirming to be in described terminal allowed band and to meet second pre-
If sending to described initiator in the case of condition;
Connect unit, be connected for described initiator is set up WLAN with terminal.
A kind of wireless local net connecting device, is applied to the terminal in initiator's WLAN coverage,
Described device includes:
Extraction unit, for after receiving the management frame that initiator sends, extracts at described management frame and works as
Front data and initiator's mark;Wherein, described management frame is to be Network Access Point situation described initiator
Issue and deliver to described terminal, described management frame include described current data and initiator mark, described work as
Front data at least include current identification information aggregate, and described current identification information aggregate is for representing described
The WLAN with initiator is allowed to set up the terminal allowed band being connected under the situation of presence;
Judging unit, for judging that described terminal the most identifies corresponding initiator with described initiator and builds
Vertical WLAN connects;
Second determines unit, if being connected, then based on institute for not setting up WLAN with described initiator
State current identification information aggregate, determine that described initiator allows to set up the terminal permission that WLAN connects
Scope;
Send request unit, if determining for described terminal and being in described terminal allowed band, then full
In the case of foot second is pre-conditioned, send connection request to described initiator.
A kind of WLAN connection system, including:
The initiator of WLAN, and, it is in the end in described initiator's WLAN coverage
End;Wherein, described initiator, for determining the current data corresponding with the situation of presence, described current number
According at least including current identification information aggregate;Wherein, described current identification information aggregate is for representing in institute
State and under the situation of presence, allow the WLAN with initiator to set up the terminal allowed band being connected;Described
In the case of initiator is Network Access Point, sending tube in the WLAN coverage of described initiator
Reason frame;Wherein, described management frame includes described current data and initiator's mark;Receive WLAN
The connection request that terminal in coverage sends;Wherein, described connection request is that described terminal is confirming
Be in described terminal allowed band and meet second pre-conditioned in the case of send to described initiator
's;With terminal, described initiator is set up WLAN be connected;
Described terminal, for after receiving the management frame that initiator sends, extracts at described management frame and works as
Front data and initiator's mark;Wherein, described management frame is to be Network Access Point situation described initiator
Issue and deliver to described terminal, described management frame include described current data and initiator mark, described work as
Front data at least include current identification information aggregate, and described current identification information aggregate is for representing described
The WLAN with initiator is allowed to set up the terminal allowed band being connected under the situation of presence;Judge described
Terminal has the most identified corresponding initiator and has set up WLAN connection with described initiator;If not with institute
State initiator and set up WLAN connection, then based on described current identification information aggregate, determine described sending out
Play side to allow to set up the terminal allowed band that WLAN connects;If described terminal determines is in described end
End allowed band in, then meet second pre-conditioned in the case of, to described initiator send connection please
Ask.
By above content, it can be seen that the application has the advantages that
This application provides a kind of WLAN method of attachment, this method can be come really according to the situation of presence
Determining to set up the current identification information aggregate being connected with initiator, current information logo collection may indicate that and send out
Play side and set up the terminal allowed band that WLAN is connected.The only terminal in terminal allowed band
Just can set up with the WLAN of initiator and be connected.Then, current information logo collection is enrolled pipe
Management frame is sent in reason frame and in the coverage of WLAN.
In the case of terminal in WLAN coverage is only in terminal allowed band, just have
May set up with the WLAN of initiator and be connected.Terminal not in terminal allowed band in the case of not
Can set up with the WLAN of initiator and be connected.The application can reach to initiate root by which
The participant purpose connecting WLAN is changed flexibly, in order to be applicable to different sight according to different sights
Connection requirement.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below,
Accompanying drawing in description is only some embodiments of the application, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The flow chart of a kind of WLAN method of attachment that Fig. 1 provides for the embodiment of the present application;
The flow chart of the another WLAN method of attachment that Fig. 2 provides for the embodiment of the present application;
The flow chart of the another WLAN method of attachment that Fig. 3 provides for the embodiment of the present application;
The flow chart of the another WLAN method of attachment that Fig. 4 provides for the embodiment of the present application;
The flow chart of the another WLAN method of attachment that Fig. 5 provides for the embodiment of the present application;
The flow chart of the another WLAN method of attachment that Fig. 6 provides for the embodiment of the present application;
The structural representation of a kind of wireless local net connecting device that Fig. 7 provides for the embodiment of the present application;
The structural representation of a kind of wireless local net connecting device that Fig. 8 provides for the embodiment of the present application;
The structural representation of a kind of WLAN connection system that Fig. 9 provides for the embodiment of the present application.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out
Clearly and completely describe, it is clear that described embodiment is only some embodiments of the present application, and
It is not all, of embodiment.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of the application protection.
Understand based on background technology content, initiate can wish to build with different terminals under different scenes
Vertical WLAN connects.To this end, the application can store potential in the memory space of initiator and send out
Play side and carry out the potential identification information set of WLAN connection.
User is individually chosen zero, one or more terminal iidentification, potential identification information collection for convenience
Conjunction can include that first presets good friend's set.First presets during good friend's set is to comprise and potential builds with initiator
The zero of vertical WLAN connection, the set of one or more terminal iidentification.When initiator's internal memory contains
During terminal iidentification, initiator and terminal then can regard friend relation as, therefore, by zero, one or many
The collection of individual terminal iidentification is collectively referred to as first and presets good friend's set.
When initiator needs to set up with a greater number terminal and is connected simultaneously, need to select one by one a greater number
Terminal iidentification.So can affect the use Consumer's Experience impression of initiator.Therefore, it can initiator
Setting up multiple buddy group in memory space, each buddy group can comprise zero, one or more good friend mark
Know, and represent by a group mark.For the ease of describing, by zero, one or more buddy group mark
Collection be collectively referred to as the first buddy group logo collection.As such, it is possible to select in the first buddy group logo collection
Zero, one or more buddy group identify, thus reach the purpose disposably choosing multiple good friend to identify.
In some cases, initiator may need nonetheless remain for and all ends in WLAN coverage
End is set up and is connected, therefore to facilitate the use using user of initiator, it is also possible to arrange one totally
Mark.It is designated generally by all terminal iidentifications in the WLAN coverage for representing initiator.
That is, selected when being designated generally by, then represent all terminals in the WLAN coverage of initiator
All can set up WLAN with initiator to be connected.
Initiator can be by user's input mode or by obtaining terminal iidentification by the way of scanning Quick Response Code
Identify with buddy group, it is also possible to obtain terminal iidentification and buddy group mark otherwise.At this not
Enumerate again.
Potential identification information set in initiator's memory space includes that first presets good friend's set and/or first
Buddy group logo collection, additionally, potential identification information set can also include being designated generally by.Preferably feelings
Under condition, potential identification information set includes that first presets good friend's set, the first buddy group logo collection and total
Body identifies.
Certainly, potential identification information set can be modified, when user has demand, can along with
The operation at family and be modified, i.e. again can add terminal iidentification/buddy group to potential identification information set
Mark, it is also possible to delete some terminal iidentifications/buddy group mark.
It is described below and this application provides a kind of WLAN method of attachment embodiment, be applied to wireless office
The initiator of territory net.As it is shown in figure 1, described method includes:
Step S101: determine the current data corresponding with the situation of presence, described current data at least includes working as
Front identification information set;Wherein, described current identification information aggregate is for representing under the described situation of presence
The WLAN with initiator is allowed to set up the terminal allowed band being connected.
The participant of WLAN is connected in order to meet use habit under user's difference situation, flexibly selection,
The application, before the present embodiment, has built potential identification information set in the memory space of initiator
(referring to foregoing teachings, do not repeat them here).In order to corresponding with the situation of presence, can be according to potential mark
Know information aggregate and determine the current identification information aggregate in the current data corresponding with current scene.
Determine that current identification information aggregate has two kinds of implementations, introduce both implementations the most one by one:
The first implementation: the use user of initiator independently determines current identification information aggregate.
Include that first presets good friend's set, the first buddy group logo collection and total with potential identification information set
As a example by body mark, it is assumed that first presets good friend's set includes terminal iidentification 1, terminal iidentification 2 ... terminal mark
Knowing N, the first buddy group logo collection includes buddy group mark 1, buddy group mark 2 ... buddy group identifies
M, and it is designated generally by G.So, during initiator can show potential identification information set, first presets
Terminal iidentification 1 in friend's set, terminal iidentification 2 ... terminal iidentification N, show the first buddy group identification sets
Buddy group mark 1 in conjunction, buddy group mark 2 ... buddy group mark M, and, display is designated generally by
G。
In these cases, as in figure 2 it is shown, determine the process of current identification information aggregate specifically include with
Lower step:
Step S201: obtain current good friend's logo collection of described initiator, current buddy group logo collection
Be generally identified with combination in any;Wherein, described current good friend's logo collection is the first of described initiator
Preset zero in good friend's logo collection, the set of one or more good friend mark, described current buddy group mark
Knowledge collection is combined into the first of described initiator and presets zero in buddy group logo collection, one or more buddy group
Mark set, described in be designated generally by the institute within representing described initiator's WLAN coverage
There is terminal iidentification.
The user that uses of initiator can be according to oneself requirement to the situation of presence, at potential identification information collection
Close first preset good friend's logo collection, first preset buddy group logo collection and be designated generally by select
Select.User can the first of potential identification information set preset in good friend's logo collection select zero, one
Individual or the set of multiple good friends mark, as current good friend's logo collection.User can preset first
In friend's group logo collection, select the set of zero, one or more buddy group mark as current buddy group
Logo collection.User can also choose in potential identification information set and be designated generally by.Right to choose can be by sending out
The use user playing side determines.
User selects in potential identification information set, then selection result is: described initiator works as
Front good friend's logo collection, current buddy group logo collection and be generally identified with combination in any.
Step S202: by described current good friend's logo collection, described current buddy group logo collection and described
It is generally identified with combination in any, is defined as described current identification information aggregate.
Treat user select to terminate after initiator can obtain the selection result of user, then will select result
It is defined as the current identification information aggregate corresponding with current context.That is, by described current good friend's logo collection,
Described current buddy group logo collection and described be generally identified with combination in any, is defined as described current identification
Information aggregate.
The second implementation: initiator independently determines current identification information aggregate.
The identification information set corresponding with multiple sights is pre-build in initiator, and by each sight
Set up corresponding relation with corresponding identification information set, then store to memory space.With each
The acquisition process of the identification information set that sight is corresponding is similar with the process shown in Fig. 2, does not repeats them here.
When user selects a situation of presence or initiator to determine one currently by sensor recognition method
During sight, initiator can search based on the corresponding relation of the sight prestored Yu identification information set
The identification information set corresponding with the situation of presence, so that it is determined that current identification information aggregate.
Manage the limited length of frame under normal circumstances, and the multiple mark that has in current identification information aggregate is believed
Breath.Identification information can include that good friend identifies and/or buddy group mark.Good friend's mark can be the sequence of good friend
Row number, good friend's IMEI, MAC Address etc. only table express friendship friend mark.The most complete sequence
The length of row number, IMEI or MAC Address is the longest, if by serial number, IMEI or MAC
Address is completely placed in management frame, then can accommodate more identification information.Therefore, it can intercept sequence
A part of content of row number, IMEI or MAC Address is enrolled in management frame as good friend's mark.Example
As, as a example by Serial No., former positions of serial number are typically consistent, and then several is different,
So latter several that can intercept serial number are enrolled in management frame.
In current data in addition to including current identification information aggregate, it is also possible to include the nothing with initiator
Information and the situation of presence corresponding with the described situation of presence that line LAN is relevant identify;Wherein, institute
State information to include: the pet name of described initiator, the device name of initiator, the equipment type of initiator
Number, described initiator initiate the initiation time of WLAN, the geographical position of described initiator and/or send out
Play side and initiate the theme of WLAN.Certainly, information can also include other content, at this not
Repeat again.
In order to increase use user's understanding to initiator of terminal, can be so that current data to be added prompting letter
Breath.So that terminal is when connecting the WLAN of initiator, it is appreciated that self will connect wireless
The relevant information of LAN.
Wherein, information includes the pet name of initiator, can be using the model of initiator as initiator's
The pet name, it is also possible to using initiator's serial number as the pet name of initiator, it is also possible to utilize user oneself to set
Name be referred to as the pet name of initiator.Such as, sponsor party name is Fructus Mali pumilae 6 (model), 12434 (sequences
Row number), XX company.Certainly can also use other content, as the pet name of initiator, not do at this
Limit.
Information can also including, initiator initiates the time of WLAN, in order to the use of terminal
User understands the initiation time of WLAN.The geographical position of initiator can also be included, in order to terminal
Understand the address sources of the initiator of WLAN.Information can also include setting up wireless local area
The theme connected, such as, XX department meeting, XX classmate add discussion group, boudoir honey party etc..
From the content of information it can be seen that by information can allow terminal use user more
Understand the relevant information of initiator, understand the relevant information of WLAN in other words.This can be terminal
Use user set up the indicative information that provides when WLAN is connected with initiator deciding whether.
It is then returned to Fig. 1, enters step S102: in the case of described initiator is Network Access Point, to
Management frame is sent in the WLAN coverage of described initiator;Wherein, described management frame includes institute
State current data and initiator's mark.
In the case of described initiator is Network Access Point, current data and initiator are identified volume by initiator
Enter and manage in frame, then will send management frame in WLAN coverage, in order to WLAN covers
Terminal in the range of lid can receive management frame.In actual use, management frame can be beacon frame
Or probing response frame.When connectable terminal in initiator actively wants to inform WLAN coverage,
Initiator actively can send beacon frame in WLAN coverage.When WLAN covers model
When enclosing interior terminal initiator around detection, probe request can be sent to around.Initiator
After receiving probe request, send probing response frame to terminal.
Step S103: receive the connection request that the terminal in WLAN coverage sends;Wherein,
Described connection request is described terminal in confirming to be in described terminal allowed band and meets second and preset bar
Send to described initiator in the case of part.
Terminal in WLAN coverage, can be true based on management frame after receiving management frame
Determine terminal allowed band, then verify whether self is in terminal allowed band.If terminal is in terminal
In allowed band, then illustrate that this terminal meets initiator and sets up the condition that WLAN connects, now have
May set up with the WLAN of initiator and be connected, otherwise, it is not possible to the WLAN of initiator
Set up and connect.Then, terminal judges initiator whether meet self set up WLAN connect second
Pre-conditioned, if meeting, determine satisfied second pre-conditioned.If terminal check self is in terminal and allows
In the range of and meet second pre-conditioned in the case of, then can send connection request to initiator.About
The concrete execution process of terminal will be described in detail in next embodiment, not repeat them here.
Described connection request include the terminal iidentification of described terminal, described connection request also include the terminal pet name,
Terminal unit title, terminal unit model.
Step S104: described initiator is set up WLAN with terminal and is connected.
Initiator is after receiving the connection request that terminal sends, then by initiator's WLAN and terminal
Set up and connect.After a connection is established, initiator can send successful connection message to terminal, to inform
Terminal has been set up with initiator and has been connected.
If in the case of current identification information aggregate comprises and is designated generally by, then show that WLAN covers model
Enclose interior all terminals all to set up with initiator and be connected.In the case, may there is first good friend's mark
Know the connection request that terminal corresponding to the mark in set sends, it is also possible to have the connection that other terminal sends
Request.
Therefore, the present embodiment additionally provides the mode of good friend's mark in first good friend's logo collection that increases.As
Shown in Fig. 3, after step s 104, it is also possible to comprise the following steps:
Step S301: judge that described first presets whether good friend's logo collection comprises described terminal iidentification;Its
In, described connection request includes the terminal iidentification for representing described terminal;The most then enter step S302,
Otherwise enter step S303.
The connection request that terminal sends includes that the terminal iidentification connecting terminal is set up in request, and then initiator sentences
First stored of breaking presets in good friend's logo collection whether comprise terminal iidentification.If if, then it represents that
First presets and there is terminal iidentification in good friend's logo collection, if not, then it represents that first presets good friend
There is not terminal iidentification in logo collection.
Step S302: if described first presets good friend's logo collection and do not comprise described terminal iidentification, then by institute
State terminal iidentification interpolation to preset in good friend's logo collection to described first.
If first presets good friend's logo collection does not comprise described terminal iidentification, then it represents that this terminal iidentification is corresponding
Terminal and initiator be not the most friend relation.Therefore, in order to increase initiator first preset good friend mark
Good friend's mark in set, then can preset terminal iidentification interpolation in good friend's logo collection to first.
Step S303: if described first presets good friend's logo collection and comprise described terminal iidentification, then perform it
Its handling process.
If presetting good friend's logo collection to comprise described terminal iidentification, then the terminal that this terminal iidentification is corresponding is described
It has been friend relation with initiator.That is, terminal iidentification interpolation is the most preset by initiator to first
In good friend's logo collection, it is therefore not necessary to repeat, good friend's mark is preset in terminal iidentification interpolation to first
Set.Therefore, it can terminate this connection procedure.
Can be seen that the application has the advantages that from the present embodiment
This application provides a kind of WLAN method of attachment, this method can be come really according to the situation of presence
Determining to set up the current identification information aggregate being connected with initiator, current information logo collection may indicate that and send out
Play side and set up the terminal allowed band that WLAN is connected.The only terminal in terminal allowed band
Just can set up with the WLAN of initiator and be connected.Then, current information logo collection is enrolled pipe
Management frame is sent in reason frame and in the coverage of WLAN.
In the case of terminal in WLAN coverage is only in terminal allowed band, just have
May set up with the WLAN of initiator and be connected.Terminal not in terminal allowed band in the case of not
Can set up with the WLAN of initiator and be connected.The application can reach to initiate root by which
The participant purpose connecting WLAN is changed flexibly, in order to be applicable to different sight according to different sights
Connection requirement.
Process shown in Fig. 1 is the execution process of initiator, on the basis of the processing procedure of above-mentioned initiator
On, this application provides the processing procedure of terminal in initiator's WLAN coverage.Such as Fig. 4
Shown in, a kind of WLAN method of attachment, it is applied to the end in initiator's WLAN coverage
End, including:
Step S401: after receiving the management frame that initiator sends, extracts current number at described management frame
Identify according to initiator;Wherein, described management frame is for issue for Network Access Point situation described initiator
Delivering to described terminal, described management frame includes described current data and initiator's mark, described current number
According at least including current identification information aggregate, described current identification information aggregate for represent described currently
The WLAN with initiator is allowed to set up the terminal allowed band being connected under sight.
Terminal can receive the management frame that initiator sends, and extracts current data and initiation in management frame
Side's mark.Current data includes current identification information aggregate, utilizes current identification information aggregate may determine that
Terminal allowed band.
Step S402: meet first pre-conditioned in the case of, it is judged that described terminal is the most with described
Initiator identifies the initiator of correspondence and sets up WLAN connection.The most then perform other handling process,
Otherwise enter step S403.
Terminal can store refusal list, and described refusal list includes zero, one or more refused
Exhausted sight mark.So, the situation of presence corresponding with the described situation of presence is included in described current data
In the case of mark, meet the first pre-conditioned determination process and specifically include:
Judge that the described situation of presence identifies whether to be in refusal list;Wherein, described refusal list includes
Zero, the most unaccepted one or more sight identify.If described situation of presence mark is in described refusal
In list, it is determined that be unsatisfactory for first pre-conditioned;Determine be unsatisfactory for first pre-conditioned after, then
Follow-up processing procedure need not be performed.If described situation of presence mark is not in described refusal list, then
Determine satisfied first pre-conditioned;Determine satisfied first pre-conditioned after, then can perform follow-up
Processing procedure.
Owing to the present embodiment identifies in the case of corresponding initiator does not sets up connection suitable in terminal with initiator
With, therefore, first terminal judges self has the most identified corresponding initiator and has set up connection with initiator.
If if, then because terminal has been set up with initiator and has been connected, then without using the present embodiment again
Set up and connect, therefore can perform other handling process.If not, then explanation terminal not with initiator
WLAN set up connect, therefore, enter step S403.
Step S403: be connected if not setting up WLAN with described initiator, then based on described current mark
Know information aggregate, determine that described initiator allows to set up the terminal allowed band that WLAN connects.
It is connected if terminal is not set up with the WLAN of described initiator, then presses the side that the present embodiment provides
Formula is set up with initiator and is connected, because being not that all terminals in WLAN coverage are the most permissible
Set up WLAN to connect, and be in the terminal within terminal allowed band and can set up wireless local
Net connects.Therefore, based on current identification information aggregate it needs to be determined that terminal allowed band.
As it is shown in figure 5, based on current identification information aggregate it needs to be determined that terminal allowed band specifically include with
Lower step:
Step S501: judge that described current identification information aggregate comprises and be designated generally by, if then entering step
S502, otherwise enters step S503.
By the embodiment shown in Fig. 1 be appreciated that current identification information aggregate be current good friend's logo collection,
Current buddy group logo collection and be generally identified with combination in any.Therefore, current identification information is first determined whether
Whether set comprises and is designated generally by, if if, then enter step S502.
Step S502: be designated generally by if described current identification information aggregate comprises, then by described initiator without
All terminal iidentifications in line LAN coverage, are defined as terminal allowed band;Wherein, described always
The body mark all terminal iidentifications within representing described initiator's WLAN coverage.
Due to all terminal iidentifications being designated generally by representing in described initiator's WLAN coverage.
That is, all terminals in WLAN coverage belong to terminal allowed band.Therefore, if currently
Identification information set comprises and is designated generally by, then by all terminals in initiator's WLAN coverage
Mark, is defined as terminal allowed band.That is, any one terminal in WLAN coverage is to sending out
Playing side and send connection request, initiator all can receive connection request, and set up connection therewith.
Step S503: the scope determined by current identification information aggregate, as terminal allowed band.
If described current identification information aggregate does not comprise be designated generally by, then current identification information aggregate can wrap
Include current good friend's logo collection and/or current buddy group logo collection.That is, current identification information aggregate only wraps
Include current good friend's logo collection, only include current buddy group logo collection, including current good friend's logo collection
With three kinds of situations of current buddy group logo collection.It is described respectively below for three kinds of situations:
The first situation: current identification information aggregate only comprises described current good friend's logo collection.
If described current identification information aggregate does not comprise it is designated generally by, then at described current identification information aggregate
In the case of only comprising described current good friend's logo collection, described current good friend's logo collection is defined as institute
State terminal allowed band.
The second situation: current identification information aggregate only comprises described current buddy group logo collection.
If described current identification information aggregate does not comprise it is designated generally by, at described current identification information aggregate only
In the case of comprising described current buddy group logo collection, described current buddy group logo collection is defined as
Described terminal allowed band.
The third situation: current identification information aggregate comprises current good friend's logo collection and current buddy group mark
Know set.
If described current identification information aggregate does not comprise it is designated generally by, at described current identification information aggregate bag
In the case of current good friend's logo collection and current buddy group logo collection, described current good friend is identified
The union of set and described current buddy group logo collection is defined as described terminal allowed band.
It is then returned to Fig. 4, enters step S404: if described terminal determines is in described terminal allowed band
In, then meet second pre-conditioned in the case of, send connection request to described initiator.
After process as shown in Figure 5 determines terminal allowed band, then judge whether terminal permits in terminal
In the range of Xuing.If terminal is in terminal allowed band, and, meet second pre-conditioned in the case of, then
Sending connection request to initiator, connection request includes terminal iidentification.
According to current identification information aggregate, terminal this step of allowed band can be divided into two kinds of situations: comprises
It is designated generally by and does not comprise being designated generally by.
The first situation: current identification information aggregate comprises and is designated generally by, then terminal allowed band is all
Terminal.
If in the case of current identification information aggregate comprises and is designated generally by, it is determined that terminal is inevitable to be permitted in terminal
In the range of Xuing.Because, be designated generally by correspondence terminal allowed band be WLAN coverage in
All terminals, therefore, as long as terminal is in the coverage of WLAN, then explanation terminal is in terminal
In allowed band.
The second situation: current identification information aggregate comprises and is designated generally by, then current identification information aggregate is
Terminal allowed band.
Current identification information aggregate can include current good friend's logo collection and/or current buddy group identification sets
Close.That is, current identification information aggregate only includes current good friend's logo collection, only includes current buddy group mark
Know set, including current good friend's logo collection and three kinds of modes of current buddy group logo collection.For difference
Mode, determine that terminal is in the mode of described terminal allowed band different.Divide below for three kinds of modes
It is not described:
First method: terminal allowed band is described current good friend's logo collection.
In the case of described terminal allowed band is described current good friend's logo collection, if described terminal mark
Know and be included in current good friend's logo collection, it is determined that described terminal is in described terminal allowed band.
Otherwise, it determines described terminal is not in described terminal allowed band.
Second method: terminal allowed band is current buddy group logo collection.
In the case of described terminal allowed band is current buddy group logo collection, if the of described terminal
Two preset arbitrary buddy group mark in buddy group logo collection is included in described current buddy group logo collection
In, it is determined that described terminal is in described terminal allowed band.Otherwise, it determines described terminal is not at
In described terminal allowed band.
Third Way: terminal allowed band is current good friend's logo collection and current buddy group logo collection
Union.
It is described current good friend's logo collection and current buddy group logo collection in described terminal allowed band
In the case of union, as long as then meeting first kind of way or the second way, just may determine that described end
End is in described terminal allowed band.If terminal is i.e. unsatisfactory for first kind of way and is unsatisfactory for again the second side
Formula, it is determined that described terminal is not in described terminal allowed band.
If determining when terminal is in terminal allowed band in a manner described, then explanation terminal meets initiator
Set up WLAN connect condition.Now, terminal can also judge whether initiator meets self
That sets up that WLAN connects is second pre-conditioned.Second pre-conditioned can be empty condition, i.e.
In the case of terminal is in terminal allowed band, terminal then can send connection request to initiator, in order to
Set up with the WLAN of initiator and be connected.
But, when the second pre-conditioned mode for empty condition is the most not humane, because, because
Now can be directed across the permission using user of terminal, and directly set up WLAN connect with initiator
Connecing, this can cause the inconvenience using user of terminal.
In the case of it is therefore preferable that, the second pre-conditioned non-empty condition, terminal is determining that being in terminal permits
In the case of being permitted scope, in addition it is also necessary to again judge whether to meet second pre-conditioned, to be confirmed whether to meet
Terminal sets up the condition that WLAN connects.If terminal determines satisfied second pre-conditioned, then can be to
Initiator sends connection request, in order to sets up with initiator and is connected.If terminal is unsatisfactory for second pre-conditioned,
Then terminal does not sends connection request to initiator.
The second pre-conditioned process whether is met the following detailed description of terminal.As shown in Figure 6, specifically wrap
Include following steps:
Step S601: judge whether described terminal and initiator are stranger's relation.The most then enter step
Rapid S602;If it is not, then enter step S605.
It is appreciated that in initiator that having first presets good friend's logo collection in the embodiment shown in fig. 1,
And/or first preset buddy group mark.Can also include in the terminal presetting good friend's logo collection and/or presetting
Buddy group identifies, and default good friend's logo collection and/or the default buddy group mark of terminal is referred to as to distinguish
Second presets good friend's logo collection and/or second presets buddy group mark.
Terminal based on second preset good friend's logo collection and/or second preset buddy group mark judge self with
Playing side's the most whether stranger's relation, concrete mode can be:
Terminal comprise second preset good friend's logo collection in the case of, it is judged that described initiator identifies whether
Be included in terminal second presets good friend's logo collection, if initiator's mark is included in second presets good friend's mark
Know in set, then explanation initiator mark has prestored in the terminal.This represents that initiator is terminal
Potential connection side, therefore, terminal determines and self identifies corresponding initiator with initiator for friend relation
Non-stranger's relation.
Comprise second in terminal and preset buddy group set and current identification information aggregate comprises current buddy group
In the case of, it is judged that second presets buddy group logo collection has identical with described current buddy group logo collection
Group mark;If both have identical group mark, then belong to same buddy group both explanation, this
Connect and show that both are friend relation non-stranger relations.
If initiator's mark is not included in second and presets in good friend's logo collection, and, second presets buddy group
Logo collection and described current buddy group logo collection do not have identical group of mark, then explanation terminal and initiation
Side is stranger's relation.
Step S602: if described terminal and described initiator are stranger's relation, then show described prompting letter
Breath;Wherein, described information includes that the title of described initiator, described initiator initiate wireless local
Initiation time, the geographical position of described initiator and/or the initiator of net initiates the theme of WLAN.
If terminal and initiator are stranger's relation, then in the current data that terminal meeting display management frame comprises
Information.Described information includes that the title of described initiator, described initiator initiate wireless office
Initiation time, the geographical position of described initiator and/or the initiator of territory net initiates the theme of WLAN.
Terminal to use user can view the relevant information of initiator by information the most wireless
The relevant information of LAN, therefore so that the use user of terminal understands initiator, in order to decide whether
Set up with the WLAN of initiator and be connected.
Step S603: judge whether to receive what the WLAN foundation allowed with described initiator was connected
Confirm instruction;The most then enter step S604, otherwise enter step S606.
If receiving confirmation instruction, it is determined that meet second pre-conditioned.Determining that satisfied second presets bar
After part, terminal just can be set up WLAN with initiator and be connected.
Step S604: described initiator is identified interpolation and presets in buddy list to described second.
After terminal receives the confirmation instruction of user, initiator can be identified interpolation and preset to second
In buddy list.During so that the WLAN again receiving initiator connects, can be with the nothing of initiator
Line LAN, instructs without the confirmation through user.
Step S605: determine satisfied second pre-conditioned, and send connection request to initiator.
If terminal and initiator's non-stranger relation, then it represents that the potential hope of terminal is set up with initiator and is connected,
Therefore, it is determined that it is pre-conditioned that terminal meets second.Or, if terminal and initiator are stranger's relation,
But terminal wishes to set up with initiator to be connected, it is determined that it is pre-conditioned that terminal meets second.
If terminal determines satisfied second pre-conditioned, then can set up with initiator and be connected.
Step S606: if not receiving confirmation instruction, it is determined that be unsatisfactory for second pre-conditioned.
If not receiving the confirmation instruction of user, then explanation user is not intended to set up wireless local with initiator
Net connects, and therefore, terminal does not initiates connection request to initiator.
Step S607: described situation of presence mark is added to refusal list.
As it is shown in fig. 7, the application also includes a kind of wireless local net connecting device, it is applied to wireless local
The initiator of net, described device includes:
First determines unit 71, for determining the current data corresponding with the situation of presence, described current data
At least include current identification information aggregate;Wherein, described current identification information aggregate is for representing described
The WLAN with initiator is allowed to set up the terminal allowed band being connected under the situation of presence.
Wherein, described current data also includes: the information corresponding with the WLAN of initiator;
Wherein, described information includes: the title of described initiator, described initiator initiate WLAN
Initiation time, the geographical position of described initiator and/or initiator initiate the theme of WLAN.
Transmitting element 72, in the case of described initiator is Network Access Point, to described initiator's
Management frame is sent in WLAN coverage;Wherein, described management frame include described current data and
Initiator identifies.
Receive unit 73, for receiving the connection request that the terminal in WLAN coverage sends;
Wherein, described connection request is that described terminal and meets second in confirming to be in described terminal allowed band
Send to described initiator in the case of pre-conditioned.
Connect unit 74, be connected for described initiator is set up WLAN with terminal.
Wherein, the determination process of current identification information aggregate, including:
Obtain current good friend's logo collection of described initiator, current buddy group logo collection and be designated generally by
Combination in any;Wherein, described current good friend's logo collection is that the first of described initiator presets good friend's mark
Knowing zero in set, the set of one or more good friend mark, described current buddy group logo collection is institute
State the first of initiator and preset zero in buddy group logo collection, the set of one or more buddy group mark,
The described all terminal iidentifications being designated generally by indicating described initiator's WLAN coverage;
By described current good friend's logo collection, described current buddy group logo collection with described be generally identified with arbitrarily
Combination, is defined as described current identification information aggregate.
Wherein, described connection request includes the terminal iidentification for representing described terminal, and the most described device is also
Including: judge that described first presets whether good friend's logo collection comprises described terminal iidentification;If described first
Preset good friend's logo collection and do not comprise described terminal iidentification, then described terminal iidentification is added to described first
Preset in good friend's logo collection.
As shown in Figure 8, the application also provides for a kind of wireless local net connecting device, be applied to initiator without
Terminal in line LAN coverage, described device includes:
Extraction unit 81, for after receiving the management frame that initiator sends, extracts at described management frame
Current data and initiator's mark;Wherein, described management frame is to be Network Access Point feelings described initiator
Condition issues delivers to described terminal, and described management frame includes described current data and initiator's mark, described
Current data at least includes current identification information aggregate, and described current identification information aggregate is for representing in institute
State and under the situation of presence, allow the WLAN with initiator to set up the terminal allowed band being connected.
Judging unit 82, for meet first pre-conditioned in the case of, it is judged that described terminal is the most
Identify corresponding initiator with described initiator and set up WLAN connection.
Wherein, the situation of the situation of presence mark corresponding with the described situation of presence is included in described current data
Under, meet the first pre-conditioned determination process and include: judge that the described situation of presence identifies whether to be in and refuse
Absolutely in list;Wherein, described refusal list includes that zero, the most unaccepted one or more sight identify;
If described situation of presence mark is in described refusal list, it is determined that be unsatisfactory for first pre-conditioned;If
Described situation of presence mark is not in described refusal list, it is determined that meet first pre-conditioned.
Second determines unit 83, if being connected for not setting up WLAN with described initiator, then based on
Described current identification information aggregate, determines that described initiator allows the terminal setting up WLAN connection to permit
Permitted scope.
Send request unit 84, if determining for described terminal and being in described terminal allowed band, then exist
Meet second pre-conditioned in the case of, send connection request to described initiator.Described connection request bag
Including the terminal iidentification of described terminal, described connection request also includes the terminal pet name, terminal unit title, end
End unit type.
Wherein, described based on described current identification information aggregate, determine that described initiator allows to set up wireless
The terminal allowed band that LAN connects, including:
(1) if described current identification information aggregate comprises it is designated generally by, then by described initiator's wireless local
All terminal iidentifications in net coverage, are defined as terminal allowed band;Wherein, it is designated generally by described in
All terminal iidentifications within representing described initiator's WLAN coverage.
(2) if described current identification information aggregate does not comprise it is designated generally by, then in described current identification information
In the case of set only comprises described current good friend's logo collection, described current good friend's logo collection is determined
For described terminal allowed band.
(3) if described current identification information aggregate does not comprise it is designated generally by, at described current identification information collection
Close in the case of only comprising described current buddy group logo collection, by true for described current buddy group logo collection
It is set to described terminal allowed band.
(4) if described current identification information aggregate does not comprise it is designated generally by, at described current identification information collection
In the case of conjunction comprises current good friend's logo collection and current buddy group logo collection, by described current good friend
The union of logo collection and described current buddy group logo collection is defined as described terminal allowed band.
In the case of described current identification information aggregate does not comprise and is designated generally by, described determine described terminal
It is in described terminal allowed band, including:
(1) in the case of described terminal allowed band is described current good friend's logo collection, if described end
End mark is included in current good friend's logo collection, it is determined that described terminal is in described terminal allowed band
In.
(2) in the case of described terminal allowed band is current buddy group logo collection, if described terminal
Second preset in buddy group logo collection arbitrary buddy group mark and be included in described current buddy group identification sets
In closing, it is determined that described terminal is in described terminal allowed band.
(3) if described terminal allowed band is described current good friend's logo collection and current buddy group identification sets
In the case of conjunction, if described terminal iidentification is included in current good friend's logo collection, or, if described end
The second of end is preset arbitrary buddy group mark in buddy group logo collection and is included in described current buddy group mark
In set, it is determined that described terminal is in described terminal allowed band.
Wherein, the feelings of the information corresponding with the WLAN of initiator are included in described current data
Under condition, meet the second pre-conditioned determination process and include: if described terminal is non-with described initiator strange
Relationship, it is determined that meet second pre-conditioned;If described terminal and described initiator are stranger's relation,
Then show described information;Wherein, described information include the title of described initiator, described
Play side's initiation initiation time of WLAN, the geographical position of described initiator and/or initiator and initiate nothing
The theme of line LAN;If receiving the WLAN allowed with described initiator to set up the confirmation being connected
Instruction, it is determined that meet second pre-conditioned.Do not allow and the wireless local of described initiator if receiving
The confirmation instruction connected set up by net, then described situation of presence mark added to refusal list.
If described terminal and described initiator are stranger's relation, and, receive permission and described initiator
WLAN set up connect confirmation instruction, described method also includes: by described initiator mark add
Add to described second preset in buddy list.
As it is shown in figure 9, the application also provides for a kind of WLAN connection system, including:
The initiator 100 of WLAN, and, it is in described initiator's WLAN coverage
Terminal 200.
Wherein, described initiator 100, for determining the current data corresponding with the situation of presence, described currently
Data at least include current identification information aggregate;Wherein, described current identification information aggregate is for representing
The WLAN with initiator is allowed to set up the terminal allowed band being connected under the described situation of presence;Institute
State initiator in the case of Network Access Point, send in the WLAN coverage of described initiator
Management frame;Wherein, described management frame includes described current data and initiator's mark;Receive wireless local
The connection request that terminal in net coverage sends;Wherein, described connection request is that described terminal is really
Recognize be in described terminal allowed band and meet second pre-conditioned in the case of send to described initiator
's;With terminal, described initiator is set up WLAN be connected.
Described terminal 200, for after receiving the management frame that initiator sends, extracts at described management frame
Current data and initiator's mark;Wherein, described management frame is to be Network Access Point feelings described initiator
Condition issues delivers to described terminal, and described management frame includes described current data and initiator's mark, described
Current data at least includes current identification information aggregate, and described current identification information aggregate is for representing in institute
State and under the situation of presence, allow the WLAN with initiator to set up the terminal allowed band being connected;Judge institute
State terminal the most identified with described initiator corresponding initiator set up WLAN connect;If not with
Described initiator sets up WLAN and connects, then based on described current identification information aggregate, determine described
Initiator allows to set up the terminal allowed band that WLAN connects;If described terminal determine be in described
In terminal allowed band, then meet second pre-conditioned in the case of, send connection to described initiator
Request.
By above content, it can be seen that the application has the advantages that
This application provides a kind of WLAN connection system, native system can come really according to the situation of presence
Determining to set up the current identification information aggregate being connected with initiator, current information logo collection may indicate that and send out
Play side and set up the terminal allowed band that WLAN is connected.The only terminal in terminal allowed band
Just can set up with the WLAN of initiator and be connected.Then, current information logo collection is enrolled pipe
Management frame is sent in reason frame and in the coverage of WLAN.
In the case of terminal in WLAN coverage is only in terminal allowed band, just have
May set up with the WLAN of initiator and be connected.Terminal not in terminal allowed band in the case of not
Can set up with the WLAN of initiator and be connected.The application can reach to initiate root by which
The participant purpose connecting WLAN is changed flexibly, in order to be applicable to different sight according to different sights
Connection requirement.
If the function described in the present embodiment method realizes and as independent using the form of SFU software functional unit
When production marketing or use, a calculating device-readable can be stored in and take in storage medium.Based on so
Understanding, part or the part of this technical scheme that prior art is contributed by the embodiment of the present application can
Embodying with the form with software product, this software product is stored in a storage medium, if including
Dry instruction with so that calculating equipment (can be personal computer, server, mobile computing device
Or the network equipment etc.) perform all or part of step of method described in each embodiment of the application.And it is front
The storage medium stated includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can
To store the medium of program code.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses
Being the difference with other embodiments, between each embodiment, same or similar part sees mutually.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses
The application.Multiple amendment to these embodiments will be aobvious and easy for those skilled in the art
See, generic principles defined herein can in the case of without departing from spirit herein or scope,
Realize in other embodiments.Therefore, the application is not intended to be limited to the embodiments shown herein,
And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.
Claims (14)
1. a WLAN method of attachment, it is characterised in that be applied to the initiator of WLAN,
Described method includes:
Determine that the current data corresponding with the situation of presence, described current data at least include current identification information
Set;Wherein, described current identification information aggregate allows under the described situation of presence for expression and initiates
The WLAN of side sets up the terminal allowed band connected;
In the case of described initiator is Network Access Point, cover model to the WLAN of described initiator
Enclose interior transmission and manage frame;Wherein, described management frame includes described current data and initiator's mark;
Receive the connection request that the terminal in WLAN coverage sends;Wherein, described connection please
Ask for described terminal confirm be in described terminal allowed band in and meet second pre-conditioned in the case of
Send to described initiator;
With terminal, described initiator is set up WLAN be connected.
2. the method for claim 1, it is characterised in that the determination of current identification information aggregate
Journey, including:
Obtain current good friend's logo collection of described initiator, current buddy group logo collection and be designated generally by
Combination in any;Wherein, described current good friend's logo collection is that the first of described initiator presets good friend's mark
Knowing zero in set, the set of one or more good friend mark, described current buddy group logo collection is institute
State the first of initiator and preset zero in buddy group logo collection, the set of one or more buddy group mark,
The described all terminal iidentifications being designated generally by indicating described initiator's WLAN coverage;
By described current good friend's logo collection, described current buddy group logo collection with described be generally identified with
Combination in any, is defined as described current identification information aggregate.
3. method as claimed in claim 2, it is characterised in that described connection request includes for representing
The terminal iidentification of described terminal, described method also includes:
Judge that described first presets whether good friend's logo collection comprises described terminal iidentification;
If described first presets good friend's logo collection does not comprise described terminal iidentification, then by described terminal iidentification
Add and extremely described first preset in good friend's logo collection.
4. the method for claim 1, it is characterised in that described current data also includes:
The information corresponding with the WLAN of initiator;
The situation of presence mark corresponding with the described situation of presence;
Wherein, described information includes: the pet name of described initiator, the device name of initiator, send out
Play the unit type of side, described initiator initiates the initiation time of WLAN, the ground of described initiator
Reason position and/or initiator initiate the theme of WLAN.
5. a WLAN method of attachment, it is characterised in that be applied to initiator's WLAN and cover
Terminal in the range of lid, described method includes:
After receiving the management frame that initiator sends, extract current data and initiator at described management frame
Mark;Wherein, described management frame is to send to described end in the case of described initiator is for Network Access Point
End, described management frame includes described current data and initiator's mark, and described current data at least includes
Current identification information aggregate, described current identification information aggregate is for representing permission under the described situation of presence
The terminal allowed band being connected is set up with the WLAN of initiator;
Meet first pre-conditioned in the case of, it is judged that described terminal identifies with described initiator the most
Corresponding initiator sets up WLAN and connects;
If not setting up WLAN with described initiator to be connected, then based on described current identification information aggregate,
Determine that described initiator allows to set up the terminal allowed band that WLAN connects;
It is in described terminal allowed band if described terminal determines, then in satisfied second pre-conditioned feelings
Under condition, send connection request to described initiator.
6. method as claimed in claim 5, it is characterised in that described based on described current identification information
Set, determines that described initiator allows to set up the terminal allowed band that WLAN connects, including:
If described current identification information aggregate comprises it is designated generally by, then described initiator's WLAN is covered
All terminal iidentifications in the range of lid, are defined as terminal allowed band;Wherein, be designated generally by described in for
Represent all terminal iidentifications in described initiator's WLAN coverage;
If described current identification information aggregate does not comprise it is designated generally by, then at described current identification information aggregate
In the case of only comprising described current good friend's logo collection, described current good friend's logo collection is defined as institute
State terminal allowed band;
If described current identification information aggregate does not comprise it is designated generally by, at described current identification information aggregate only
In the case of comprising described current buddy group logo collection, described current buddy group logo collection is defined as
Described terminal allowed band;
If described current identification information aggregate does not comprise it is designated generally by, at described current identification information aggregate bag
In the case of current good friend's logo collection and current buddy group logo collection, described current good friend is identified
The union of set and described current buddy group logo collection is defined as described terminal allowed band.
7. method as claimed in claim 6, it is characterised in that at described current identification information aggregate not
Comprise in the case of being designated generally by, described determine that described terminal is in described terminal allowed band, including:
In the case of described terminal allowed band is described current good friend's logo collection, if described terminal mark
Know and be included in current good friend's logo collection, it is determined that described terminal is in described terminal allowed band;
In the case of described terminal allowed band is current buddy group logo collection, if the of described terminal
Two preset arbitrary buddy group mark in buddy group logo collection is included in described current buddy group logo collection
In, it is determined that described terminal is in described terminal allowed band;
If described terminal allowed band is described current good friend's logo collection and current buddy group logo collection
In the case of, if described terminal iidentification is included in current good friend's logo collection, or, if described terminal
Second presets arbitrary buddy group mark in buddy group logo collection is included in described current buddy group logo collection
In, it is determined that described terminal is in described terminal allowed band.
8. method as claimed in claim 5, it is characterised in that include in described current data and initiate
The information corresponding to WLAN of side and the feelings of the situation of presence corresponding with described situation of presence mark
Under condition, meet the second pre-conditioned determination process and include:
If described terminal and described initiator non-stranger relation, it is determined that meet second pre-conditioned;
If described terminal and described initiator are stranger's relation, then show described information;Wherein,
When described information includes the initiation that the title of described initiator, described initiator initiate WLAN
Between, the geographical position of described initiator and/or initiator initiate the theme of WLAN;
If receiving the WLAN allowed with described initiator to set up the confirmation instruction being connected, it is determined that
Meet second pre-conditioned;
If receiving the WLAN not allowed with described initiator to set up the confirmation instruction being connected, then will
Described situation of presence mark is added to refusal list.
9. method as claimed in claim 8, it is characterised in that if described terminal with described initiator is
Stranger's relation, and, receive the confirmation allowing to be connected with the foundation of the WLAN of described initiator and refer to
Order, described method also includes:
Described initiator identifies interpolation preset in buddy list to described second.
10. method as claimed in claim 5, it is characterised in that described connection request includes described end
The terminal iidentification of end, described connection request also includes the terminal pet name, terminal unit title, terminal unit type
Number.
11. methods as claimed in claim 5, it is characterised in that include and institute in described current data
In the case of stating the situation of presence mark that the situation of presence is corresponding, meet the first pre-conditioned determination process bag
Include:
Judge that the described situation of presence identifies whether to be in refusal list;Wherein, described refusal list includes
Zero, the most unaccepted one or more sight identify;
If described situation of presence mark is in described refusal list, it is determined that be unsatisfactory for first pre-conditioned;
If described situation of presence mark is not in described refusal list, it is determined that meet first pre-conditioned.
12. 1 kinds of wireless local net connecting devices, it is characterised in that be applied to the initiation of WLAN
Side, described device includes:
First determines unit, and for determining the current data corresponding with the situation of presence, described current data is extremely
Include current identification information aggregate less;Wherein, described current identification information aggregate is worked as described for expression
The WLAN with initiator is allowed to set up the terminal allowed band being connected under front sight;
Transmitting element, in the case of described initiator is Network Access Point, to the nothing of described initiator
Management frame is sent in line LAN coverage;Wherein, described management frame includes described current data and sends out
Play side's mark;
Receive unit, for receiving the connection request that the terminal in WLAN coverage sends;Its
In, described connection request is described terminal in confirming to be in described terminal allowed band and to meet second pre-
If sending to described initiator in the case of condition;
Connect unit, be connected for described initiator is set up WLAN with terminal.
13. 1 kinds of wireless local net connecting devices, it is characterised in that be applied to initiator's WLAN
Terminal in coverage, described device includes:
Extraction unit, for after receiving the management frame that initiator sends, extracts at described management frame and works as
Front data and initiator's mark;Wherein, described management frame is to be Network Access Point situation described initiator
Issue and deliver to described terminal, described management frame include described current data and initiator mark, described work as
Front data at least include current identification information aggregate, and described current identification information aggregate is for representing described
The WLAN with initiator is allowed to set up the terminal allowed band being connected under the situation of presence;
Judging unit, for judging that described terminal the most identifies corresponding initiator with described initiator and builds
Vertical WLAN connects;
Second determines unit, if being connected, then based on institute for not setting up WLAN with described initiator
State current identification information aggregate, determine that described initiator allows to set up the terminal permission that WLAN connects
Scope;
Send request unit, if determining for described terminal and being in described terminal allowed band, then full
In the case of foot second is pre-conditioned, send connection request to described initiator.
14. 1 kinds of WLAN connection systems, it is characterised in that including:
The initiator of WLAN, and, it is in the end in described initiator's WLAN coverage
End;
Wherein, described initiator, for determining the current data corresponding with the situation of presence, described current number
According at least including current identification information aggregate;Wherein, described current identification information aggregate is for representing in institute
State and under the situation of presence, allow the WLAN with initiator to set up the terminal allowed band being connected;Described
In the case of initiator is Network Access Point, sending tube in the WLAN coverage of described initiator
Reason frame;Wherein, described management frame includes described current data and initiator's mark;Receive WLAN
The connection request that terminal in coverage sends;Wherein, described connection request is that described terminal is confirming
Be in described terminal allowed band and meet second pre-conditioned in the case of send to described initiator
's;With terminal, described initiator is set up WLAN be connected;
Described terminal, for after receiving the management frame that initiator sends, extracts at described management frame and works as
Front data and initiator's mark;Wherein, described management frame is to be Network Access Point situation described initiator
Issue and deliver to described terminal, described management frame include described current data and initiator mark, described work as
Front data at least include current identification information aggregate, and described current identification information aggregate is for representing described
The WLAN with initiator is allowed to set up the terminal allowed band being connected under the situation of presence;Judge described
Terminal has the most identified corresponding initiator and has set up WLAN connection with described initiator;If not with institute
State initiator and set up WLAN connection, then based on described current identification information aggregate, determine described sending out
Play side to allow to set up the terminal allowed band that WLAN connects;If described terminal determines is in described end
End allowed band in, then meet second pre-conditioned in the case of, to described initiator send connection please
Ask.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610243703.6A CN105916188A (en) | 2016-04-18 | 2016-04-18 | WLAN (wireless local area network) connection method, device and system |
CN201710243883.2A CN106954247B (en) | 2016-04-18 | 2017-04-14 | Wireless local area network connection method, device and system |
PCT/CN2017/080714 WO2017181919A1 (en) | 2016-04-18 | 2017-04-17 | Method of connecting to wireless local area network, device, and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
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 |
---|---|
CN105916188A true CN105916188A (en) | 2016-08-31 |
Family
ID=56747461
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610243703.6A Pending CN105916188A (en) | 2016-04-18 | 2016-04-18 | WLAN (wireless local area network) connection method, device and system |
CN201710243883.2A Active CN106954247B (en) | 2016-04-18 | 2017-04-14 | Wireless local area network connection method, device and system |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710243883.2A Active CN106954247B (en) | 2016-04-18 | 2017-04-14 | Wireless local area network connection method, device and system |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN105916188A (en) |
WO (1) | WO2017181919A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017181919A1 (en) * | 2016-04-18 | 2017-10-26 | 肖华薇 | Method of connecting to wireless local area network, device, and system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107466000A (en) * | 2017-08-07 | 2017-12-12 | 北京奇艺世纪科技有限公司 | A kind of connection method of router and device |
Family Cites Families (10)
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 |
CN102869014A (en) * | 2012-09-18 | 2013-01-09 | 东莞宇龙通信科技有限公司 | Terminal and data communication method |
CN103476092B (en) * | 2013-09-13 | 2017-06-06 | 惠州Tcl移动通信有限公司 | A kind of WIFI hot spot cut-in method and system based on mobile terminal |
KR102031913B1 (en) * | 2013-09-26 | 2019-10-14 | 엘지전자 주식회사 | Method and apparatus for accessing to electronic device having hotspot function |
CN103619018A (en) * | 2013-11-21 | 2014-03-05 | 北京奇虎科技有限公司 | Method and device for detecting access right of wireless network and router |
CN103857013B (en) * | 2014-03-21 | 2017-06-20 | 中国联合网络通信集团有限公司 | Personal focus method to set up and mobile terminal |
CN104581727A (en) * | 2015-02-03 | 2015-04-29 | 福州瑞芯微电子有限公司 | Equipment connecting method and device and AP (access point) end electronic equipment |
CN105101349A (en) * | 2015-05-12 | 2015-11-25 | 中兴通讯股份有限公司 | Access control method, device and terminal for wireless local area network |
CN105916188A (en) * | 2016-04-18 | 2016-08-31 | 肖华薇 | WLAN (wireless local area network) connection method, device and system |
-
2016
- 2016-04-18 CN CN201610243703.6A patent/CN105916188A/en active Pending
-
2017
- 2017-04-14 CN CN201710243883.2A patent/CN106954247B/en active Active
- 2017-04-17 WO PCT/CN2017/080714 patent/WO2017181919A1/en active Application Filing
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017181919A1 (en) * | 2016-04-18 | 2017-10-26 | 肖华薇 | Method of connecting to wireless local area network, device, and system |
Also Published As
Publication number | Publication date |
---|---|
CN106954247B (en) | 2020-11-17 |
CN106954247A (en) | 2017-07-14 |
WO2017181919A1 (en) | 2017-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102047277B (en) | Carry out content by utilizing social figure information and use the method, device and the computer program that distribute | |
CN105359488B (en) | Method for establishing communication between devices | |
CN101160911B (en) | Method of transmitting session requirement | |
CN103582168B (en) | Communication apparatus and control method thereof, data processing apparatus and control methods thereof | |
CN108377202A (en) | The distribution method, apparatus and system of smart machine | |
CN108029012A (en) | Configuration file processing method, configuration file processing unit, user terminal and eUICC | |
CN105307235B (en) | A kind of hot spot sharing method, device and system | |
CN107360635A (en) | A kind of data transmission method, device, terminal and computer-readable recording medium | |
KR20160139047A (en) | Multi-screen interaction method, devices, and system | |
CN102075454A (en) | Method and equipment for establishing bidirectional reality relationship in network | |
CN103873426A (en) | Method for joining social group, server, terminal and system | |
CN108900601A (en) | Method, computer equipment and the storage medium of file transmission | |
CN105049656A (en) | Communication apparatus capable of mediating wireless communications for external apparatus | |
CN105474500A (en) | Method and apparatus for determination of a non-charging operation | |
CN105916188A (en) | WLAN (wireless local area network) connection method, device and system | |
CN102118601A (en) | System and method for reserving appointment | |
CN105812229A (en) | Terminal communication method, system and related device | |
CN105227627B (en) | A kind of playback equipment packet control process and user terminal | |
CN102841792B (en) | Information edit method in SNS application and device | |
CN108289290A (en) | A kind of method and apparatus for connecting intelligent wearable device and wireless access point | |
CN105379323A (en) | Method, device and system for controlling total quantity of online attached users | |
CN102281627B (en) | A kind of method and system managing individual's net | |
CN106059906A (en) | Message processing system, message processing method and message processing apparatus | |
JP2006196000A (en) | Content transmission method via cellular phone network | |
CN106713678A (en) | Communication method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160831 |