CN107708175A - A kind of WiFi automatic connection methods, system and terminal device - Google Patents

A kind of WiFi automatic connection methods, system and terminal device Download PDF

Info

Publication number
CN107708175A
CN107708175A CN201711204752.XA CN201711204752A CN107708175A CN 107708175 A CN107708175 A CN 107708175A CN 201711204752 A CN201711204752 A CN 201711204752A CN 107708175 A CN107708175 A CN 107708175A
Authority
CN
China
Prior art keywords
preserved
time
signal intensity
disabling
signal strength
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
CN201711204752.XA
Other languages
Chinese (zh)
Other versions
CN107708175B (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 CN201711204752.XA priority Critical patent/CN107708175B/en
Publication of CN107708175A publication Critical patent/CN107708175A/en
Application granted granted Critical
Publication of CN107708175B publication Critical patent/CN107708175B/en
Active 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/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Abstract

The application is applied to wireless communication technology field, there is provided a kind of WiFi automatic connection methods, system and terminal device, wherein, method includes:AP is scanned, obtains all AP preserved scanned;Connection request is sent to all AP preserved;When all AP for having preserved are disabled, each AP preserved signal intensity is obtained;According to each AP preserved signal intensity, automatic concatenate rule corresponding to setting.The embodiment of the present application is by when all AP that have preserved scanned are disabled, obtaining each AP preserved signal intensity;And according to each AP preserved signal intensity, automatic concatenate rule corresponding to setting, intelligent terminal is timely automatically connected to WiFi network, improve network connection efficiency.

Description

A kind of WiFi automatic connection methods, system and terminal device
Technical field
The application belongs to wireless communication technology field, more particularly to a kind of WiFi automatic connection methods, system and terminal are set It is standby.
Background technology
Wireless communication technology higher as current frequency of use WiFi (Wireless Fidelity, Wireless Fidelity), covers Lid rate is extremely extensive, for example, the public place such as commercial center, station, airport, can provide free WiFi network.AP (Wireless Access Point, wireless access points) are the access points of intelligent communication device access WiFi network, are used for Each intelligent communication device is connected together by WiFi network, then by WiFi network access network based on ethernet.Generally, intelligence is logical Believe that equipment after WiFi network is accessed by AP, can preserve the AP, to be accessed when next time, the AP was arrived in scanning automatically by the AP WiFi network.
However, current intelligent communication device can disable within a certain period of time when by more networking failures of a certain AP The AP, it is all changeless generally to disable the time, only can just be carried out in the case where disabling time time-out next time automatic Connection, causes intelligent terminal can not timely be automatically connected to WiFi network.
Apply for content
In view of this, the embodiment of the present application provides a kind of WiFi automatic connection methods, system and terminal device, Ke Yigen According to signal intensities of AP when disabled, automatic concatenate rule corresponding to setting, intelligent terminal is set timely to connect automatically WiFi network is connected to, improves network connection efficiency.
The first aspect of the embodiment of the present application provides a kind of WiFi automatic connection methods, and it includes:
AP is scanned, obtains all AP preserved scanned;
Connection request is sent to all AP preserved;
When all AP for having preserved are disabled, each AP preserved signal intensity is obtained;
According to each AP preserved signal intensity, automatic concatenate rule corresponding to setting.
The second aspect of the embodiment of the present application provides a kind of WiFi automatic connecting systems, and it includes:
Scan module, for scanning AP, obtain all AP preserved scanned;
Sending module, for sending connection request to all AP preserved;
Acquisition module, for all AP for having preserved it is disabled when, obtain each AP preserved letter Number intensity;
Setup module, for the signal intensity according to each AP preserved, automatic concatenate rule corresponding to setting.
The third aspect of the embodiment of the present application provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, described in the computing device during computer program The step of realizing any of the above-described methods described.
The fourth aspect of the embodiment of the present application provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, and the computer program realizes the step of any of the above-described methods described when being executed by processor Suddenly.
The embodiment of the present application is by when all AP that have preserved scanned are disabled, obtaining each AP preserved Signal intensity;And according to each AP preserved signal intensity, automatic concatenate rule corresponding to setting, make intelligent end End equipment can timely be automatically connected to WiFi network, improve network connection efficiency.
Brief description of the drawings
, below will be to embodiment or description of the prior art in order to illustrate more clearly of the technical scheme in the embodiment of the present application In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description are only some of the application Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
The schematic flow sheet for the WiFi automatic connection methods that Fig. 1 the embodiment of the present application one provides;
Fig. 2 is the schematic flow sheet for the step S104 that the embodiment of the present application two provides;
Fig. 3 is the schematic flow sheet for the step S104 that the embodiment of the present application three provides;
Fig. 4 is the signal intensity and the mapping table of disabling time that the embodiment of the present application three provides;
Fig. 5 is the structural representation for the WiFi automatic connecting systems that the embodiment of the present application four provides;
Fig. 6 is the structural representation for the setup module that the embodiment of the present application five provides;
Fig. 7 is the structural representation for the setup module that the embodiment of the present application six provides;
Fig. 8 is the structural representation for the terminal device that the embodiment of the present application seven provides.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present application.However, it will be clear to one skilled in the art that there is no these specific The application can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders the description of the present application.
In order to illustrate technical scheme described herein, illustrated below by specific embodiment.
Embodiment one:
The present embodiment provides a kind of WiFi automatic connection methods, and it can apply to arbitrarily have radio communication function, WiFi network intelligent terminal can be automatically connected to, for example, mobile phone, tablet personal computer, Intelligent bracelet, personal digital assistant with And controlling intelligent household appliances of air-conditioning, refrigerator, television set etc etc..
As shown in figure 1, the WiFi automatic connection methods that the present embodiment provides, including:
Step S101:AP is scanned, obtains all AP preserved scanned.
In a particular application, terminal device, can be to the AP after first time is connected to corresponding WiFi network by AP Preserved, so that when the AP is arrived in scanning next time, corresponding WiFi network is connected to automatically by the AP.Preserving AP is specifically Refer to the network address (i.e. IP address (Internet Protocol Address, internet protocol address)) for preserving the AP and be somebody's turn to do The WiFi passwords of WiFi network corresponding to AP.
In addition, in network environment residing for terminal device, a WiFi network is generally comprised more than, it is more likely that including one Individual above WiFi network, terminal device are likely to save one or more WiFi nets in its residing network environment The AP of network.Therefore, after AP is scanned, one or more AP may be scanned, in the AP scanned, is also likely to The AP preserved including one or more.
Step S102:Connection request is sent to all AP preserved.
In a particular application, because terminal device has saved AP network address and corresponding WiFi passwords, therefore When scanning is to the AP preserved, the connection request for including WiFi passwords can be automatically sent according to AP network address, with Corresponding WiFi network is automatically connected to by the AP preserved.There is password AP, it is necessary in first connection for unsaved, Connect manually and input WiFi passwords;Exempt from close AP, it is necessary in first connection for unsaved, connect manually.
It should be noted that for the AP preserved, if its corresponding network address or WiFi passwords are modified or preserved Time exceeds the time limit, then needs the connected mode according to above-mentioned unsaved AP, manually connection.
Step S103:When all AP for having preserved are disabled, the signal for obtaining each AP preserved is strong Degree.
In a particular application, if being automatically connected to AP failure, the AP can be disabled, the reason for automatic connection failure Be probably WiFi network corresponding to the AP signal quality is bad, number of users (terminal device that the same time is connected to the AP Quantity) more and network address or WiFi passwords are modified or the holding time exceeds the time limit.
In the present embodiment, consider signal quality factors to the influence caused by automatic connection, the quality of signal quality emphatically Generally weighed by the size of signal intensity.
In other embodiments, can also when the AP preserved is disabled, obtain network address corresponding to the AP or Holding time of WiFi passwords, the number of users for being connected to the AP or the AP etc., to consider that these factors are made to automatic connection Into influence.
Step S104:According to each AP preserved signal intensity, automatic concatenate rule corresponding to setting.
In a particular application, can be set corresponding with the signal intensity of the AP automatic according to each AP signal intensity Concatenate rule, intelligent terminal is timely automatically connected to WiFi network, improve network connection efficiency.
In one embodiment, step S104 is specifically included:
According to each AP preserved signal intensity, the corresponding disabling time is set;Wherein, the signal intensity Size and the length of the disabling time it is negatively correlated.
In a particular application, when AP signal intensity is stronger, a relatively short disabling time can be set so that Terminal device can send to the AP and connect after AP failures are automatically connected to again after a shorter disabling time Request is connect, to be timely connected to the AP, shortens the Connection Time, improves joint efficiency;, can be with when AP signal intensity is weaker One relatively long disabling time is set, to save terminal device when signal quality is bad, frequently sends connection request Spent electric energy, reduce power consumption.For example, when signal intensity is respectively A, B, C, D, the corresponding disabling time be respectively a, b, c, d;Wherein, A > B > C > D and a < b < c < d., can be with by making the size of signal intensity and the length of disabling time negatively correlated According to the size of signal intensity, the regulation disabling time of adaptability.
In one embodiment, the WiFi automatic connection methods also include:
When not scanning the AP preserved, the step of disabling all AP preserved, and returning to the scanning AP, (returns Perform step S101);
Be successfully connected to it is any preserved AP when, stop scanning.
In a particular application, if not scanning the AP preserved, need to rescan, when be successfully connected to it is any During the AP of preservation, then other AP need not be then connected to, can stop scanning, to save power consumption, except non-user is manually entered Command adapted thereto triggering terminal equipment rescans AP.
The present embodiment is by when all AP that have preserved scanned are disabled, obtaining each AP preserved letter Number intensity;And according to each AP preserved signal intensity, automatic concatenate rule corresponding to setting, set intelligent terminal It is standby to be timely automatically connected to WiFi network, improve network connection efficiency.
Embodiment two
The present embodiment is the further refinement to step S104 in embodiment one on the basis of embodiment one.Such as Fig. 2 institutes Show, in the present embodiment, step S104 includes:
Step S201:When the signal intensity of the AP preserved is in the range of weak signal strength, preserved described AP disabling time be arranged to the very first time.
In a particular application, weak signal strength scope and the very first time can be configured according to being actually needed, for example, Weak signal strength scope can be arranged to [- 120db, -85db], the very first time is arranged to 30S.
Step S202:When the signal intensity of the AP preserved is in strong signal strength range, preserved described AP disabling time be arranged to for the second time;Wherein, it is strong to be more than the weak signal for the lower limit of the strong signal strength range The higher limit of scope is spent, the length of the very first time is more than the length of second time.
In a particular application, strong signal strength range and the second time can also be configured according to being actually needed, for example, Strong signal strength range can be arranged to (- 85db, -30db], the second time was arranged to 20S.
It should be appreciated that weak signal strength scope and strong signal strength range are not necessarily two continuous numerical value models Enclose or two discontinuous number ranges.For example, weak signal strength scope can be arranged to [- 120db ,- 80db], strong signal strength range is arranged to (- 75db, -30db].
In a particular application, can also be set according to more than two unlike signal strength ranges the disabling time, and There is no lap between different signal strength ranges, the number and range size of specific signal strength range can bases It is actually needed and is configured.For example, can be according to weak signal strength scope, secondary weak signal strength scope, secondary strong signal intensity model Enclose, strong signal strength range, totally four signal strength ranges disable the time to set.It is corresponding, in one embodiment, step S104 includes:
When the signal intensity of the AP preserved is in the range of weak signal strength, by the disabling of the AP preserved Time is arranged to the very first time;
When the signal intensity of the AP preserved is in the range of time weak signal strength, by the taboo of the AP preserved It was arranged to for the 3rd time with the time;
When the signal intensity of the AP preserved is in time strong signal strength range, by the taboo of the AP preserved It was arranged to for the 4th time with the time;
When the signal intensity of the AP preserved is in strong signal strength range, by the disabling of the AP preserved Time was arranged to for the second time;
Wherein, the higher limit of time strong signal strength range described in the lower limit > of the strong signal strength range, described time The higher limit of time weak signal strength scope described in the lower limit > of strong signal strength range, under the secondary weak signal strength scope The higher limit of weak signal strength scope described in limit value >, the 4th time > institutes described in the 3rd time > described in the very first time > Stated for the second time.
Specifically, in an example, can be strong by weak signal strength scope, secondary weak signal strength scope, secondary strong signal Degree scope, strong signal strength range and corresponding disabling time are respectively set to:[- 120db, -100db], (- 100db, - 85db], (- 85db, -65db], (- 65db, -30db] and 30S (second), 25S, 20S, 15S.
Similarly, four signal strength ranges are not necessarily continuous number range or four discontinuous numerical value Scope.For example, can be by weak signal strength scope, secondary weak signal strength scope, secondary strong signal strength range, strong signal intensity model Enclose and be respectively set to:[- 120db, -100db], [- 95db, -85db], [- 80db, -65db], [- 60db, -30db].
Principle based on above-mentioned setting signal strength range and disabling time, in one embodiment, step S104 may be used also With including:
When the signal intensity of the AP preserved is in middle signal strength range, by the disabling of the AP preserved Time was arranged to for the 5th time;
Wherein, the higher limit of middle signal strength range described in the lower limit > of the strong signal strength range, the middle letter The higher limit of weak signal strength scope, the 5th time > institutes described in the very first time > described in the lower limit > of number strength range Stated for the second time.
The present embodiment is by setting different signal strength ranges and corresponding disabling time, according to the AP preserved letter Signal strength range residing for number intensity, carry out the regulation of the adaptability AP disabling time, can when signal intensity is stronger, and When be connected to WiFi network, improve joint efficiency;When signal intensity is weaker, connection number is reduced, reduces power consumption.
Embodiment three
The present embodiment is the further refinement to step S104 on the basis of embodiment one or two.As shown in figure 3, it is based on Embodiment one or two, in the present embodiment, step S104 include:
Step S301:When the signal intensity of the AP preserved reduces, the AP preserved described in extension the disabling time;
Step S302:During the signal intensity increase of the AP preserved, the AP preserved described in shortening the disabling time.
In a particular application, because AP signal intensity is not usually changeless, but can with AP connections with The change for the signal intensity netted very much and change, therefore, corresponding disable is being provided with according to the AP signal intensity preserved , should be according to the change of signal intensity, the extension or shortening of adaptability when the signal intensity of the AP changes after time The disabling time of the AP.
In one embodiment, after step s 104, return to step S103, to obtain each AP's preserved again Signal intensity, so as to judge whether each AP preserved signal intensity changes.
Similarly, in one embodiment, also included based on embodiment two, step S104:
The signal intensity of the AP preserved in weak signal strength scope by changing into strong signal strength range When interior, the disabling time of the AP preserved was revised as the second time by the very first time;
The signal intensity of the AP preserved in strong signal strength range by changing into weak signal strength scope By the second time modification it is the very first time by the disabling time of the AP preserved when interior.
As shown in figure 4, exemplary shows signal intensity with disabling the relation table of time, wherein, A1, A2 ..., An-1 and An represent different signal intensity or signal strength range, T1, T2 ..., Tn-1 and Tn be when representing different disablings Between, n is positive integer more than 1 and n.
The signal intensity for the AP that the present embodiment has been preserved by detecting in real time, and fitted according to the change of the signal intensity of the AP The disabling time corresponding to the modification of answering property, the time can be disabled according to corresponding to dynamically adjusting AP change in signal strength, can Maximumlly to improve automatic joint efficiency and save power consumption.
Example IV
The present embodiment provides a kind of WiFi automatic connecting systems, and for performing the method and step in embodiment one, it can be with It is arbitrarily with radio communication function, the software systems that can be automatically connected in the intelligent terminal of WiFi network.
As shown in figure 5, the WiFi automatic connecting systems 100 that the present embodiment is provided, including:
Scan module 101, for scanning AP, obtain all AP preserved scanned;
Sending module 102, for sending connection request to all AP preserved;
Acquisition module 103, for all AP for having preserved it is disabled when, obtain each AP's preserved Signal intensity;
Setup module 104, for the signal intensity according to each AP preserved, automatic connection rule corresponding to setting Then.
In one embodiment, the setup module is specifically used for:
According to each AP preserved signal intensity, the corresponding disabling time is set;Wherein, the signal intensity Size and the length of the disabling time it is negatively correlated.
In one embodiment, the WiFi automatic connecting systems also include:
Module being returned, during for not scanning the AP preserved, disabling all AP preserved, and return to the scanning AP The step of;
Stopping modular, for be successfully connected to it is any preserved AP when, stop scanning.
The present embodiment is by when all AP that have preserved scanned are disabled, obtaining each AP preserved letter Number intensity;And according to each AP preserved signal intensity, automatic concatenate rule corresponding to setting, set intelligent terminal It is standby to be timely automatically connected to WiFi network, improve network connection efficiency.
Embodiment five
In the present embodiment, the setup module in example IV includes being used for the knot for performing the method and step in embodiment two Structure.As shown in fig. 6, setup module 104 includes:
First setting unit 201, will when the signal intensity for the AP preserved is in the range of weak signal strength The disabling time of the AP preserved is arranged to the very first time;
Second setting unit 202, will when the signal intensity for the AP preserved is in strong signal strength range The disabling time of the AP preserved was arranged to for the second time;Wherein, the lower limit of the strong signal strength range is more than institute The higher limit of weak signal strength scope is stated, the very first time is more than second time.
In one embodiment, the setup module includes:
First setting unit, when the signal intensity for the AP preserved is in the range of weak signal strength, by institute The disabling time for stating the AP preserved is arranged to the very first time;
3rd setting unit, will when the signal intensity for the AP preserved is in the range of time weak signal strength The disabling time of the AP preserved was arranged to for the 3rd time;
4th setting unit, will when the signal intensity for the AP preserved is in time strong signal strength range The disabling time of the AP preserved was arranged to for the 4th time;
Second setting unit, when the signal intensity for the AP preserved is in strong signal strength range, by institute The disabling time for stating the AP preserved was arranged to for the second time;
Wherein, the higher limit of time strong signal strength range described in the lower limit > of the strong signal strength range, described time The higher limit of time weak signal strength scope described in the lower limit > of strong signal strength range, under the secondary weak signal strength scope The higher limit of weak signal strength scope described in limit value >, the 4th time > institutes described in the 3rd time > described in the very first time > Stated for the second time.
In one embodiment, the setup module also includes:
5th setting unit, when the signal intensity for the AP preserved is in middle signal strength range, by institute The disabling time for stating the AP preserved was arranged to for the 5th time;
Wherein, the higher limit of middle signal strength range described in the lower limit > of the strong signal strength range, the middle letter The higher limit of weak signal strength scope, the 5th time > institutes described in the very first time > described in the lower limit > of number strength range Stated for the second time.
The present embodiment is by setting different signal strength ranges and corresponding disabling time, according to the AP preserved letter Signal strength range residing for number intensity, carry out the regulation of the adaptability AP disabling time, can when signal intensity is stronger, and When be connected to WiFi network, improve joint efficiency;When signal intensity is weaker, connection number is reduced, reduces power consumption.
Embodiment six
In the present embodiment, the setup module in example IV includes being used for the knot for performing the method and step in embodiment three Structure.As shown in fig. 7, setup module 104 includes:
Time lengthening unit 301, when the signal intensity for the AP preserved reduces, extend described in the AP that has preserved The disabling time;
Time shortens unit 302, during signal intensity increase for the AP preserved, shorten described in the AP that has preserved The disabling time.
In one embodiment, the WiFi automatic connecting systems also include:
Module is returned to, for returning to acquisition module, to obtain each AP preserved signal intensity again, so as to judge Whether each AP preserved signal intensity changes.
Similarly, in one embodiment, based on embodiment five, setup module also includes:
Very first time adjustment unit, the signal intensity for the AP preserved in weak signal strength scope by changing During in strong signal strength range, the disabling time of the AP preserved was revised as the second time by the very first time;
Second time adjustment unit, the signal intensity for the AP preserved in strong signal strength range by changing By the second time modification it is the very first time by the disabling time of the AP preserved during in the range of weak signal strength.
The signal intensity for the AP that the present embodiment has been preserved by detecting in real time, and fitted according to the change of the signal intensity of the AP The disabling time corresponding to the modification of answering property, the time can be disabled according to corresponding to dynamically adjusting AP change in signal strength, can Maximumlly to improve automatic joint efficiency and save power consumption.
Embodiment seven
Fig. 8 is the schematic diagram for the terminal device that one embodiment of the application provides.As shown in figure 8, terminal device 8 wraps Include:Processor 80, memory 81 and it is stored in the computer that can be run in the memory 81 and on the processor 80 Program 82.The processor 80 is realized when performing the computer program 82 in above-mentioned each WiFi automatic connection methods embodiment The step of, such as the step S101 to S104 shown in Fig. 1.Or the processor 80 is real when performing the computer program 82 The function of each module/unit in existing above-mentioned each device embodiment, such as the function of module 101 to 104 shown in Fig. 5.
Exemplary, the computer program 82 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 81, and are performed by the processor 80, to complete the application.Described one Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used for Implementation procedure of the computer program 82 in the terminal device 8 is described.For example, the computer program 82 can be divided It is cut into scan module, sending module, acquisition module, setup module, each module concrete function is as follows:
Scan module, for scanning AP, obtain all AP preserved scanned;
Sending module, for sending connection request to all AP preserved;
Acquisition module, for all AP for having preserved it is disabled when, obtain each AP preserved letter Number intensity;
Setup module, for the signal intensity according to each AP preserved, automatic concatenate rule corresponding to setting.
The terminal device 8 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The terminal device may include, but be not limited only to, processor 80, memory 81.It will be understood by those skilled in the art that Fig. 8 The only example of terminal device 8, the restriction to terminal device 8 is not formed, can included than illustrating more or less portions Part, some parts or different parts are either combined, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 80 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 81 can be the internal storage unit of the terminal device 8, such as the hard disk of terminal device 8 or interior Deposit.The memory 81 can also be the External memory equipment of the terminal device 8, such as be equipped with the terminal device 8 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), security value (s) (Secure Digital, SD) card, dodge Deposit card (Flash Card) etc..Further, the memory 81 can also both include the storage inside list of the terminal device 8 Member also includes External memory equipment.The memory 81 is used to store needed for the computer program and the terminal device Other programs and data.The memory 81 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal device and method, can be with Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-mentioned implementation All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or some intermediate forms etc..Computer-readable Jie Matter can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, mobile hard disk, Magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is only to illustrate the technical scheme of the application, rather than its limitations;Although with reference to foregoing reality Example is applied the application is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical scheme of the application, all should Within the protection domain of the application.

