CN105338594A - wifi network connection method and device - Google Patents

wifi network connection method and device Download PDF

Info

Publication number
CN105338594A
CN105338594A CN201510633736.7A CN201510633736A CN105338594A CN 105338594 A CN105338594 A CN 105338594A CN 201510633736 A CN201510633736 A CN 201510633736A CN 105338594 A CN105338594 A CN 105338594A
Authority
CN
China
Prior art keywords
wifi network
terminal equipment
network
connect
resets
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
CN201510633736.7A
Other languages
Chinese (zh)
Other versions
CN105338594B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510633736.7A priority Critical patent/CN105338594B/en
Publication of CN105338594A publication Critical patent/CN105338594A/en
Application granted granted Critical
Publication of CN105338594B publication Critical patent/CN105338594B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

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

Abstract

The embodiment of the invention discloses a wifi network connection method and device. The method comprises the steps that when connection of terminal equipment to a wifi network is detected, whether the wifi network is accessed to the internet is judged; and if the wifi network is not accessed to the internet, the wifi network is reset and available wifi networks are searched again for connection. With application of the wifi network connection method and device, a situation that the terminal equipment is connected to an unavailable public wifi network and then cannot automatically switch to the available wifi networks can be avoided so that efficiency of connection of the terminal equipment to the available wifi networks can be enhanced.

Description

A kind of wifi network method of attachment and device
Technical field
The present invention relates to wireless communication technology field, particularly relate to a kind of wifi network method of attachment and device.
Background technology
Along with the development of the individual terminal devices such as smart mobile phone, wifi (WIreless-Fidelity, Wireless Fidelity) network, as the support of the Internet, is popularized in increasing occasion.Such as some public networks such as CMCC (China Mobile), ChinaNet (China Public Computer Interconnection Network), wifi network signal is very good, and terminal equipment is easy to automatically be connected to these wifi network.
But practice finds, after terminal equipment is connected to above-mentioned public wifi network, if desired accessing Internet, also need to use account and password, if user does not want to connect these wifi network, and when wishing to connect family's wifi network or company's wifi network, because wifi network is locked in these public wifi network, cause terminal equipment automatically cannot be connected to the effectively wifi network wifi network of direct accessing Internet (to be namely connected to after this wifi network can) such as family's wifi network or company's wifi network, the efficiency causing effective wifi network to connect is lower, very large inconvenience is brought to the use of user.
Summary of the invention
The embodiment of the invention discloses a kind of wifi network method of attachment and device, after terminal equipment can be avoided to be connected to invalid public wifi network, effective wifi network cannot be automatically switched to.
Embodiment of the present invention first aspect discloses a kind of method for connecting network, comprising:
When detecting that terminal equipment is connected to wifi network, judge described wifi network whether accessing Internet;
If the non-accessing Internet of described wifi network, resets to described wifi network, new search of laying equal stress on can connect by wifi network.
Wherein, if the non-accessing Internet of described wifi network, described connection described wifi network resets, and before new search of laying equal stress on can connect by wifi network, also comprises:
Judge whether wifi network number of resets reaches threshold value;
If reach, then described wifi network is kept to connect;
If do not reach, then determine that performing described connection described wifi network resets, new search of laying equal stress on can carry out by wifi network the step that connects.
Wherein, if the non-accessing Internet of described wifi network, described connection described wifi network resets, and before new search of laying equal stress on can connect by wifi network, also comprises:
Obtain the positional information of described terminal equipment;
Judge whether the positional information of described terminal equipment matches with the conventional wifi network positional information prestored;
If match, then determine to perform to connect described wifi network and reset, new search of laying equal stress on can carry out by wifi network the step that connects;
Otherwise, keep described wifi network to connect.
Wherein, describedly again search for available wifi network and connect, comprising:
According to network signal intensity, the available wifi network searched is sorted;
Judge whether terminal equipment and each available network had occurred to be connected before reset successively according to the order of network signal intensity from strong to weak, and connect terminal equipment and connect before reset, and the wifi network that network signal intensity is the strongest.
Wherein, describedly judge described wifi network whether accessing Internet, comprising:
Judging whether described wifi network exists uploads or/and downloading flow;
If do not exist, then determine the non-accessing Internet of described wifi network.
Embodiment of the present invention second aspect discloses a kind of network connection device, comprising:
Judging unit, for when detecting that terminal equipment is connected to wifi network, judges described wifi network whether accessing Internet;
Reset unit, for when described judging unit judges that described wifi network is not linked into the Internet, connects described wifi network and resets;
Search unit, for when described reset unit resets to wifi network, again searches for available network and connects.
Wherein, described judging unit, if also for the non-accessing Internet of described wifi network, judges whether wifi network number of resets reaches threshold value;
Described reset unit, if also reach threshold value for described wifi network number of resets, keeps described wifi network to connect; If described wifi network number of resets does not reach threshold value, determine that performing described connection described wifi network resets.
Wherein, described device also comprises:
Acquiring unit, if for the non-accessing Internet of described wifi network, obtain the positional information of described terminal equipment;
Described judging unit, also for judging whether the positional information of described terminal equipment matches with the conventional wifi network positional information prestored;
Described reset unit, if also for the judged result of described judging unit for matching, then determine to perform to connect described wifi network and reset, new search of laying equal stress on can carry out by wifi network the step that connects; Otherwise, keep described wifi network to connect.
Wherein, described search unit, specifically for sorting to the available wifi network searched according to network signal intensity; Judge whether terminal equipment and each available network had occurred to be connected before reset successively according to the order of network signal intensity from strong to weak, and connect terminal equipment and connect before reset, and the wifi network that network signal intensity is the strongest.
Wherein, described judging unit, uploads or/and downloading flow specifically for judging whether described wifi network exists; If do not exist, then determine the non-accessing Internet of described wifi network.
Implement the embodiment of the present invention, there is following beneficial effect:
By after being connected to wifi network, judge this wifi network whether accessing Internet, and when determining the non-accessing Internet of this wifi network, this wifi network is connected and resets, new search of laying equal stress on can connect by wifi network, avoid after terminal equipment is connected to invalid public wifi network, effective wifi network cannot be automatically switched to, improve the efficiency that terminal equipment is connected to effective wifi network.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of wifi network method of attachment that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of wifi network method of attachment that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of wifi network jockey that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the another kind of wifi network jockey that the embodiment of the present invention provides;
Fig. 5 is a kind of hardware structure diagram of the wifi network jockey place equipment that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of wifi network method of attachment and device, the efficiency that effective wifi network connects can be improved.Below be described in detail respectively.
Refer to Fig. 1, the schematic flow sheet of Fig. 1 a kind of wifi network method of attachment disclosed in the embodiment of the present invention, as shown in Figure 1, this wifi network method of attachment can comprise:
S101, when detecting that terminal equipment is connected to wifi network, judge this wifi network whether accessing Internet.If so, current process is terminated; Otherwise, go to step S102.
In the embodiment of the present invention, said method can be applied to the terminal equipment with wifi network linkage function, and this terminal equipment can include but not limited to smart mobile phone, panel computer, palmtop PC etc.For ease of describing, be applied to terminal equipment for said method below, the embodiment of the present invention is follow-up no longer to be repeated.
In the embodiment of the present invention, after terminal equipment start runs, terminal equipment can detect WLAN (WirelessLocalAreaNetworks, WLAN (wireless local area network)) whether open, if open, then enter search pattern, search for available wifi network and connect.
Wherein, if terminal equipment searches multiple available wifi network, terminal equipment can interconnection network signal is the strongest automatically wifi network, or connects according to other policy selection wifi network, and the embodiment of the present invention does not limit this.
In the embodiment of the present invention, after terminal equipment is connected to wifi network, terminal equipment can judge this wifi network whether accessing Internet, if so, can think that the wifi network of current connection is effective wifi network; Otherwise, can think that the wifi network of current connection is invalid network.
As the optional execution mode of one, in above-mentioned steps S101, judge wifi network whether accessing Internet, can comprise:
Judging whether this wifi network exists uploads or/and downloading flow;
If do not exist, then determine the non-accessing Internet of wifi network.
In this embodiment, whether terminal equipment can exist according to wifi network and upload or/and the mode determination wifi network whether accessing Internet of downloading flow; Due to when wifi network accessing Internet, terminal equipment can carry out flow by this wifi network and the Internet and upload or/and download, therefore, when the wifi network of the current connection of terminal equipment do not exist upload or/and downloading flow time, terminal equipment can determine the non-accessing Internet of the wifi network of current connection.
What deserves to be explained is, in embodiments of the present invention, whether terminal equipment is uploaded or/and whether the mode determination wifi network of downloading flow is except accessing Internet except existing according to wifi network, wifi network whether accessing Internet can also be determined by other strategy, such as, determine wifi network whether accessing Internet etc. by performing predefined order, the embodiment of the present invention does not limit this.
S102, reset to wifi network, new search of laying equal stress on can connect by wifi network.
In the embodiment of the present invention, when the non-accessing Internet of the wifi network of current connection determined by terminal equipment, terminal equipment can reset to wifi network automatically, and new search of laying equal stress on can connect by wifi network.After terminal equipment is connected to wifi network again, again can judges this wifi network whether accessing Internet, namely again perform step S101.
In the embodiment of the present invention, when the wifi network that current connection determined by terminal equipment accessing Internet, terminal equipment can keep current wifi network to connect.
As the optional execution mode of one, in above-mentioned steps S102, if the non-accessing Internet of wifi network, above-mentioned wifi network to be resetted, before new search of laying equal stress on can connect by wifi network, can also comprise the following steps:
11), judge whether wifi network number of resets reaches threshold value; If so, 12 are gone to step); Otherwise, go to step 13);
12) this wifi network, is kept to connect;
13), determine to perform and reset to wifi network, new search of laying equal stress on can carry out by wifi network the step that connects.
In this embodiment, in order to avoid when terminal equipment cannot be connected to effective wifi network due to specific reasons, terminal equipment constantly performs and resets to wifi network, new search wifi network of laying equal stress on carries out the step connected, cause the terminal equipment wasting of resources, terminal equipment can count the number of times that wifi network resets, when the non-accessing Internet of the wifi network of current connection determined by terminal equipment, terminal equipment first can judge whether current wifi network number of resets reaches threshold value and (can be preset according to demand by user, as 3 times, 5 is inferior), if reach, then terminal equipment can be thought current and cannot be connected to effective wifi network, and then, terminal equipment can keep current wifi network to connect, and no longer wifi network is resetted, if do not reach, then terminal equipment can reset to wifi network again, again searches for available wifi network and connects, and adds 1 to wifi network connection number of resets.
Wherein, in this embodiment, terminal equipment can reset wifi network number of resets in timing, such as, terminal equipment once can reset wifi network number of resets every Preset Time (can preset according to user's request, as 20 minutes, half an hour etc.); Or/and terminal equipment after being connected to effective wifi network, can also reset wifi network number of resets at every turn, its specific implementation embodiment of the present invention does not repeat them here.
As the optional execution mode of another kind, in above-mentioned steps S102, if the non-accessing Internet of wifi network, above-mentioned wifi network to be resetted, before new search of laying equal stress on can connect by wifi network, can also comprise the following steps:
21) positional information of terminal equipment, is obtained;
22), judge whether the positional information of terminal equipment matches with the conventional wifi network position prestored; If so, 23 are gone to step); Or, go to step 24);
23), determine to perform and reset to wifi network, new search of laying equal stress on can carry out by wifi network the step that connects;
24) this wifi network, is kept to connect.
In this embodiment, can set in terminal equipment in advance and store conventional wifi network positional information, this conventional wifi network positional information can be set according to self-demand by user, it often can use terminal equipment connection wifi network to carry out the position of internet access for user, as office, family etc., user can pass through GPS (GlobalPositioningSystem, global positioning system) etc. positioner obtain office, the positional information of the localities such as family, and its positional information is stored in terminal equipment as conventional wifi network positional information.
Based on above-mentioned setting, when terminal equipment is connected to wifi network, and when determining the non-accessing Internet of this wifi network, terminal equipment first can obtain the current positional information of terminal equipment by positioners such as GPS, and judges whether this positional information matches with the conventional wifi network positional information prestored; If match, then terminal equipment can reset to wifi network, and new search of laying equal stress on can connect by wifi network; Otherwise, terminal equipment can think current possibly cannot be connected to effective wifi network, wifi network can be kept to connect, thus, when terminal equipment can be avoided to be positioned at non-common wifi network position, repeatedly carry out wifi network reset, new search of laying equal stress on can carry out by wifi network the operation that connects, causes the terminal equipment wasting of resources.
Such as, when terminal equipment is positioned at the public place outside family or office, terminal equipment possibly cannot be connected to effective wifi network, even if namely terminal equipment resets to network connection repeatedly, and search for available wifi network and connect, also cannot be connected to effective wifi network.Now, terminal equipment, when determining the non-accessing Internet of the wifi network of current connection, can not carry out resetting to wifi network, and searches for the operation that available wifi network carries out connecting, to avoid the waste to terminal equipment resource.
What deserves to be explained is, in embodiments of the present invention, the positional information determining terminal equipment and the conventional wifi network positional information prestored match does not need the two completely the same, but can allow to there is certain error (can preset according to concrete scene), its specific implementation does not repeat them here.
In addition, should be realized that, the above-mentioned positional information according to wifi network number of resets or terminal equipment determines whether to need the implementation resetted to wifi network when the non-accessing Internet of wifi network to be only two kinds of concrete examples of related realization in the embodiment of the present invention, instead of limiting the scope of the present invention, namely in embodiments of the present invention, also can determine whether to need to reset to wifi network when the non-accessing Internet of wifi network by alternate manner, such as, (this time period preset can use wifi network to access the Internet ratio time period more frequently for user whether to belong to according to current time the time period preset, can be set according to self-demand by user) determine whether to need to reset etc. to wifi network when the non-accessing Internet of wifi network, its specific implementation does not repeat them here.
In the embodiment of the present invention, in order to avoid terminal equipment reset wifi network is too frequent, when terminal equipment detects that terminal equipment is connected to wifi network, and when determining the non-accessing Internet of wifi network, terminal equipment can reset to wifi network after wait Preset Time (can preset according to concrete scene, as 10 seconds, 15 seconds etc.); Or, when terminal equipment detects that terminal equipment is connected to wifi network, wifi network whether access network in Preset Time can be determined, such as, whether exist in Preset Time and upload or/and downloading flow, and, during non-access network wifi network is resetted when determining wifi network in Preset Time.
As a kind of execution mode, in above-mentioned steps S102, again search for available wifi network and connect, can comprise:
According to network signal intensity, the available wifi network searched is sorted;
Judge whether terminal equipment and each available network had occurred to be connected before reset successively according to the order of network signal intensity from strong to weak, and connect terminal equipment and connect before reset, and the wifi network that network signal intensity is the strongest.
In this embodiment, when terminal equipment resets to wifi network, can there is the wifi network of connection before recording reset in terminal equipment, after terminal equipment resets to wifi network, terminal equipment can not occur to select the strongest wifi network of network signal intensity to connect in the wifi network connected before reset, thus, terminal equipment can be avoided repeatedly to be connected to certain invalid wifi network.
For example, suppose terminal equipment current search to available wifi network be followed successively by wifi1, wifi2 according to network signal intensity order from high to low ... wifi10; Then terminal equipment first can connect wifi1, and judges wifi1 whether accessing Internet; If not, the wifi network connected had been there is in terminal equipment before wifi1 can being recorded as reset, and wifi network is resetted, again available wifi network is searched for, suppose that the available wifi network now searched still is wifi1, wifi2 according to network signal intensity order from high to low successively ... wifi10, then terminal equipment is when selecting wifi network to connect, first can get rid of wifi1, and select the strongest wifi network of network signal intensity to connect in residue wifi network, i.e. wifi2.If wifi2 is accessing Internet not yet, then there is the wifi network of connection in terminal equipment before wifi2 also can being recorded as reset, and wifi network is resetted, again search for available wifi network to connect, until be connected to effective wifi network or after determining that all available wifi network are invalid wifi network, keep connecting the most latter linked wifi network or reconnecting the strongest wifi network of signal strength signal intensity and keep wifi network to connect.
Visible, in the method flow described by Fig. 1, by after being connected to wifi network, judge this wifi network whether accessing Internet, and when determining the non-accessing Internet of this wifi network, this wifi network being connected and resets, new search of laying equal stress on can connect by wifi network, avoid after terminal equipment is connected to invalid public wifi network, effective wifi network cannot be automatically switched to, improve the efficiency that terminal equipment is connected to effective wifi network.
Refer to Fig. 2, the schematic flow sheet of Fig. 2 another kind of wifi network method of attachment disclosed in the embodiment of the present invention, as shown in Figure 2, this wifi network method of attachment can comprise:
S201, when detecting that terminal equipment is connected to wifi network, judge this wifi network whether accessing Internet.If so, S204 is gone to step; Otherwise, go to step S202.
In the embodiment of the present invention, after terminal equipment start runs, whether terminal equipment can detect WLAN and open, if open, then enters search pattern, searches for available wifi network and connects.
After terminal equipment is connected to wifi network, terminal equipment can judge this wifi network whether accessing Internet, if so, can think that the wifi network of current connection is effective wifi network; Otherwise, can think that the wifi network of current connection is invalid network.
As the optional execution mode of one, in above-mentioned steps S201, judge wifi network whether accessing Internet, can comprise:
Judging whether this wifi network exists uploads or/and downloading flow;
If do not exist, then determine the non-accessing Internet of wifi network.
In this embodiment, whether terminal equipment can exist according to wifi network and upload or/and the mode determination wifi network whether accessing Internet of downloading flow; Due to when wifi network accessing Internet, terminal equipment can carry out flow by this wifi network and the Internet and upload or/and download, therefore, when the wifi network of the current connection of terminal equipment do not exist upload or/and downloading flow time, terminal equipment can determine the non-accessing Internet of the wifi network of current connection.
S202, judge whether wifi network number of resets reaches threshold value.If so, S204 is gone to step; Otherwise, go to step S203.
S203, reset to wifi network, new search of laying equal stress on can connect by wifi network.
In the embodiment of the present invention, in order to avoid when terminal equipment cannot be connected to effective wifi network due to specific reasons, terminal equipment constantly performs and resets to wifi network, new search wifi network of laying equal stress on carries out the step connected, cause the terminal equipment wasting of resources, terminal equipment can count the number of times that wifi network resets, when the non-accessing Internet of the wifi network of current connection determined by terminal equipment, terminal equipment first can judge whether current wifi network number of resets reaches threshold value and (can be preset according to demand by user, as 3 times, 5 is inferior), if reach, then terminal equipment can be thought current and cannot be connected to effective wifi network, and then, terminal equipment can keep current wifi network to connect, and no longer wifi network is resetted, if do not reach, then terminal equipment can reset to wifi network again, again searches for available wifi network and connects, and adds 1 to wifi network connection number of resets.
Wherein, in this embodiment, terminal equipment can reset wifi network number of resets in timing, such as, terminal equipment once can reset wifi network number of resets every Preset Time (can preset according to user's request, as 20 minutes, half an hour etc.); Or/and terminal equipment after being connected to effective wifi network, can also reset wifi network number of resets at every turn, its specific implementation embodiment of the present invention does not repeat them here.
S204, this wifi network is kept to connect.
In the embodiment of the present invention, when terminal equipment is determined the wifi network of current connection accessing Internet or wifi network number of resets are reached threshold value, terminal equipment can keep this wifi network to connect.
By describing above and can finding out, in the technical scheme that the embodiment of the present invention provides, by after being connected to wifi network, judge this wifi network whether accessing Internet, and when determining the non-accessing Internet of this wifi network, this wifi network being connected and resets, new search of laying equal stress on can connect by wifi network, avoid after terminal equipment is connected to invalid public wifi network, effective wifi network cannot be automatically switched to, improve the efficiency that terminal equipment is connected to effective wifi network.
Be apparatus of the present invention embodiment below, apparatus of the present invention embodiment and the inventive method embodiment belong to same design, for performing the method described in the inventive method embodiment.For convenience of explanation, apparatus of the present invention embodiment only illustrates the part relevant to apparatus of the present invention embodiment, and concrete ins and outs do not disclose, and please refer to the description of the inventive method embodiment, repeats no longer one by one herein.
Refer to Fig. 3, a kind of structural representation of wifi network jockey disclosed in the embodiment of the present invention, this wifi network jockey can be applied to the terminal equipment in said method embodiment.As shown in Figure 3, this wifi network jockey can comprise:
Judging unit 301, for when detecting that terminal equipment is connected to wifi network, judges described wifi network whether accessing Internet;
Reset unit 302, for when described judging unit 301 judges that described wifi network is not linked into the Internet, connects described wifi network and resets;
Search unit 303, for when described reset unit 302 pairs of wifi network reset, again searches for available network and connects.
In an alternative embodiment, described judging unit 301, if can also be used for the non-accessing Internet of described wifi network, judges whether wifi network number of resets reaches threshold value;
Described reset unit 302, if can also be used for described wifi network number of resets to reach threshold value, keeps described wifi network to connect; If described wifi network number of resets does not reach threshold value, determine that performing described connection described wifi network resets.
See also Fig. 4, the structural representation of the another kind of wifi network jockey that Fig. 4 provides for the embodiment of the present invention, wifi network jockey shown in Fig. 4 is that wifi network jockey is as shown in Figure 3 optimized and obtains, compared with the wifi network jockey shown in Fig. 3, the wifi network jockey shown in Fig. 4 can also comprise:
Acquiring unit 304, if for the non-accessing Internet of described wifi network, obtain the positional information of described terminal equipment;
Correspondingly, described judging unit 301, can also be used for judging whether the positional information of described terminal equipment matches with the conventional wifi network positional information prestored;
Described reset unit 302, if the judged result that can also be used for described judging unit 301 is for matching, then determines to perform to connect described wifi network and resets, and new search of laying equal stress on can carry out by wifi network the step that connects; Otherwise, keep described wifi network to connect.
In an alternative embodiment, described search unit 303, can specifically for sorting to the available wifi network searched according to network signal intensity; Judge whether terminal equipment and each available network had occurred to be connected before reset successively according to the order of network signal intensity from strong to weak, and connect terminal equipment and connect before reset, and the wifi network that network signal intensity is the strongest.
In an alternative embodiment, described judging unit 301, can upload or/and downloading flow specifically for judging whether described wifi network exists; If do not exist, then determine the non-accessing Internet of described wifi network.
In said apparatus, the implementation procedure of the function and efficacy of unit specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
Refer to Fig. 5, be a kind of hardware structure diagram of the wifi network jockey place equipment that the embodiment of the present invention provides, comprise processor 501 and nonvolatile memory 502, processor 501 is connected by bus with nonvolatile memory 502.Wherein, processor 501 is for performing the machine readable instructions module of nonvolatile memory 502 storage.Nonvolatile memory 502 stores the executable machine readable instructions module of processor 501.When being stored in the instruction module in nonvolatile memory 502 and being performed by processor 501, the function of aforementioned judging unit 301, reset unit 302, search unit 303 and acquiring unit 304 can be realized.
In the description of this specification, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, not necessarily must for identical embodiment or example to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in one or more embodiment in office or example in an appropriate manner.In addition, when not conflicting, the feature of the different embodiment described in this specification or example and different embodiment or example can carry out combining and combining by those skilled in the art.
The feature of the different embodiment described in this specification and different embodiment can carry out combining and combining by those skilled in the art.Module in all embodiments of the present invention or unit, universal integrated circuit can be passed through, such as CPU (CentralProcessingUnit, central processing unit), or realized by ASIC (ApplicationSpecificIntegratedCircuit, application-specific integrated circuit (ASIC)).
Step in all embodiment methods of the present invention can be carried out order according to actual needs and be adjusted, merges and delete; Module in all embodiment device of the present invention or unit can carry out merging, divide and deleting according to actual needs.
Describe and can be understood in flow chart or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
In flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the executable instruction for realizing logic function can be considered to, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise the system of processor or other can from instruction execution system, device or equipment instruction fetch and perform the system of instruction) use, or to use in conjunction with these instruction execution systems, device or equipment.With regard to this specification, " computer-readable medium " can be anyly can to comprise, store, communicate, propagate or transmission procedure for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasablely edit read-only memory (EPROM or flash memory), fiber device, and portable optic disk read-only memory (CDROM).In addition, computer-readable medium can be even paper or other suitable media that can print described program thereon, because can such as by carrying out optical scanner to paper or other media, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described program, be then stored in computer storage.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.Although illustrate and describe embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, revises, replace and modification.
Above disclosedly be only preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (10)

