CN105472706A - Method and device for connection establishment - Google Patents

Method and device for connection establishment Download PDF

Info

Publication number
CN105472706A
CN105472706A CN201510908226.6A CN201510908226A CN105472706A CN 105472706 A CN105472706 A CN 105472706A CN 201510908226 A CN201510908226 A CN 201510908226A CN 105472706 A CN105472706 A CN 105472706A
Authority
CN
China
Prior art keywords
wifi network
network
attachable
target
transfer speeds
Prior art date
Application number
CN201510908226.6A
Other languages
Chinese (zh)
Inventor
冯智勇
张鹏飞
刘铁俊
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to CN201510908226.6A priority Critical patent/CN105472706A/en
Publication of CN105472706A publication Critical patent/CN105472706A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The invention provides a method and a device for connection establishment. The method comprises the steps of determining multiple connectable WIFI (Wireless Fidelity) networks; testing network transmission speeds of the multiple connectable WIFI networks and determining a target WIFI network with the fastest network transmission speed in the multiple connectable WIFI networks; and establishing first connection with the target WIFI network. In the method and the device for connection establishment, a terminal can automatically establish connection with the connectable target WIFI network having the fastest network transmission speed, so that the degree of intelligence in the process of establishing connection between the terminal and the WIFI network is improved, and the user experience is also improved.

Description

A kind of method of connecting and device

Technical field

The disclosure relates to the communications field, particularly relates to a kind of method of connecting and device.

Background technology

In correlation technique, terminal according to the selection of user or according to information such as the connection passwords of Wireless Fidelity (WirelessFidelity, the WIFI) network prestored, can determine the WIFI network being about to connect.

But the described WIFI network determined by the way is not necessarily optimum, therefore, causes the process connected with WIFI network intelligent not, have impact on Consumer's Experience.

Summary of the invention

In view of this, the disclosure provides a kind of method of connecting and device, intelligent not to solve the process connected with WIFI network in correlation technique, affects the problem of Consumer's Experience.

According to the first aspect of disclosure embodiment, a kind of method connected is provided, comprises:

Determine multiple attachable Wireless Fidelity WIFI network;

Test the network transfer speeds of described multiple attachable WIFI network, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest;

Set up first with described target WIFI network to be connected.

Alternatively, describedly determine multiple attachable Wireless Fidelity WIFI network, comprising:

Scanning Wireless Fidelity WIFI network;

If scan the first kind WIFI network not needing to be undertaken connecting by connecting password, determine that described first kind WIFI network is attachable WIFI network;

If scan the Equations of The Second Kind WIFI network needing to be undertaken connecting by connecting password, the target detecting the described Equations of The Second Kind WIFI network that whether prestored connects password, and the described Equations of The Second Kind WIFI network that the target that prestored connects password is defined as attachable WIFI network.

Alternatively, described network transfer speeds is network uploading speed and web download speed sum;

The network transfer speeds of the described multiple attachable WIFI network of described test, comprising:

Set up second with described multiple attachable WIFI network to be respectively connected;

Test respectively and connect the described network uploading speed uploading the first default file and the described web download speed downloading the second default file by described second.

Alternatively, described network transfer speeds is web download speed;

The network transfer speeds of the described multiple attachable WIFI network of described test, comprising:

Set up second with described multiple attachable WIFI network to be respectively connected;

Test the described web download speed connecting download second default file by described second.

Alternatively, described and described target WIFI network set up first be connected after, described method also comprises:

Detect and whether meet the test condition retesting the network transfer speeds of described multiple attachable WIFI network, if met, return the network transfer speeds performing the described multiple attachable WIFI network of described test, in described multiple attachable WIFI network, determine the step of the target WIFI network that network transfer speeds is the fastest.

Alternatively, described test condition comprises:

The objective network transmission speed of described target WIFI network reduces; Or

Currently do not use described target WIFI network.

According to the second aspect of disclosure embodiment, a kind of device connected is provided, comprises:

First determination module, is configured to determine multiple attachable Wireless Fidelity WIFI network;

Second determination module, is configured to the network transfer speeds of testing described multiple attachable WIFI network, in described multiple attachable WIFI network, determines the target WIFI network that network transfer speeds is the fastest;

Connection establishment module, is configured to set up first with described target WIFI network and is connected.

Alternatively, described first determination module comprises:

Scanning submodule, is configured to scanning Wireless Fidelity WIFI network;

First determines submodule, if be configured to scan the first kind WIFI network not needing to be undertaken connecting by connecting password, determines that described first kind WIFI network is attachable WIFI network;

Second determines submodule, if be configured to scan the Equations of The Second Kind WIFI network needing to be undertaken connecting by connecting password, the target detecting the described Equations of The Second Kind WIFI network that whether prestored connects password, and the described Equations of The Second Kind WIFI network that the target that prestored connects password is defined as attachable WIFI network.

Alternatively, described network transfer speeds is network uploading speed and web download speed sum;

Described second determination module comprises:

First connection establishment submodule, is configured to set up second with described multiple attachable WIFI network respectively and is connected;