Claims (10)

  1. A kind of 1. WiFi automatic connection methods, it is characterised in that including:
    AP is scanned, obtains all AP preserved scanned;
    Connection request is sent to all AP preserved;
    When all AP for having preserved are disabled, each AP preserved signal intensity is obtained;
    According to each AP preserved signal intensity, automatic concatenate rule corresponding to setting.
  2. 2. WiFi automatic connection methods as claimed in claim 1, it is characterised in that each AP preserved of the basis Signal intensity, automatic concatenate rule corresponding to setting, including:
    According to each AP preserved signal intensity, the corresponding disabling time is set;Wherein, the signal intensity is big It is small negatively correlated with the length of the disabling time.
  3. 3. WiFi automatic connection methods as claimed in claim 1 or 2, it is characterised in that preserved described in the basis is each AP signal intensity, automatic concatenate rule corresponding to setting, including:
    When the signal intensity of the AP preserved is in the range of weak signal strength, by the disabling time of the AP preserved It is arranged to the very first time;
    When the signal intensity of the AP preserved is in strong signal strength range, by the disabling time of the AP preserved It was arranged to for the second time;Wherein, the lower limit of the strong signal strength range is more than the higher limit of the weak signal strength scope, The very first time is more than second time.
  4. 4. WiFi automatic connection methods as claimed in claim 2, it is characterised in that methods described also includes:
    When the signal intensity of the AP preserved reduces, the AP preserved described in extension the disabling time;
    During the signal intensity increase of the AP preserved, the AP preserved described in shortening the disabling time.
  5. 5. WiFi automatic connection methods as claimed in claim 1, it is characterised in that methods described also includes:
    When not scanning the AP preserved, the step of disabling all AP preserved, and return to the scanning AP;
    Be successfully connected to it is any preserved AP when, stop scanning.
  6. A kind of 6. WiFi automatic connecting systems, it is characterised in that including:
    Scan module, for scanning AP, obtain all AP preserved scanned;
    Sending module, for sending connection request to all AP preserved;
    Acquisition module, for all AP for having preserved it is disabled when, the signal for obtaining each AP preserved is strong Degree;
    Setup module, for the signal intensity according to each AP preserved, automatic concatenate rule corresponding to setting.
  7. 7. WiFi automatic connecting systems as claimed in claim 6, it is characterised in that the setup module is specifically used for:
    According to each AP preserved signal intensity, the corresponding disabling time is set;Wherein, the signal intensity is big It is small negatively correlated with the length of the disabling time.
  8. 8. WiFi automatic connecting systems as claimed in claims 6 or 7, it is characterised in that the setup module includes:
    First setting unit, when the signal intensity for the AP preserved is in the range of weak signal strength, by described in The AP of the preservation disabling time is arranged to the very first time;
    Second setting unit, when the signal intensity for the AP preserved is in strong signal strength range, by described in The AP of the preservation disabling time was arranged to for the second time;Wherein, the lower limit of the strong signal strength range is more than the weak letter The higher limit of number strength range, the very first time are more than second time;
    Time lengthening unit, when the signal intensity for the AP preserved reduces, the AP preserved described in extension disabling Time;
    Time shortens unit, when the signal intensity for the AP preserved increases, the AP preserved described in shortening disabling Time.
  9. 9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program The step of any one methods described.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 methods described.
