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

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

Info

Publication number
CN107333286A
CN107333286A CN201710659876.0A CN201710659876A CN107333286A CN 107333286 A CN107333286 A CN 107333286A CN 201710659876 A CN201710659876 A CN 201710659876A CN 107333286 A CN107333286 A CN 107333286A
Authority
CN
China
Prior art keywords
wifi hotspot
connection
wifi
available
preset time
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
CN201710659876.0A
Other languages
Chinese (zh)
Other versions
CN107333286B (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 applied to focus handoff technique field there is provided wifi hotspot connection management method, device and terminal device, including:Attachable wifi hotspot is detected whether;When having attachable wifi hotspot and judging that the wifi hotspot needs certification, the connectivity option for judging the wifi hotspot is manual connection or automatic connection;When the connectivity option of the wifi hotspot is manual connection, detection is polled to the wifi hotspot in preset time, if being detected in preset time can not still surf the Net, points out user to need login authentication;When the connectivity option of the wifi hotspot is automatic connection, the detection of other available networks is triggered.Pass through the above method, it is possible to increase the access rate of network.

Description

Wifi hotspot connection management method, device and terminal device
Technical field
Set the invention belongs to focus handoff technique field, more particularly to wifi hotspot connection management method, device and terminal It is standby.
Background technology
When accessing wifi hotspot, if desired inputting encrypted message corresponding with the account of the wifi hotspot could successfully connect Enter the wifi hotspot, then the wifi hotspot is certification wifi hotspot.
In existing wifi management methods, when needing access authentication wifi hotspot, if though user for first access or It is not so the authentication information that access does not preserve the certification wifi hotspot still first, then terminal device can wait user defeated always Enter authentication information, or, if although user preserves the authentication information of the certification focus, but the authentication information when exceeding certification Between, then terminal device will be always maintained at attempting 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 stand-by period long, so as to have impact on the access rate of network, reduce Consumer's Experience.
The content of the invention
In view of this, the embodiments of the invention provide wifi hotspot connection management method, device and terminal device, to solve Prior art user is simultaneously unaware of whether terminal device can be successfully accessed network, so as to cause the stand-by period long, 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 certification, the wifi hotspot is judged Connectivity option is manual connection or automatic connection;
When the connectivity option of the wifi hotspot is manual connection, road wheel is entered to the wifi hotspot in preset time Detection is ask, if being detected in preset time can not still surf the Net, points out user to need login authentication;
When the connectivity option of the wifi hotspot is automatic connection, 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 units, for detecting whether there is attachable wifi hotspot;
Connectivity option judging unit, for having attachable wifi hotspot and judging that the wifi hotspot needs certification When, the connectivity option for judging the wifi hotspot is manual connection or automatic connection;
Focus administrative unit is connected manually, for when the connectivity option of the wifi hotspot is manual connection, default Detection is polled to the wifi hotspot in time, if being detected in preset time can not still surf the Net, points out user to need Want login authentication;
Automatic connection focus administrative unit, for when the connectivity option of the wifi hotspot is automatic connection, triggering it 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, it is characterised in that described in the computing device Realized during computer program such as the step of any one of wifi hotspot connection management method methods described.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording 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 methods described.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:
Due to when the connectivity option of wifi hotspot is manual connection, road wheel is entered to the wifi hotspot in preset time Detection is ask, and detects and can not still surf the Net in preset time, points out user to need login authentication, therefore so that user knows Whether the wifi hotspot can access net, so as to avoid waiting as long for the access wifi hotspot, improve the access speed of network Rate and the good experience of user.In addition, when the connectivity option of the wifi hotspot is automatic connection, triggering other available nets Network is detected, in such manner, it is possible to realize the quick switching of network by other available networks.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention 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.
Fig. 1 is a kind of flow chart for wifi hotspot connection management method that the embodiment of the present invention one is provided;
Fig. 2 is a kind of structural representation for mobile terminal that the embodiment of the present invention one is provided;
Fig. 3 is a kind of structural representation for wifi hotspot connection management device that the embodiment of the present invention two is provided;
Fig. 4 is the schematic diagram for the terminal device that the embodiment of the present invention three is provided.
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 invention.However, it will be clear to one skilled in the art that there is no these specific The present invention 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 description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Fig. 1 shows a kind of flow chart for wifi hotspot connection management method that first embodiment of the invention is provided, and is described in detail It is as follows:
Step S11, has detected whether attachable wifi.
Specifically, when user opens a terminal the wifi linkage functions of equipment, terminal device receives wifi link orders, 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 as shown in Fig. 2 in fig. 2, be somebody's turn to do 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 certification, judges described 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, if desired for inputting corresponding password When, judge that the wifi needs certification ability access network, now, whether detection terminal device opens connection selection function, if not having There is unlatching, then show connection wifi functions selection prompting manually and automatic connection wifi functions selection prompting, if having turned on, sentence The connectivity option of disconnected wifi hotspot is manual connection or automatic connection, when user select be manual connection when, judge described The corresponding connectivity option of wifi hotspot is manual connection.Due to display connection wifi functions selection prompting and automatic connection manually The selection prompting of wifi functions, therefore, enriches wifi linkage functions.
Step S13, when the connectivity option of the wifi hotspot is manual connection, to wifi heat in preset time Point is polled detection, can not still be surfed the Net if being detected in preset time, points out user to need login authentication.
Wherein, preset time is typically smaller than 1 minute, such as may be configured as 30s.
In the step, it is polled whether detection mainly detection user or terminal device have inputted this to wifi hotspot The authentication information of wifi hotspot, if user's (or terminal device) does not have input authentication information, or, the authentication information of input is not just Really, then the terminal device not can access the wifi hotspot still, so can not by the wifi hotspot access network, now, in order to User is avoided to wait as long for, then sending needs the related prompting of login authentication.
Step S14, when the connectivity option of the wifi hotspot is automatic connection, triggers the detection of other available networks.
Wherein, other available networks of the step include the corresponding network of wifi hotspot that other do not need authentication information, Need authentication information but terminal device has preserved the corresponding network of wifi hotspot of the authentication information, in addition, also including available Data network.
Alternatively, the step S14 is specifically included:When the connectivity option of the wifi hotspot is automatic connection, judge The corresponding authentication information of the wifi hotspot whether is stored, if storage, the wifi hotspot is accessed by the authentication information, If do not store, or the authentication information of storage is incorrect, then triggers the detection of other available networks.
Alternatively, after having attachable wifi hotspot and being successfully accessed the wifi hotspot, if detect with it is described The connection of wifi hotspot disconnects and needs authentication information, then the value for setting the attribute captive of the wifi hotspot is true, with And the attribute timeout of setting time restriction value is true.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 focus, and the wifi hotspot is sometimes Between limit, now, the value for setting the attribute captive of the wifi hotspot is true, and sets the attribute of the wifi hotspot Timeout values are true, and are saved in file, so, are preferentially not connected to such wifi hotspot during connection next time, i.e., deposit at the same time In such wifi hotspot and other available wifi hotspots, other available wifi hotspots of preferential attachment.
Alternatively, when the connectivity option of the wifi hotspot is manual connection, in order to identify whether wifi hotspot needs Certification, then the step S13 include:
A1, when the connectivity option of the wifi hotspot is manual connection, the wifi hotspot that needs certification is set Attribute captive value is true.Certainly, if wifi hotspot does not need certification, the attribute of the wifi hotspot is set Captive value is false, further, is that the corresponding wifi hotspots of false add available network row by captive value Table.
A2, network detection is polled in preset time to the wifi hotspot, if being detected still in preset time It can not surf the Net, then trigger the detection of other available networks.Wherein, other available networks of the step do not need certification letter including other The corresponding network of wifi hotspot of breath, including need authentication information but terminal device has preserved the wifi hotspot pair of the authentication information The network answered, in addition, also including available data network.
A3, when in the absence of other available networks, keep with the connection of the wifi hotspot, and point out user to need login Certification.Specifically, when in the absence of other available networks, holding is connected with current wifi hotspot, while being continued on backstage Detect whether there are other available networks, so as to find available network in time.
Alternatively, if being detected in preset time to surf the Net, the wifi hotspot for needing certification is updated Captive is false, and the wifi hotspot for needing certification is added into available network list.By being arranged in available network Table storage has access to the wifi hotspot of network, is easy to follow-up directly from the corresponding wifi heat of the available network list quick obtaining Point is used as the corresponding wifi hotspot of available network.
Alternatively, when there are other available networks, switch prompting is shown, the wifi for needing certification is updated hot The captive of point is false.Specifically, when there is available wifi hotspot or available data network, wifi hotspot is shown Switch prompting, or the prompting of display data network switching.Alternatively, when there is available wifi hotspot, the available wifi is judged Whether the number of focus is more than 1, if so, the then best wifi hotspot of prioritizing selection network performance, such as selection packet loss it is minimum and/ Or tcp Link States are preferably and/or the signal intensity that receives indicates maximum wifi hotspot, if it is not, then directly selecting the wifi Focus.
Alternatively, the step S14 includes:
B1, when the connectivity option of the wifi hotspot is automatic connection, judge that the available network list whether there is Wifi hotspot can be used.
If B2, presence can use wifi hotspot, the available hotspots are directly switch into, and set and described need the described of certification The captive of wifi hotspot is false, if in the absence of available wifi hotspot, whether detection data network can use, in data network When network can use, the data network is switched to, when data network is unavailable, keeps needing the wifi heat of certification with described The connection of point.
Alternatively, if it is judged that the wifi hotspot in connection disconnects automatically or user actively disconnects, terminal device inspection Survey whether attribute captive is true, if true, then it is the certification focus of needs login and always to illustrate the wifi hotspot It is not logged on authenticating, now, can not obtains correct authentication information in order to avoid there is terminal device and cause to succeed The situation of the wifi hotspot is accessed, then disables the wifi hotspot for a period of time;If attribute captive is false, do not locate Reason.Due to when detecting wifi hotspot and being not connected with successfully, directly whether disabling wifi heat according to captive Attributions selection Point, therefore realize the screening to wifi hotspot.
Alternatively, if due to switch WLAN or restart mobile phone triggering wifi hotspot disconnect when, first read file preserve Captive, whether be true, if true if judging captive, then it is the certification heat that needs are logged in illustrate the wifi hotspot Point and never login authentication, now, can not obtain correct authentication information and cause in order to avoid there is terminal device The situation of the wifi hotspot can not be successfully accessed, then disables the Wi-Fi hotspot for a period of time, if false, is not then handled.
In first embodiment of the invention, detected whether attachable wifi hotspot, have attachable wifi hotspot and When judging that the wifi hotspot needs certification, the connectivity option for judging the wifi hotspot is manual connection or connected automatically Connect, when the connectivity option of the wifi hotspot is manual connection, inspection is polled to the wifi hotspot in preset time Survey, if being detected in preset time can not still surf the Net, point out user to need login authentication, in the connection of the wifi hotspot When option is automatic connection, the detection of other available networks is triggered.Due to when the connectivity option of wifi hotspot is manual connection, Detection is polled to the wifi hotspot in preset time, and detects and can not still surf the Net in preset time, prompting user Login authentication is needed, therefore so that user knows whether the wifi hotspot can access net, so as to avoid waiting as long for 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 When item is automatic connection, the detection of other available networks is triggered, in such manner, it is possible to realize that the quick of network is cut by other available networks Change.
Embodiment two:
Corresponding with a kind of wifi hotspot connection management method that embodiment one is provided, Fig. 3 shows that the present invention second is implemented A kind of structural representation for wifi hotspot connection management device that example is provided, the wifi hotspot connection management device can be applied to end In end equipment, for convenience of description, the part related to the embodiment of the present invention illustrate only:
The wifi hotspot connection management device includes:Wifi Hot spots detections unit 31, connectivity option judging unit 32, manually Connect focus administrative unit 33, automatic connection focus administrative unit 34.Wherein:
Wifi Hot spots detections 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 to recognize During card, the connectivity option for judging the wifi hotspot is manual connection or automatic connection.
Specifically, whether detection terminal device opens connection selection function, if being not turned on, display connection manually Wifi functions selection prompting and automatic connection wifi functions selection prompting, if having turned on, judge the connectivity option of wifi hotspot Manual connection or automatic connection, when user select be manual connection when, judge the connectivity option pair of the wifi hotspot What is answered is manual connection.
Focus administrative unit 33 is connected manually, for when the connectivity option of the wifi hotspot is manual connection, pre- If being polled detection to the wifi hotspot in the time, if being detected in preset time can not still surf the Net, user is pointed out Need login authentication.
Wherein, preset time is typically smaller than 1 minute, such as may be configured as 30s.
Automatic connection focus administrative unit 34, for when the connectivity option of the wifi hotspot is automatic connection, triggering Other available networks are detected.
Wherein, other available networks here include the corresponding network of wifi hotspot that other do not need authentication information, need Want authentication information but terminal device has preserved the corresponding network of wifi hotspot of the authentication information, in addition, also including available number According to network.
Alternatively, when the connectivity option of the wifi hotspot is automatic connection, judge whether to store the wifi hotspot Corresponding authentication information, if storage, the wifi hotspot is accessed by the authentication information, if do not store, or storage Authentication information it is incorrect, then trigger other available networks detection.
Alternatively, the wifi hotspot connection management device includes:
Time restriction attribute setting unit, for having attachable wifi hotspot and being successfully accessed the wifi hotspot Afterwards, if detecting, the connection with the wifi hotspot disconnects and needs authentication information, sets the attribute of the wifi hotspot Captive value is true, and the attribute timeout of setting time restriction value is true.
Alternatively, the manual connection focus administrative unit 33 includes:
Focus property value setup module, for when the connectivity option of the wifi hotspot is manual connection, setting to need The property value captive of the wifi hotspot of certification is true.Certainly, if wifi hotspot does not need certification, set described The attribute captive of wifi hotspot value is false, further, is the corresponding wifi hotspots of false by captive value Add available network list.
Available network detects trigger module, for being polled network detection to the wifi hotspot in preset time, If being detected in preset time can not still surf the Net, the detection of other available networks is triggered.Wherein, other available nets of the step Network includes other and does not need the corresponding network of wifi hotspot of authentication information, including needs authentication information but terminal device has been preserved The corresponding network of wifi hotspot of the authentication information, in addition, also including available data network.
Login authentication reminding module, for when in the absence of other available networks, keeping the connection with the wifi hotspot, And point out user to need login authentication.
Alternatively, the manual connection focus administrative unit 33 also includes:Focus attribute update module, for when default In detect when can surf the Net, the captive for updating the wifi hotspot for needing certification is false, is needed described The wifi hotspot of certification adds available network list.
Alternatively, the manual connection focus administrative unit 33 also includes:Switch prompting display module, for there is it During his available network, switch prompting is shown, the captive for updating the wifi hotspot for needing certification is false.Specifically Ground, when there is available wifi hotspot or available data network, shows wifi hotspot switch prompting, or display data network Switch prompting.Alternatively, when there is available wifi hotspot, judge whether the number of the available wifi hotspot is more than 1, if Be, then the best wifi hotspot of prioritizing selection network performance that such as selection packet loss is minimum and/or tcp Link States preferably and/or The signal intensity of reception indicates maximum wifi hotspot, if it is not, then directly selecting the wifi hotspot.
Alternatively, the automatic connection focus administrative unit 34 includes:
There is judge module in available hotspots, for when the connectivity option of the wifi hotspot is automatic connection, judging institute State available network list and whether there is available wifi hotspot;
Available hotspots handover module, for when presence can use wifi hotspot, being directly switch into the available hotspots, and set The captive for putting the wifi hotspot for needing certification is false, if in the absence of available wifi hotspot, detecting data Whether network can use, and when data network is available, switches to the data network, when data network is unavailable, keeps and institute State the connection for the wifi hotspot for needing certification.
In second embodiment of the invention, due to when the connectivity option of wifi hotspot is manual connection, in preset time Detection is polled to the wifi hotspot, and detects and can not still surf the Net in preset time, points out user to need login to recognize Card, therefore so that user knows whether the wifi hotspot can access net, so as to avoid waiting as long for 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 sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic It is fixed.
Embodiment three:
Fig. 4 is the schematic diagram for the terminal device that one embodiment of the invention is provided.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 each above-mentioned wifi hotspot management method is implemented when performing the computer program 42 Step in example, such as the step S11 to S14 shown in Fig. 1.Or, when the processor 40 performs the computer program 42 The function of each module/unit in above-mentioned each device embodiment is realized, such as the function of module 31 to 34 shown in Fig. 3.
Exemplary, 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 performed by the processor 40, to complete the present invention.Described one Individual or multiple module/units can complete the series of computation machine programmed instruction section of specific function, and the instruction segment 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 detections unit, connectivity option judging unit, connection focus administrative unit, automatic connection focus management are single manually Member, each unit concrete function is as follows:
Wifi Hot spots detection units, for detecting whether there is attachable wifi hotspot;
Connectivity option judging unit, for having attachable wifi hotspot and judging that the wifi hotspot needs certification When, the connectivity option for judging the wifi hotspot is manual connection or automatic connection;
Focus administrative unit is connected manually, for when the connectivity option of the wifi hotspot is manual connection, default Detection is polled to the wifi hotspot in time, if being detected in preset time can not still surf the Net, points out user to need Want login authentication;
Automatic connection focus administrative unit, for when the connectivity option of the wifi hotspot is automatic connection, triggering it He detects available network.
The terminal device 4 can be that the calculating such as desktop PC, notebook, palm PC and cloud server is 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 Only the example of terminal device 4, does not constitute the restriction to terminal device 4, can include than illustrating more or less portions Part, either combines some parts or different parts, such as described terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 40 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) or other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 41 can be the internal storage unit of the terminal device 4, such as hard disk of terminal device 4 or interior Deposit.The memory 41 can also be the External memory equipment of the terminal device 4, such as is equipped with described terminal device 4 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodges 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 used for needed for storing 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 work( Energy unit, the division progress of module are for example, in practical application, as needed can distribute above-mentioned functions 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 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, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each function list Member, the specific name of module are also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Said system The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed description or note in some embodiment The part of load, 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, 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, depending on the application-specific and design constraint of 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 The scope of the present invention.
, can be with embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method 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, for example when actually realizing 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 coupling or direct-coupling or communication connection each other can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious 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 invention 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, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated module/unit realized using in the form of SFU software functional unit and as independent production marketing or In use, can be stored in a computer read/write memory medium.Understood based on such, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct the hardware of correlation to complete, described meter by computer program 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 generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can 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 storage (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 is included 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 does not include electric carrier signal and electricity Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention 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 various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (10)

1. a kind of wifi hotspot connection management method, it is characterised in that including:
Attachable wifi hotspot is detected whether;
When having attachable wifi hotspot and judging that the wifi hotspot needs certification, the connection of the wifi hotspot is judged Option is manual connection or automatic connection;
When the connectivity option of the wifi hotspot is manual connection, inspection is polled to the wifi hotspot in preset time Survey, if being detected in preset time can not still surf the Net, point out user to need login authentication;
When the connectivity option of the wifi hotspot is automatic connection, the detection of other available networks is triggered.
2. wifi hotspot connection management method as claimed in claim 1, it is characterised in that have attachable wifi hotspot and It is successfully accessed after the wifi hotspot, if detecting, the connection with the wifi hotspot disconnects and needs authentication information, sets The attribute captive of wifi hotspot value is true, and the attribute timeout of setting time restriction value is true.
3. wifi hotspot connection management method as claimed in claim 1 or 2, it is characterised in that described in the wifi hotspot Connectivity option when being manual connection, detection is polled to the wifi hotspot in preset time, if in preset time Detecting can not still surf the Net, then points out user to need login authentication, including:
When the connectivity option of the wifi hotspot is manual connection, the attribute for the wifi hotspot for needing certification is set Captive value is true;
The wifi hotspot is polled in preset time network detection, if detected in preset time still can not on Net, then trigger the detection of other available networks;
When in the absence of other available networks, the connection with the wifi hotspot is kept, and point out user to need login authentication.
4. wifi hotspot connection management method as claimed in claim 3, it is characterised in that can if being detected in preset time Online, the captive for updating the wifi hotspot for needing certification is false, and the wifi of certification is needed by described Focus adds available network list.
5. wifi hotspot connection management method as claimed in claim 3, it is characterised in that when there are other available networks, Switch prompting is shown, the captive for updating the wifi hotspot for needing certification is false.
6. wifi hotspot management method as claimed in claim 4, it is characterised in that the connection in the wifi hotspot is selected When item is automatic connection, the detection of other available networks is triggered, including:
When the connectivity option of the wifi hotspot is automatic connection, judge that the available network list whether there is available wifi Focus;
If presence can use wifi hotspot, the available hotspots are directly switch into, and set the wifi for needing certification hot The captive of point is false, if in the absence of available wifi hotspot, whether detection data network can use, available in data network When, the data network is switched to, when data network is unavailable, the company with the wifi hotspot for needing certification is kept Connect.
7. a kind of wifi hotspot connection management device, it is characterised in that including:
Wifi Hot spots detection units, 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 certification, The connectivity option for judging the wifi hotspot is manual connection or automatic connection;
Focus administrative unit is connected manually, for when the connectivity option of the wifi hotspot is manual connection, in preset time It is interior that detection is polled to the wifi hotspot, if being detected in preset time can not still surf the Net, point out user to need to step on Record certification;
Automatic connection focus administrative unit, for when the connectivity option of the wifi hotspot is automatic connection, triggering other can Detected with network.
8. wifi hotspot managing device as claimed in claim 7, it is characterised in that the manual connection focus administrative unit bag Include:
Focus property value setup module, for when the connectivity option of the wifi hotspot is manual connection, setting to need certification The wifi hotspot property value captive be true;
Available network detects trigger module, for being polled network detection to the wifi hotspot in preset time, if Being detected in preset time can not still surf the Net, then triggers the detection of other available networks;
Login authentication reminding module, for when in the absence of other available networks, keeping the connection with the wifi hotspot, and carry Show that user needs login authentication.
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 6 described in the computing device during computer program The step of any one methods described.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In the step of realizing such as any one of claim 1 to 6 methods described when the computer program is executed by processor.
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 true CN107333286A (en) 2017-11-07
CN107333286B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572829A (en) * 2019-09-05 2019-12-13 Oppo(重庆)智能科技有限公司 Network connection control method and related product
CN110569099A (en) * 2019-09-17 2019-12-13 Oppo广东移动通信有限公司 message display method and related product

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080195866A1 (en) * 2007-02-14 2008-08-14 Fuji Xerox Co., Ltd. System and method for human assisted secure information exchange
US20110243013A1 (en) * 2010-04-02 2011-10-06 Samsung Electronics Co., Ltd. Method and apparatus for channel scanning in a wireless communication system
US20110286437A1 (en) * 2010-05-20 2011-11-24 At&T Mobility Ii Llc Wi-Fi Intelligent Selection Engine
CN105119898A (en) * 2015-07-17 2015-12-02 世纪龙信息网络有限责任公司 WiFi hotspot Portal automatic authentication method and WiFi hotspot Portal automatic authentication system
CN105338594A (en) * 2015-09-28 2016-02-17 广东欧珀移动通信有限公司 wifi network connection method and device
CN105682009A (en) * 2016-03-07 2016-06-15 上海斐讯数据通信技术有限公司 Mobile terminal and method for managing wireless signals
CN106332156A (en) * 2015-07-02 2017-01-11 深圳平安通信科技有限公司 WIFI anomaly detection control system and method
CN106412910A (en) * 2016-10-27 2017-02-15 上海斐讯数据通信技术有限公司 Method for intelligently screening SSID access point and wireless terminal
CN106559542A (en) * 2016-11-30 2017-04-05 努比亚技术有限公司 A kind of terminal and harassing and wrecking hold-up interception method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080195866A1 (en) * 2007-02-14 2008-08-14 Fuji Xerox Co., Ltd. System and method for human assisted secure information exchange
US20110243013A1 (en) * 2010-04-02 2011-10-06 Samsung Electronics Co., Ltd. Method and apparatus for channel scanning in a wireless communication system
US20110286437A1 (en) * 2010-05-20 2011-11-24 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
CN105119898A (en) * 2015-07-17 2015-12-02 世纪龙信息网络有限责任公司 WiFi hotspot Portal automatic authentication method and WiFi hotspot Portal automatic authentication system
CN105338594A (en) * 2015-09-28 2016-02-17 广东欧珀移动通信有限公司 wifi network connection method and device
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
CN106559542A (en) * 2016-11-30 2017-04-05 努比亚技术有限公司 A kind of terminal and harassing and wrecking hold-up interception method

Cited By (3)

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

Also Published As

Publication number Publication date
CN107333286B (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN107295594A (en) Method for switching network, device and mobile terminal
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN107404740B (en) Method for switching network, device and the terminal device of safety
CN108040358A (en) A kind of connection method of wireless network, terminal device and storage medium
CN107277896B (en) Wifi hotspot management method, device and terminal device
CN107277878A (en) Method for switching network, device and mobile terminal
CN107222898A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN109041140A (en) It is switched fast wireless network methods, Intelligent hardware and terminal device
CN110392414A (en) Wireless network connecting method and terminal device
CN107294811A (en) Network detecting method, network detection means and intelligent terminal
CN107124717A (en) A kind of network connection management method, mobile terminal and storage device
CN106708476A (en) Stand-alone application instruction processing method and device
CN107168813A (en) Task processing method and system
CN107333286A (en) Wifi hotspot connection management method, device and terminal device
CN107148035A (en) Method, device and the wireless device of Frequency Band Selection
CN107295592A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107241758A (en) Network control method, network control unit and intelligent terminal
CN107197493A (en) A kind of method for switching network, network switching device and intelligent terminal
CN107396316A (en) Method for switching network, device and terminal device
CN106302519A (en) The method of a kind of internet security management and terminal
CN108337706A (en) A kind of switching method of wireless network, mobile terminal and storage medium
CN109614186A (en) Application program color switching method, system and terminal device
CN107872533A (en) Information-pushing method, device, server and storage medium
CN107277815A (en) Wifi hotspot management method, device and terminal device
CN112306592A (en) Message processing method and device, storage medium and electronic device

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

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.

CP01 Change in the name or title of a patent holder