First test submodule, is configured to test the described web download speed connecting described network uploading speed and download the second default file uploading the first default file by described second respectively.

Alternatively, described network transfer speeds is web download speed;

Described second determination module comprises:

Second connection establishment submodule, is configured to set up second with described multiple attachable WIFI network respectively and is connected;

Second test submodule, is configured to test the described web download speed connecting download second default file by described second.

Alternatively, described device also comprises:

Trigger module, be configured to detect and whether meet the test condition retesting the network transfer speeds of described multiple attachable WIFI network, if met, trigger the network transfer speeds of the described multiple attachable WIFI network of described second determination module test, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest.

Alternatively, described test condition comprises:

The objective network transmission speed of described target WIFI network reduces; Or

Currently do not use described target WIFI network.

According to the third aspect of disclosure embodiment, a kind of device connected is provided, comprises:

Processor;

For the memory of storage of processor executable instruction;

Wherein, described processor is configured to:

Determine multiple attachable Wireless Fidelity WIFI network;

Test the network transfer speeds of described multiple attachable WIFI network, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest;

Set up first with described target WIFI network to be connected.

The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:

In disclosure embodiment, terminal can test the network transfer speeds of multiple attachable WIFI network, thus determines the target WIFI network that network transfer speeds is the fastest, further, sets up first be connected with described target WIFI network.In said process, described terminal automatically can be set up first with the attachable and target WIFI network that network transfer speeds is the fastest and be connected, and improves the intelligence degree of the process that terminal and WIFI network connect, improves Consumer's Experience simultaneously.

In disclosure embodiment, terminal can by uploading the network uploading speed of the first default file and downloading the web download speed sum of the second default file, weigh the network transfer speeds of each attachable WIFI network, thus determine the target WIFI network that network transfer speeds is the fastest, the intelligence degree of the process that lifting terminal and WIFI network connect, improves Consumer's Experience simultaneously.Alternatively, in order to accelerate the speed determining target WIFI network, described terminal only can also weigh the network transfer speeds of each attachable WIFI network with the web download speed of download second default file, thus the intelligence degree of process that connects of lifting terminal and WIFI network further.

In disclosure embodiment, terminal the target WIFI network the fastest with network transfer speeds set up first be connected after, if detect that the objective network transmission speed of described target WIFI network reduces or user is current not use described target WIFI network, the network transfer speeds of described multiple attachable WIFI network can be retested, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest.Further, select the switching whether carrying out target WIFI network as required, thus guarantee that target WIFI network that described terminal can be the fastest with network transfer speeds is all the time set up first and is connected, promote intelligence degree and the Consumer's Experience of the process that terminal and WIFI network connect.

Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.

Accompanying drawing explanation

Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.

Fig. 1 is a kind of method flow diagram that connect of the disclosure according to an exemplary embodiment;

Fig. 2 is the method flow diagram that the another kind of the disclosure according to an exemplary embodiment connects;

Fig. 3 is the method flow diagram that the another kind of the disclosure according to an exemplary embodiment connects;

Fig. 4 is the method flow diagram that the another kind of the disclosure according to an exemplary embodiment connects;

Fig. 5 is the method flow diagram that the another kind of the disclosure according to an exemplary embodiment connects;

Fig. 6 A is the method flow diagram that the another kind of the disclosure according to an exemplary embodiment connects;

Fig. 6 B is a kind of scene schematic diagram that connect of the disclosure according to an exemplary embodiment;

Fig. 6 C is the scene schematic diagram that the another kind of the disclosure according to an exemplary embodiment connects;

Fig. 7 is a kind of device block diagram that connect of the disclosure according to an exemplary embodiment;

Fig. 8 is the device block diagram that the another kind of the disclosure according to an exemplary embodiment connects;

Fig. 9 is the device block diagram that the another kind of the disclosure according to an exemplary embodiment connects;

Figure 10 is the device block diagram that the another kind of the disclosure according to an exemplary embodiment connects;

Figure 11 is the device block diagram that the another kind of the disclosure according to an exemplary embodiment connects;

Figure 12 is a structural representation of a kind of device for connect of the disclosure according to an exemplary embodiment.

Embodiment

Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.

The term used in the disclosure is only for the object describing specific embodiment, and the not intended to be limiting disclosure." one ", " described " and " being somebody's turn to do " of the singulative used in disclosure and the accompanying claims book is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.

Term first, second, third, etc. may be adopted although should be appreciated that to describe various information in the disclosure, these information should not be limited to these terms.These terms are only used for the information of same type to be distinguished from each other out.Such as, when not departing from disclosure scope, the first information also can be called as the second information, and similarly, the second information also can be called as the first information.Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining ".

As shown in Figure 1, Fig. 1 is a kind of method connected according to an exemplary embodiment, comprises the following steps:

In a step 101, multiple attachable Wireless Fidelity WIFI network is determined.

The method provided in disclosure embodiment may be used for terminal, such as, and smart mobile phone, panel computer, personal digital assistant (PersonalDigitalAssistant, PDA) etc.