CN201711204752.XA 2017-11-27 2017-11-27 WiFi automatic connection method, system and terminal equipment Active CN107708175B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711204752.XA CN107708175B (en) 2017-11-27 2017-11-27 WiFi automatic connection method, system and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711204752.XA CN107708175B (en) 2017-11-27 2017-11-27 WiFi automatic connection method, system and terminal equipment

Publications (2)

Publication Number Publication Date
CN107708175A true CN107708175A (en) 2018-02-16
CN107708175B CN107708175B (en) 2020-02-14

Family

ID=61180998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711204752.XA Active CN107708175B (en) 2017-11-27 2017-11-27 WiFi automatic connection method, system and terminal equipment

Country Status (1)

Country Link
CN (1) CN107708175B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108471623A (en) * 2018-06-12 2018-08-31 Oppo广东移动通信有限公司 WiFi connections method of adjustment, device, mobile terminal and storage medium
CN110418396A (en) * 2019-07-12 2019-11-05 宇龙计算机通信科技(深圳)有限公司 Control method, device, terminal and the storage medium of WIFI network
CN114710586A (en) * 2022-03-25 2022-07-05 惠州高盛达智显科技有限公司 WiFi automatic connection implementation method based on position relation

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997768A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Method and device for preventing access to invalid Wi-Fi hot spots
CN105208629A (en) * 2015-08-11 2015-12-30 广东欧珀移动通信有限公司 Automatic AP access method and device in WiFi communication
CN105828378A (en) * 2015-08-27 2016-08-03 维沃移动通信有限公司 Wireless fidelity (WIFI) connection method and terminal equipment
CN106604314A (en) * 2016-12-07 2017-04-26 广东欧珀移动通信有限公司 Network access method for Wi-Fi roaming and terminal device
CN106851780A (en) * 2016-12-07 2017-06-13 广东欧珀移动通信有限公司 The method and terminal of a kind of network connection
CN107277896A (en) * 2017-08-08 2017-10-20 广东欧珀移动通信有限公司 Wifi hotspot management method, device and terminal device
WO2017188713A1 (en) * 2016-04-26 2017-11-02 엘지전자 주식회사 Method for reducing bss color-based power consumption in wireless lan system, and device therefor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997768A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Method and device for preventing access to invalid Wi-Fi hot spots
CN105208629A (en) * 2015-08-11 2015-12-30 广东欧珀移动通信有限公司 Automatic AP access method and device in WiFi communication
CN105828378A (en) * 2015-08-27 2016-08-03 维沃移动通信有限公司 Wireless fidelity (WIFI) connection method and terminal equipment
WO2017188713A1 (en) * 2016-04-26 2017-11-02 엘지전자 주식회사 Method for reducing bss color-based power consumption in wireless lan system, and device therefor
CN106604314A (en) * 2016-12-07 2017-04-26 广东欧珀移动通信有限公司 Network access method for Wi-Fi roaming and terminal device
CN106851780A (en) * 2016-12-07 2017-06-13 广东欧珀移动通信有限公司 The method and terminal of a kind of network connection
CN107277896A (en) * 2017-08-08 2017-10-20 广东欧珀移动通信有限公司 Wifi hotspot management method, device and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108471623A (en) * 2018-06-12 2018-08-31 Oppo广东移动通信有限公司 WiFi connections method of adjustment, device, mobile terminal and storage medium
CN110418396A (en) * 2019-07-12 2019-11-05 宇龙计算机通信科技(深圳)有限公司 Control method, device, terminal and the storage medium of WIFI network
CN114710586A (en) * 2022-03-25 2022-07-05 惠州高盛达智显科技有限公司 WiFi automatic connection implementation method based on position relation

