Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or several further features,
Entirety, step, operation, element, component and/or its presence or addition for gathering.It is also understood that in this description of the invention
Used term is not intended to limit the present invention merely for the sake of the purpose of description specific embodiment.Such as in explanation of the invention
As used in book and appended claims, unless context clearly indicates other situations, otherwise singulative
" one ", "one" and "the" are intended to include plural form.
A kind of method for providing WIFI hot spot provided in an embodiment of the present invention is applied to terminal, and terminal includes but is not limited to
Any one can carry out the electronic product of man-machine interaction with user, smart mobile phone, flat board electricity for example with IOS
Energy, palm electric energy, notebook computer etc..Above electronic equipment is only citing, and non exhaustive, terminal provided in an embodiment of the present invention
Including being still not restricted to above-mentioned electronic equipment.
It is a kind of schematic flow diagram of method that WIFI hot spot is provided provided in an embodiment of the present invention referring to Fig. 1.As schemed
Show, a kind of method for providing WIFI hot spot includes step S101~S106.
S101, obtain the picture for including current WIFI hotspot list in terminal.
Specifically, after WIFI transfer functions in the terminal are opened, the WIFI module in terminal is to terminal current location
In the range of WIFI hot spot be scanned to obtain WIFI hot spot list current in terminal.Current WIFI heat in terminal should be included
The picture of point list can be formed after carrying out artificial sectional drawing to the terminal interface comprising the current WIFI hot spot list of terminal, and
By manually uploading the picture for realizing that acquisition includes current WIFI hotspot list in terminal.
Reference picture 2, step S101 sub-process schematic diagram.As illustrated, step S101 includes step S201~S202.
S201, if detecting, terminal current interface is available WLAN lists, and triggering screenshotss are operated to obtain including in terminal
The picture of current WIFI hotspot list.S202, the loading picture for including current WIFI hotspot list in terminal.In the present invention
It is automatic to trigger screenshotss operation to obtain comprising eventually after it is available WLAN lists to detect terminal current interface in embodiment
The picture of current WIFI hotspot list in end, and the picture comprising current WIFI hotspot list in terminal will be loaded so as to obtain
The picture.
S102, identify the WIFI hot spot in the picture.
Specifically, after the picture comprising the current WIFI hot spot list of terminal is got, OCR (Optical can be passed through
Character Recognition, optical character identification) identification technology obtains the WIFI hot spot in the picture.Wherein, OCR
Identification refers to optical character is identified by image procossing and mode identification technology, is that automatic identification technology is studied and answered
With an importance in field, it is mainly used in the automatic identification of word.
In embodiments of the present invention, it can be identified by OCR technique and WIFI heat is included on the picture being loaded into terminal
Point information is the mark SSID (Service Set Identifier service sets) of WIFI hot spot.SSID technologies can be by one
Individual WLAN is divided into several sub-networks for needing different identity to verify, each sub-network is required for independent identity to test
Card, only can just enter corresponding sub-network by the user of authentication, prevent unauthorized user from entering present networks.
Generally, SSID is the mark of the name taken to the wireless network of oneself, i.e. WIFI hot spot.
S103, obtain the current positional information of terminal.
It should be noted that the sequencing in step S101, S102 and step S103 can adjust, do not limit herein
It is fixed.In embodiments of the present invention can according to the GPS (Global Positioning System global positioning systems) of terminal come
Obtain the current positional information of terminal.It is to be appreciated that terminal can also determine certainly according to modes such as data network or gyroscopes
The current positional information of body.
S104, obtained and the current positional information according to the current positional information of the terminal and default incidence relation
Associated default WIFI hot spot list, the default WIFI hot spot list includes some default WIFI hot spots, described default
Corresponding relation of the incidence relation between positional information and default WIFI hot spot.
Specifically, the default WIFI hot spot is the WIFI hot spot that corresponding safety WIFI is supported, therefore presets WIFI hot spot
WIFI hot spot with terminal system in current WIFI hot spot list is typically incomplete same.The default incidence relation is position
Confidence ceases and presets the corresponding relation between WIFI hot spot, i.e., can be obtained automatically and the terminal according to the current positional information of terminal
The associated default WIFI hot spot list of current positional information, and included and terminal present bit in the default WIFI hot spot list
Put associated default WIFI hot spot.
S105, the WIFI hot spot in the picture that will identify that carry out uniformity comparison to obtain with the default WIFI hot spot
Target WIFI hot spot, the target WIFI hot spot include being present in the current WIFI hot spot list of the terminal and described pre- simultaneously
If the WIFI hot spot in WIFI hot spot list.
In the free WIFI hot spot for being quickly connected to use for the ease of user, it is necessary in the picture that will identify that
WIFI hot spot carries out uniformity comparison to be present in the current WIFI hot spot list of terminal simultaneously with default WIFI hot spot
With the target WIFI hot spot in default WIFI hot spot list, wherein, the target WIFI hot spot is to be available for user freely to be connected
WIFI hot spot.
Specifically, reference picture 3, it is step S105 sub-process schematic diagram.As illustrated, step S105 includes step S301
~S302.
S301, judge the WIFI hot spot in the picture mark with the default WIFI hot spot identify whether it is identical.
Specifically, in embodiments of the present invention, wherein, the WIFI hot spot is identified as WIFI hot spot as the aforementioned
SSID.Judge the mark of the WIFI hot spot in picture and default WIFI hot spot identifies whether identical, if identical, illustrates this
WIFI hot spot is present in the current WIFI lists of terminal system and default WIFI hot spot list simultaneously, and performs S302;If no
Identical, then the WIFI hot spot list for continuing to judge to identify is with whether there is mark identical WIFI in default WIFI hot spot list
Focus is untill the WIFI hot spot comparison of whole terminates.
S302, the mark identical WIFI hot spot is arranged to the target WIFI hot spot.
Specifically, in embodiments of the present invention, judge one by one in step S301 after identifying identical WIFI hot spot,
Mark identical WIFI hot spot is arranged to target WIFI hot spot.It should be noted that for the WIFI in the absence of like-identified
Focus can be hidden or delete.
S106, show the target WIFI hot spot.
Specifically, WIFI hot spot is quickly connected to for the ease of user, shows the target WIFI hot spot.It is to be appreciated that
, can be according to the target WIFI hot spot in order to further be easy to user to connect WIFI hot spot by the available WLAN lists in terminal
Current WIFI hot spot list in more new terminal.
Specifically, reference picture 4, it is step S106 sub-process schematic diagram.As illustrated, step S106 includes step S401
~S403.
S401, calculates the characteristic information of each target WIFI hot spot, and the characteristic information includes target WIFI heat
The signal intensity of point and the speed of the target WIFI hot spot, the signal intensity of the target WIFI hot spot is according to the target
Position and the current location of the terminal where WIFI hot spot calculate gained.
Specifically, the signal intensity of target WIFI hot spot is current according to the position where target WIFI hot spot and terminal
Signal intensity of the target WIFI hot spot that position is calculated at terminal current location.Some target in target WIFI hot spot
The specific calculation of the signal intensity in terminal current location of WIFI hot spot can be:Target WIFI hot spot signal intensity
Ultimate range × target of value=(position where terminal current location-target WIFI hot spot)/target WIFI hot spot transmission
WIFI hot spot signal overall strength.In above-mentioned formula, " position where terminal current location-target WIFI hot spot " to represent eventually
Physical distance between end and target WIFI hot spot;The ultimate range of target WIFI hot spot transmission can be according to target WIFI hot spot
The geographical environment of position where the property parameters of itself, or target WIFI hot spot, or empirical value determination, herein not
Limit.Wherein, the standard that the speed of target WIFI hot spot uses according to wireless network card is different and different, and terminal can obtain automatically
The transmission rate of target WIFI hot spot.
S402, it is each self-corresponding according to the speed of the signal intensity of the target WIFI hot spot and the target WIFI hot spot
Default weight determines putting in order for the target WIFI hot spot.
Specifically, can be by determining each mesh when including multiple target WIFI hot spots in target WIFI hot spot list
Putting in order for mark WIFI hot spot is ranked up with realizing to multiple target WIFI hot spots.In embodiments of the present invention, mesh is passed through
The signal intensity and speed for marking WIFI hot spot determine putting in order for target WIFI hot spot, and the arrangement of target WIFI hot spot is suitable
Sequence is used for the network performance for representing target WIFI hot spot.It is the signal intensity and target WIFI hot spot of target WIFI hot spot in advance
Weight is preset corresponding to rate-allocation, the default weight for being such as the signal intensity setting of target WIFI hot spot is 60%, is target
The default weight that the speed of WIFI hot spot is set is 40%, then is each corresponded to according to the signal intensity of target WIFI hot spot and speed
Default weight calculate putting in order for the target WIFI hot spot.It is to be appreciated that the setting of default weight can be according to tool
Body application environment is set, and is not construed as limiting herein.
S403, according to the display target WIFI hot spot that puts in order of the target WIFI hot spot of determination.
Specifically, the target WIFI hot spot being connected to for the ease of user, according to target WIFI hot spot in step S402
Signal intensity and target WIFI hot spot each self-corresponding default weight of speed determine target WIFI hot spot put in order it
Afterwards, the target WIFI hot spot after display sequence, so that user quickly chooses network performance from the target WIFI lists of display
Optimal target WIFI hot spot.It is to be appreciated that each target WIFI hot spot in target WIFI lists can also be corresponded to
Prompt message is marked, such as " performance of the WIFI hot spot is high ", " WIFI hot spot can be connected freely " are so that user is quick
Linking objective WIFI hot spot.
The embodiment of the present invention includes the picture of current WIFI hotspot list in terminal by obtaining, and identifies in the picture
WIFI hot spot, the current positional information of terminal is then obtained, and obtained according to the current positional information of terminal and default incidence relation
Take the default WIFI hot spot list that the positional information current with terminal is associated, and the WIFI hot spot in the picture that will identify that with
Default WIFI hot spot carries out uniformity comparison and obtains target WIFI hot spot, and shows the target WIFI hot spot for selection by the user,
Because the target WIFI hot spot of display is is present in WIFI lists current in terminal and default WIFI lists simultaneously, so as to sieve
The underproof WIFI hot spot in part is fallen in choosing, to improve the efficiency and connection accuracy, raising user's body that user connects WIFI hot spot
Test.
Reference picture 5, it is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.In the present embodiment as depicted
Terminal 50 include first acquisition unit 51, recognition unit 52, second acquisition unit 53, the 3rd acquiring unit 54, comparing unit 55,
And output unit 56.
First acquisition unit 51, the picture of current WIFI hotspot list in terminal is included for obtaining.Specifically, in terminal
In WIFI transfer functions open after, the WIFI module in terminal is swept to the WIFI hot spot in the range of terminal current location
Retouch to obtain WIFI hot spot list current in terminal.The picture for including current WIFI hotspot list in terminal can be to bag
The terminal interface of the current WIFI hot spot list containing terminal is formed after carrying out artificial sectional drawing, and realizes acquisition bag by manually uploading
Picture containing current WIFI hotspot list in terminal.
Recognition unit 52, if the picture for including current WIFI hotspot list in terminal for receiving user's upload, knows
WIFI hot spot in not described picture.
Specifically, after the picture comprising the current WIFI hot spot list of terminal is got, OCR (Optical can be passed through
Character Recognition, optical character identification) identification technology obtains the WIFI hot spot in the picture.Wherein, OCR
Identification refers to optical character is identified by image procossing and mode identification technology, is that automatic identification technology is studied and answered
With an importance in field, it is mainly used in the automatic identification of word.
In embodiments of the present invention, it can be identified by OCR technique and WIFI heat is included on the picture being loaded into terminal
Point information is the mark SSID (Service Set Identifier service sets) of WIFI hot spot.SSID technologies can be by one
Individual WLAN is divided into several sub-networks for needing different identity to verify, each sub-network is required for independent identity to test
Card, only can just enter corresponding sub-network by the user of authentication, prevent unauthorized user from entering present networks.
Generally, SSID is the mark of the name taken to the wireless network of oneself, i.e. WIFI hot spot.
Second acquisition unit 53, the positional information current for obtaining terminal.In embodiments of the present invention can be according to end
The GPS (Global Positioning System global positioning systems) at end obtains the current positional information of terminal.It can manage
Xie Di, terminal can also determine itself current positional information according to modes such as data network or gyroscopes.
3rd acquiring unit 54, for according to the current positional information of the terminal and default incidence relation obtain with it is described
The associated default WIFI hot spot list of current positional information, the default WIFI hot spot list include some default WIFI
Focus, corresponding relation of the default incidence relation between positional information and default WIFI hot spot.
Specifically, the default WIFI hot spot is the WIFI hot spot that corresponding safety WIFI is supported, therefore presets WIFI hot spot
WIFI hot spot with terminal system in current WIFI hot spot list is typically incomplete same.The default incidence relation is position
Confidence ceases and presets the corresponding relation between WIFI hot spot, i.e., can be obtained automatically and the terminal according to the current positional information of terminal
The associated default WIFI hot spot list of current positional information, and included and terminal present bit in the default WIFI hot spot list
Put associated default WIFI hot spot.
Comparing unit 55, uniformity is carried out for the WIFI hot spot in the picture that will identify that and the default WIFI hot spot
Compare to obtain target WIFI hot spot, the target WIFI hot spot includes being present in the current WIFI hot spot row of the terminal simultaneously
WIFI hot spot in table and the default WIFI hot spot list.
Specifically, the default WIFI hot spot is correspondingly this supported WIFI hot spot of application of safety WIFI, therefore default
WIFI hot spot is typically incomplete same with the WIFI hot spot in the current WIFI hot spot list of terminal system.The default association
Corresponding relation of the relation between positional information and default WIFI hot spot, i.e., it can be obtained automatically according to the current positional information of terminal
The default WIFI hot spot list associated with the positional information that the terminal is current, and included and end in the default WIFI hot spot list
Hold the associated default WIFI hot spot in current location.
Output unit 56, for showing the target WIFI hot spot.Specifically, it is quickly connected to WIFI for the ease of user
Focus, show the target WIFI hot spot.It is to be appreciated that in order to further be easy to user to pass through the available WLAN lists in terminal
WIFI hot spot is connected, can be according to WIFI hot spot list current in the target WIFI hot spot more new terminal.
Further, reference picture 6, it is the schematic block diagram of first acquisition unit.As illustrated, first acquisition unit 51 is wrapped
Include trigger element 511 and loading unit 512.
Trigger element 511, if for detecting that terminal current interface is available WLAN lists, triggering screenshotss are operated to obtain
Include the picture of current WIFI hotspot list in terminal.
Loading unit 512, for loading the picture for including current WIFI hotspot list in terminal.
In embodiments of the present invention, after it is available WLAN lists to detect terminal current interface, screenshotss are triggered automatically
Operate to obtain including the picture of current WIFI hotspot list in terminal, and loading should be included into current WIFI hotspot in terminal and arranged
The picture of table is so as to obtaining the picture.
Further, reference picture 7, it is the schematic block diagram of comparing unit.As illustrated, comparing unit 55 includes judging list
Member 551 and setting unit 552.
Judging unit 551, the mark of mark and the default WIFI hot spot for judging the WIFI hot spot in the picture
Whether identical know.Specifically, in embodiments of the present invention, wherein, the WIFI hot spot is identified as WIFI hot spot as the aforementioned
SSID.Judge the mark of the WIFI hot spot in picture and default WIFI hot spot identifies whether identical, if identical, illustrates this
WIFI hot spot is present in the current WIFI lists of terminal system and default WIFI hot spot list simultaneously;If differing, continue
The WIFI hot spot list for judging to identify is with whether there is mark identical WIFI hot spot until complete in default WIFI hot spot list
Untill the WIFI hot spot comparison in portion terminates.
Setting unit 552, for the mark identical WIFI hot spot to be arranged into the target WIFI hot spot.Specifically
Ground, in embodiments of the present invention, after judging unit 551 is judged to identify identical WIFI hot spot, pass through setting unit 552
Mark identical WIFI hot spot is arranged to target WIFI hot spot.It should be noted that for the WIFI in the absence of like-identified
Focus can be hidden or delete.
Further, reference picture 8, it is the schematic block diagram of output unit.As illustrated, output unit 56 includes calculating list
Member 561, determining unit 562 and display unit 563.
Computing unit 561, for calculating the characteristic information of each target WIFI hot spot, the characteristic information includes
The speed of the signal intensity of target WIFI hot spot and the target WIFI hot spot, the signal intensity of the target WIFI hot spot is root
Gained is calculated according to the position where the target WIFI hot spot and the current location of the terminal.
Specifically, the signal intensity of target WIFI hot spot is current according to the position where target WIFI hot spot and terminal
Signal intensity of the target WIFI hot spot that position is calculated at terminal current location.Some target in target WIFI hot spot
The specific calculation of the signal intensity in terminal current location of WIFI hot spot can be:Target WIFI hot spot signal intensity
Ultimate range × target of value=(position where terminal current location-target WIFI hot spot)/target WIFI hot spot transmission
WIFI hot spot signal overall strength.In above-mentioned formula, " position where terminal current location-target WIFI hot spot " to represent eventually
Physical distance between end and target WIFI hot spot;The ultimate range of target WIFI hot spot transmission can be according to target WIFI hot spot
The geographical environment of position where the property parameters of itself, or target WIFI hot spot, or empirical value determination, herein not
Limit.Wherein, the standard that the speed of target WIFI hot spot uses according to wireless network card is different and different, and terminal can obtain automatically
The transmission rate of target WIFI hot spot.
Determining unit 562, for identifying identified user gradation.Specifically, in embodiments of the present invention, determining
After the user gradation of the user, in order to provide matched processing scheme, identification for identified user gradation
Identified user gradation.
Specifically, can be by determining each mesh when including multiple target WIFI hot spots in target WIFI hot spot list
The quality of mark WIFI hot spot is ranked up to multiple target WIFI hot spots.In embodiments of the present invention, target WIFI hot spot is passed through
Signal intensity and speed determine the quality of target WIFI hot spot.It is the signal intensity and target of target WIFI hot spot in advance
Weight is preset corresponding to the rate-allocation of WIFI hot spot, the default weight for being such as the signal intensity setting of target WIFI hot spot is
60%, the default weight that sets of speed for being target WIFI hot spot is 40%, then according to the signal intensity of target WIFI hot spot and
Speed each self-corresponding default weight calculates the quality of the target WIFI hot spot.It is to be appreciated that the setting of default weight can
To be set according to concrete application environment, it is not construed as limiting herein.
Display unit 563, the display target WIFI that puts in order for the target WIFI hot spot according to determination
Focus.
Specifically, the target WIFI hot spot being connected to for the ease of user, according to target WIFI hot spot in step S402
Signal intensity and target WIFI hot spot each self-corresponding default weight of speed determine target WIFI hot spot put in order it
Afterwards, the target WIFI hot spot after display sequence, so that user quickly chooses network performance from the target WIFI lists of display
Optimal target WIFI hot spot.It is to be appreciated that each target WIFI hot spot in target WIFI lists can also be corresponded to
Prompt message is marked, such as " performance of the WIFI hot spot is high ", " WIFI hot spot can be connected freely " are so that user is quick
Linking objective WIFI hot spot.
The embodiment of the present invention obtains the picture for including current WIFI hotspot list in terminal by first acquisition unit 51, and
WIFI hot spot in the picture is identified by recognition unit 52, then second acquisition unit 53 obtains the current position letter of terminal
Breath, and obtained and the current position of terminal according to the current positional information of terminal and default incidence relation by the 3rd acquiring unit 54
The default WIFI hot spot list of confidence manner of breathing association, and the WIFI hot spot in the picture that will identify that passes through with default WIFI hot spot
Comparing unit 55 carries out uniformity comparison and obtains target WIFI hot spot, and shows the target WIFI hot spot by output unit 56
For selection by the user, because the target WIFI hot spot of display is to be present in current WIFI lists and default WIFI in terminal simultaneously
It is accurate to improve the efficiency of user's connection WIFI hot spot and connection so as to screen out the underproof WIFI hot spot in part in list
Property, improve Consumer's Experience.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially
Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through
Its mode is realized.For example, appliance arrangement embodiment described above is only schematical, for example, the unit is drawn
Point, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can
To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is in addition, shown or discussed
Mutual coupling or direct-coupling or communication connection can be indirect coupling by some interfaces, appliance arrangement or unit
Close or communication connection or electricity, the connection of mechanical or other forms.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, terminal, or network equipment etc.) performs the whole of each embodiment methods described of the present invention
Or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It is above the preferred embodiment of invention, rather than any formal limitation is done to invention.Those skilled in the art
Various equivalent changes and improvement, all equivalent changes done within the scope of the claims can be imposed on the basis of above-described embodiment
Change or modify, all should fall within the scope of invention.