Alternatively, as shown in Figure 2, Fig. 2 is the method connected according to the another kind that basis embodiment illustrated in fig. 1 illustrates to step 101, can comprise:

In step 101-1, scanning Wireless Fidelity WIFI network.

In this step, described terminal can carry out WIFI network scanning according to correlation technique in current position.Alternatively, described terminal can all WIFI network of arriving of output scanning.

Further, if scan the first kind WIFI network not needing to be undertaken connecting by connecting password, then performing step 101-2, if scan the Equations of The Second Kind WIFI network needing to be undertaken connecting by connecting password, then performing step 101-3.

In step 101-2, determine that described first kind WIFI network is attachable WIFI network.

In this step, described terminal directly will not need the described first kind WIFI network being undertaken connecting by connecting password to be defined as attachable WIFI network.

In step 101-3, the target detecting the described Equations of The Second Kind WIFI network that whether prestored connects password, and the described Equations of The Second Kind WIFI network that the target that prestored connects password is defined as attachable WIFI network.

In this step, whether described terminal can detect to have prestored according to correlation technique and connect password for the target be connected with described Equations of The Second Kind WIFI network, further, the described Equations of The Second Kind WIFI network target that prestored being connected password is defined as described attachable WIFI network.

In disclosure embodiment, described terminal, after determining multiple attachable WIFI network, alternatively, can identify described attachable WIFI network in all WIFI network exported.

In a step 102, test the network transfer speeds of described multiple attachable WIFI network, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest.

In disclosure embodiment, alternatively, described network transfer speeds is network uploading speed and web download speed sum.Accordingly, as shown in Figure 3, Fig. 3 is the method connected according to the another kind that basis embodiment illustrated in fig. 1 illustrates to step 102, can comprise:

In step 102-1, set up second with described multiple attachable WIFI network respectively and be connected.

In this step, if wherein a certain attachable WIFI network belongs to described first kind WIFI network, then described terminal directly can be set up second according to the attachable WIFI network of correlation technique and this and is connected.If a certain attachable WIFI network belongs to described Equations of The Second Kind WIFI network, then described terminal can connect password according to the target prestored, and sets up described second be connected according to the attachable WIFI network of correlation technique and this.

In step 102-2, test respectively and connect the described network uploading speed uploading the first default file and the described web download speed downloading the second default file by described second.

In this step, described terminal with described attachable WIFI network set up described second be connected after, can to connect by described second according to correlation technique and upload the first default file, thus obtain the network uploading speed of described attachable WIFI network.Similarly, download second default file can be connected according to correlation technique by described second, obtain the web download speed of described attachable WIFI network.

Further, the network transfer speeds of described attachable WIFI network is described network uploading speed and described web download speed sum.The described network transfer speeds of different described attachable WIFI network that described terminal will test out by the way respectively.

Generally, not needing to connect network transfer speeds that password just can carry out the described first kind WIFI network connected, to compare the network transfer speeds that needs can carry out by connection password the Equations of The Second Kind WIFI network connected slow.Therefore, in disclosure embodiment, alternatively, described terminal only can be set up described second with the described attachable WIFI network belonging to described Equations of The Second Kind WIFI network and be connected, thus only test belongs to the network transfer speeds of the described attachable WIFI network of described Equations of The Second Kind WIFI network.

Certainly, in the disclosed embodiments, in order to accelerate the speed determining target WIFI network further, described terminal only can also weigh the network transfer speeds of each attachable WIFI network by the web download speed of download second default file.Accordingly, as shown in Figure 4, Fig. 4 is the method connected according to the another kind that basis embodiment illustrated in fig. 1 illustrates to step 102, can comprise:

In step 102-1 ', set up second with described multiple attachable WIFI network respectively and be connected.

In this step, described terminal can be set up described second with described multiple attachable WIFI network respectively according to the mode of above-mentioned steps 102-1 and be connected.

In step 102-2 ', test the described web download speed connecting download second default file by described second.

In this step, described terminal with described attachable WIFI network set up described second be connected after, download second default file can be connected according to correlation technique by described second, obtain the web download speed of described attachable WIFI network.The described network transfer speeds of different described attachable WIFI network that described terminal will test out by the way respectively, i.e. described web download speed.

Further, described terminal can according to testing the network transfer speeds obtained, target WIFI network described in the conduct selecting described network transfer speeds the fastest in described multiple attachable WIFI network.

It should be noted that, when described network transfer speeds be network uploading speed and web download speed sum time, if the network uploading speed of a certain attachable WIFI network or web download speed are lower than default network transfer speeds lower limit, even if then the network uploading speed of this attachable WIFI network and web download speed sum maximum, also this attachable WIFI network can not be defined as target WIFI network.

In step 103, set up first with described target WIFI network to be connected.

In this step, described terminal, automatically according to correlation technique, is set up described first with the described target WIFI network determined and is connected.

By said process, described terminal automatically and the attachable and target WIFI network that network transfer speeds is the fastest establish and be connected, improve the intelligence degree of the process that terminal and WIFI network connect, also improve Consumer's Experience.

Further, described terminal is after completing steps 103, and as shown in Figure 5, Fig. 5 is the method connected according to the another kind that basis embodiment illustrated in fig. 1 illustrates to described method, can also comprise:

At step 104, detect and whether meet the test condition retesting the network transfer speeds of described multiple attachable WIFI network, if met, return the network transfer speeds performing the described multiple attachable WIFI network of described test, in described multiple attachable WIFI network, determine the step of the target WIFI network that network transfer speeds is the fastest.

In this step, alternatively, described test condition comprises: the objective network transmission speed of described target WIFI network reduces; Or currently do not use described target WIFI network.

After described terminal can be connected establishing with described target WIFI network described first, the objective network transmission speed of target WIFI network described in periodic detection.If detect that described objective network transmission speed decreases, the degree such as reduced has exceeded predetermined threshold value, or described terminal detects that user is current and does not use described target WIFI network, now can return and perform step 102, retest the network transfer speeds of described multiple attachable WIFI network, and determine the target WIFI network that network transfer speeds is the fastest, further, the switching whether carrying out target WIFI network can be selected as required.

Alternatively, if the target WIFI network redefined is different from the target WIFI network determined before, then described terminal can carry out the switching of WIFI network according to correlation technique, thus sets up first with the target WIFI network redefined and be connected.If the target WIFI network redefined is identical with the target WIFI network determined before, the switching of WIFI network can not be carried out.

By said process, guarantee that target WIFI network that described terminal all the time can be the fastest with network transfer speeds is set up first and is connected, improve intelligence degree and the Consumer's Experience of the process that terminal and WIFI network connect.

In above-described embodiment, terminal can test the network transfer speeds of multiple attachable WIFI network, thus determines the target WIFI network that network transfer speeds is the fastest, further, sets up first be connected with described target WIFI network.In said process, described terminal automatically can be set up first with the attachable and target WIFI network that network transfer speeds is the fastest and be connected, and improves the intelligence degree of the process that terminal and WIFI network connect, improves Consumer's Experience simultaneously.

As shown in Figure 6A, Fig. 6 A is the method that the another kind according to an exemplary embodiment connects, and comprises the following steps:

In step 201, Wireless Fidelity WIFI network is scanned.

In this step, described terminal can carry out WIFI network scanning according to correlation technique in current position.Alternatively, described terminal can all WIFI network of arriving of output scanning, as shown in Figure 6B.

If scan the first kind WIFI network not needing to be undertaken connecting by connecting password, then performing step 202, if scan the Equations of The Second Kind WIFI network needing to be undertaken connecting by connecting password, then performing step 203.

In step 202., determine that described first kind WIFI network is attachable WIFI network.

In this step, described terminal directly will not need the described first kind WIFI network being undertaken connecting by connecting password to be defined as attachable WIFI network.

In step 203, the target detecting the described Equations of The Second Kind WIFI network that whether prestored connects password, and the described Equations of The Second Kind WIFI network that the target that prestored connects password is defined as attachable WIFI network.

In this step, whether described terminal can detect to have prestored according to correlation technique and connect password for the target be connected with described Equations of The Second Kind WIFI network, further, the described Equations of The Second Kind WIFI network target that prestored being connected password is defined as described attachable WIFI network.

Described terminal is after determining multiple attachable WIFI network by above-mentioned steps 202 or step 203, alternatively, described attachable WIFI network can be identified in all WIFI network exported, such as, go out attachable WIFI network by words identification, as shown in Figure 6 C.

In step 204, set up second with described multiple attachable WIFI network to be respectively connected.

In this step, if a certain attachable WIFI network belongs to described first kind WIFI network, then described terminal directly can be set up second according to the attachable WIFI network of correlation technique and this and is connected.If a certain attachable WIFI network belongs to described Equations of The Second Kind WIFI network, then described terminal can connect password according to the target prestored, and sets up described second be connected according to the attachable WIFI network of correlation technique and this.

In disclosure embodiment, alternatively, described terminal only can connect password according to the described target prestored, and sets up described second be connected with the attachable WIFI network belonging to described Equations of The Second Kind WIFI network.

In step 205, test respectively and connect the network uploading speed uploading the first default file and the web download speed downloading the second default file by described second, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest, described network transfer speeds is described network uploading speed and described web download speed sum.

In this step, described terminal with described attachable WIFI network set up described second be connected after, can to connect by described second according to correlation technique and upload the first default file, thus obtain the network uploading speed of described attachable WIFI network.Similarly, download second default file can be connected according to correlation technique by described second, obtain the web download speed of described attachable WIFI network.

The network transfer speeds of described attachable WIFI network is described network uploading speed and described web download speed sum.The described network transfer speeds of different described attachable WIFI network that described terminal will test out by the way respectively.

In this step, described terminal can according to the network transfer speeds of testing the different described attachable WIFI network obtained, target WIFI network described in the conduct selecting described network transfer speeds the fastest in described multiple attachable WIFI network.

If the network uploading speed of a certain attachable WIFI network or web download speed are lower than default network transfer speeds lower limit, even if then the network uploading speed of this attachable WIFI network and web download speed sum maximum, also this attachable WIFI network can not be defined as target WIFI network.