Also Published As

Publication number Publication date
CN107708175B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN107708175A (en) A kind of WiFi automatic connection methods, system and terminal device
CN108196458A (en) Intelligent home equipment control method, device and terminal device
CN107276866A (en) Home appliance match somebody with somebody network method, device and home appliance
CN107979863A (en) A kind of WiFi automatic connection methods, system and terminal device
CN107342607A (en) A kind of control method of charging equipment, device and charging equipment control system
CN107404740A (en) Method for switching network, device and the terminal device of safety
CN107980241A (en) A kind of multi-link method and device of gateway
CN107480554A (en) A kind of right management method, rights management device and intelligent terminal
CN111132267A (en) Network distribution method and device and terminal equipment
CN107277878A (en) Method for switching network, device and mobile terminal
CN108521647A (en) A kind of matching method and bluetooth master of bluetooth SIM card
CN107277896B (en) Wifi hotspot management method, device and terminal device
CN109275157A (en) A kind of the configuration parameter optimization method and device of the NPRACE of base station
CN111130828B (en) Intelligent network distribution method and device and terminal equipment
CN107148035A (en) Method, device and the wireless device of Frequency Band Selection
CN107454136A (en) A kind of calculating discharging method, device and control device based on end-to-end P2P
CN105138107B (en) Downloading method of mobile terminal, device and mobile terminal
CN104349506B (en) Association management method, radio reception device and system
CN107872533A (en) Information-pushing method, device, server and storage medium
CN108343315A (en) Key management method and terminal device
CN111831452A (en) Task execution method and device, storage medium and electronic device
CN109918120A (en) The configuration method and device of intercom
CN110362965A (en) Firmware processing method, device, system, equipment and the medium of IC chip
CN109638845B (en) Method and device for establishing switching combination scheme of power transmission line
CN108021639A (en) Information-pushing method, device, server and storage medium

Legal Events

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

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant