CN107333286B - Wifi hotspot connection management method, apparatus and terminal device - Google Patents

Wifi hotspot connection management method, apparatus and terminal device Download PDF

Info

Publication number
CN107333286B
CN107333286B CN201710659876.0A CN201710659876A CN107333286B CN 107333286 B CN107333286 B CN 107333286B CN 201710659876 A CN201710659876 A CN 201710659876A CN 107333286 B CN107333286 B CN 107333286B
Authority
CN
China
Prior art keywords
wifi hotspot
wifi
connection
preset time
detection
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.)
Active
Application number
CN201710659876.0A
Other languages
Chinese (zh)
Other versions
CN107333286A (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 CN201710659876.0A priority Critical patent/CN107333286B/en
Publication of CN107333286A publication Critical patent/CN107333286A/en
Application granted granted Critical
Publication of CN107333286B publication Critical patent/CN107333286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention is suitable for hot spot handoff technique field, provides wifi hotspot connection management method, apparatus and terminal device, including:Attachable wifi hotspot is detected whether;When having attachable wifi hotspot and judging that the wifi hotspot needs to authenticate, judge that the connectivity option of the wifi hotspot is manual connection or automatic connection;When the connectivity option of the wifi hotspot is to connect manually, detection is polled to the wifi hotspot within a preset time, if detecting can not still surf the Internet within a preset time, user is prompted to need login authentication;When the connectivity option of the wifi hotspot is to connect automatically, the detection of other available networks is triggered.By the above method, the access rate of network can be improved.

Description

Wifi hotspot connection management method, apparatus and terminal device
Technical field
The invention belongs to hot spot handoff technique fields more particularly to wifi hotspot connection management method, apparatus and terminal to set It is standby.
Background technique
When accessing wifi hotspot, if desired inputting encrypted message corresponding with the account of the wifi hotspot could successfully be connect Enter the wifi hotspot, then the wifi hotspot is certification wifi hotspot.
In existing wifi management method, when needing access authentication wifi hotspot, if though user be for the first time access or It is not so access for the first time but does not save the authentication information of the certification wifi hotspot, then terminal device can waits always user defeated Enter authentication information, alternatively, if although user saves the authentication information of the certification hot spot, but when the authentication information has exceeded certification Between, then terminal device will be always maintained at trial connection status, and user and be unaware of whether terminal device can be successfully accessed net Network, no matter above-mentioned any situation, all most probably cause the waiting time too long, to affect the access rate of network, reduce User experience.
Summary of the invention
In view of this, the embodiment of the invention provides wifi hotspot connection management method, apparatus and terminal device, to solve Prior art user is simultaneously unaware of whether terminal device can be successfully accessed network, too long so as to cause the waiting time, influences net The problem of access rate of network.
The first aspect of the embodiment of the present invention provides a kind of wifi hotspot connection management method, including:
Attachable wifi hotspot is detected whether;
When having attachable wifi hotspot and judging that the wifi hotspot needs to authenticate, the wifi hotspot is judged Connectivity option is manual connection or automatic connection;
When the connectivity option of the wifi hotspot is to connect manually, the wifi hotspot is taken turns within a preset time Detection is ask, if detecting can not still surf the Internet within a preset time, user is prompted to need login authentication;
When the connectivity option of the wifi hotspot is to connect automatically, the detection of other available networks is triggered.
The second aspect of the embodiment of the present invention provides a kind of wifi hotspot connection management device, including:
Wifi Hot spots detection unit, for detecting whether there is attachable wifi hotspot;
Connectivity option judging unit, for having attachable wifi hotspot and judging that the wifi hotspot needs to authenticate When, judge that the connectivity option of the wifi hotspot is manual connection or automatic connection;
Connection hot spot administrative unit manually, for presetting when the connectivity option of the wifi hotspot is to connect manually Detection is polled to the wifi hotspot in time, if detecting can not still surf the Internet within a preset time, user is prompted to need Want login authentication;
Automatic connection hot spot administrative unit, for triggering it when the connectivity option of the wifi hotspot is to connect automatically He detects available network.
The third aspect of the embodiment of the present invention 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, which is characterized in that described in the processor executes It is realized when computer program such as the step of any one of wifi hotspot connection management method the method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, realizes that wifi hotspot connection management method such as is appointed when the computer program is executed by processor The step of one the method.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
Since the connectivity option in wifi hotspot is taken turns within a preset time to the wifi hotspot when connecting manually Detection is ask, and detects can not still surf the Internet within a preset time, prompts user to need login authentication, therefore, so that user knows Whether the wifi hotspot can access net, to avoid falling into a long wait the access wifi hotspot, improve the access speed of network Rate and the good experience of user.In addition, triggering other available nets when the connectivity option of the wifi hotspot is to connect automatically Network detection, in such manner, it is possible to realize the quick switching of network by other available networks.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of flow chart for wifi hotspot connection management method that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural schematic diagram for mobile terminal that the embodiment of the present invention one provides;
Fig. 3 is a kind of structural schematic diagram of wifi hotspot connection management device provided by Embodiment 2 of the present invention;
Fig. 4 is the schematic diagram for the terminal device that the embodiment of the present invention three provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one:
Fig. 1 shows a kind of flow chart of wifi hotspot connection management method of first embodiment of the invention offer, is described in detail It is as follows:
Step S11 has detected whether attachable wifi.
Specifically, when user open a terminal equipment wifi linkage function when, terminal device receives wifi link order, Whether there is attachable wifi in terminal device detection preset range.
Specifically, when terminal device is mobile terminal, the schematic diagram of the mobile terminal is somebody's turn to do as shown in Fig. 2, in Fig. 2 Mobile terminal includes memory 201, processor 202, input equipment 203, output equipment 204, bus 205.
Step S12, when having attachable wifi hotspot and judging that the wifi hotspot needs to authenticate, described in judgement The connectivity option of wifi hotspot is manual connection or automatic connection.
There is attachable wifi and the wifi needs to input corresponding authentication information, is such as needing to input corresponding password When, net could be accessed by determining that the wifi needs to authenticate, at this point, whether detection terminal device opens connection selection function, if not having There is unlatching, then display connection wifi function selection prompt and automatic connection wifi function selection prompt manually, if having turned on, sentences The connectivity option of disconnected wifi hotspot is manual connection or automatic connection, when user's selection be to connect manually when, described in judgement The corresponding connectivity option of wifi hotspot is to connect manually.Due to showing connection wifi function selection prompt manually and automatic connection The selection prompt of wifi function, therefore, enriches wifi linkage function.
Step S13, when the connectivity option of the wifi hotspot is to connect manually, within a preset time to the wifi heat Point is polled detection, can not still surf the Internet if detecting within a preset time, user is prompted to need login authentication.
Wherein, preset time is usually less than 1 minute, such as may be configured as 30s.
In the step, whether detection mainly detection user or terminal device, which have inputted this, is polled to wifi hotspot The authentication information of wifi hotspot, if user's (or terminal device) does not have input authentication information, alternatively, the authentication information of input is not just Really, then the terminal device not can access the wifi hotspot still, and then cannot access network by the wifi hotspot, at this point, in order to It avoids user from falling into a long wait, then issues the related prompt for needing login authentication.
Step S14 triggers the detection of other available networks when the connectivity option of the wifi hotspot is to connect automatically.
Wherein, other available networks of the step include other corresponding networks of wifi hotspot for not needing authentication information, It needs authentication information but terminal device has saved the corresponding network of wifi hotspot of the authentication information, in addition, further including available Data network.
Optionally, the step S14 is specifically included:When the connectivity option of the wifi hotspot is to connect automatically, judgement The corresponding authentication information of the wifi hotspot whether is stored, if storage, the wifi hotspot is accessed by the authentication information, If not storing, or the authentication information of storage is incorrect, then the detection of other available networks is triggered.
Optionally, after having attachable wifi hotspot and being successfully accessed the wifi hotspot, if it is detected that with described The connection of wifi hotspot disconnects and needs authentication information, then the value that the attribute captive of the wifi hotspot is arranged is true, with And the value of the attribute timeout of setting time restriction is true.It is detected if be successfully accessed a period of time after wifi hotspot Nei Authentication information is needed suddenly to the wifi hotspot, illustrates that the wifi hotspot belongs to login authentication hot spot, and the wifi hotspot is sometimes Between limit, at this point, the value that the attribute captive of the wifi hotspot is arranged is true, and the attribute of the wifi hotspot is set Timeout value is true, and is saved in file, in this way, being preferentially not connected to such wifi hotspot when connection next time, i.e., is deposited at the same time In such wifi hotspot and other available wifi hotspots, other available wifi hotspots of preferential attachment.
Optionally, when the connectivity option of the wifi hotspot is to connect manually, in order to identify whether wifi hotspot needs Certification, then the step S13 includes:
A1, when the connectivity option of the wifi hotspot is to connect manually, setting needs the wifi hotspot authenticated The value of attribute captive is true.Certainly, if wifi hotspot does not need to authenticate, the attribute of the wifi hotspot is set The value of captive is false, is that available network column are added in the corresponding wifi hotspot of false by the value of captive further Table.
A2, network detection is polled to the wifi hotspot within a preset time, if detecting within a preset time still It can not surf the Internet, then trigger the detection of other available networks.Wherein, other available networks of the step include that other do not need certification letter The corresponding network of the wifi hotspot of breath, including needing authentication information but terminal device has saved the wifi hotspot pair of the authentication information The network answered, in addition, further including available data network.
A3, when other available networks are not present, keep with the connection of the wifi hotspot, and user is prompted to need to log in Certification.Specifically, when other available networks are not present, holding is connect with current wifi hotspot, while being continued for from the background Detect whether that there are other available networks, so as to find available network in time.
Optionally, if detecting can surf the Internet within a preset time, the wifi hotspot for needing to authenticate is updated Captive is false, and available network list is added in the wifi hotspot for needing to authenticate.By being arranged in available network Table storage has access to the wifi hotspot of network, convenient for subsequent directly from the corresponding wifi heat of the available network list quick obtaining Point is used as the corresponding wifi hotspot of available network.
Optionally, it when there are other available networks, shows switch prompting, updates the wifi heat for needing to authenticate The captive of point is false.Specifically, when there are available wifi hotspot or available data network, wifi hotspot is shown Switch prompting, or display data network switch prompting.Optionally, when there are available wifi hotspot, judging the available wifi Whether the number of hot spot is greater than 1, if so, the preferentially best wifi hotspot of selection network performance, such as select packet loss minimum and/ Or tcp link state is best and/or received signal intensity indicates maximum wifi hotspot, if it is not, then directly selecting the wifi Hot spot.
Optionally, the step S14 includes:
B1, when the connectivity option of the wifi hotspot is to connect automatically, judge that the available network list whether there is Wifi hotspot can be used.
B2, if it exists can use wifi hotspot, be directly switch into the available hotspots, and be arranged it is described needs authenticate it is described The captive of wifi hotspot is false, can use wifi hotspot if it does not exist, then whether detection data network can be used, in data network When network can be used, the data network is switched to, when data network is unavailable, is kept and the wifi heat for needing to authenticate The connection of point.
Optionally, if it is judged that the wifi hotspot in connection disconnects automatically or user actively disconnects, terminal device inspection It surveys whether attribute captive is true, if it is true, illustrates that the wifi hotspot is to need the certification hot spot that logs in and always It is not logged on and authenticated, at this point, cannot obtain correct authentication information in order to avoid there is terminal device and cause to succeed The case where accessing the wifi hotspot then disables the wifi hotspot for a period of time;If attribute captive is false, do not locate Reason.Due to directly whether disabling wifi heat according to the Attributions selection of captive when detecting that wifi hotspot is not connected with successfully Point, therefore realize the screening to wifi hotspot.
Optionally, if first reading file due to switch WLAN or when restarting mobile phone triggering wifi hotspot disconnection and saving Captive, judge whether captive is true, if it is true, illustrate the wifi hotspot be need log in certification heat Point and never login authentication, at this point, cannot obtain correct authentication information in order to avoid there is terminal device and cause The case where wifi hotspot cannot be successfully accessed, then disables the Wi-Fi hotspot for a period of time, if it is false, does not handle.
In first embodiment of the invention, detected whether attachable wifi hotspot, have attachable wifi hotspot and When judging that the wifi hotspot needs to authenticate, the connectivity option for judging the wifi hotspot is manual connection or connects automatically It connects, when the connectivity option of the wifi hotspot is to connect manually, inspection is polled to the wifi hotspot within a preset time It surveys, if detecting can not still surf the Internet within a preset time, user is prompted to need login authentication, in the connection of the wifi hotspot Option is to trigger the detection of other available networks when connecting automatically.Since the connectivity option in wifi hotspot is when connecting manually, Detection is polled to the wifi hotspot in preset time, and detects can not still surf the Internet within a preset time, prompt user Login authentication is needed, therefore, so that user knows whether the wifi hotspot can access net, to avoid falling into a long wait access The wifi hotspot improves the access rate of network and the good experience of user.In addition, the connection in the wifi hotspot is selected Item is to trigger the detection of other available networks when connecting automatically, in such manner, it is possible to realize fast cutting for network by other available networks It changes.
Embodiment two:
Corresponding with a kind of wifi hotspot connection management method that embodiment one provides, Fig. 3, which shows the present invention second, to be implemented A kind of structural schematic diagram for wifi hotspot connection management device that example provides, the wifi hotspot connection management device can be applied to end In end equipment, for ease of description, only parts related to embodiments of the present invention are shown:
The wifi hotspot connection management device includes:Wifi Hot spots detection unit 31, connectivity option judging unit 32, manually Connect hot spot administrative unit 33, automatic connection hot spot administrative unit 34.Wherein:
Wifi Hot spots detection unit 31, for detecting whether there is attachable wifi hotspot.
Connectivity option judging unit 32, for having attachable wifi hotspot and judging that the wifi hotspot needs are recognized When card, judge that the connectivity option of the wifi hotspot is manual connection or automatic connection.
Specifically, whether detection terminal device opens connection selection function, if being not turned on, shows connection manually Wifi function selection prompt and automatic connection wifi function selection prompt, if having turned on, judge the connectivity option of wifi hotspot Manual connection or automatic connection, when user's selection be to connect manually when, determine the connectivity option pair of the wifi hotspot What is answered is to connect manually.
Connection hot spot administrative unit 33 manually, for when the connectivity option of the wifi hotspot is to connect manually, pre- If being polled detection to the wifi hotspot in the time, if detecting can not still surf the Internet within a preset time, user is prompted Need login authentication.
Wherein, preset time is usually less than 1 minute, such as may be configured as 30s.
Automatic connection hot spot administrative unit 34, for triggering when the connectivity option of the wifi hotspot is to connect automatically The detection of other available networks.
Wherein, other available networks here include other corresponding networks of wifi hotspot for not needing authentication information, are needed It wants authentication information but terminal device has saved the corresponding network of wifi hotspot of the authentication information, in addition, further including available number According to network.
Optionally, when the connectivity option of the wifi hotspot is to connect automatically, judge whether to store the wifi hotspot Corresponding authentication information accesses the wifi hotspot by the authentication information if storage, if not storing, or storage Authentication information it is incorrect, then trigger other available networks detection.
Optionally, which includes:
Time restriction attribute setting unit, for having attachable wifi hotspot and being successfully accessed the wifi hotspot Afterwards, if it is detected that disconnecting with the connection of the wifi hotspot and needing authentication information, the attribute of the wifi hotspot is set The value of captive is true, and it is true that the value of the attribute timeout of time restriction, which is arranged,.
Optionally, the manual connection hot spot administrative unit 33 includes:
Hot spot attribute value setup module, for when the connectivity option of the wifi hotspot is to connect manually, setting to need The attribute value captive of the wifi hotspot of certification is true.Certainly, if wifi hotspot does not need to authenticate, described in setting The value of the attribute captive of wifi hotspot is false, is the corresponding wifi hotspot of false by the value of captive further Available network list is added.
Available network detects trigger module, for being polled network detection to the wifi hotspot within a preset time, If detecting can not still surf the Internet within a preset time, the detection of other available networks is triggered.Wherein, other available nets of the step Network includes that other do not need the corresponding network of wifi hotspot of authentication information, including needs authentication information but terminal device has saved The corresponding network of the wifi hotspot of the authentication information, in addition, further including available data network.
Login authentication cue module, for keeping the connection with the wifi hotspot when other available networks are not present, And user is prompted to need login authentication.
Optionally, the manual connection hot spot administrative unit 33 further includes:Hot spot attribute update module, for when default It is interior to detect that the captive for updating the wifi hotspot for needing to authenticate is false, by the needs when surf the Internet Available network list is added in the wifi hotspot of certification.
Optionally, the manual connection hot spot administrative unit 33 further includes:Switch prompting display module, for there are it When his available network, switch prompting is shown, the captive for updating the wifi hotspot for needing to authenticate is false.Specifically Ground shows wifi hotspot switch prompting, or display data network when there are available wifi hotspot or available data network Switch prompting.Optionally, when whether the number for there are available wifi hotspot, judging the available wifi hotspot is greater than 1, if Be, then the preferential best wifi hotspot of selection network performance such as select packet loss minimum and/or tcp link state preferably and/or Received signal intensity indicates maximum wifi hotspot, if it is not, then directly selecting the wifi hotspot.
Optionally, the automatic connection hot spot administrative unit 34 includes:
There are judgment modules for available hotspots, for judging institute when the connectivity option of the wifi hotspot is to connect automatically Stating available network list whether there is available wifi hotspot;
Available hotspots switching module, for being directly switch into the available hotspots, and set when in the presence of wifi hotspot can be used The captive for setting the wifi hotspot for needing to authenticate is false, can use wifi hotspot if it does not exist, then detection data Whether network can be used, and when data network can be used, switch to the data network, when data network is unavailable, holding and institute State the connection for needing the wifi hotspot authenticated.
In second embodiment of the invention, since the connectivity option in wifi hotspot is when connecting manually, within a preset time Detection is polled to the wifi hotspot, and detects can not still surf the Internet within a preset time, user is prompted to need to log in and recognizes Card, therefore, so that user knows whether the wifi hotspot can access net, to avoid falling into a long wait the access wifi heat Point improves the access rate of network and the good experience of user.In addition, the connectivity option in the wifi hotspot is to connect automatically When connecing, the detection of other available networks is triggered, in such manner, it is possible to realize the quick switching of network by other available networks.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Embodiment three:
Fig. 4 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 4, the terminal of the embodiment is set Standby 4 include:Processor 40, memory 41 and it is stored in the meter that can be run in the memory 41 and on the processor 40 Calculation machine program 42.The processor 40 realizes that above-mentioned each wifi hotspot management method is implemented when executing the computer program 42 Step in example, such as step S11 to S14 shown in FIG. 1.Alternatively, when the processor 40 executes the computer program 42 Realize the function of each module/unit in above-mentioned each Installation practice, such as the function of module 31 to 34 shown in Fig. 3.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 42 in the terminal device 4 is described.For example, the computer program 42 can be divided It is cut into Wifi Hot spots detection unit, connectivity option judging unit, manual connection hot spot administrative unit, automatic connection hot spot management list Member, each unit concrete function are as follows:
Wifi Hot spots detection unit, for detecting whether there is attachable wifi hotspot;
Connectivity option judging unit, for having attachable wifi hotspot and judging that the wifi hotspot needs to authenticate When, judge that the connectivity option of the wifi hotspot is manual connection or automatic connection;
Connection hot spot administrative unit manually, for presetting when the connectivity option of the wifi hotspot is to connect manually Detection is polled to the wifi hotspot in time, if detecting can not still surf the Internet within a preset time, user is prompted to need Want login authentication;
Automatic connection hot spot administrative unit, for triggering it when the connectivity option of the wifi hotspot is to connect automatically He detects available network.
The terminal device 4 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The terminal device may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that Fig. 4 The only example of terminal device 4 does not constitute the restriction to terminal device 4, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 40 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 41 can be the internal storage unit of the terminal device 4, such as the hard disk or interior of terminal device 4 It deposits.The memory 41 is also possible to the External memory equipment of the terminal device 4, such as be equipped on the terminal device 4 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the terminal device 4 Member also includes External memory equipment.The memory 41 is for storing needed for the computer program and the terminal device Other programs and data.The memory 41 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 function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes 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 logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that:It still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of wifi hotspot connection management method, which is characterized in that including:
Attachable wifi hotspot is detected whether;
When having attachable wifi hotspot and judging that the wifi hotspot needs to authenticate, the connection of the wifi hotspot is judged Option is manual connection or automatic connection;
When the connectivity option of the wifi hotspot is to connect manually, inspection is polled to the wifi hotspot within a preset time It surveys, if detecting can not still surf the Internet within a preset time, user is prompted to need login authentication;
When the connectivity option of the wifi hotspot is to connect automatically, the detection of other available networks is triggered.
2. wifi hotspot connection management method as described in claim 1, which is characterized in that have attachable wifi hotspot and After being successfully accessed the wifi hotspot, if it is detected that being disconnected with the connection of the wifi hotspot and needing authentication information, it is arranged The value of the attribute captive of the wifi hotspot is true, and it is true that the value of the attribute timeout of time restriction, which is arranged,.
3. wifi hotspot connection management method as claimed in claim 1 or 2, which is characterized in that described in the wifi hotspot Connectivity option be that detection is polled to the wifi hotspot within a preset time when connecting manually, if within a preset time Detecting can not still surf the Internet, then user is prompted to need login authentication, including:
When the connectivity option of the wifi hotspot is to connect manually, the attribute for the wifi hotspot that setting needs to authenticate The value of captive is true;
Within a preset time to the wifi hotspot be polled network detection, if detect within a preset time still can not on Net then triggers the detection of other available networks;
When other available networks are not present, the connection with the wifi hotspot is kept, and user is prompted to need login authentication.
4. wifi hotspot connection management method as claimed in claim 3, which is characterized in that can if detecting within a preset time Online, the captive for updating the wifi hotspot for needing to authenticate is false, by the wifi for needing to authenticate Available network list is added in hot spot.
5. wifi hotspot connection management method as claimed in claim 3, which is characterized in that when there are other available networks, Show switch prompting, the captive for updating the wifi hotspot for needing to authenticate is false.
6. wifi hotspot connection management method as claimed in claim 4, which is characterized in that the company in the wifi hotspot Selecting item be when connecting automatically trigger the detection of other available networks, including:
When the connectivity option of the wifi hotspot is to connect automatically, judge that the available network list whether there is available wifi Hot spot;
Wifi hotspot can be used if it exists, is directly switch into the available hotspots, and the wifi heat for needing to authenticate is set The captive of point is false, can use wifi hotspot if it does not exist, then whether detection data network can be used, available in data network When, the data network is switched to, when data network is unavailable, keeps the company with the wifi hotspot for needing to authenticate It connects.
7. a kind of wifi hotspot connection management device, which is characterized in that including:
Wifi Hot spots detection unit, for detecting whether there is attachable wifi hotspot;
Connectivity option judging unit, for when having attachable wifi hotspot and judging that the wifi hotspot needs to authenticate, The connectivity option for judging the wifi hotspot is manual connection or automatic connection;
Connection hot spot administrative unit manually, for when the connectivity option of the wifi hotspot is to connect manually, in preset time It is interior that detection is polled to the wifi hotspot, if detecting can not still surf the Internet within a preset time, user is prompted to need to step on Record certification;
Automatic connection hot spot administrative unit, for when the connectivity option of the wifi hotspot is to connect automatically, triggering other can It is detected with network.
8. wifi hotspot connection management device as claimed in claim 7, which is characterized in that the manual connection hot spot management is single Member includes:
Hot spot attribute value setup module, for when the connectivity option of the wifi hotspot is to connect manually, setting to need to authenticate The wifi hotspot attribute value captive be true;
Available network detects trigger module, for being polled network detection to the wifi hotspot within a preset time, if Detecting in preset time can not still surf the Internet, then triggers the detection of other available networks;
Login authentication cue module, for keeping the connection with the wifi hotspot, and mention when other available networks are not present Show that user needs login authentication.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 6 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 6 of realization the method.
CN201710659876.0A 2017-08-04 2017-08-04 Wifi hotspot connection management method, apparatus and terminal device Active CN107333286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710659876.0A CN107333286B (en) 2017-08-04 2017-08-04 Wifi hotspot connection management method, apparatus and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710659876.0A CN107333286B (en) 2017-08-04 2017-08-04 Wifi hotspot connection management method, apparatus and terminal device

Publications (2)

Publication Number Publication Date
CN107333286A CN107333286A (en) 2017-11-07
CN107333286B true CN107333286B (en) 2018-11-27

Family

ID=60225283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710659876.0A Active CN107333286B (en) 2017-08-04 2017-08-04 Wifi hotspot connection management method, apparatus and terminal device

Country Status (1)

Country Link
CN (1) CN107333286B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572829B (en) * 2019-09-05 2022-08-16 Oppo(重庆)智能科技有限公司 Network connection control method and related product
CN110569099B (en) * 2019-09-17 2021-07-06 Oppo广东移动通信有限公司 Message display method and related product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682009A (en) * 2016-03-07 2016-06-15 上海斐讯数据通信技术有限公司 Mobile terminal and method for managing wireless signals
CN106412910A (en) * 2016-10-27 2017-02-15 上海斐讯数据通信技术有限公司 Method for intelligently screening SSID access point and wireless terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8429405B2 (en) * 2007-02-14 2013-04-23 Fuji Xerox Co., Ltd. System and method for human assisted secure information exchange
KR101675001B1 (en) * 2010-04-02 2016-11-10 삼성전자주식회사 Method and apparatus for channel scanning in wireless communication system
US8570993B2 (en) * 2010-05-20 2013-10-29 At&T Mobility Ii Llc Wi-Fi intelligent selection engine
CN106332156A (en) * 2015-07-02 2017-01-11 深圳平安通信科技有限公司 WIFI anomaly detection control system and method
CN105119898B (en) * 2015-07-17 2019-03-22 世纪龙信息网络有限责任公司 Wi-Fi hotspot Portal automatic authentication method and system
CN105338594B (en) * 2015-09-28 2019-04-05 Oppo广东移动通信有限公司 A kind of wifi network connection method and device
CN106559542A (en) * 2016-11-30 2017-04-05 努比亚技术有限公司 A kind of terminal and harassing and wrecking hold-up interception method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682009A (en) * 2016-03-07 2016-06-15 上海斐讯数据通信技术有限公司 Mobile terminal and method for managing wireless signals
CN106412910A (en) * 2016-10-27 2017-02-15 上海斐讯数据通信技术有限公司 Method for intelligently screening SSID access point and wireless terminal

Also Published As

Publication number Publication date
CN107333286A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN104486785B (en) A kind of switching method and system of mobile terminal network optimization
EP2814276B1 (en) Access authentication method and device for wireless local area network hotspot
CN108683604A (en) concurrent access control method, terminal device and medium
CN109815657A (en) A kind of identity identifying method and terminal device based on alliance's chain
US10999721B2 (en) Communication identifier binding processing method and terminal
CN107426168A (en) A kind of Secure Network Assecc processing method and processing device
CN106165341A (en) The method for connecting network of household electrical appliance, the network connection system of household electrical appliance and household electrical appliance
CN107277896B (en) Wifi hotspot management method, device and terminal device
CN112804697B (en) Network distribution method and device for equipment to be networked, electronic equipment and computer readable medium
CN105431881A (en) Distributed locker service system, and control method therefor
CN107404740A (en) Method for switching network, device and the terminal device of safety
CN108196458A (en) Intelligent home equipment control method, device and terminal device
CN107333286B (en) Wifi hotspot connection management method, apparatus and terminal device
CN111163469A (en) Network distribution method of intelligent household appliance, wireless module and intelligent household appliance
CN109041140A (en) It is switched fast wireless network methods, Intelligent hardware and terminal device
CN107332741B (en) A kind of network detecting method, network detection device and intelligent terminal
CN104660597A (en) Three-layer authentication method and device as well as three-layer authentication exchanger
CN108513716A (en) The method and apparatus for establishing connection
CN113271299A (en) Login method and server
CN105791963B (en) Processing method, device, TV and the intelligent server of order
CN106302519A (en) The method of a kind of internet security management and terminal
CN106293851A (en) A kind of firmware upgrade method and equipment
CN104253702B (en) A kind of terminal management method and system
CN107396316A (en) Method for switching network, device and terminal device
CN113132958A (en) Fusion networking method, device, system and computer readable 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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

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

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

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

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