In step 206, set up first with described target WIFI network to be connected.

In this step, described terminal, automatically according to correlation technique, is set up described first with the described target WIFI network determined and is connected.

In step 207, detect and whether meet the test condition retesting the network transfer speeds of described multiple attachable WIFI network, if met, return and perform step 204, otherwise the process that end connects.

Alternatively, described test condition comprises: the objective network transmission speed of described target WIFI network reduces; Or currently do not use described target WIFI network.

Described terminal establish with described target WIFI network described first be connected after, can the objective network transmission speed of target WIFI network described in periodic detection.If detect that described objective network transmission speed decreases, the degree such as reduced has exceeded predetermined threshold value, or user is current does not use described target WIFI network, then can return and perform step 204, set up second with described multiple attachable WIFI network respectively and be connected.Thus the fastest target WIFI network of network transfer speeds is redefined in described multiple attachable WIFI network.Further, the switching whether carrying out target WIFI network can be selected as required, thus guarantee that target WIFI network that described terminal all the time can be the fastest with network transfer speeds is set up first and is connected.

In above-described embodiment, terminal can by uploading the network uploading speed of the first default file and downloading the web download speed sum presetting the second file, weigh the network transfer speeds of each attachable WIFI network, thus determine the target WIFI network that network transfer speeds is the fastest, the intelligence degree of the process that lifting terminal and WIFI network connect, improves Consumer's Experience simultaneously.In addition, terminal the target WIFI network the fastest with network transfer speeds set up first be connected after, if detect that the objective network transmission speed of described target WIFI network reduces or currently do not use described target WIFI network, the network transfer speeds of described multiple attachable WIFI network can be retested, guarantee that target WIFI network that described terminal can be the fastest with network transfer speeds is all the time set up first and is connected, promote intelligence degree and the Consumer's Experience of the process that terminal and WIFI network connect.

Corresponding with preceding method embodiment, the disclosure additionally provides the embodiment of device.

As shown in Figure 7, Fig. 7 is a kind of device block diagram that connect of the disclosure according to an exemplary embodiment, comprising: the first determination module 310, second determination module 320 and connection establishment module 330.

Wherein, described first determination module 310, is configured to determine multiple attachable Wireless Fidelity WIFI network;

Described second determination module 320, is configured to the network transfer speeds of testing described multiple attachable WIFI network, in described multiple attachable WIFI network, determines the target WIFI network that network transfer speeds is the fastest;

Described connection establishment module 330, is configured to set up first with described target WIFI network and is connected.

In above-described embodiment, terminal can test the network transfer speeds of multiple attachable WIFI network, thus the target WIFI network the fastest with network transfer speeds is set up first and be connected.In said process, described terminal automatically can be set up first with the attachable and target WIFI network that network transfer speeds is the fastest and be connected, and promotes the intelligence degree of the process that terminal and WIFI network connect, improves Consumer's Experience simultaneously.

As shown in Figure 8, Fig. 8 is the device block diagram that the another kind of the disclosure according to an exemplary embodiment connects, this embodiment is on aforementioned basis embodiment illustrated in fig. 7, and described first determination module 310 comprises: scanning submodule 311, first determines that submodule 312 and second determines submodule 313.

Wherein, described scanning submodule 311, is configured to scanning Wireless Fidelity WIFI network;

Described first determines submodule 312, if be configured to scan the first kind WIFI network not needing to be undertaken connecting by connecting password, determines that described first kind WIFI network is attachable WIFI network;

Described second determines submodule 313, if be configured to scan the Equations of The Second Kind WIFI network needing to be undertaken connecting by connecting password, the target detecting the described Equations of The Second Kind WIFI network that whether prestored connects password, and the described Equations of The Second Kind WIFI network that the target that prestored connects password is defined as attachable WIFI network.

In above-described embodiment, described terminal first can carry out the scanning of WIFI network, the first kind WIFI network being undertaken connecting by connecting password will do not needed, and need to carry out connecting in Equations of The Second Kind WIFI network the WIFI network that corresponding target connects password that prestored be defined as attachable WIFI network by connecting password, improve the intelligence degree that terminal and WIFI network connect.

Alternatively, described network transfer speeds is network uploading speed and web download speed sum.

As shown in Figure 9, Fig. 9 is the device block diagram that the another kind of the disclosure according to an exemplary embodiment connects, this embodiment is on aforementioned basis embodiment illustrated in fig. 7, and described second determination module 320 comprises: the first connection establishment submodule 321 and the first test submodule 322.

Wherein, described first connection establishment submodule 321, is configured to set up second with described multiple attachable WIFI network respectively and is connected;

Described first test submodule 322, is configured to test the described web download speed connecting described network uploading speed and download the second default file uploading the first default file by described second respectively.

Alternatively, described network transfer speeds is web download speed.

As shown in Figure 10, Figure 10 is the device block diagram that the another kind of the disclosure according to an exemplary embodiment connects, this embodiment is on aforementioned basis embodiment illustrated in fig. 7, and described second determination module 320 comprises: the second connection establishment submodule 323 and the second test submodule 324.

Wherein, described second connection establishment submodule 323, is configured to set up second with described multiple attachable WIFI network respectively and is connected;

Described second test submodule 324, is configured to test the described web download speed connecting download second default file by described second.

In above-described embodiment, terminal can by uploading the network uploading speed of the first default file and downloading the web download speed sum of the second default file, weigh the network transfer speeds of each attachable WIFI network, thus determine the target WIFI network that network transfer speeds is the fastest, the intelligence degree of the process that lifting terminal and WIFI network connect, improves Consumer's Experience simultaneously.Alternatively, in order to accelerate the speed determining target WIFI network, described terminal only can also weigh the network transfer speeds of each attachable WIFI network with the web download speed of download second default file, thus the intelligence degree of process that connects of lifting terminal and WIFI network further.

As shown in figure 11, Figure 11 is the device block diagram that the another kind of the disclosure according to an exemplary embodiment connects, and this embodiment is on aforementioned basis embodiment illustrated in fig. 7, and described device also comprises: trigger module 340.

Wherein, described trigger module 340, be configured to detect and whether meet the test condition retesting the network transfer speeds of described multiple attachable WIFI network, if met, trigger the network transfer speeds of the described multiple attachable WIFI network of described second determination module test, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest.

Alternatively, described test condition comprises:

The objective network transmission speed of described target WIFI network reduces; Or

Currently do not use described target WIFI network.

In above-described embodiment, terminal the target WIFI network the fastest with network transfer speeds set up first be connected after, if detect that the objective network transmission speed of described target WIFI network reduces or currently do not use described target WIFI network, the network transfer speeds of described multiple attachable WIFI network can be retested, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest.Further, select the switching whether carrying out target WIFI network as required, thus guarantee that target WIFI network that described terminal can be the fastest with network transfer speeds is all the time set up first and is connected, promote intelligence degree and the Consumer's Experience of the process that terminal and WIFI network connect.

Accordingly, the disclosure also provides a kind of device connected, and comprising:

Processor;

For the memory of storage of processor executable instruction;

Wherein, described processor is configured to:

Determine multiple attachable Wireless Fidelity WIFI network;

Test the network transfer speeds of described multiple attachable WIFI network, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest;

Set up first with described target WIFI network to be connected.

As shown in figure 12, Figure 12 is the structural representation of a kind of device 1200 that connect of the disclosure according to an exemplary embodiment.Such as, device 1200 can be terminal, can be specially mobile phone, computer, digital broadcast terminal, messaging devices, smart jack, intelligent sphygmomanometer, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant, Intelligent bracelet, intelligent watch etc.

With reference to Figure 12, device 1200 can comprise following one or more assembly: processing components 1202, memory 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor cluster 1214, and communications component 1216.

The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1202 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing components 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.

Memory 1204 is configured to store various types of data to be supported in the operation of device 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.

The various assemblies that power supply module 1206 is device 1200 provide electric power.Power supply module 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.

Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When device 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.

Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loud speaker, for output audio signal.

I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.

Sensor cluster 1214 comprises one or more transducer, for providing the state estimation of various aspects for device 1200.Such as, sensor cluster 1214 can detect the opening/closing state of device 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right checkout gear 1200 of sensor cluster 1214 or device 1200 assemblies changes, the existence that user contacts with device 1200 or do not exist, the variations in temperature of device 1200 orientation or acceleration/deceleration and device 1200.Sensor cluster 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor, microwave remote sensor or temperature sensor.

Communications component 1216 is configured to be convenient to communication that is wired between device 1200 and other equipment or wireless mode.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.

In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.

In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1204 of instruction, above-mentioned instruction can perform said method by the processor 1220 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.

Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The disclosure is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.

The foregoing is only preferred embodiment of the present disclosure, not in order to limit the disclosure, all within spirit of the present disclosure and principle, any amendment made, equivalent replacements, improvement etc., all should be included within scope that the disclosure protects.

Claims (13)

1. the method connected, is characterized in that, comprising:
Determine multiple attachable Wireless Fidelity WIFI network;
Test the network transfer speeds of described multiple attachable WIFI network, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest;
Set up first with described target WIFI network to be connected.
2. method according to claim 1, is characterized in that, describedly determines multiple attachable Wireless Fidelity WIFI network, comprising:
Scanning Wireless Fidelity WIFI network;
If scan the first kind WIFI network not needing to be undertaken connecting by connecting password, determine that described first kind WIFI network is attachable WIFI network;
If scan the Equations of The Second Kind WIFI network needing to be undertaken connecting by connecting password, the target detecting the described Equations of The Second Kind WIFI network that whether prestored connects password, and the described Equations of The Second Kind WIFI network that the target that prestored connects password is defined as attachable WIFI network.
3. method according to claim 1, is characterized in that, described network transfer speeds is network uploading speed and web download speed sum;
The network transfer speeds of the described multiple attachable WIFI network of described test, comprising:
Set up second with described multiple attachable WIFI network to be respectively connected;
Test respectively and connect the described network uploading speed uploading the first default file and the described web download speed downloading the second default file by described second.
4. method according to claim 1, is characterized in that, described network transfer speeds is web download speed;
The network transfer speeds of the described multiple attachable WIFI network of described test, comprising:
Set up second with described multiple attachable WIFI network to be respectively connected;
Test the described web download speed connecting download second default file by described second.
5. method according to claim 1, is characterized in that, described and described target WIFI network set up first be connected after, described method also comprises:
Detect and whether meet the test condition retesting the network transfer speeds of described multiple attachable WIFI network, if met, return the network transfer speeds performing the described multiple attachable WIFI network of described test, in described multiple attachable WIFI network, determine the step of the target WIFI network that network transfer speeds is the fastest.
6. method according to claim 5, is characterized in that, described test condition comprises:
The objective network transmission speed of described target WIFI network reduces; Or
Currently do not use described target WIFI network.
7. the device connected, is characterized in that, comprising:
First determination module, is configured to determine multiple attachable Wireless Fidelity WIFI network;
Second determination module, is configured to the network transfer speeds of testing described multiple attachable WIFI network, in described multiple attachable WIFI network, determines the target WIFI network that network transfer speeds is the fastest;
Connection establishment module, is configured to set up first with described target WIFI network and is connected.
8. device according to claim 7, is characterized in that, described first determination module comprises:
Scanning submodule, is configured to scanning Wireless Fidelity WIFI network;
First determines submodule, if be configured to scan the first kind WIFI network not needing to be undertaken connecting by connecting password, determines that described first kind WIFI network is attachable WIFI network;
Second determines submodule, if be configured to scan the Equations of The Second Kind WIFI network needing to be undertaken connecting by connecting password, the target detecting the described Equations of The Second Kind WIFI network that whether prestored connects password, and the described Equations of The Second Kind WIFI network that the target that prestored connects password is defined as attachable WIFI network.
9. device according to claim 7, is characterized in that, described network transfer speeds is network uploading speed and web download speed sum;
Described second determination module comprises:
First connection establishment submodule, is configured to set up second with described multiple attachable WIFI network respectively and is connected;
First test submodule, is configured to test the described web download speed connecting described network uploading speed and download the second default file uploading the first default file by described second respectively.
10. device according to claim 7, is characterized in that, described network transfer speeds is web download speed;
Described second determination module comprises:
Second connection establishment submodule, is configured to set up second with described multiple attachable WIFI network respectively and is connected;
Second test submodule, is configured to test the described web download speed connecting download second default file by described second.
11. devices according to claim 7, is characterized in that, described device also comprises:
Trigger module, be configured to detect and whether meet the test condition retesting the network transfer speeds of described multiple attachable WIFI network, if met, trigger the network transfer speeds of the described multiple attachable WIFI network of described second determination module test, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest.
12. devices according to claim 11, is characterized in that, described test condition comprises:
The objective network transmission speed of described target WIFI network reduces; Or
Currently do not use described target WIFI network.
13. 1 kinds of devices connected, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Determine multiple attachable Wireless Fidelity WIFI network;
Test the network transfer speeds of described multiple attachable WIFI network, in described multiple attachable WIFI network, determine the target WIFI network that network transfer speeds is the fastest;
Set up first with described target WIFI network to be connected.
CN201510908226.6A 2015-12-09 2015-12-09 Method and device for connection establishment CN105472706A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510908226.6A CN105472706A (en) 2015-12-09 2015-12-09 Method and device for connection establishment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510908226.6A CN105472706A (en) 2015-12-09 2015-12-09 Method and device for connection establishment

Publications (1)

Publication Number Publication Date
CN105472706A true CN105472706A (en) 2016-04-06

Family

ID=55609864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510908226.6A CN105472706A (en) 2015-12-09 2015-12-09 Method and device for connection establishment

Country Status (1)

Country Link
CN (1) CN105472706A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028410A (en) * 2016-06-28 2016-10-12 青岛海信移动通信技术股份有限公司 Mobile terminal network switching method and apparatus
CN106162723A (en) * 2016-06-22 2016-11-23 维沃移动通信有限公司 A kind of wireless communications method and terminal
CN106162831A (en) * 2016-07-21 2016-11-23 北京小米移动软件有限公司 Method for connecting network and device
CN106211254A (en) * 2016-06-15 2016-12-07 维沃移动通信有限公司 A kind of method for connecting network and mobile terminal
CN106792940A (en) * 2016-12-09 2017-05-31 惠州Tcl移动通信有限公司 A kind of electronic equipment and its WIFI intelligent switch methods

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130005350A1 (en) * 2011-06-30 2013-01-03 Cable Television Laboratories, Inc. Optimizing network access
CN102870493A (en) * 2010-04-26 2013-01-09 日本电气株式会社 Communications terminal, connection destination display method, and computer program
CN103200652A (en) * 2013-03-25 2013-07-10 广东欧珀移动通信有限公司 Wireless fidelity (WiFi) access point ordering method and WiFi access point ordering device and mobile terminal
CN104080194A (en) * 2014-06-25 2014-10-01 扬州芯云智能系统有限公司 Method for wirelessly configuring WIFI access parameters of zero-input terminal equipment through mobile phone
CN104202782A (en) * 2014-09-23 2014-12-10 酷派软件技术(深圳)有限公司 Network switching method, network switching device and terminal
CN104735807A (en) * 2013-12-18 2015-06-24 比亚迪股份有限公司 WIFI hotspot service providing method and system and WIFI access point
CN104812022A (en) * 2014-01-23 2015-07-29 宇龙计算机通信科技(深圳)有限公司 WIFI hotspot connection method and WIFI hotspot connection device
CN104837215A (en) * 2015-04-14 2015-08-12 广东欧珀移动通信有限公司 Wireless access point connecting method and device
CN104869574A (en) * 2015-05-22 2015-08-26 小米科技有限责任公司 Wireless network connection method and apparatus
CN105101317A (en) * 2015-07-28 2015-11-25 努比亚技术有限公司 Network switching device and method
CN105592566A (en) * 2014-10-21 2016-05-18 中兴通讯股份有限公司 WIFI hotspot connection method and WIFI hotspot connection device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102870493A (en) * 2010-04-26 2013-01-09 日本电气株式会社 Communications terminal, connection destination display method, and computer program
US20130005350A1 (en) * 2011-06-30 2013-01-03 Cable Television Laboratories, Inc. Optimizing network access
CN103200652A (en) * 2013-03-25 2013-07-10 广东欧珀移动通信有限公司 Wireless fidelity (WiFi) access point ordering method and WiFi access point ordering device and mobile terminal
CN104735807A (en) * 2013-12-18 2015-06-24 比亚迪股份有限公司 WIFI hotspot service providing method and system and WIFI access point
CN104812022A (en) * 2014-01-23 2015-07-29 宇龙计算机通信科技(深圳)有限公司 WIFI hotspot connection method and WIFI hotspot connection device
CN104080194A (en) * 2014-06-25 2014-10-01 扬州芯云智能系统有限公司 Method for wirelessly configuring WIFI access parameters of zero-input terminal equipment through mobile phone
CN104202782A (en) * 2014-09-23 2014-12-10 酷派软件技术(深圳)有限公司 Network switching method, network switching device and terminal
CN105592566A (en) * 2014-10-21 2016-05-18 中兴通讯股份有限公司 WIFI hotspot connection method and WIFI hotspot connection device
CN104837215A (en) * 2015-04-14 2015-08-12 广东欧珀移动通信有限公司 Wireless access point connecting method and device
CN104869574A (en) * 2015-05-22 2015-08-26 小米科技有限责任公司 Wireless network connection method and apparatus
CN105101317A (en) * 2015-07-28 2015-11-25 努比亚技术有限公司 Network switching device and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106211254A (en) * 2016-06-15 2016-12-07 维沃移动通信有限公司 A kind of method for connecting network and mobile terminal
CN106162723A (en) * 2016-06-22 2016-11-23 维沃移动通信有限公司 A kind of wireless communications method and terminal
CN106028410A (en) * 2016-06-28 2016-10-12 青岛海信移动通信技术股份有限公司 Mobile terminal network switching method and apparatus
CN106162831A (en) * 2016-07-21 2016-11-23 北京小米移动软件有限公司 Method for connecting network and device
CN106792940A (en) * 2016-12-09 2017-05-31 惠州Tcl移动通信有限公司 A kind of electronic equipment and its WIFI intelligent switch methods

Similar Documents

Publication Publication Date Title
CN104038263B (en) Method and device for establishing Bluetooth connection
CN105093948A (en) Intelligent device control method, terminal, and server
KR101933642B1 (en) Method and apparatus for triggering execution of operation instruction
CN104156149A (en) Method and device for adjusting photographing parameters
CN105262452A (en) Method and apparatus for adjusting volume, and terminal
CN104898473A (en) Method of handling terminal equipment and device
CN104714414A (en) Smart home equipment control method and device and electronic equipment
CN105068958B (en) Method for handover control and device
CN104902059A (en) Call reminding method and device
CN105246045A (en) Method and device for determining user position change
CN104683938A (en) Configuration method and device for intelligent equipment
CN105094732A (en) Screen display method and apparatus
CN105488464A (en) Fingerprint identification method and fingerprint identification apparatus
CN105160239A (en) Application program access restriction method and apparatus
CN104780155A (en) Method and device for binding equipment
CN105159559A (en) Mobile terminal control method and mobile terminal
CN105100610A (en) Self-photographing prompting method and device, selfie stick and self-photographing prompting system
CN105228224A (en) The cut-in method of wireless network and device
CN105101330A (en) Connection switching method and device
CN105468152A (en) Terminal operation control method and device based on wearable equipment, and equipment
CN104394263A (en) Accessing point list displaying method and device
CN104486451B (en) Application program recommends method and device
CN104219388A (en) Voice control method and device
CN104159218B (en) Internetwork connection establishing method and device
CN104898505A (en) Smart scene configuration method and device

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160406

RJ01 Rejection of invention patent application after publication