1. the method for attachment of Wireless Fidelity wifi network, is characterized in that, comprising:
When detecting that terminal equipment is connected to wifi network, judge described wifi network whether accessing Internet;
If the non-accessing Internet of described wifi network, resets to described wifi network, new search of laying equal stress on can connect by wifi network.
2. method according to claim 1, is characterized in that, if the non-accessing Internet of described wifi network, described connection described wifi network resets, and before new search of laying equal stress on can connect by wifi network, also comprises:
Judge whether wifi network number of resets reaches threshold value;
If reach, then described wifi network is kept to connect;
If do not reach, then determine that performing described connection described wifi network resets, new search of laying equal stress on can carry out by wifi network the step that connects.
3. method according to claim 1, is characterized in that, if the non-accessing Internet of described wifi network, described connection described wifi network resets, and before new search of laying equal stress on can connect by wifi network, also comprises:
Obtain the positional information of described terminal equipment;
Judge whether the positional information of described terminal equipment matches with the conventional wifi network positional information prestored;
If match, then determine to perform to connect described wifi network and reset, new search of laying equal stress on can carry out by wifi network the step that connects;
Otherwise, keep described wifi network to connect.
4. the method according to any one of claim 1-3, is characterized in that, describedly again searches for available wifi network and connects, and comprising:
According to network signal intensity, the available wifi network searched is sorted;
Judge whether terminal equipment and each available network had occurred to be connected before reset successively according to the order of network signal intensity from strong to weak, and connect terminal equipment and connect before reset, and the wifi network that network signal intensity is the strongest.
5. the method according to any one of claim 1-3, is characterized in that, describedly judges described wifi network whether accessing Internet, comprising:
Judging whether described wifi network exists uploads or/and downloading flow;
If do not exist, then determine the non-accessing Internet of described wifi network.
6. a Wireless Fidelity wifi network jockey, is characterized in that, comprising:
Judging unit, for when detecting that terminal equipment is connected to wifi network, judges described wifi network whether accessing Internet;
Reset unit, for when described judging unit judges that described wifi network is not linked into the Internet, connects described wifi network and resets;
Search unit, for when described reset unit resets to wifi network, again searches for available network and connects.
7. device according to claim 6, is characterized in that,
Described judging unit, if also for the non-accessing Internet of described wifi network, judges whether wifi network number of resets reaches threshold value;
Described reset unit, if also reach threshold value for described wifi network number of resets, keeps described wifi network to connect; If described wifi network number of resets does not reach threshold value, determine that performing described connection described wifi network resets.
8. device according to claim 6, is characterized in that, described device also comprises:
Acquiring unit, if for the non-accessing Internet of described wifi network, obtain the positional information of described terminal equipment;
Described judging unit, also for judging whether the positional information of described terminal equipment matches with the conventional wifi network positional information prestored;
Described reset unit, if also for the judged result of described judging unit for matching, then determine to perform to connect described wifi network and reset, new search of laying equal stress on can carry out by wifi network the step that connects; Otherwise, keep described wifi network to connect.
9. the device described in claim 6-8, is characterized in that,
Described search unit, specifically for sorting to the available wifi network searched according to network signal intensity; Judge whether terminal equipment and each available network had occurred to be connected before reset successively according to the order of network signal intensity from strong to weak, and connect terminal equipment and connect before reset, and the wifi network that network signal intensity is the strongest.
10. the device described in claim 6-8, is characterized in that,
Described judging unit, uploads or/and downloading flow specifically for judging whether described wifi network exists; If do not exist, then determine the non-accessing Internet of described wifi network.
CN201510633736.7A 2015-09-28 2015-09-28 A kind of wifi network connection method and device Expired - Fee Related CN105338594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510633736.7A CN105338594B (en) 2015-09-28 2015-09-28 A kind of wifi network connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510633736.7A CN105338594B (en) 2015-09-28 2015-09-28 A kind of wifi network connection method and device

Publications (2)

Publication Number Publication Date
CN105338594A true CN105338594A (en) 2016-02-17
CN105338594B CN105338594B (en) 2019-04-05

Family

ID=55288780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510633736.7A Expired - Fee Related CN105338594B (en) 2015-09-28 2015-09-28 A kind of wifi network connection method and device

Country Status (1)

Country Link
CN (1) CN105338594B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722169A (en) * 2016-02-19 2016-06-29 吴伟东 Method and system for intelligent networking of mobile phone
CN105744483A (en) * 2016-04-26 2016-07-06 Tcl移动通信科技(宁波)有限公司 Boot network connection control method and system of mobile terminal
CN106028426A (en) * 2016-05-19 2016-10-12 珠海市魅族科技有限公司 WIFI (Wireless-Fidelity) network connection method and device
CN106453953A (en) * 2016-11-24 2017-02-22 维沃移动通信有限公司 Wireless access point connection method and mobile terminal
CN106792848A (en) * 2016-12-13 2017-05-31 惠州Tcl移动通信有限公司 A kind of WIFI hot spot reset processing method and system based on mobile terminal
CN107333286A (en) * 2017-08-04 2017-11-07 广东欧珀移动通信有限公司 Wifi hotspot connection management method, device and terminal device
CN114500241A (en) * 2022-04-15 2022-05-13 荣耀终端有限公司 Abnormal reset processing method and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079286A (en) * 2013-01-05 2013-05-01 广东欧珀移动通信有限公司 Method and device for intelligently disconnecting wifi (wireless fidelity) hot points
CN104601801A (en) * 2014-12-24 2015-05-06 广东欧珀移动通信有限公司 WiFi hotspot connecting method and system for mobile terminal with screen locked
CN104768198A (en) * 2015-03-23 2015-07-08 努比亚技术有限公司 Mobile terminal and intelligent switching method and device for terminal network of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079286A (en) * 2013-01-05 2013-05-01 广东欧珀移动通信有限公司 Method and device for intelligently disconnecting wifi (wireless fidelity) hot points
CN104601801A (en) * 2014-12-24 2015-05-06 广东欧珀移动通信有限公司 WiFi hotspot connecting method and system for mobile terminal with screen locked
CN104768198A (en) * 2015-03-23 2015-07-08 努比亚技术有限公司 Mobile terminal and intelligent switching method and device for terminal network of mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722169A (en) * 2016-02-19 2016-06-29 吴伟东 Method and system for intelligent networking of mobile phone
CN105744483A (en) * 2016-04-26 2016-07-06 Tcl移动通信科技(宁波)有限公司 Boot network connection control method and system of mobile terminal
CN106028426A (en) * 2016-05-19 2016-10-12 珠海市魅族科技有限公司 WIFI (Wireless-Fidelity) network connection method and device
CN106453953A (en) * 2016-11-24 2017-02-22 维沃移动通信有限公司 Wireless access point connection method and mobile terminal
CN106453953B (en) * 2016-11-24 2020-02-18 维沃移动通信有限公司 Wireless access point connection method and mobile terminal
CN106792848A (en) * 2016-12-13 2017-05-31 惠州Tcl移动通信有限公司 A kind of WIFI hot spot reset processing method and system based on mobile terminal
CN107333286A (en) * 2017-08-04 2017-11-07 广东欧珀移动通信有限公司 Wifi hotspot connection management method, device and terminal device
CN114500241A (en) * 2022-04-15 2022-05-13 荣耀终端有限公司 Abnormal reset processing method and terminal equipment

Also Published As

Publication number Publication date
CN105338594B (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN105338594A (en) wifi network connection method and device
JP6941689B2 (en) Smart broadcast processing method and equipment
WO2017020654A1 (en) Wireless network access method and device
EP3975503A1 (en) Esim card replacement method and related device
US9749329B2 (en) Network connection managing device, system and method
CN103136342B (en) The searching method of application A PP, system and search server
WO2016173348A1 (en) Network access method and mobile communications terminal
CN103619054A (en) Method and device for selecting network frequency band and router
CN104767767A (en) Method, device and system for sharing Internet access data and network equipment
WO2017198015A1 (en) Software upgrading method and apparatus
WO2016173349A1 (en) Network access method and mobile communications terminal
CN110086613B (en) Method and device for burning secret key, digital television board card and storage medium
CN104601262A (en) Information processing method and mobile equipment
CN105337822A (en) Main playback device selection method and related device
CN105975303A (en) Upgrade control method and device
CN110990733A (en) Page loading method and device, electronic equipment and medium
CN109446445B (en) Resource acquisition method and device
CN104519482A (en) Equipment parameter configuration method and device
CN105392142A (en) Wireless fidelity Wi-Fi access point information storage method and device
CN107708141B (en) Wireless network scanning method, mobile terminal and storage medium
CN113515420B (en) Test method and test system
CN111131131B (en) Vulnerability scanning method and device, server and readable storage medium
CN109032617B (en) Control method and control device for automatically deleting installation package
CN111817878A (en) Networking method and device of intelligent equipment and cloud server
CN107370646B (en) Network sharing method, television and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190405