CN106717107A - Method and terminal for connecting to network - Google Patents

Method and terminal for connecting to network Download PDF

Info

Publication number
CN106717107A
CN106717107A CN201580046580.0A CN201580046580A CN106717107A CN 106717107 A CN106717107 A CN 106717107A CN 201580046580 A CN201580046580 A CN 201580046580A CN 106717107 A CN106717107 A CN 106717107A
Authority
CN
China
Prior art keywords
mark
apply names
terminal
specified
access point
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.)
Granted
Application number
CN201580046580.0A
Other languages
Chinese (zh)
Other versions
CN106717107B (en
Inventor
于小博
龙水平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN106717107A publication Critical patent/CN106717107A/en
Application granted granted Critical
Publication of CN106717107B publication Critical patent/CN106717107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

The present invention relates to a method and a terminal for connecting to a network. The method comprises: the terminal receives at least one beacon message sent from at least one access point, each beacon message carrying a first identification associated with a first application and corresponding to the access point sending the beacon message; the terminal obtains at least one first identification according to at least one beacon message; the terminal determines whether at least one first identification is included in identifications bound by history of the first application installed on the terminal; and the terminal connects to the network according to the first identification when at least one first identification is included in identifications bound by history of the first application. Hence, in the method of connecting to a network provided by the present invention, the beacon message sent from the access point is received by the terminal, the identification of a specified application name is obtained according to the beacon message, and the network is connected according to the identification of the specified application name, which simplifies the network connecting operation, enables the user to establish a connection quickly, and enhances the user experience.

Description

Connect the method and terminal of network Technical field
The present invention relates to the communications field, more particularly to a kind of method and terminal for connecting network.
Background technology
Many places all provide free WiFi network now, user connects WiFi network, need by manually selecting specified Apply Names at WiFi interfaces, input the password connection WiFi network for specifying Apply Names connection WiFi network, or connecting WiFi " function by the wechat provided in wechat; user finds the 2 D code information for specifying Apply Names; connect WiFi network by " sweep and sweep "; or Apply Names is specified by search; and manually recorded this specifies Apply Names, and specify Apply Names to connect WiFi network by this.
User can connect WiFi network through the above way, still, and the operating process of user's connection WiFi network is cumbersome, and then influences Consumer's Experience.
The content of the invention
The embodiments of the invention provide a kind of method and terminal for connecting network, the beacon message that access point is sent is received by terminal, the mark for specifying Apply Names is obtained according to beacon message, and network is connected according to the mark of specified Apply Names, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, meanwhile, enhance Consumer's Experience.
In a first aspect, the embodiments of the invention provide a kind of method for connecting network, this method includes:
Terminal, which is received, carries the first related to the first application and corresponding with the access point for sending beacon message mark at least one beacon message of at least one access point transmission, each beacon message;
The terminal obtains at least one described first mark according at least one described beacon message;
What history was bound in first application that the terminal determines to install in the terminal, which identify whether, includes at least one and described first identifies;
When the mark that history is bound during described first applies includes at least one described first mark, the terminal connects network according to the described first mark.
With reference in a first aspect, in the first possible implementation of first aspect, when the mark that history is bound during described first applies includes at least one described first mark, the terminal connects network by the described first mark, including:
When the mark that history is bound during described first applies only includes first mark, the terminal is in the corresponding specified Apply Names of the first mark described in the first interface prompt, for user according to the specified Apply Names, it is determined that identifying connection network by the specified Apply Names corresponding first.
With reference in a first aspect, in second of possible implementation of first aspect, when the mark that history is bound during described first applies includes at least one described first mark, the terminal connects network by the described first mark, including:
When the mark that history is bound during described first applies includes multiple first marks, the terminal identifies corresponding multiple specified Apply Nameses in first interface prompt the multiple described first, for user according to the multiple specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first in the multiple specified Apply Names.
With reference to second of possible implementation of first aspect, in the third possible implementation of first aspect, the terminal identifies corresponding multiple specified Apply Nameses in first interface prompt the multiple described first, including:
The terminal is according to the multiple first mark, it is determined that the priority of multiple specified Apply Nameses corresponding with the multiple first mark;
The terminal identifies corresponding multiple specified Apply Nameses according to the priority in first interface prompt the multiple described first.
With reference to second of possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, before the terminal connects network by the described first mark, methods described is also wrapped Include:
The terminal points out the first mark connection network not included by the mark that history is bound in the multiple first mark or first application in second contact surface.
With reference to the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, methods described includes:
When the first mark connection network that the mark that history is bound in being applied by described first does not include, at least one corresponding specified Apply Names of the first mark that the terminal mark that history is bound in the first application described in first interface prompt does not include, for the user according at least one described specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first at least one described specified Apply Names.
With reference to second of possible implementation of the first possible implementation or first aspect of first aspect, in the 6th kind of possible implementation of first aspect, methods described also includes:
When the mark that history is bound during described first applies does not include the described first mark, the terminal is at least one corresponding specified Apply Names of at least one described described first mark of second contact surface prompting, for the user according at least one described specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first at least one described specified Apply Names.
Second aspect, the embodiments of the invention provide a kind of method for connecting network, this method includes:
Terminal determines the mark of at least one the first access point;
The terminal receives at least one beacon message of at least one second access point transmission, and each beacon message carries the mark for the second access point for sending the beacon message;
The terminal obtains the mark of at least one second access point according at least one described described beacon message;
When the mark of at least one first access point includes the mark of at least one second access point, it is determined that at least one corresponding first specified Apply Names of the mark of at least one second access point;
The terminal is at least one first specified Apply Names described in the first interface prompt;
The mark of one first specified Apply Names corresponding second access point of the terminal at least one described first specified Apply Names connects network.
With reference to second aspect, in the first possible implementation of second aspect, the terminal determines the mark of at least one the first access point, including:
The terminal obtains at least one the 3rd access-in point information from map, and at least one described the 3rd access-in point information includes at least one corresponding second specified Apply Names of at least one the 3rd access point;
When the specified Apply Names of history binding in the first application installed in the terminal includes at least one described second specified Apply Names, the mark for the 3rd access point corresponding to the specified Apply Names of second included by specified Apply Names that history is bound during the terminal is applied described first is defined as the mark of at least one first access point.
The third aspect, the embodiments of the invention provide a kind of terminal, the terminal includes:
The first related to the first application and corresponding with the access point for sending beacon message mark is carried in receiving module, at least one beacon message for receiving the transmission of at least one access point, each beacon message;
Acquisition module, for according at least one described beacon message, obtaining at least one described first mark;
Determining module, includes at least one for identifying whether of binding of history in first application that determines to install in the terminal and described first identifies;
Link block, when the mark that history is bound during described first applies includes at least one described first mark, network is connected according to the described first mark.
With reference to the third aspect, in the first possible implementation of the third aspect, the terminal also includes reminding module, the reminding module, for when the mark that history is bound during described first applies only includes first mark, in the corresponding specified Apply Names of the first mark described in the first interface prompt, for user according to the specified Apply Names, it is determined that identifying connection network by the specified Apply Names corresponding first.
With reference to the third aspect, in second of possible implementation of the third aspect, the prompting mould Block is additionally operable to, when the mark that history is bound during described first applies includes multiple first marks, corresponding multiple specified Apply Nameses are identified in first interface prompt the multiple described first, for user according to the multiple specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first in the multiple specified Apply Names.
With reference to second of possible implementation of the third aspect, in the third possible implementation of the third aspect,
The determining module is specifically for according to the multiple first mark, it is determined that the priority of multiple specified Apply Nameses corresponding with the multiple first mark;
The reminding module is specifically for according to the priority, corresponding multiple specified Apply Nameses are identified in first interface prompt the multiple described first.
With reference to second of possible implementation of the third aspect, in the 4th kind of possible implementation of the third aspect,
The reminding module is additionally operable to, and in second contact surface, points out the first mark connection network not included by the mark that history is bound in the multiple first mark or first application.
With reference to the 4th kind of possible implementation of the third aspect, in the 5th kind of possible implementation of the third aspect, the reminding module is additionally operable to, when the first mark connection network that the mark that history is bound in being applied by described first does not include, at least one corresponding specified Apply Names of the first mark that the mark that history is bound in the first application described in first interface prompt does not include, for the user according at least one described specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first at least one described specified Apply Names.
With reference to second of possible implementation of the first possible implementation or the third aspect of the third aspect, in the 6th kind of possible implementation of the third aspect, the reminding module is additionally operable to, when the mark that history is bound during described first applies does not include the described first mark, in at least one corresponding specified Apply Names of at least one described described first mark of second contact surface prompting, for the user according at least one described specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first at least one described specified Apply Names.
Fourth aspect, the embodiment of the present invention provides a kind of terminal, and the terminal includes:
Determining module, the mark for determining at least one the first access point;
Receiving module, at least one beacon message for receiving the transmission of at least one second access point, each beacon message carries the mark for the second access point for sending the beacon message;
Acquisition module, for according at least one described described beacon message, obtaining the mark of at least one second access point;
The determining module is additionally operable to, when the mark of at least one first access point includes the mark of at least one second access point, it is determined that at least one corresponding first specified Apply Names of the mark of at least one second access point;
Reminding module, at least one first specified Apply Names described in the first interface prompt;
Link block, specifies the mark of corresponding second access point of Apply Names to connect network for one first at least one described first specified Apply Names.
With reference to fourth aspect, in the first possible implementation of fourth aspect, the determining module specifically for,
At least one the 3rd access-in point information is obtained from map, at least one described the 3rd access-in point information includes at least one corresponding second specified Apply Names of at least one the 3rd access point;
When the specified Apply Names of history binding in the first application installed in the terminal includes at least one described second specified Apply Names, the mark for the 3rd access point corresponding to the specified Apply Names of second included by specified Apply Names that history is bound during described first is applied is defined as the mark of at least one first access point.
Based on above-mentioned technical proposal, the method and terminal of the connection network of the embodiment of the present invention, the beacon message that access point is sent is received by terminal, the mark of specified Apply Names is obtained according to beacon message, and the specified Apply Names of mark correspondence of Apply Names is specified in interface prompt, terminal is according to the mark connection network for specifying Apply Names, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, meanwhile, enhance Consumer's Experience.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, the required accompanying drawing used in the embodiment of the present invention will be briefly described below, apparently, drawings described below is only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the method for connection network provided in an embodiment of the present invention;
Fig. 2 is Beacon frame signals structural representation provided in an embodiment of the present invention;
The flow chart of the method for the connection network that Fig. 3 provides for another embodiment of the present invention;
Fig. 4 is the schematic diagram of connection socket in application provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of system interface provided in an embodiment of the present invention;
Fig. 6 is the indicative flowchart of the method for the connection network of yet another embodiment of the invention;
The schematic diagram of socket is connected in the application that Fig. 7 provides for another embodiment of the present invention;
The schematic diagram for the system interface that Fig. 8 provides for another embodiment of the present invention;
Fig. 9 is the schematic interaction figure of the method for the connection WiFi network of another embodiment of the present invention;
Figure 10 is the schematic interaction figure of the method for the connection WiFi network of yet another embodiment of the invention;
Figure 11 is the flow chart of the method for connection network provided in an embodiment of the present invention;
Figure 12 is the flow chart of the method for the connection network of another embodiment of the present invention;
Figure 13 is the schematic interaction figure of the method for the connection WiFi network of yet another embodiment of the invention;
Figure 14 is the terminal schematic diagram of the connection network of the embodiment of the present invention;
Figure 15 is the schematic diagram of the terminal for connecing network of the embodiment of the present invention;
Figure 16 is the schematic diagram of the terminal for connecing network of another embodiment of the present invention;
Figure 17 is the terminal schematic diagram of the connection network of embodiment again of the invention;
Figure 18 is the schematic diagram of the terminal for connecing network of further embodiment of this invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained on the premise of creative work is not made should all belong to the scope of protection of the invention.
In the present invention is implemented, user equipment (English:User Equipment, referred to as " UE "), also referred to as terminal is (English:Terminal).The terminal can be with WAP (Access Point, AP radio communication) is carried out, obtain the unique mark for specifying Apply Names, terminal is pointed out to specify the corresponding specified Apply Names of mark of Apply Names by the interface for being used to connect network in application is specified or the system interface of terminal, the determine instruction for specifying the mark of the corresponding specified Apply Names of Apply Names to connect network by this inputted according to user, specifies the mark of Apply Names to connect network by this.
Wherein, this specifies Apply Names to be the title for refering in particular to be applied in some application program (Application, referred to as " APP ") that terminal is installed.Specified Apply Names can be to connect retail shop's title of network or be the service number of the specified Apply Names of correspondence retail shop title, and this specifies the service number of Apply Names to be retail shop's title, or user is the pet name that retail shop's title is set.The terminal can be smart mobile phone, tablet personal computer or the other equipment with radio communication.When the interface for being used to connect network in the specified application is specially terminal connection network, the interface of the specified Apply Names of display.
For ease of the understanding to the embodiment of the present invention, the technical scheme of present example is described in detail with reference to Fig. 1.It should be understood that this is only an example of the technical scheme for illustrating the embodiment of the present invention, any restriction is not constituted to the embodiment of the present invention.
Fig. 1 is the flow chart of the method for connection network provided in an embodiment of the present invention.The executive agent of the method 100 of connection network can be terminal as shown in Figure 1, and this method 100 includes:
110, terminal, which is received, carries the first related to the first application and corresponding with the access point for sending beacon message mark at least one beacon message of at least one access point transmission, each beacon message;
120, terminal obtains at least one first mark according at least one beacon message;
130, what history was bound in the first application that terminal determines to install in terminal, which identify whether, includes at least one and first identifies;
140, when the mark that history is bound during first applies includes at least one first mark, terminal connects network according to the first mark.
Specifically, in 110, the beacon message that terminal is received can be the Beacon frame signals that access point is sent.First application can be the application program (Application, referred to as " APP ") installed in terminal, for example:QQ, wechat, whatsapp, line, push away the other applications such as special twitter, types of facial makeup in Beijing operas facebook.First mark can be the unique mark applied to the first upper specified Apply Names of application.
In embodiments of the present invention, terminal receives at least one beacon message that one or more access points are sent.Each beacon message carries the mark that can apply to the first upper specified Apply Names of application.Wherein, each beacon message and the access point for sending the beacon message can be one-to-one relationship.
In 120, each beacon message at least one beacon message can include the mark for specifying Apply Names.Terminal obtains the mark for specifying Apply Names from each beacon message.
Alternatively, in embodiments of the present invention, beacon message includes extended field, and terminal obtains at least one mark for specifying Apply Names, specifically included according at least one beacon message:
Terminal parses the extended field of each beacon message at least one beacon message, obtains the mark of the specified Apply Names in each beacon message.
Specifically, in the present invention is implemented, beacon message includes extended field, using beacon message as Beacon frame signals example, as shown in Figure 2, extended field is the end field of each Beacon frame signals, it can be plus a Vendor specific element at Beacon frame signals end that the method for specifying Apply Names to identify is carried in Beacon frame signals, Vendor specific element end field can be carried on by specifying the mark of Apply Names, terminal parses the end field of Vendor specific element in each Beacon frame signals, obtain the mark of the specified Apply Names in each Beacon frame signals.
It should be understood that specify the mark of Apply Names to be carried on the lead-in section of extended field in each Beacon frame signals, also or it is carried on outside the extended field of Beacon frame signals, is not intended to be limited in any in the present invention.
It should also be understood that in embodiments of the present invention, so that beacon message is Beacon frame signals as an example, simply to illustrate that the technical scheme of the embodiment of the present invention, but and any limitation is constituted to the technical scheme of the embodiment of the present invention.
It should also be understood that beacon message can also include the signal strength information of beacon message and the mark of access point, in embodiments of the present invention, this is not intended to be limited in any.
In 130, what history was bound is designated terminal before current time connection network, the binding relationship of the mark connection network of the terminal that is stored with and specified Apply Names, and have recorded the mark of the specified Apply Names of the corresponding specified Apply Names for specifying Apply Names.It may also be said that the corresponding specified Apply Names of mark for the specified Apply Names that terminal " concern " is crossed.The mark of history binding can specify the mark of Apply Names for one or more.
In embodiments of the present invention, what terminal judged one or more specified Apply Nameses of history binding identifies whether that at least one for including terminal acquisition specifies mark of the specified Apply Names of one or more of mark of Apply Names.
In 140, when the mark of part or all of specified Apply Names in the specified Apply Names mark that history is bound, which includes one or more of mark of specified Apply Names of terminal acquisition, specifies Apply Names mark, terminal connects network according to the mark of a specified application in the mark for specifying Apply Names.
In embodiments of the present invention, terminal can receive the determine instruction of user's input, and the determine instruction is used for the mark connection network for the corresponding specified Apply Names of specified Apply Names that instruction terminal is determined by user.
Using the method for connection network provided in an embodiment of the present invention, the beacon message that access point is sent is received by terminal, the mark for specifying Apply Names is obtained according to beacon message, and network is connected according to the mark of specified Apply Names, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, meanwhile, enhance Consumer's Experience.
Alternatively, as another embodiment of the present invention, as shown in figure 3, when the mark that history is bound during first applies includes at least one first mark, terminal connects network by the first mark, including:
1410, when the mark that history is bound during first applies only includes one first mark, terminal identifies corresponding specified Apply Names in the first interface prompt first, for user according to specified Apply Names, it is determined that by specifying the corresponding first mark connection network of Apply Names.
Specifically, when terminal receives a beacon message or one first mark is got from the beacon message received, get the mark of a specified Apply Names, and the mark of one or more specified Apply Nameses of history binding is when including the mark of the specified Apply Names, the corresponding specified Apply Names of mark of the terminal notifying specified Apply Names, determines whether to specify the mark of Apply Names to connect network by this for user.
In step 1410, during the first interface can apply for first, the interface for connecting network.When terminal determines the mark for the specified Apply Names that the mark of the specified Apply Names of history binding includes acquisition, this is pointed out to specify the corresponding specified Apply Names of mark of Apply Names on the interface of connection network during terminal is applied first, for ease of specified Apply Names of the user according to prompting, it is determined whether specify the mark of the corresponding specified Apply Names of Apply Names to connect network by this.
When terminal receives when being instructed by the confirmation for specifying the mark of Apply Names to connect network of user's input, terminal specifies the mark of Apply Names to connect network according to this.
It should be understood that in invention is implemented, terminal can also receive not instructed by the confirmation for specifying the mark of Apply Names to connect network for user's input, and when terminal receives confirmation instruction, terminal exits connection socket, without network connection.
In embodiments of the present invention, as shown in figure 4, terminal connects prompting user on the interface of network in being applied first can connect network by McDonald.When terminal receives when connecting the determine instruction of network by the mark of McDonald of user's input, terminal connects network by the mark of McDonald.
It should be understood that being only that the technical scheme to the embodiment of the present invention is described in detail by taking " McDonald " as an example here in embodiments of the present invention, the scope to the embodiment of the present invention does not constitute any limit.
It is to be further understood that in embodiments of the present invention, terminal on the interface of connection network, when pointing out to specify Apply Names, can also point out the content information related to the specified Apply Names in the first specified application, For example:What type of content is issued on Apply Names is specified.This is not restricted in the present invention.
In embodiments of the present invention, terminal can be by specifying the mark and the relation table of the corresponding relation of specified Apply Names of Apply Names, and the corresponding specified Apply Names of mark of Apply Names is specified in inquiry.Such as table 1, table 1 is the mark and the relation table of the corresponding relation of specified Apply Names for specifying Apply Names.Specifying the mark of Apply Names includes mark 1 and mark 2, and the mark 1,2 corresponding specified Apply Nameses of mark with specified Apply Names are respectively McDonald and Boss men's clothing.
Table 1
It should be understood that, in embodiments of the present invention, terminal is according to the mark for specifying Apply Names, specified Apply Names corresponding with specifying the mark of Apply Names is determined by way of tabling look-up, terminal can also determine to specify Apply Names, this is not restricted in the present invention by way of specifying other internal logical relationships of the mark of Apply Names with specified Apply Names.
It should also be understood that in present example, exemplified by specifying Apply Names for McDonald and Boss men's clothing, technical solution of the present invention is described in detail, but the scope to the embodiment of the present invention does not constitute any limit.
Alternatively, as another embodiment of the present invention, as shown in figure 3, this method 100 also includes:
1420, when the mark that history is bound during first applies does not include first mark, terminal points out this to specify the corresponding specified Apply Names of mark of Apply Names in second contact surface, Apply Names is specified according to this for user, it is determined that specifying the mark of the corresponding specified Apply Names of Apply Names to connect network by this.
Specifically, second contact surface is the system interface of terminal.When in the mark that the mark of the specified Apply Names got from beacon message is not included in one or more specified Apply Nameses of history binding, terminal points out this to specify the corresponding specified Apply Names of mark of Apply Names in system interface, and carries Show the binding relationship for whether adding the terminal and the mark of the specified Apply Names, and record this and specify Apply Names, in order to which user determines whether to specify the mark of the corresponding specified Apply Names of Apply Names to connect network according to this.
When terminal receives when specifying the mark of Apply Names to connect the determine instruction of network by this of user's input, i.e. terminal receives the binding relationship for adding the terminal and the mark of the specified Apply Names of user's input, and when recording the specified Apply Names, it is determined that passing through the mark for specifying Apply Names connects network;When terminal receives when being instructed by the cancellation for specifying the mark of Apply Names to connect network of user's input, terminal cancels prompting, without network connection.
As shown in figure 5, terminal connects network whether system interface prompting pays close attention to McDonald.In embodiments of the present invention, the binding relationship of the McDonald and terminal can be recorded including terminal by being somebody's turn to do " concern ", and record McDonald.When terminal, which receives user, clicks on the determination button of "Yes", terminal connects network by the mark of McDonald;When terminal, which receives user, clicks on the determination button of "No", terminal exits the interface, is not connected to network.
It should be understood that in embodiments of the present invention, only by taking the schematic diagram content shown in Fig. 5 as an example, technical scheme is described in detail, but the scope to the embodiment of the present invention does not constitute any limit.
It is to be further understood that in the present invention is implemented, terminal can also point out the content information related to the specified Apply Names, such as when system interface points out this to specify Apply Names:What type of content is issued on Apply Names is specified, this is not restricted in the present invention.
Using the method for connection network provided in an embodiment of the present invention, when terminal only gets the mark of specified Apply Names, determine whether to specify the mark of Apply Names to connect network by this by terminal notifying user, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, meanwhile, enhance Consumer's Experience.
Alternatively, as another embodiment of the present invention, as shown in fig. 6, when the mark that history is bound during first applies includes at least one described first mark, terminal connects network by the first mark, including:
1430, when the mark that history is bound during first applies includes the multiple first marks, terminal is first Interface prompt multiple described first identifies corresponding multiple specified Apply Nameses, for user according to multiple specified Apply Nameses, it is determined that identifying connection network by a specified Apply Names corresponding first in multiple specified Apply Nameses.
Specifically, first is designated the mark of specified Apply Names.First interface can be specified in application for first, the interface for connecting network.Terminal receives at least one beacon message that multiple access points are sent, the mark of multiple specified Apply Nameses is obtained from least one beacon message, and when judging that the marks of at least one multiple specified Apply Names for specifying mark and the terminal of Apply Names to get that history is bound in the first application matches, during terminal is applied first on the interface of connection network, the mark for multiple specified Apply Nameses that prompt terminal is obtained one or more specified Apply Nameses corresponding with the mark for one or more specified Apply Nameses that the mark at least one specified Apply Names that history is bound matches, in order to specified Apply Names of the user according to the prompting of terminal, it is determined that specifying the mark of the corresponding specified Apply Names of a specified Apply Names in Apply Names to connect network by least one.
When terminal receives the determine instruction of user's input, terminal connects network according to determine instruction.The determine instruction is used to indicating the mark connection network by specifying the corresponding specified Apply Names of one in one or more specified Apply Nameses for matching of mark of Apply Names specified Apply Names with least one that history is bound in the first application.
As shown in fig. 7, terminal can connect the specified Apply Names of network in the connection socket prompting of the first application:McDonald and Boss men's clothing, " WiFi " printed words are marked in the upper right side of McDonald and Boss men's clothing marks, and the mark that can distinguish corresponding specified application by McDonald and Boss men's clothing for prompting user connects network.Also include the record for identifying corresponding specified Apply Names in time in the past by other specified Apply Nameses for specifying the mark of Apply Names to connect network in Fig. 7 below Boss men's clothing.
It should be understood that, in embodiments of the present invention, in the figure 7 with McDonald and Boss men's clothing, the prompting printed words " WiFi " of network can be connected and record in history by other specify application identities connect networks specified Apply Names the corresponding specified Apply Names of mark exemplified by, it is described in detail just for the sake of the technical scheme to the embodiment of the present invention, the scope composition to the embodiment of the present invention is not any Limit.
It should be understood that, in the present invention is implemented, terminal is on the first interface for specifying connection network in application, when the mark for one or more specified Apply Nameses that prompting user matches according to the mark of at least one specified Apply Names with history binding in the first application is connected network, the content information related at least one specified Apply Names can also be pointed out, for example:What type of content is issued on Apply Names is specified, this is not restricted in the present invention.
Using the method for connection network provided in an embodiment of the present invention, when terminal gets the mark of multiple specified Apply Nameses, determine whether include the mark of multiple specified Apply Nameses of acquisition in the first application in the mark for the specified Apply Names that history is bound by terminal, when the mark of the specified Apply Names that history is bound during first applies, which includes one or more of mark of multiple specified Apply Nameses of terminal acquisition, specifies Apply Names, terminal notifying connects network by the mark of the corresponding specified Apply Names of one in one or more specified Apply Nameses specified Apply Names, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, simultaneously, enhance Consumer's Experience.
Preferably as another embodiment of the present invention, terminal identifies corresponding multiple specified Apply Nameses in the first interface prompt multiple first, including:
Terminal is according to the multiple first marks, it is determined that the priority of multiple specified Apply Nameses corresponding with the multiple first marks;
Terminal is according to priority, in the corresponding multiple specified Apply Nameses of multiple first marks of the first interface prompt.
Specifically, when at least one that history is bound during first applies specifies the mark of Apply Names to include the mark for multiple specified Apply Nameses that terminal is obtained, during terminal is applied first on the interface of connection network, at least one corresponding specified Apply Names of mark of at least one the specified Apply Names matched in the mark for pointing out at least one multiple specified Apply Names for specifying mark and terminal of Apply Names to obtain of history binding, during terminal notifying at least one specified Apply Names, the priority of Apply Names can be specified by the condition judgment of setting this at least one, and arranged according to the sequencing of priority, by this, at least one specifies a specified Apply Names in Apply Names is corresponding to specify for prompting The mark connection network of Apply Names.
Wherein, connection socket of the terminal in the first application, when prompting the user with least one the specified Apply Names matched with the mark of at least one specified Apply Names of history binding, determining this according to certain preparatory condition, at least one specifies putting in order for Apply Names, in order to the sequencing that user arranges according to specified Apply Names, determine which prioritizing selection specify the mark of the corresponding specified Apply Names of Apply Names to connect network by.As shown in fig. 7, terminal is shown can connect network by McDonald and Boss men's clothing, the priority orders of McDonald's connection network are arranged in first, and the priority orders of Boss men's clothing connection network are arranged in second.
It should be understood that, in embodiments of the present invention, by shown in Fig. 7 by taking the putting in order of the priority of " McDonald " and " Boss men's clothing " as an example, it is only for the technical scheme to the embodiment of the present invention is described in detail, and the scope to the embodiment of the present invention does not constitute any limit.
It should also be understood that in embodiments of the present invention, the priority orders of Apply Names are specified in the other modes arrangement that terminal can also be accustomed to according to user, are not intended to be limited in any in embodiments of the present invention.
For example shown in table 2, table 3, table 2 is at least one specified Apply Names and the relation table of the corresponding relation of at least one specified Apply Names access network number of times, and Fig. 3 specifies the relation table of Apply Names and the corresponding relation of at least one specified Apply Names priority arrangement at least one.Wherein, the corresponding specified Apply Names of at least one mark for specifying Apply Names to be at least one specified Apply Names that at least one that history is bound in the first application specifies that Apply Names and the mark for multiple specified Apply Nameses that terminal is obtained match.
Table 2
Specify Apply Names Specify Apply Names access network number of times
Apple 5
McDonald 6
Boss men's clothing 3
Table 3
Specify Apply Names Priority
McDonald 1
Apple 2
Boss men's clothing 3
The number of times 5,6 and 3 of apple, McDonald and Boss men's clothing access networks that terminal can be bound according to history, arrangement specifies the priority orders of Apply Names access network to be McDonald, apple and Boss men's clothing.
It should be understood that in embodiments of the present invention, by specifying Apply Names for exemplified by McDonald, apple and Boss men's clothing, it is only for the technical scheme to the embodiment of the present invention is described in detail, the scope to the embodiment of the present invention does not constitute any limit.
In embodiments of the present invention, terminal is according to priority, in being applied first on the interface of connection network, the mark of the multiple specified Apply Nameses for the network-connectable that prompt terminal is obtained at least one second specified Apply Names corresponding with the mark at least one specified Apply Names that the mark at least one specified Apply Names that history is bound matches, with being easy to the user can be according to the prompting of terminal, a specified Apply Names is selected from least one specified Apply Names, terminal is received after the selection instruction of user, network is connected according to the mark of the corresponding specified Apply Names of the specified Apply Names of selection.For example, such as chart 3, user can select the McDonald of highest priority to connect network.
It should be understood that, in embodiments of the present invention, exemplified by the number of times of Apply Names access network is specified by least one, illustrate that terminal determines that at least one specifies the technical scheme of Apply Names priority, in embodiments of the present invention, terminal can also use predefined other modes, determine that at least one specifies the priority of Apply Names, this is not construed as limiting in the embodiment of the present invention.
Therefore, using the method for connection network provided in an embodiment of the present invention, when terminal gets the mark of multiple specified Apply Nameses, determine whether include the mark of multiple specified Apply Nameses of acquisition in the first application in the mark for the specified Apply Names that history is bound by terminal, when the mark that at least one that history is bound specifies the mark of Apply Names to obtain multiple specified Apply Nameses with terminal matches, terminal is carried Show that user connects network by the mark of the corresponding specified Apply Names of one in multiple specified Apply Nameses for matching specified Apply Names, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, meanwhile, enhance Consumer's Experience.Simultaneously, terminal is by the way that history bound, and at least one specified Apply Names progress priority ranking of network can be connected, the priority orders sequence of Apply Names is specified to point out user's mark of the corresponding specified Apply Names of the specified Apply Names of selection one from least one specified Apply Names to connect network according at least one, the speed of connection network is efficiently improved, Consumer's Experience is enhanced.
It is to be further understood that in embodiments of the present invention, the content of SCN subscriber connection network is pointed out on Fig. 4 and Fig. 7, and Fig. 5 and Fig. 8 just to which the technical scheme of the embodiment of the present invention is described in detail, the scope to the embodiment of the present invention does not constitute any limit.
Alternatively, as another embodiment of the present invention, as shown in fig. 6, before terminal connects network by the first mark, methods described 100 also includes:
1440, terminal points out the first mark connection network not included by the mark that history is bound in multiple first marks or the first application in second contact surface.
Specifically, when one or more of mark of multiple specified Apply Nameses that the mark of one or more of mark of at least one specified Apply Names that history is bound during first applies specified Apply Names is obtained with terminal specifies the mark of Apply Names to match, the mark connection network for the specified Apply Names that terminal is bound in system interface prompting user by terminal acquisition and history still passes through terminal acquisition and the mark connection network of the unbound specified Apply Names of history.
In embodiments of the present invention, for example:Terminal can show one " dialog box " that " dialog box " includes two buttons on system interface, and one is the mark connection network for the specified Apply Names bound by history, and another is to specify the mark of Apply Names to connect network by other.
It should be understood that in embodiments of the present invention, by taking " dialog box " as an example, being illustrated to technical solution of the present invention, in present example, this is not intended to be limited in any.
Using the method for connection network provided in an embodiment of the present invention, when terminal determines that one or more of mark of specified Apply Names that history is bound in the first application specifies the mark of Apply Names to be obtained including terminal When one or more of mark of multiple specified Apply Nameses taken specifies the mark of Apply Names, by being pointed out in system interface, the mark connection network for the specified Apply Names that user's selection is obtained by terminal and history is bound still is obtained terminal by terminal and the mark of the unbound specified Apply Names of history connects network, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, meanwhile, enhance Consumer's Experience.
Alternatively, as another embodiment of the present invention, as shown in fig. 6, this method 100 also includes:
1450, when the first mark connection network that the mark that history is bound in being applied by first does not include, at least one corresponding specified Apply Names of the first mark that the terminal mark that history is bound in first interface prompt first application does not include, for user according at least one described specified Apply Names, it is determined that specifying one in Apply Names specified Apply Names corresponding first to identify connection network by least one.
Specifically, first is designated the mark of the specified Apply Names of terminal acquisition.After terminal notifying user still connects network by the mark connection network for the specified Apply Names that terminal is obtained and history is bound by the mark of terminal acquisition and the unbound specified Apply Names of history, when the mark by terminal acquisition and the unbound specified Apply Names of history that terminal receives user's input connects network determine instruction, terminal is in application is specified on the interface of connection network, point out the corresponding specified Apply Names of mark of user terminal acquisition and the unbound specified Apply Names of history, terminal receives the determine instruction for specifying the mark of the corresponding specified Apply Names of Apply Names to connect network by one of them of user's input, the mark of Apply Names is specified to connect network according to this.
Alternatively, as another embodiment of the present invention, as shown in fig. 6, method 100 also includes:
1460, when at least one that history is bound during first applies specifies the mark of Apply Names not include the mark of multiple specified Apply Nameses, terminal is in second contact surface, point out the corresponding multiple specified Apply Nameses of mark of multiple specified Apply Nameses, for user according to multiple specified Apply Nameses, it is determined that connecting network by the mark of the corresponding specified Apply Names of one in multiple specified Apply Nameses specified Apply Names.
Specifically, when each specified Apply Names in the mark for multiple specified Apply Nameses that terminal is obtained Mark, when being all not included in the first application in the mark for the specified Apply Names that history is bound, terminal points out the corresponding multiple specified Apply Nameses of mark of multiple specified Apply Nameses in system interface, in order to which user connects network by the mark of the corresponding specified Apply Names of one in multiple specified Apply Nameses specified Apply Names.
When terminal receives the confirmation instruction of user's input, terminal is according to confirmation instruction connection network.Wherein, the confirmation is instructed identifies connection network for instruction terminal by the way that a specified Apply Names in multiple specified Apply Nameses is corresponding, and the mark of the specified Apply Names and the binding relationship of terminal are added, record the corresponding specified Apply Names of mark for specifying Apply Names.
In embodiments of the present invention, when the corresponding specified Apply Names for the specified Apply Names that terminal is obtained is McDonald and Boss men's clothing, and during the mark of the unbound McDonald of history and Boss men's clothing, as shown in figure 8, system interface prompting concern McDonald or concern Boss men's clothing connection network of the terminal in terminal.
It should be understood that in embodiments of the present invention, by taking the content shown in Fig. 8 as an example, the technical scheme to the embodiment of the present invention is described in detail, but the content shown in Fig. 8 does not limit the scope of the embodiment of the present invention.
In embodiments of the present invention, terminal can also receive when being instructed by the cancellation for specifying the mark of Apply Names to connect network of user's input, and terminal cancels prompting, without network connection.
Therefore, using the method for connection network provided in an embodiment of the present invention, when terminal gets the mark of multiple specified Apply Nameses, determine whether include the mark of multiple specified Apply Nameses of acquisition in the first application in the mark for the specified Apply Names that history is bound by terminal, when the mark for the specified Apply Names bound in history includes the mark of the multiple specified Apply Nameses of terminal acquisition, terminal notifying user determines the mark connection network by the corresponding specified Apply Names of one in multiple specified Apply Nameses specified Apply Names, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, simultaneously, enhance Consumer's Experience.
It should be noted that in embodiments of the present invention, specified Apply Names can apply in corresponding a variety of social networking applications, such as:QQ, wechat, whatsapp, line, push away special twitter, types of facial makeup in Beijing operas facebook Deng.
For purposes of illustration only, below to specify the title that Apply Names is specially wechat public number, i.e. wechat account, the mark for specifying Apply Names is specially the mark (English of wechat public number:IDentity, referred to as:ID), exemplified by access point is businessman's access point, connection WiFi network, and combines Fig. 4, the technical scheme of 5 pairs of present examples and be described in detail.It should be understood that this is only an example of the technical scheme for illustrating the embodiment of the present invention, any restriction is not constituted to the embodiment of the present invention.
During the access-in point information that Fig. 9 sends for one access point of reception that the present invention is provided, the schematic interaction figure of the method for WiFi network is connected;During the access-in point information that Figure 10 sends for the multiple access points of reception that the present invention is provided, the schematic interaction figure of the method for WiFi network is connected.
When receiving an access-in point information to terminal below, the method for connection network is described in detail, and method 400 as shown in Figure 9 includes:
410, terminal receives the beacon message that an access point is sent.
420, terminal obtains the mark ID of wechat public number according to beacon message.
430, terminal determines whether the ID of at least one wechat public number of history binding includes the ID of the wechat public number, when the ID at least one wechat public number that history is bound does not include the ID of the wechat public number, performs 440, otherwise, performs 435.
440, terminal is pointed out to record the ID of the wechat public number and the binding relationship of terminal in system interface, and connects WiFi network by the corresponding wechat public numbers of ID of the wechat public number.
450, the ID for recording the wechat public number and the binding relationship of terminal that terminal is inputted according to user, and the determine instruction for the ID connection networks for passing through the wechat public number, pass through the ID connection WiFi networks of the wechat public number.
455, terminal sends WiFi connection request messages to access point, and request message includes the ID source codes OpenID of terminal wechat public number and the service set (Service Set Identifier, SSID) of access point;
460, WiFi connection request messages are sent to access point service by access point by wechat server Device;
465, access point server carries out authentication to the ID source codes OpenID of terminal wechat public number and the SSID of access point;
470, when authentication by when, access point server is sent to access point by wechat server and is verified information, is verified information and is logged in address information and WiFi encrypted messages including access point;
475, what terminal reception access point was sent is verified information;
478, terminal sends log on request message according to address information and WiFi encrypted messages is logged in access point;
480, access point is received after log on request message to terminal transmission response message, that is, logs in success.
485, terminal records the wechat public number.
In embodiments of the present invention, during the ID connection WiFi networks that terminal passes through the unbound wechat public number of history, terminal needs the bind request of carried terminal and the ID of wechat public number in network connecting request message, to cause wechat server after bind request is received, set up the ID of wechat public number and the binding relationship of terminal, and record the wechat public number, and in the result that access point server is sent to terminal the ID of carried terminal and wechat public number binding acknowledgement message, record the wechat public number when terminal connects WiFi network.
In embodiments of the present invention, in this method 400, when the ID of at least one wechat public number of historical record includes the ID of the wechat public number, 435 and 445 are performed,
435, terminal, by the corresponding wechat public numbers of ID of the wechat public number, the ID connection WiFi networks by the corresponding wechat public number of the wechat public number is determined whether according to the wechat public number of prompting for user in the interface prompt for connecting WiFi network.
445, the corresponding wechat public numbers of the ID by the wechat public number that terminal is inputted according to user connect the determine instruction of WiFi network, and WiFi network is connected by the wechat public number.
Specifically, in embodiments of the present invention, step 460, WiFi connection request messages are sent to access point server by access point by wechat server, step 461 is specifically included, wechat server is received The WiFi connection request messages that access point is sent, and the WiFi connection request messages are transmitted to access point server.
It should be understood that, in embodiments of the present invention, the ID connection WiFi networks for the wechat public number that terminal is bound by history, compared with the process of the ID connection WiFi networks of the wechat public number unbound by history, during the ID connection WiFi networks for the wechat public number bound by history, when terminal is to access point transmission network connecting request, it is not necessary to the bind request of carried terminal and the ID of wechat public number, i.e., terminal and the ID of wechat public number binding relationship need not be added again.Other processes are identical with the process of the ID connection WiFi networks by the unbound wechat public number of history, perform step 455 to 480, succinct for description, will not be repeated here.
In embodiments of the present invention, before terminal receives the access-in point information that an access point is sent, this method also includes:
490, access point sends application wechat public number request message to wechat server;
495, wechat server sends the ID of wechat public number to access point.
Specifically, wechat server determines the ID of wechat public number according to application wechat public number solicited message.
Using the method for connection WiFi network provided in an embodiment of the present invention, terminal receives the access-in point information that access point is sent, as the ID of one wechat public number of acquisition from access-in point information, pass through the corresponding wechat public numbers of ID of the terminal notifying wechat public number, pass through the wechat public number for user, determine whether the ID connection WiFi networks by the wechat public number, simplify the operating process that user connects WiFi network, realize user and quickly connect WiFi network, meanwhile, enhance Consumer's Experience.
It should be noted that, step 435 that method 400 in the embodiment of the present invention includes, 445 can implement the step 1410 that the method 100 shown in Fig. 3 includes, the step 440 and 450 that method 400 in the embodiment of the present invention includes can implement the step 1420 that the method 100 shown in Fig. 3 includes, it is succinct for description, it will not be repeated here.
It should be noted that in various embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, and the execution sequence of each process should be true with its function and internal logic It is fixed, constitute any limit without tackling the implementation process of the embodiment of the present invention.
When receiving multiple access-in point informations to terminal below, the method for connection WiFi network is described in detail, and method 500 as shown in Figure 10 includes:
510, terminal receives multiple beacon messages that multiple access points are sent.
520, terminal obtains the mark ID of multiple wechat public numbers according to multiple beacon messages.
530, whether determine the ID of at least one wechat public number of history binding includes the ID of multiple wechat public numbers, when at least one second wechat public number in the ID at least one wechat public number that history is bound includes the ID of multiple wechat public numbers, perform 540, when at least one that the history is bound specifies the ID of Apply Names not include the ID of multiple wechat public numbers, terminal notifying performs 535 by one of ID of multiple wechat public numbers connection WiFi networks.
540, ID connection WiFi network of the terminal in ID connection WiFi network of the system interface prompting by least one the second wechat public number of history binding, or the wechat public number in the ID for passing through multiple wechat public numbers in addition to the ID of at least one the second wechat public number.
550, the first instruction that terminal is inputted according to user determines the priority of at least one corresponding wechat public number of ID of at least one the second wechat public number, wherein, the first instruction is the determine instruction that WiFi network is connected by least one second wechat public number.
560, terminal, at the interface of connection WiFi network, is pointed out to pass through the ID connection WiFi networks of the corresponding wechat public number of a wechat public number at least one second wechat public number according to the priority of at least one the second wechat public number.
570, the second instruction that terminal is inputted according to user, determine the ID of the first wechat public number, wherein, second instruction is the determine instruction by the ID connection WiFi networks of the corresponding wechat public number of a wechat public number at least one second wechat public number, and the ID connection WiFi networks for passing through the first wechat public number.
It should be noted that the method 500 in the embodiment of the present invention step 540,550,560 and 570 that include can specifically to realize the step 1440 and 1430 that the method 100 shown in Fig. 6 includes, Step 535 that method 500 in the embodiment of the present invention includes and 545 can be succinct for description specifically to realize the step 1460 that the method 100 shown in Fig. 6 includes, and will not be repeated here.
In embodiments of the present invention, in this method 500, when the ID connection WiFi networks of the wechat public number in the ID by multiple wechat public numbers in addition to the ID of at least one the second wechat public number, perform 555, the 4th instruction that terminal is inputted according to user, determine the ID of the first wechat public number, and the ID connection WiFi networks for passing through the first wechat public number, wherein, the 4th instruction is the determine instruction for the ID connection WiFi networks that the corresponding wechat public number of a wechat public number is selected from multiple wechat public numbers in addition to the second wechat public number.
It should be noted that, in embodiments of the present invention, terminal connects the step step 571 of WiFi network to the step 455 of step 580 and method in Fig. 9 400 to 480 identical according to the corresponding wechat public number of the ID of the first wechat public number, succinct for description, will not be repeated here.
In embodiments of the present invention, in this method 500, when at least one that the history is bound specifies the ID of Apply Names not include the ID of the multiple specified Apply Names, the corresponding multiple wechat public numbers of ID of the multiple specified Apply Nameses of terminal notifying, for prompting of the user by terminal, a wechat public number is selected from multiple wechat public numbers, passes through the ID connection WiFi networks of the corresponding wechat public number of a wechat public number of selection, perform 535 and 545
535, terminal points out the corresponding multiple wechat public numbers of ID of multiple wechat public numbers in system interface, for multiple wechat public numbers of the user according to prompting, the ID connection WiFi networks of the corresponding wechat public number of a wechat public number in multiple wechat public numbers are determined.
545, the 3rd instruction that terminal is inputted according to user determines the ID of the first wechat public number, and the ID connection WiFi networkings for passing through the first wechat public number.
It should be noted that, in embodiments of the present invention, when the ID connection WiFi networks of a wechat public number in the ID of terminal any one wechat public number unbound by history, the corresponding wechat public number of the wechat public number is recorded, and records the ID of the wechat public number and the binding relationship of terminal.
In the present invention is implemented, before terminal receives multiple access-in point informations that multiple access points are sent, This method also includes:
585, access point sends application wechat public number solicited message to wechat server;
590, wechat server determines the ID of wechat public number according to application wechat public number solicited message;
595, wechat server sends the ID of wechat public number to access point.
Using the method for connection WiFi network provided in an embodiment of the present invention, terminal receives the access-in point information that access point is sent, when obtaining the ID of at least one wechat public number from access-in point information, pass through at least one corresponding wechat public number of ID of at least one wechat public number of terminal notifying, for user according at least one wechat public number of the prompting of terminal, it is determined that passing through the ID connection WiFi networks of the corresponding wechat public number of a wechat public number at least one wechat public number, simplify the operating process that user connects WiFi network, realize user and quickly connect WiFi network, simultaneously, enhance Consumer's Experience.
It should be understood that in embodiments of the present invention, the ID for one or more wechat public numbers that the ID of the second wechat public number is the ID of at least one wechat public number of history binding in wechat and the ID of multiple wechat public numbers of terminal acquisition matches.The ID for one or more wechat public numbers that the ID for multiple wechat public numbers that ID and the terminal at least one wechat public number that history in wechat is bound in embodiments of the present invention are obtained matches is named as that " ID " of the second wechat public number is simply to illustrate that the technical scheme of the embodiment of the present invention, is not intended to limit the technical scheme of the embodiment of the present invention.
It will also be understood that, in embodiments of the present invention, differing for the confirmation instruction that user inputs in the embodiment of the present invention of " the first instruction ", " the second instruction ", " the 3rd instruction " and " the 4th instruction " referred to just for the sake of distinguishing user's input, is not intended to limit the technical scheme of the embodiment of the present invention.
It should be noted that in embodiments of the present invention, using wechat public number, technical scheme is described, it is intended merely to clearly describe technical solution of the present invention, any restriction is not constituted to the embodiment of the present invention.
It will also be understood that, in various embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and any limit is constituted without tackling the implementation process of the embodiment of the present invention.
The flow chart of the method for the connection network that Figure 11 provides for another embodiment of the present invention.The executive agent of the method 600 of connection network can be terminal as shown in figure 11, and this method 600 includes:
610, terminal determines the mark of at least one the first access point;
620, terminal receives at least one beacon message of at least one second access point transmission, and each beacon message carries the mark for the second access point for sending beacon message;
630, terminal obtains the mark of at least one the second access point according at least one beacon message;
640, terminal determine at least one the first access point identify whether include the mark of at least one the second access point;
650, when the mark of at least one the first access point includes the mark of at least one the second access point, determine at least one corresponding first specified Apply Names of mark of at least one the second access point;
660, terminal is at least one first specified Apply Names of the first interface prompt;
670, the mark of one first specified Apply Names corresponding second access point of the terminal at least one first specified Apply Names connects network.
Specifically, in the embodiment of the present invention 610, the first access point is the corresponding access point of the access-in point information that can currently receive that terminal is determined.The information of access point is obtained in some application program (Application, referred to as " APP ") that terminal can be installed from itself, the mark of access point is obtained according to access-in point information.In embodiments of the present invention, it is designated unique information for representing access point, the mark can be specially media access control (Media Access Control, MAC) address, Internet protocol (Internet Protocol Version 6, IPv6), service set (Service Set Identifier, SSID) etc..
In 620, beacon message can be specially the Beacon frame signals that access point is sent.Second access point is the corresponding access point of beacon message that terminal can currently be received.Terminal receives the mark that the corresponding access point of access point for sending the beacon message is carried in the beacon message that the second access point is sent, beacon message.
In 630, terminal obtains the mark of the second access point from currently received beacon message.
In 640, terminal judge the first access point mark and the second access point identify whether matching.
In 650, when the mark of the access point of one or more of mark of at least one the first access point first includes the mark of one or more of the mark of at least one the second access point the second access point, terminal needs to determine the corresponding specified Apply Names of the mark of the second access point with the relation table of the corresponding relation of specified Apply Names according to the mark of the second access point.
In 660, in the application that the first interface is installed for terminal, the interface of network can be connected.First specifies the corresponding specified Apply Names of mark that Apply Names is the second access point.When the mark of one or more of the mark identified with least one the second access point of the access point of one or more of mark of at least one the first access point first access point matches, terminal points out the mark of one or more second access points matched corresponding one or more first to specify Apply Names on the first interface, Apply Names is specified according to one or more the first of the prompting of terminal for user, the mark of corresponding second access point of the specified Apply Names of selection one connects network from the one or more first specified Apply Nameses.
In 670, when terminal receives the determine instruction of user's input, terminal connects network according to the determine instruction.Wherein, the mark of corresponding second access point of the specified Apply Names of the determine instruction be used for that instruction terminal to be selected by user one connects network.
In embodiments of the present invention, terminal can obtain the mark connection network for specifying Apply Names by inquiring about the mark and the relation table of the corresponding relation of the mark of specified Apply Names and specified Apply Names of the access point that terminal is prestored.
In present example, terminal can also obtain the mark connection network for specifying Apply Names, be not intended to be limited in any in embodiments of the present invention by specifying other internal logical relationships between Apply Names and the mark for referring to Apply Names.
Using the method for connection network provided in an embodiment of the present invention, pass through the beacon message sent according to access point, obtain the mark of access point, and the mark of current access point of the mark for the access point that can connect network for determining terminal with receiving matches, it is determined that the corresponding specified Apply Names of mark of connection network, and specify the mark of the corresponding access point of Apply Names to connect network by this, simplify user's connection The operating process of network, realizes user and quickly connects network, enhances the experience of user.
Alternatively, as another embodiment of the present invention, as shown in figure 12, terminal determines the mark of at least one the first access point, including:
6110, terminal obtains at least one the 3rd access-in point information from map, and at least one the 3rd access-in point information includes at least one corresponding second specified Apply Names of at least one the 3rd access point;
6120, when the specified Apply Names that history is bound in the first application installed in terminal includes at least one described second specified Apply Names, second included by specified Apply Names that history is bound during terminal is applied first specifies the mark of the 3rd access point corresponding to Apply Names to be defined as the mark of at least one the first access point.
Specifically, map is the map application software that terminal itself is installed.Terminal can obtain the mark of access point from map application software.
It should be understood that, in embodiments of the present invention, the map that map can also prestore for terminal, the beacon message that can also be sent for terminal according to access point, the map obtained to access point, the map includes positional information, the mark of access point and the specified Apply Names corresponding with the mark of access point of at least one access point.Terminal according to the map, obtains the mark of at least one access point in map.
In embodiments of the present invention, the 3rd access-in point information is the information of all access points on map, including the corresponding specified Apply Names of all access points in map, and this specifies second that Apply Names is the name in 6110 to specify Apply Names.Terminal can obtain all access-in point informations, i.e. terminal from map and obtain the corresponding specified Apply Names of all access points.
In 6120, the first application can be the application program (Application, referred to as " APP ") installed in terminal, for example:QQ, wechat, whatsapp, line, push away the other applications such as special twitter, types of facial makeup in Beijing operas facebook.What history was bound is designated terminal before current time connection network, the binding relationship of the mark connection network of the terminal that is stored with and the second access point, and have recorded specified Apply Names corresponding with the mark of second access point.The mark of history binding can be the mark of one or more access point.In embodiments of the present invention, the first access point includes the second access point.
Alternatively, as another embodiment of the present invention, terminal determines the mark of at least one the first access point Know, in addition to:
Terminal determines whether terminal is in the range of the network service of at least one the first specified Apply Names;Wherein,
Terminal determines the mark of at least one the first access point, including:
When terminal is in the range of the network service of at least one the first specified Apply Names, terminal determines the mark of at least one the first access point.
Specifically, whether terminal judges terminal currently in the first network service scope for specifying Apply Names.In embodiments of the present invention, terminal can be according to the positional information of terminal itself, or terminal can specify the signal intensity of the corresponding access point transmission signal of Apply Names according to the positional information of terminal itself and first, determine whether terminal is in network service scope, namely, when terminal, which can receive first, specifies the signal that the corresponding access point of Apply Names is sent, terminal is in the range of the first network service for specifying Apply Names.
When terminal, which is in one or more of at least one first specified Apply Names, specifies within the scope of the network service of Apply Names, user is pointed out to connect network by the mark of one or more specified corresponding access point identities of Apply Names or specified Apply Names.
When terminal receives the determine instruction of user's input, terminal connects network according to the determine instruction, wherein, the corresponding access point identity of the specified Apply Names of the determine instruction be used for that instruction terminal to be selected according to user one connects network.
Using the method for connection network provided in an embodiment of the present invention, the beacon message sent by terminal according to access point, obtain mark, matched by the mark of the current access point by the mark obtained in map with receiving, it is determined that the corresponding specified Apply Names of mark of connection network, and specify the mark of the corresponding specified Apply Names of Apply Names to connect network by this, the operating process of SCN subscriber connection network is simplified, user is realized and quickly connects network.Meanwhile, by the way that the corresponding specified Apply Names of mark of the first access point is matched with the specified Apply Names that history is bound, it is determined that the access point of network can be connected.If further determining that whether terminal enters the network service scope for specifying Apply Names, network can be efficiently connected, Consumer's Experience is enhanced.
It should be understood that in embodiments of the present invention, specified Apply Names can apply in corresponding a variety of social networking applications, such as:QQ, wechat, whatsapp, line, push away special twitter, types of facial makeup in Beijing operas facebook etc..
For purposes of illustration only, be specially below wechat public number to specify Apply Names, exemplified by access point is businessman's access point, connection WiFi network, and the technical scheme of present example is described in detail with reference to Figure 13.It should be understood that this is only an example of the technical scheme for illustrating the embodiment of the present invention, any restriction is not constituted to the embodiment of the present invention.
The schematic interaction figure of the method for the connection WiFi network that Figure 13 provides for another embodiment of the present invention;As shown in figure 13, this method 800 includes:
805, terminal receives the first signal of at least one first access point transmission;
810, according to the first signal, obtain map;
815, terminal obtains the information of at least one the second access point from map, and the information of at least one the second access point includes at least one corresponding first specified Apply Names of at least one second access point.
820, terminal determines whether at least one specified Apply Names of history binding includes at least one first specified Apply Names;
825, when at least one that history is bound specifies Apply Names to include at least one first specified Apply Names, terminal determines the mark of the 3rd access point;
830, terminal receives the mark that the 4th access point for sending beacon message is carried at least one beacon message of at least one the 4th access point transmission, each beacon message;
835, terminal obtains the mark of at least one the 4th access point according at least one beacon message;
840, terminal determine at least one the 3rd access point identify whether include the mark of at least one the 4th access point, when the mark of at least one the 3rd access point includes the mark of at least one the 4th access point in the mark of at least one the 4th access point, terminal determines at least one corresponding second specified Apply Names of the mark of at least one the 4th access point;
In the first interface prompt, at least one second specifies Apply Names to 845 terminals, and second the corresponding specified Apply Names of a specified Apply Names in Apply Names is specified by least one for user ID connection WiFi networks.
850, terminal sends service-seeking request message to access point, service-seeking request message includes ID source codes OpenID, service set (the Service Set Identifier of access point of terminal wechat public number, SSID) and wechat public number mark (Identity, ID);
855, access point sends service-seeking request message to wechat server;
860, wechat server sends service-seeking request message to access point server;
865, access point server carries out authentication to the ID source codes OpenID of terminal wechat public number and the SSID of access point;
870, when authentication by when, access point server sends to wechat server and is verified information, is verified information and logs in address information and WiFi encrypted messages including access point;
875, wechat server sends to access point and is verified information.
880, access point sends to terminal and is verified information;
885, terminal sends log on request information according to address information and WiFi encrypted messages is logged in access point;
890, access point is received after log on request information to terminal transmission response message, that is, logs in success.
895, terminal records the wechat public number.
Specifically, in embodiments of the present invention, when terminal has just enter into market, terminal can receive the signal of access point transmission, and the first access point is the access point for sending signal;Second access point is the access point for all retail shops that terminal is obtained from map;3rd access point is the specified Apply Names access point corresponding with the specified Apply Names that first specifies Apply Names to match of history binding in wechat;4th access point is the corresponding access point of signal that the access point that can be received at terminal current time is sent.The Beacon frame signals that beacon message can send for access point.
In embodiments of the present invention, terminal obtains the access-in point information of all retail shops from map, and specified Apply Names corresponding with retail shop access point is obtained from all access-in point informations;Terminal is matched the specified Apply Names that history in wechat is bound with the specified Apply Names that terminal is obtained from map, when one or more of specified Apply Names that history is bound is specified in Apply Names with being obtained from map When the specified Apply Names of one or more of multiple specified Apply Nameses taken matches, terminal determines that at least one matched specifies the corresponding retail shop's access point of Apply Names to connect the access point of network, terminal searches simultaneously receive the Beacon frame signals that retail shop access point is sent, and obtain from Beacon frame signals the mark of corresponding access point;Terminal is matched the mark for itself judging retail shop access point of the mark of the retail shop's access point obtained with being obtained from Beacon frame signals;When the mark of the part retail shop access point in both matches, navigate at least one corresponding specified Apply Names of at least one the retail shop's access point matched, and can be connected in wechat and point out at least one to specify Apply Names on the interface of network, in order to which user is from the mark connection WiFi networkings of at least one corresponding specified Apply Names of the specified Apply Names of selection one in specifying Apply Names.
It should be noted that in the embodiment of the present invention 881, the SSID of access point is specially that terminal is obtained from the access-in point information of the first access point.
In embodiments of the present invention, before at least one first signal that terminal receives the transmission of at least one first access point, this method also includes:
896, multiple access points send application wechat public number request message to wechat server;
899, wechat server distributes the ID of wechat public number to access point.
Using the method for connection WiFi network provided in an embodiment of the present invention, the corresponding specified Apply Names of mark obtained in map is matched with the specified Apply Names that history is bound, it is determined that the specified Apply Names of connection WiFi network, and specify the mark of the corresponding specified Apply Names of Apply Names to connect WiFi network by this, the operating process that user connects WiFi network is simplified, user is realized and quickly connects WiFi network.
Above in conjunction with Fig. 1 to Figure 13, below in conjunction with Figure 14 to Figure 19, terminal according to embodiments of the present invention is described in detail in the method that connection network according to embodiments of the present invention is described in detail.
Figure 14 is a kind of structural schematic of terminal provided in an embodiment of the present invention;As shown in figure 14, the terminal 900 includes:Receiving module 910, acquisition module 920, determining module 930 and link block 940.
The first related to the first application and corresponding with the access point for sending beacon message mark is carried in receiving module 910, at least one beacon message for receiving the transmission of at least one access point, each beacon message;
Acquisition module 920, for according at least one beacon message, obtaining at least one first mark;
Determining module 930, for determine to install in terminal first application in history bind identify whether include at least one first identify;
Link block 940, when the mark that history is bound during first applies includes at least one first mark, network is connected according to the first mark.
Specifically, the beacon message that terminal is received can be the Beacon frame signals that access point is sent.First application can be the application program (Application, referred to as " APP ") installed in terminal, for example:QQ, wechat, whatsapp, line, push away the other applications such as special twitter, types of facial makeup in Beijing operas facebook.First mark can be the unique mark applied to the first upper specified Apply Names of application.
In embodiments of the present invention, receiving module 910 receives at least one beacon message that one or more access points are sent.Each beacon message carries the mark that can apply to the first upper specified Apply Names of application.Wherein, each beacon message and the access point for sending the beacon message can be one-to-one relationship.Each beacon message at least one beacon message can include the mark for specifying Apply Names.Acquisition module 920 obtains the mark for specifying Apply Names from each beacon message.
Alternatively, in embodiments of the present invention, beacon message includes extended field, and acquisition module 920 obtains at least one mark for specifying Apply Names, specifically included according at least one beacon message:
Acquisition module 920 parses the extended field of each beacon message at least one beacon message, obtains the mark of the specified Apply Names in each beacon message.
It should be understood that beacon message can also include the signal strength information of beacon message and the mark of access point, in embodiments of the present invention, this is not intended to be limited in any.
In embodiments of the present invention, what history was bound is designated terminal before current time connection network, the binding relationship of the mark connection network of the terminal that is stored with and specified Apply Names, and have recorded the mark of the specified Apply Names of the corresponding specified Apply Names for specifying Apply Names.History binding Mark can specify the mark of Apply Names for one or more.
What determining module 930 judged one or more specified Apply Nameses of history binding identifies whether that at least one for including the acquisition of acquisition module 920 specifies mark of the specified Apply Names of one or more of mark of Apply Names.
When one or more of mark of specified Apply Names that part or all that determining module 930 determines in the specified Apply Names mark of history binding specifies the mark of Apply Names and include the acquisition of acquisition module 920 specifies Apply Names mark, link block 940 specifies the mark connection network applied according to one in the mark of specified Apply Names.
In embodiments of the present invention, when receiving module 910 can receive the determine instruction of user's input, the determine instruction is used for the mark connection network for the corresponding specified Apply Names of specified Apply Names that instruction terminal is determined by user.
Using terminal provided in an embodiment of the present invention, the beacon message that access point is sent is received by terminal, the mark for specifying Apply Names is obtained according to beacon message, and network is connected according to the mark of specified Apply Names, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, meanwhile, enhance Consumer's Experience.
Alternatively, it is used as another embodiment of the present invention, as shown in figure 15, terminal also includes reminding module 950, reminding module 950, for when the mark that history is bound during first applies only includes one first mark, corresponding specified Apply Names to be identified in the first interface prompt first, for user according to specified Apply Names, it is determined that by specifying the corresponding first mark connection network of Apply Names.
Specifically, during the first interface is applied for first, the interface for connecting network.When determining module 930 determines that the mark of the specified Apply Names of history binding includes the mark of the specified Apply Names of the acquisition of acquisition module 920, this is pointed out to specify the corresponding specified Apply Names of mark of Apply Names on the interface of connection network during reminding module 950 is applied first, in order to specified Apply Names of the user according to prompting, it is determined whether specify the mark of the corresponding specified Apply Names of Apply Names to connect network by this.
When receiving module 910 receives the mark connection net that Apply Names is specified by this of user's input During the confirmation instruction of network, link block 940 specifies the mark of Apply Names to connect network according to this.
It should be understood that, in invention is implemented, receiving module 910 can also receive not instructed by the confirmation for specifying the mark of Apply Names to connect network for user's input, when receiving module 910 receives confirmation instruction, terminal exits connection socket, without network connection.
In embodiments of the present invention, terminal can be by specifying the mark and the relation table of the corresponding relation of specified Apply Names of Apply Names, and the corresponding specified Apply Names of mark of Apply Names is specified in inquiry.As shown in Table 1 and Table 2.Terminal can also determine to specify Apply Names, this is not restricted in the present invention by way of specifying other internal logical relationships of the mark of Apply Names with specified Apply Names.
It should be understood that the content shown in Tables 1 and 2 is not intended to limit the scope of the embodiment of the present invention just for the sake of embodiments of the present invention is described in detail.
It should be understood that in embodiments of the present invention, terminal on the interface of connection network, when pointing out to specify Apply Names, can also point out the content information related to the specified Apply Names, such as in the first specified application:What type of content is issued on Apply Names is specified.This is not restricted in the present invention.
Alternatively, it is used as another embodiment of the present invention, reminding module 950 is additionally operable to, when the mark that history is bound during first applies includes the multiple first marks, in the corresponding multiple specified Apply Nameses of multiple first marks of the first interface prompt, for user according to multiple specified Apply Nameses, it is determined that identifying connection network by a specified Apply Names corresponding first in multiple specified Apply Nameses.
Specifically, whole receiving module 910 receives at least one beacon message that multiple access points are sent, acquisition module 920 obtains the mark of multiple specified Apply Nameses from least one beacon message;When determining module 930 judges that the mark of at least one multiple specified Apply Names for specifying the mark of Apply Names to be got with acquisition module 920 that history is bound in the first application matches, during reminding module 950 is applied first on the interface of connection network, the mark for multiple specified Apply Nameses that prompt terminal is obtained one or more specified Apply Nameses corresponding with the mark for one or more specified Apply Nameses that the mark at least one specified Apply Names that history is bound matches, in order to specified Apply Names of the user according to the prompting of terminal, it is determined that specifying the mark of the corresponding specified Apply Names of a specified Apply Names in Apply Names to connect network by least one.
When receiving module 910 receives the determine instruction of user's input, link block 940 connects network according to determine instruction.The determine instruction is used to indicating the mark connection network by specifying the corresponding specified Apply Names of one in one or more specified Apply Nameses for matching of mark of Apply Names specified Apply Names with least one that history is bound in the first application.
It should be understood that, in the present invention is implemented, terminal is on the first interface for specifying connection network in application, when the mark for one or more specified Apply Nameses that prompting user matches according to the mark of at least one specified Apply Names with history binding in the first application is connected network, the content information related at least one specified Apply Names can also be pointed out, for example:What type of content is issued on Apply Names is specified, this is not restricted in the present invention.
Alternatively, as another embodiment of the present invention, determining module 930 is specifically for according to the multiple first marks, it is determined that the priority of multiple specified Apply Nameses corresponding with the multiple first marks;
Reminding module 950 is specifically for according to the priority, in the corresponding multiple specified Apply Nameses of multiple first marks of the first interface prompt.
Specifically, when determining module 930 determines the mark for multiple specified Apply Nameses that the mark of at least one specified Apply Names that history is bound in the first application includes the acquisition of acquisition module 920, during reminding module 950 is applied first on the interface of connection network, at least one corresponding specified Apply Names of mark of at least one the specified Apply Names matched in the mark for pointing out at least one multiple specified Apply Names for specifying mark and terminal of Apply Names to obtain of history binding, during the prompting of reminding module 950 at least one specified Apply Names, the priority of Apply Names can be specified by the condition judgment of setting this at least one, and arranged according to the sequencing of priority, prompting specifies the mark of the corresponding specified Apply Names of one in Apply Names specified Apply Names to connect network by this at least one.
In embodiments of the present invention, reminding module 950 can specify the number of times of Apply Names access network to arrange at least one priority for specifying Apply Names by least one.
It should be understood that in embodiments of the present invention, pointing out mould 950 to use predefined other modes, determine that at least one specifies the priority of Apply Names, this is not construed as limiting in the embodiment of the present invention.
Therefore, using terminal provided in an embodiment of the present invention, when terminal gets multiple specified Apply Nameses Mark when, determine whether include the mark of multiple specified Apply Nameses of acquisition in the first application in the mark for the specified Apply Names that history is bound by terminal, when the mark that at least one that history is bound specifies the mark of Apply Names to obtain multiple specified Apply Nameses with terminal matches, terminal notifying user connects network by the mark of the corresponding specified Apply Names of one in multiple specified Apply Nameses for matching specified Apply Names, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, meanwhile, enhance Consumer's Experience.Simultaneously, terminal is by the way that history bound, and at least one specified Apply Names progress priority ranking of network can be connected, the priority orders sequence of Apply Names is specified to point out user's mark of the corresponding specified Apply Names of the specified Apply Names of selection one from least one specified Apply Names to connect network according at least one, the speed of connection network is efficiently improved, Consumer's Experience is enhanced.
Alternatively, as another embodiment of the present invention, reminding module 950 is additionally operable to, in second contact surface, point out to identify by multiple first or the first application in the mark bound of history do not include first identify and connect network.
Specifically, when determining module 930 determines that one or more of mark of multiple specified Apply Nameses that one or more of mark of at least one specified Apply Names that history is bound in the first application specifies the mark of Apply Names to be obtained with acquisition module 920 specifies the mark of Apply Names to match, reminding module 950 still connects network in the mark connection network for the specified Apply Names that system interface prompting user is obtained by terminal and history is bound by the mark of terminal acquisition and the unbound specified Apply Names of history.
Using terminal provided in an embodiment of the present invention, when terminal determines that one or more of mark of multiple specified Apply Nameses that one or more of mark of specified Apply Names that history is bound in the first application specifies the mark of Apply Names to include terminal acquisition specifies the mark of Apply Names, by being pointed out in system interface, the mark connection network for the specified Apply Names that user's selection is obtained by terminal and history is bound still is obtained terminal by terminal and the mark of the unbound specified Apply Names of history connects network, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, simultaneously, enhance Consumer's Experience.
Alternatively, as another embodiment of the present invention, reminding module 950 is additionally operable to, when passing through first During the first mark connection network that the mark that history is bound in does not include, at least one corresponding specified Apply Names of the first mark that the mark that history is bound in the first interface prompt first application does not include, Apply Names is specified according at least one for user, it is determined that specifying one in Apply Names specified Apply Names corresponding first to identify connection network by least one.
Specifically, user is pointed out still to be obtained by the mark connection network of terminal acquisition and the specified Apply Names of history binding by terminal and after the mark connection network of the unbound specified Apply Names of history in reminding module 950, when the mark by terminal acquisition and the unbound specified Apply Names of history that receiving module 910 receives user's input connects network determine instruction, reminding module 950 is in application is specified on the interface of connection network, point out the corresponding specified Apply Names of mark of user terminal acquisition and the unbound specified Apply Names of history, receiving module 910 receives the determine instruction for specifying the mark of the corresponding specified Apply Names of Apply Names to connect network by one of them of user's input, link block 940 specifies the mark of Apply Names to connect network according to this.
Alternatively, it is used as another embodiment of the present invention, reminding module 950 is additionally operable to, when the mark that history is bound during first applies does not include the first mark, point out at least one described first mark at least one corresponding specified Apply Names in second contact surface, for user according at least one described specified Apply Names, it is determined that specifying one in Apply Names specified Apply Names corresponding first to identify connection network by least one.
Specifically, second contact surface is the system interface of terminal.When the mark of each specified Apply Names in the mark for one or more specified Apply Nameses that terminal is obtained, when being all not included in the first application in the mark for the specified Apply Names that history is bound, terminal points out the corresponding one or more specified Apply Nameses of mark for one or more specified Apply Nameses that acquisition module 920 obtains in system interface, in order to which user connects network by the mark of the corresponding specified Apply Names of one in one or more specified Apply Nameses specified Apply Names.
When receiving module 910 receives the confirmation instruction of user's input, link block 940 is according to confirmation instruction connection network.Wherein, the confirmation is instructed identifies connection network for instruction terminal by the way that a specified Apply Names in one or more specified Apply Nameses is corresponding, and adds the specified Apply Names The binding relationship of mark and terminal, records the corresponding specified Apply Names of mark for specifying Apply Names.
In embodiments of the present invention, receiving module 910 can also receive when being instructed by the cancellation for specifying the mark of Apply Names to connect network of user's input, and terminal cancels prompting, without network connection.
Using terminal provided in an embodiment of the present invention, when terminal gets the mark of specified Apply Names, determine whether include the mark of the specified Apply Names of acquisition in the first application in the mark for the specified Apply Names that history is bound by terminal, when the mark for the specified Apply Names bound in history includes the mark of the specified Apply Names of terminal acquisition, terminal notifying user is determined by specifying the mark of the corresponding specified Apply Names of a specified Apply Names in Apply Names to connect network, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, simultaneously, enhance Consumer's Experience.
It should be noted that in embodiments of the present invention, specified Apply Names can apply in corresponding a variety of social networking applications, such as:QQ, wechat, whatsapp, line, push away special twitter, types of facial makeup in Beijing operas facebook etc..
It can further be stated that, in embodiments of the present invention, terminal 900 according to embodiments of the present invention may correspond to the executive agent of method 100 according to embodiments of the present invention, and above and other operation and/or function of the modules in terminal 900 is respectively in order to realize the corresponding flow of each method in Fig. 1, Fig. 3 and Fig. 6, for sake of simplicity, will not be repeated here.
Figure 16 is a kind of structural schematic of terminal provided in an embodiment of the present invention;As shown in figure 16, the terminal 1000 includes:Receiving module 1010, acquisition module 1020, determining module 1030, reminding module 1040 and link block 1050.
Determining module 1030, the mark for determining at least one the first access point;
Receiving module 1010, at least one beacon message for receiving the transmission of at least one second access point, each beacon message carries the mark for the second access point for sending beacon message;
Acquisition module 1020, for according at least one beacon message, obtaining the mark of at least one the second access point;
Determining module 1030 is additionally operable to, when the mark of at least one the first access point include at least one the During the mark of two access points, at least one corresponding first specified Apply Names of mark of at least one the second access point is determined;
Reminding module 1040, at least one first specified Apply Names of the first interface prompt;
Link block 1050, specifies the mark of corresponding second access point of Apply Names to connect network for one first at least one first specified Apply Names.
Specifically, in embodiments of the present invention, the first access point is the corresponding access point of the access-in point information that can currently receive that terminal is determined.Access-in point information is obtained in some application program (Application, referred to as " APP ") that terminal can be installed from itself, acquisition module 1020 obtains the mark of access point from access-in point information.In embodiments of the present invention, it is designated unique information for representing access point, the mark can be specially media access control (Media Access Control, MAC) address, Internet protocol (Internet Protocol Version 6, IPv6), service set (Service Set Identifier, SSID) etc..
Beacon message can be specially the Beacon frame signals that access point is sent.Second access point is the corresponding access point of beacon message that terminal can currently be received.Receiving module 1010 receives the mark that the corresponding access point of access point for sending the beacon message is carried in the beacon message that the second access point is sent, beacon message.
Acquisition module 1020 obtains the mark of the second access point from currently received beacon message.Determining module 1030 judge the first access point mark and the second access point identify whether matching.When the mark of one or more of the mark identified with least one the second access point of the access point of one or more of mark of at least one the first access point first access point matches, reminding module 1040 points out the mark of one or more second access points matched corresponding one or more first to specify Apply Names on the first interface, Apply Names is specified according to one or more the first of the prompting of terminal for user, the mark of corresponding second access point of the specified Apply Names of selection one connects network from the one or more first specified Apply Nameses.
When receiving module 1010 receives the determine instruction of user's input, link block 1050 connects network according to the determine instruction.Wherein, the determine instruction be used for instruction terminal selected by user one The mark connection network of corresponding second access point of individual specified Apply Names.
In embodiments of the present invention, acquisition module 1020 can obtain the mark connection network for specifying Apply Names by inquiring about the mark and the relation table of the corresponding relation of the mark of specified Apply Names and specified Apply Names of the access point that terminal is prestored.
In present example, acquisition module 1020 can also obtain the mark connection network for specifying Apply Names, this be not restricted in embodiments of the present invention by specifying other internal logical relationships between Apply Names and the mark for referring to Apply Names.
Using terminal provided in an embodiment of the present invention, pass through the beacon message sent according to access point, obtain the mark of access point, and the mark of current access point of the mark for the access point that can connect network for determining terminal with receiving matches, it is determined that the corresponding specified Apply Names of mark of connection network, and specify the mark of the corresponding access point of Apply Names to connect network by this, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, enhance the experience of user.
Alternatively, as another embodiment of the present invention determining module specifically for obtaining at least one the 3rd access-in point information from map, at least one the 3rd access-in point information includes at least one corresponding second specified Apply Names of at least one the 3rd access point;
When the specified Apply Names that history is bound in the first application installed in terminal includes at least one second specified Apply Names, second included by specified Apply Names that history is bound during first is applied specifies the mark of the 3rd access point corresponding to Apply Names to be defined as the mark of at least one the first access point.
Specifically, map is the map application software that terminal itself is installed.Terminal can obtain the mark of access point from map application software.
It should be understood that, in embodiments of the present invention, the map that map can also prestore for terminal, the beacon message that can also be sent for terminal according to access point, the map obtained to access point, the map includes positional information, the mark of access point and the specified Apply Names corresponding with the mark of access point of at least one access point.Terminal according to the map, obtains the mark of at least one access point in map.
In embodiments of the present invention, the 3rd access-in point information is the information of access points all on map, Including the corresponding specified Apply Names of all access points in map, this specifies Apply Names to be the second specified Apply Names.Acquisition module 1020 can obtain all access-in point informations, i.e. acquisition module 1020 from map and obtain the corresponding specified Apply Names of all access points.
First application can be the application program (Application, referred to as " APP ") installed in terminal, for example:QQ, wechat, whatsapp, line, push away the other applications such as special twitter, types of facial makeup in Beijing operas facebook.What history was bound is designated terminal before current time connection network, the binding relationship of the mark connection network of the terminal that is stored with and the second access point, and have recorded specified Apply Names corresponding with the mark of second access point.The mark of history binding can be the mark of one or more access point.In embodiments of the present invention, the first access point includes the second access point.
Alternatively, as another embodiment of the present invention, determining module 1030 is additionally operable to, and determines whether terminal is in the range of the network service of at least one the first specified Apply Names;Wherein,
Determining module 1030 is specifically for when terminal is in the range of the network service of at least one the first specified Apply Names, determining module 1030 determines the mark of at least one the first access point.
Whether determining module 1030 judges terminal currently in the first network service scope for specifying Apply Names.In embodiments of the present invention, determining module 1030 can be according to the positional information of terminal itself, or terminal can specify the signal intensity of the corresponding access point transmission signal of Apply Names according to the positional information of terminal itself and first, determine whether terminal is in network service scope, namely, when the receiving module 1010 of terminal, which can receive first, specifies the signal that the corresponding access point of Apply Names is sent, terminal is in the range of the first network service for specifying Apply Names.
When determining module 1030 determines that terminal is within the scope of the network service of one or more of at least one first specified Apply Names specified Apply Names, the prompting of reminding module 1040 user can connect network by the mark of one or more specified corresponding access point identities of Apply Names or specified Apply Names.
When receiving module 1010 receives the determine instruction of user's input, link block 1050 connects network according to the determine instruction, wherein, the corresponding access point identity of the specified Apply Names of the determine instruction be used for that instruction terminal to be selected according to user one connects network.
Using terminal provided in an embodiment of the present invention, the beacon message sent by terminal according to access point, obtain mark, matched by the mark of the current access point by the mark obtained in map with receiving, it is determined that the corresponding specified Apply Names of mark of connection network, and specify the mark of the corresponding specified Apply Names of Apply Names to connect network by this, the operating process of SCN subscriber connection network is simplified, user is realized and quickly connects network.Meanwhile, by the way that the corresponding specified Apply Names of mark of the first access point is matched with the specified Apply Names that history is bound, it is determined that the access point of network can be connected.If further determining that whether terminal enters the network service scope for specifying Apply Names, network can be efficiently connected, Consumer's Experience is enhanced.
It should be understood that in embodiments of the present invention, specified Apply Names can apply in corresponding a variety of social networking applications, such as:QQ, wechat, whatsapp, line, push away special twitter, types of facial makeup in Beijing operas facebook etc..
It should be noted that, in embodiments of the present invention, device 1000 according to embodiments of the present invention may correspond to the executive agent of method 600 according to embodiments of the present invention, and above and other operation and/or function of the modules in terminal 1000 is respectively in order to realize the corresponding flow of each methods of the Figure 11 into Figure 13, for sake of simplicity, will not be repeated here.
The terminal that Figure 17 provides for another embodiment of the present invention, as shown in figure 17, the terminal 1100 include receiver 1110, processor 1120, display 1130, communication chip 1140 and bus system 1150.Wherein, receiver 1110, processor 1120, display 1130, communication chip 1140 are connected by bus system 1150.Wherein,
The first related to the first application and corresponding with the access point for sending beacon message mark is carried in receiver 1110, at least one beacon message for receiving the transmission of at least one access point, each beacon message;
Processor 1120, for according at least one beacon message, obtaining at least one first mark;
Processor 1120, for determine to install in terminal first application in history bind identify whether include at least one first identify;
Communication chip 1140, the mark that history is bound in being applied when first includes at least one first mark When, network is connected according to the first mark.
Specifically, the beacon message that terminal is received can be the Beacon frame signals that access point is sent.First application can be the application program (Application, referred to as " APP ") installed in terminal, for example:QQ, wechat, whatsapp, line, push away the other applications such as special twitter, types of facial makeup in Beijing operas facebook.First mark can be the unique mark applied to the first upper specified Apply Names of application.
In embodiments of the present invention, receiver 1110 receives at least one beacon message that one or more access points are sent.Each beacon message carries the mark that can apply to the first upper specified Apply Names of application.Wherein, each beacon message and the access point for sending the beacon message can be one-to-one relationship.Each beacon message at least one beacon message can include the mark for specifying Apply Names.Processor 1120 obtains the mark for specifying Apply Names from each beacon message.
Alternatively, in embodiments of the present invention, beacon message includes extended field, and processor 1120 obtains at least one mark for specifying Apply Names, specifically included according at least one beacon message:
Processor 1120 parses the extended field of each beacon message at least one beacon message, obtains the mark of the specified Apply Names in each beacon message.
It should be understood that beacon message can also include the signal strength information of beacon message and the mark of access point, in embodiments of the present invention, this is not intended to be limited in any.
In embodiments of the present invention, what history was bound is designated terminal before current time connection network, the binding relationship of the mark connection network of the terminal that is stored with and specified Apply Names, and have recorded the mark of the specified Apply Names of the corresponding specified Apply Names for specifying Apply Names.The mark of history binding can specify the mark of Apply Names for one or more.
What processor 1120 judged one or more specified Apply Nameses of history binding identifies whether that at least one for including the acquisition of processor 1120 specifies mark of the specified Apply Names of one or more of mark of Apply Names.
When processor 1120 determines that one or more of part or all of mark of specified Apply Names for specifying the mark of Apply Names to include the acquisition of processor 1120 in the specified Apply Names mark of history binding specifies Apply Names mark, in mark of the communication chip 1140 according to specified Apply Names One specify application mark connection network.
In embodiments of the present invention, when receiver 1110 can receive the determine instruction of user's input, the determine instruction is used for the mark connection network for the corresponding specified Apply Names of specified Apply Names that instruction terminal is determined by user.
Using terminal provided in an embodiment of the present invention, the beacon message that access point is sent is received by terminal, the mark for specifying Apply Names is obtained according to beacon message, and network is connected according to the mark of specified Apply Names, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, meanwhile, enhance Consumer's Experience.
It should be understood that, in embodiments of the present invention, the processor 1120 can be CPU (Central Processing Unit, CPU), the processor 1120 can also be other general processors, digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor etc..
The bus system 1150 can also include power bus, controlling bus and status signal bus in addition etc. in addition to including data/address bus.But for the sake of clear explanation, various buses are all designated as bus system 1150 in figure.
In addition, the terminal can also include memory, and the memory can include read-only storage and random access memory, and provide instruction and data to processor 1120.The a part of of memory can also include nonvolatile RAM.For example, memory can be with the information of storage device type.
In implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 1120 or the instruction of software form.The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and perform completion, or perform completion with the hardware in processor and software module combination.Software module can be located in random access memory, flash memory, read-only storage, the ripe storage medium in this area such as programmable read only memory or electrically erasable programmable memory, register.The storage medium is located at memory, and processor 1120 reads the information in memory, the step of completing the above method with reference to its hardware.To avoid repeating, it is not detailed herein.
Alternatively, it is used as another embodiment of the present invention, terminal also includes display 1130, display 1130, for when the mark that history is bound during first applies only includes one first mark, corresponding specified Apply Names is identified in the first interface prompt first, for user according to specified Apply Names, it is determined that by specifying the corresponding first mark connection network of Apply Names.
Specifically, during the first interface is applied for first, the interface for connecting network.When processor 1120 determines that the mark of the specified Apply Names of history binding includes the mark of the specified Apply Names of the acquisition of processor 1120, this is pointed out to specify the corresponding specified Apply Names of mark of Apply Names on the interface of connection network during display 1130 is applied first, in order to specified Apply Names of the user according to prompting, it is determined whether specify the mark of the corresponding specified Apply Names of Apply Names to connect network by this.
When receiver 1110 receives when being instructed by the confirmation for specifying the mark of Apply Names to connect network of user's input, communication chip 1140 specifies the mark of Apply Names to connect network according to this.
It should be understood that, in invention is implemented, receiver 1110 can also receive not instructed by the confirmation for specifying the mark of Apply Names to connect network for user's input, when receiver 1110 receives confirmation instruction, terminal exits connection socket, without network connection.
In embodiments of the present invention, terminal can be by specifying the mark and the relation table of the corresponding relation of specified Apply Names of Apply Names, and the corresponding specified Apply Names of mark of Apply Names is specified in inquiry.As shown in Table 1 and Table 2.Terminal can also determine to specify Apply Names, this is not restricted in the present invention by way of specifying other internal logical relationships of the mark of Apply Names with specified Apply Names.
It should be understood that the content shown in Tables 1 and 2 is not intended to limit the scope of the embodiment of the present invention just for the sake of embodiments of the present invention is described in detail.
It should be understood that in embodiments of the present invention, terminal on the interface of connection network, when pointing out to specify Apply Names, can also point out the content information related to the specified Apply Names, such as in the first specified application:What type of content is issued on Apply Names is specified.This is not restricted in the present invention.
Alternatively, it is used as another embodiment of the present invention, display 1130 is additionally operable to, when the mark that history is bound during first applies includes the multiple first marks, in the corresponding multiple specified Apply Nameses of multiple first marks of the first interface prompt, for user according to multiple specified Apply Nameses, it is determined that by multiple One in Apply Names specified Apply Names corresponding first is specified to identify connection network.
Specifically, whole receiver 1110 receives at least one beacon message that multiple access points are sent, processor 1120 obtains the mark of multiple specified Apply Nameses from least one beacon message;When processor 1120 judges that the mark of at least one multiple specified Apply Names for specifying the mark of Apply Names to be got with processor 1120 that history is bound in the first application matches, during display 1130 is applied first on the interface of connection network, the mark for multiple specified Apply Nameses that prompt terminal is obtained one or more specified Apply Nameses corresponding with the mark for one or more specified Apply Nameses that the mark at least one specified Apply Names that history is bound matches, in order to specified Apply Names of the user according to the prompting of terminal, it is determined that specifying the mark of the corresponding specified Apply Names of a specified Apply Names in Apply Names to connect network by least one.
When receiver 1110 receives the determine instruction of user's input, communication chip 1140 connects network according to determine instruction.The determine instruction is used to indicating the mark connection network by specifying the corresponding specified Apply Names of one in one or more specified Apply Nameses for matching of mark of Apply Names specified Apply Names with least one that history is bound in the first application.
It should be understood that, in the present invention is implemented, terminal is on the first interface for specifying connection network in application, when the mark for one or more specified Apply Nameses that prompting user matches according to the mark of at least one specified Apply Names with history binding in the first application is connected network, the content information related at least one specified Apply Names can also be pointed out, for example:What type of content is issued on Apply Names is specified, this is not restricted in the present invention.
Alternatively, as another embodiment of the present invention, processor 1120 is specifically for according to the multiple first marks, it is determined that the priority of multiple specified Apply Nameses corresponding with the multiple first marks;
Display 1130 is specifically for according to the priority, in the corresponding multiple specified Apply Nameses of multiple first marks of the first interface prompt.
Specifically, when processor 1120 determines the mark for multiple specified Apply Nameses that the mark of at least one specified Apply Names that history is bound in the first application includes the acquisition of processor 1120, during display 1130 is applied first on the interface of connection network, at least one specified application of history binding is pointed out At least one matched in the mark for multiple specified Apply Nameses that the mark and terminal of title are obtained specifies at least one corresponding specified Apply Names of the mark of Apply Names, during the prompting of display 1130 at least one specified Apply Names, the priority of Apply Names can be specified by the condition judgment of setting this at least one, and arranged according to the sequencing of priority, point out to specify the mark of the corresponding specified Apply Names of one in Apply Names specified Apply Names to connect network by this at least one.
In embodiments of the present invention, display 1130 can specify the number of times of Apply Names access network to arrange at least one priority for specifying Apply Names by least one.
It should be understood that in embodiments of the present invention, pointing out mould 950 to use predefined other modes, determine that at least one specifies the priority of Apply Names, this is not construed as limiting in the embodiment of the present invention.
Therefore, using terminal provided in an embodiment of the present invention, when terminal gets the mark of multiple specified Apply Nameses, determine whether include the mark of multiple specified Apply Nameses of acquisition in the first application in the mark for the specified Apply Names that history is bound by terminal, when the mark that at least one that history is bound specifies the mark of Apply Names to obtain multiple specified Apply Nameses with terminal matches, terminal notifying user connects network by the mark of the corresponding specified Apply Names of one in multiple specified Apply Nameses for matching specified Apply Names, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, simultaneously, enhance Consumer's Experience.Simultaneously, terminal is by the way that history bound, and at least one specified Apply Names progress priority ranking of network can be connected, the priority orders sequence of Apply Names is specified to point out user's mark of the corresponding specified Apply Names of the specified Apply Names of selection one from least one specified Apply Names to connect network according at least one, the speed of connection network is efficiently improved, Consumer's Experience is enhanced.
Alternatively, as another embodiment of the present invention, display 1130 is additionally operable to, in second contact surface, point out to identify by multiple first or the first application in the mark bound of history do not include first identify and connect network.
Specifically, it is aobvious when processor 1120 determines that one or more of mark of multiple specified Apply Nameses that one or more of mark of at least one specified Apply Names that history is bound in the first application specifies the mark of Apply Names to be obtained with processor 1120 specifies the mark of Apply Names to match Show that device 1130 still connects network in the mark connection network for the specified Apply Names that system interface prompting user is obtained by terminal and history is bound by the mark of terminal acquisition and the unbound specified Apply Names of history.
Using terminal provided in an embodiment of the present invention, when terminal determines that one or more of mark of multiple specified Apply Nameses that one or more of mark of specified Apply Names that history is bound in the first application specifies the mark of Apply Names to include terminal acquisition specifies the mark of Apply Names, by being pointed out in system interface, the mark connection network for the specified Apply Names that user's selection is obtained by terminal and history is bound still is obtained terminal by terminal and the mark of the unbound specified Apply Names of history connects network, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, simultaneously, enhance Consumer's Experience.
Alternatively, it is used as another embodiment of the present invention, display 1130 is additionally operable to, when the first mark connection network that the mark that history is bound in being applied by first does not include, at least one corresponding specified Apply Names of the first mark that the mark that history is bound in the first interface prompt first application does not include, Apply Names is specified according at least one for user, it is determined that specifying one in Apply Names specified Apply Names corresponding first to identify connection network by least one.
Specifically, user is pointed out still to be obtained by the mark connection network of terminal acquisition and the specified Apply Names of history binding by terminal and after the mark connection network of the unbound specified Apply Names of history in display 1130, when the mark by terminal acquisition and the unbound specified Apply Names of history that receiver 1110 receives user's input connects network determine instruction, display 1130 is in application is specified on the interface of connection network, point out the corresponding specified Apply Names of mark of user terminal acquisition and the unbound specified Apply Names of history, receiver 1110 receives the determine instruction for specifying the mark of the corresponding specified Apply Names of Apply Names to connect network by one of them of user's input, communication chip 1140 specifies the mark of Apply Names to connect network according to this.
Alternatively, it is used as another embodiment of the present invention, display 1130 is additionally operable to, when the mark that history is bound during first applies does not include the first mark, point out at least one described first mark at least one corresponding specified Apply Names in second contact surface, for user according to it is described at least one specify Apply Names, it is determined that specifying the specified Apply Names corresponding the in Apply Names by least one One mark connection network.
Specifically, second contact surface is the system interface of terminal.When the mark of each specified Apply Names in the mark for one or more specified Apply Nameses that terminal is obtained, when being all not included in the first application in the mark for the specified Apply Names that history is bound, terminal points out the corresponding one or more specified Apply Nameses of mark for one or more specified Apply Nameses that processor 1120 obtains in system interface, in order to which user connects network by the mark of the corresponding specified Apply Names of one in one or more specified Apply Nameses specified Apply Names.
When receiver 1110 receives the confirmation instruction of user's input, communication chip 1140 is according to confirmation instruction connection network.Wherein, the confirmation is instructed identifies connection network for instruction terminal by the way that a specified Apply Names in one or more specified Apply Nameses is corresponding, and the mark of the specified Apply Names and the binding relationship of terminal are added, record the corresponding specified Apply Names of mark for specifying Apply Names.
In embodiments of the present invention, receiver 1110 can also receive when being instructed by the cancellation for specifying the mark of Apply Names to connect network of user's input, and terminal cancels prompting, without network connection.
Using terminal provided in an embodiment of the present invention, when terminal gets the mark of specified Apply Names, determine whether include the mark of the specified Apply Names of acquisition in the first application in the mark for the specified Apply Names that history is bound by terminal, when the mark for the specified Apply Names bound in history includes the mark of the specified Apply Names of terminal acquisition, terminal notifying user is determined by specifying the mark of the corresponding specified Apply Names of a specified Apply Names in Apply Names to connect network, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, simultaneously, enhance Consumer's Experience.
It should be noted that, in embodiments of the present invention, terminal 1100 according to embodiments of the present invention may correspond to the executive agent of terminal 900 according to embodiments of the present invention, and above and other operation and/or function of the modules in terminal 900 is respectively in order to realize the corresponding flow of each methods of the Fig. 1 into Fig. 6, for sake of simplicity, will not be repeated here.
The terminal that Figure 18 provides for another embodiment of the present invention, as shown in figure 18, the terminal 1200 include receiver 1210, processor 1220, display 1230, communication chip 1240 and bus system 1250. Wherein, receiver 1210, processor 1220, display 1230, communication chip 1240 are connected by bus system 1250.Wherein,
Processor 1220, the mark for determining at least one the first access point;
Receiver 1210, at least one beacon message for receiving the transmission of at least one second access point, each beacon message carries the mark for the second access point for sending beacon message;
Processor 1220, for according at least one beacon message, obtaining the mark of at least one the second access point;
Processor 1220 is additionally operable to, when the mark of at least one the first access point includes the mark of at least one the second access point, determines at least one corresponding first specified Apply Names of mark of at least one the second access point;
Display 1230, at least one first specified Apply Names of the first interface prompt;
Communication chip 1240, specifies the mark of corresponding second access point of Apply Names to connect network for one first at least one first specified Apply Names.
Specifically, in embodiments of the present invention, the first access point is the corresponding access point of the access-in point information that can currently receive that terminal is determined.Access-in point information is obtained in some application program (Application, referred to as " APP ") that terminal can be installed from itself, processor 1220 obtains the mark of access point from access-in point information.In embodiments of the present invention, it is designated unique information for representing access point, the mark can be specially media access control (Media Access Control, MAC) address, Internet protocol (Internet Protocol Version 6, IPv6), service set (Service Set Identifier, SSID) etc..
Beacon message can be specially the Beacon frame signals that access point is sent.Second access point is the corresponding access point of beacon message that terminal can currently be received.Receiver 1210 receives the mark that the corresponding access point of access point for sending the beacon message is carried in the beacon message that the second access point is sent, beacon message.
Processor 1220 obtains the mark of the second access point from currently received beacon message.Processor 1220 judge the first access point mark and the second access point identify whether matching.When at least one When the mark of one or more of the mark of the access point of one or more of mark of one access point first and the mark of at least one the second access point access point matches, display 1230 points out the mark of one or more second access points matched corresponding one or more first to specify Apply Names on the first interface, Apply Names is specified according to one or more the first of the prompting of terminal for user, the mark of corresponding second access point of the specified Apply Names of selection one connects network from the one or more first specified Apply Nameses.
When receiver 1210 receives the determine instruction of user's input, communication chip 1240 connects network according to the determine instruction.Wherein, the mark of corresponding second access point of the specified Apply Names of the determine instruction be used for that instruction terminal to be selected by user one connects network.
In embodiments of the present invention, processor 1220 can obtain the mark connection network for specifying Apply Names by inquiring about the mark and the relation table of the corresponding relation of the mark of specified Apply Names and specified Apply Names of the access point that terminal is prestored.
In present example, processor 1220 can also obtain the mark connection network for specifying Apply Names, this be not restricted in embodiments of the present invention by specifying other internal logical relationships between Apply Names and the mark for referring to Apply Names.
Using terminal provided in an embodiment of the present invention, pass through the beacon message sent according to access point, obtain the mark of access point, and the mark of current access point of the mark for the access point that can connect network for determining terminal with receiving matches, it is determined that the corresponding specified Apply Names of mark of connection network, and specify the mark of the corresponding access point of Apply Names to connect network by this, simplify the operating process of SCN subscriber connection network, realize user and quickly connect network, enhance the experience of user.
It should be understood that, in embodiments of the present invention, the processor 1220 can be CPU (Central Processing Unit, CPU), the processor 1220 can also be other general processors, digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor etc..
The bus system 1250 can also include power bus, controlling bus in addition to including data/address bus With status signal bus in addition etc..But for the sake of clear explanation, various buses are all designated as bus system 1250 in figure.
In addition, the terminal can also include memory, and the memory can include read-only storage and random access memory, and provide instruction and data to processor 1220.The a part of of memory can also include nonvolatile RAM.For example, memory can be with the information of storage device type.
In implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 1220 or the instruction of software form.The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and perform completion, or perform completion with the hardware in processor and software module combination.Software module can be located in random access memory, flash memory, read-only storage, the ripe storage medium in this area such as programmable read only memory or electrically erasable programmable memory, register.The storage medium is located at memory, and processor 1220 reads the information in memory, the step of completing the above method with reference to its hardware.To avoid repeating, it is not detailed herein.
Alternatively, as another embodiment of the present invention determining module specifically for obtaining at least one the 3rd access-in point information from map, at least one the 3rd access-in point information includes at least one corresponding second specified Apply Names of at least one the 3rd access point;
When the specified Apply Names that history is bound in the first application installed in terminal includes at least one second specified Apply Names, second included by specified Apply Names that history is bound during first is applied specifies the mark of the 3rd access point corresponding to Apply Names to be defined as the mark of at least one the first access point.
Specifically, map is the map application software that terminal itself is installed.Terminal can obtain the mark of access point from map application software.
It should be understood that, in embodiments of the present invention, the map that map can also prestore for terminal, the beacon message that can also be sent for terminal according to access point, the map obtained to access point, the map includes positional information, the mark of access point and the specified Apply Names corresponding with the mark of access point of at least one access point.Terminal according to the map, obtains the mark of at least one access point in map.
In embodiments of the present invention, the 3rd access-in point information is the information of access points all on map, Including the corresponding specified Apply Names of all access points in map, this specifies Apply Names to be the second specified Apply Names.Processor 1220 can obtain all access-in point informations, i.e. processor 1220 from map and obtain the corresponding specified Apply Names of all access points.
First application can be the application program (Application, referred to as " APP ") installed in terminal, for example:QQ, wechat, whatsapp, line, push away the other applications such as special twitter, types of facial makeup in Beijing operas facebook.What history was bound is designated terminal before current time connection network, the binding relationship of the mark connection network of the terminal that is stored with and the second access point, and have recorded specified Apply Names corresponding with the mark of second access point.The mark of history binding can be the mark of one or more access point.In embodiments of the present invention, the first access point includes the second access point.
Alternatively, as another embodiment of the present invention, processor 1220 is additionally operable to, and determines whether terminal is in the range of the network service of at least one the first specified Apply Names;Wherein,
Processor 1220 is specifically for when terminal is in the range of the network service of at least one the first specified Apply Names, processor 1220 determines the mark of at least one the first access point.
Whether processor 1220 judges terminal currently in the first network service scope for specifying Apply Names.In embodiments of the present invention, processor 1220 can be according to the positional information of terminal itself, or terminal can specify the signal intensity of the corresponding access point transmission signal of Apply Names according to the positional information of terminal itself and first, determine whether terminal is in network service scope, namely, when the receiver 1210 of terminal, which can receive first, specifies the signal that the corresponding access point of Apply Names is sent, terminal is in the range of the first network service for specifying Apply Names.
When processor 1220 determines that terminal is within the scope of the network service of one or more of at least one first specified Apply Names specified Apply Names, the prompting of display 1230 user can connect network by the mark of one or more specified corresponding access point identities of Apply Names or specified Apply Names.
When receiver 1210 receives the determine instruction of user's input, communication chip 1240 connects network according to the determine instruction, wherein, the corresponding access point identity of the specified Apply Names of the determine instruction be used for that instruction terminal to be selected according to user one connects network.
Using terminal provided in an embodiment of the present invention, the beacon message sent by terminal according to access point, obtain mark, matched by the mark of the current access point by the mark obtained in map with receiving, it is determined that the corresponding specified Apply Names of mark of connection network, and specify the mark of the corresponding specified Apply Names of Apply Names to connect network by this, the operating process of SCN subscriber connection network is simplified, user is realized and quickly connects network.Meanwhile, by the way that the corresponding specified Apply Names of mark of the first access point is matched with the specified Apply Names that history is bound, it is determined that the access point of network can be connected.If further determining that whether terminal enters the network service scope for specifying Apply Names, network can be efficiently connected, Consumer's Experience is enhanced.
It should be noted that, in embodiments of the present invention, terminal 1200 according to embodiments of the present invention may correspond to the executive agent of terminal 1000 according to embodiments of the present invention, and above and other operation and/or function of the modules in terminal 1000 is respectively in order to realize the corresponding flow of each methods of the Figure 11 into Figure 13, for sake of simplicity, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can realize by another way.For example, device embodiment described above is only schematical, for example, the division of the unit, it is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.In addition, shown or discussed coupling or direct-coupling or communication connection each other can be by the INDIRECT COUPLING of some interfaces, device or unit or communication connection or electricity, mechanical or other forms are connected.The unit illustrated as separating component can be or may not be physically separate, and the part shown as unit can be or may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Some or all of unit therein can be selected to realize the purpose of scheme of the embodiment of the present invention according to the actual needs.In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit or unit is individually physically present or two or more units are integrated in a unit.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or in use, can be stored in a computer read/write memory medium.Understood based on such, the part that technical scheme substantially contributes to prior art in other words, or all or part of the technical scheme can be embodied in the form of software product, the computer software product is stored in a storage medium, including some instructions to cause a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of each embodiment this method of the invention.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It is described above; only embodiment of the invention; but protection scope of the present invention is not limited thereto; any one skilled in the art the invention discloses technical scope in; it is contemplated that various equivalent modifications or substitutions, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (18)

  1. A kind of method for connecting network, it is characterised in that methods described includes:
    Terminal, which is received, carries the first related to the first application and corresponding with the access point for sending beacon message mark at least one beacon message of at least one access point transmission, each beacon message;
    The terminal obtains at least one described first mark according at least one described beacon message;
    What history was bound in first application that the terminal determines to install in the terminal, which identify whether, includes at least one and described first identifies;
    When the mark that history is bound during described first applies includes at least one described first mark, the terminal connects network according to the described first mark.
  2. According to the method described in claim 1, it is characterised in that when the mark that history is bound during described first applies includes at least one described first mark, the terminal is identified by described first connects network, including:
    When the mark that history is bound during described first applies only includes first mark, the terminal is in the corresponding specified Apply Names of the first mark described in the first interface prompt, for user according to the specified Apply Names, it is determined that identifying connection network by the specified Apply Names corresponding first.
  3. According to the method described in claim 1, it is characterised in that when the mark that history is bound during described first applies includes at least one described first mark, the terminal is identified by described first connects network, including:
    When the mark that history is bound during described first applies includes multiple first marks, the terminal identifies corresponding multiple specified Apply Nameses in first interface prompt the multiple described first, for user according to the multiple specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first in the multiple specified Apply Names.
  4. Method according to claim 3, it is characterised in that the terminal identifies corresponding multiple specified Apply Nameses in first interface prompt the multiple described first, including:
    The terminal is according to the multiple first mark, it is determined that being identified with the multiple described first The priority of corresponding multiple specified Apply Nameses;
    The terminal identifies corresponding multiple specified Apply Nameses according to the priority in first interface prompt the multiple described first.
  5. Method according to claim 3, it is characterised in that before the terminal connects network by the described first mark, methods described also includes:
    The terminal points out the first mark connection network not included by the mark that history is bound in the multiple first mark or first application in second contact surface.
  6. Method according to claim 5, it is characterised in that methods described includes:
    When the first mark connection network that the mark that history is bound in being applied by described first does not include, at least one corresponding specified Apply Names of the first mark that the terminal mark that history is bound in the first application described in first interface prompt does not include, for the user according at least one described specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first at least one described specified Apply Names.
  7. Method according to claim 2 or 4, it is characterised in that methods described also includes:
    When the mark that history is bound during described first applies does not include the described first mark, the terminal is at least one corresponding specified Apply Names of at least one described described first mark of second contact surface prompting, for the user according at least one described specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first at least one described specified Apply Names.
  8. A kind of method for connecting network, it is characterised in that methods described includes:
    Terminal determines the mark of at least one the first access point;
    The terminal receives at least one beacon message of at least one second access point transmission, and each beacon message carries the mark for the second access point for sending the beacon message;
    The terminal obtains the mark of at least one second access point according at least one described described beacon message;
    When the mark of at least one first access point includes the mark of at least one second access point, it is determined that at least one the corresponding first specified application of the mark of at least one second access point Title;
    The terminal is at least one first specified Apply Names described in the first interface prompt;
    The mark of one first specified Apply Names corresponding second access point of the terminal at least one described first specified Apply Names connects network.
  9. Method according to claim 8, it is characterised in that the terminal determines the mark of at least one the first access point, including:
    The terminal obtains at least one the 3rd access-in point information from map, and at least one described the 3rd access-in point information includes at least one corresponding second specified Apply Names of at least one the 3rd access point;
    When the specified Apply Names of history binding in the first application installed in the terminal includes at least one described second specified Apply Names, the mark for the 3rd access point corresponding to the specified Apply Names of second included by specified Apply Names that history is bound during the terminal is applied described first is defined as the mark of at least one first access point.
  10. A kind of terminal, it is characterised in that the terminal includes:
    The first related to the first application and corresponding with the access point for sending beacon message mark is carried in receiving module, at least one beacon message for receiving the transmission of at least one access point, each beacon message;
    Acquisition module, for according at least one described beacon message, obtaining at least one described first mark;
    Determining module, includes at least one for identifying whether of binding of history in first application that determines to install in the terminal and described first identifies;
    Link block, when the mark that history is bound during described first applies includes at least one described first mark, network is connected according to the described first mark.
  11. Terminal according to claim 10, it is characterized in that, the terminal also includes reminding module, the reminding module, for when the mark that history is bound during described first applies only includes first mark, in the corresponding specified Apply Names of the first mark described in the first interface prompt, for user according to the specified Apply Names, it is determined that passing through the specified Apply Names corresponding first Mark connection network.
  12. Terminal according to claim 10, it is characterized in that, the reminding module is additionally operable to, when the mark that history is bound during described first applies includes multiple first marks, corresponding multiple specified Apply Nameses are identified in first interface prompt the multiple described first, for user according to the multiple specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first in the multiple specified Apply Names.
  13. Terminal according to claim 12, it is characterised in that
    The determining module is specifically for according to the multiple first mark, it is determined that the priority of multiple specified Apply Nameses corresponding with the multiple first mark;
    The reminding module is specifically for according to the priority, corresponding multiple specified Apply Nameses are identified in first interface prompt the multiple described first.
  14. Terminal according to claim 12, it is characterised in that
    The reminding module is additionally operable to, and in second contact surface, points out the first mark connection network not included by the mark that history is bound in the multiple first mark or first application.
  15. Terminal according to claim 14, it is characterised in that
    The reminding module is additionally operable to, when the first mark connection network that the mark that history is bound in being applied by described first does not include, at least one corresponding specified Apply Names of the first mark that the mark that history is bound in the first application described in first interface prompt does not include, for the user according at least one described specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first at least one described specified Apply Names.
  16. Terminal according to claim 11 or 13, it is characterized in that, the reminding module is additionally operable to, when the mark that history is bound during described first applies does not include the described first mark, in at least one corresponding specified Apply Names of at least one described described first mark of second contact surface prompting, for the user according at least one described specified Apply Names, it is determined that identifying connection network by a specified Apply Names corresponding first at least one described specified Apply Names.
  17. A kind of terminal, it is characterised in that the terminal includes:
    Determining module, the mark for determining at least one the first access point;
    Receiving module, at least one beacon message for receiving the transmission of at least one second access point, each beacon message carries the mark for the second access point for sending the beacon message;
    Acquisition module, for according at least one described described beacon message, obtaining the mark of at least one second access point;
    The determining module is additionally operable to, when the mark of at least one first access point includes the mark of at least one second access point, it is determined that at least one corresponding first specified Apply Names of the mark of at least one second access point;
    Reminding module, at least one first specified Apply Names described in the first interface prompt;
    Link block, specifies the mark of corresponding second access point of Apply Names to connect network for one first at least one described first specified Apply Names.
  18. Terminal according to claim 17, it is characterised in that the determining module specifically for,
    At least one the 3rd access-in point information is obtained from map, at least one described the 3rd access-in point information includes at least one corresponding second specified Apply Names of at least one the 3rd access point;
    When the specified Apply Names of history binding in the first application installed in the terminal includes at least one described second specified Apply Names, the mark for the 3rd access point corresponding to the specified Apply Names of second included by specified Apply Names that history is bound during described first is applied is defined as the mark of at least one first access point.
CN201580046580.0A 2015-08-04 2015-08-04 Network connection method and terminal Active CN106717107B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/086050 WO2017020252A1 (en) 2015-08-04 2015-08-04 Method and terminal for connecting to network

Publications (2)

Publication Number Publication Date
CN106717107A true CN106717107A (en) 2017-05-24
CN106717107B CN106717107B (en) 2020-03-31

Family

ID=57942276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580046580.0A Active CN106717107B (en) 2015-08-04 2015-08-04 Network connection method and terminal

Country Status (2)

Country Link
CN (1) CN106717107B (en)
WO (1) WO2017020252A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110035565A (en) * 2018-01-12 2019-07-19 联发科技股份有限公司 A kind of method and communication device for avoiding establishing inefficient wireless connection

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024031699A1 (en) * 2022-08-12 2024-02-15 Oppo广东移动通信有限公司 Connection establishment method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012075873A1 (en) * 2010-12-08 2012-06-14 Yuan Yongliang Method and system for providing user identity and user identity certification for internet service by telecommunication network
CN103401884A (en) * 2013-08-16 2013-11-20 深信服网络科技(深圳)有限公司 Authentication method and system for public wireless environment Internet access based on micro message
CN103458408A (en) * 2013-08-19 2013-12-18 小米科技有限责任公司 Network connection method and network sharing method and device
CN103458409A (en) * 2013-08-19 2013-12-18 小米科技有限责任公司 Network connection method and network sharing method and device
CN104038917A (en) * 2014-06-27 2014-09-10 北京星网锐捷网络技术有限公司 Method and device for terminal roaming authentication
CN104243286A (en) * 2014-09-23 2014-12-24 上海佰贝科技发展有限公司 Method for achieving public wifi authentication through WeChat
CN104394263A (en) * 2014-09-30 2015-03-04 小米科技有限责任公司 Accessing point list displaying method and device
CN104394139A (en) * 2014-11-22 2015-03-04 深圳市梧桐世界科技有限公司 Implementation method for having free of charge wifi by paying close attention to micro letter public name

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370251A (en) * 2007-08-17 2009-02-18 华为技术有限公司 Access control method for private service access point, its network appliance and system
CN101287008B (en) * 2008-05-26 2011-05-11 中兴通讯股份有限公司 System for realizing subnet dependent converge protocol
CN101605329A (en) * 2009-06-30 2009-12-16 中兴通讯股份有限公司 Cut-in method and access device
CN103281752A (en) * 2013-05-28 2013-09-04 北京推博信息技术有限公司 WIFI (wireless fidelity) network access method and device, electronic equipment and communication system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012075873A1 (en) * 2010-12-08 2012-06-14 Yuan Yongliang Method and system for providing user identity and user identity certification for internet service by telecommunication network
CN103401884A (en) * 2013-08-16 2013-11-20 深信服网络科技(深圳)有限公司 Authentication method and system for public wireless environment Internet access based on micro message
CN103458408A (en) * 2013-08-19 2013-12-18 小米科技有限责任公司 Network connection method and network sharing method and device
CN103458409A (en) * 2013-08-19 2013-12-18 小米科技有限责任公司 Network connection method and network sharing method and device
CN104038917A (en) * 2014-06-27 2014-09-10 北京星网锐捷网络技术有限公司 Method and device for terminal roaming authentication
CN104243286A (en) * 2014-09-23 2014-12-24 上海佰贝科技发展有限公司 Method for achieving public wifi authentication through WeChat
CN104394263A (en) * 2014-09-30 2015-03-04 小米科技有限责任公司 Accessing point list displaying method and device
CN104394139A (en) * 2014-11-22 2015-03-04 深圳市梧桐世界科技有限公司 Implementation method for having free of charge wifi by paying close attention to micro letter public name

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110035565A (en) * 2018-01-12 2019-07-19 联发科技股份有限公司 A kind of method and communication device for avoiding establishing inefficient wireless connection

Also Published As

Publication number Publication date
WO2017020252A1 (en) 2017-02-09
CN106717107B (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN106851628B (en) Method and device for downloading files of operator
CN101568098B (en) Terminal for registering and opening of user recognition module and/or data writing
CN103200647A (en) Wireless communication
CN104168625A (en) Intelligent device, method for connecting intelligent device to wireless routing device, and wireless routing device
CN113301568B (en) Network distribution method and device and intelligent household equipment
CN103547342A (en) Information sending method, information reading and notifying method, information receiving method and device
CN111263377B (en) Network configuration method, device, equipment and system and distribution network testing method and system
CN105657781A (en) Method and device for accessing WiFi network
CN105430636A (en) SIM card management method and system
CN113596783A (en) Internet of things equipment binding method and device, storage medium and electronic device
CN107666664B (en) Method, device, equipment and storage medium for machine-card binding
CN107205210B (en) Method, device, system and computer program for configuring wireless network node
CN104980420A (en) Business processing method, device, terminal and server
CN114205378B (en) Network distribution method and device of Internet of things equipment, storage medium and electronic device
CN109451518B (en) Method and equipment for distinguishing WLAN access mode of terminal
CN106717107A (en) Method and terminal for connecting to network
CN103826286B (en) Select SIM card and the method and user equipment of public land mobile network
CN103685249B (en) A kind of register the method for application, terminal and server
CN105743891A (en) Networking method and device, server and router
CN110493246A (en) Wireless network connecting method, device, electronic equipment and medium
CN107852441A (en) The non-transient computer-readable medium of communication control unit, call control method and storage call control program
CN110493886A (en) Wireless network connecting method, device, electronic equipment and medium
CN113395741B (en) Network distribution system, method and device of equipment, electronic equipment and storage medium
CN113709849A (en) Network access method and device of equipment to be accessed to network, storage medium and electronic device
CN104378348A (en) Data link authentication method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant