CN108810916A - Wi-Fi Hotspot recommends method, apparatus and storage medium - Google Patents
Wi-Fi Hotspot recommends method, apparatus and storage medium Download PDFInfo
- Publication number
- CN108810916A CN108810916A CN201810343659.5A CN201810343659A CN108810916A CN 108810916 A CN108810916 A CN 108810916A CN 201810343659 A CN201810343659 A CN 201810343659A CN 108810916 A CN108810916 A CN 108810916A
- Authority
- CN
- China
- Prior art keywords
- hotspot
- power
- terminal
- connect
- terminals
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/22—Traffic simulation tools or models
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/18—Management of setup rejection or failure
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention proposes that a kind of Wi-Fi Hotspot recommendation method, this method include:Receive multiple Wi-Fi Hotspots for scan of terminal, obtain the current signal strength of multiple Wi-Fi Hotspot, the number of terminals currently accessed, co-channel interference value, connect into power and the terminal connect into power, and generate multigroup array respectively;Multigroup array is inputted in trained connection judgment model in advance respectively, predicts that can the multiple Wi-Fi Hotspot successful connection;The multiple Wi-Fi Hotspot is divided into first set and second set according to prediction result, and each Wi-Fi Hotspot is ranked up according to the sequence of co-channel interference value from low to high;And recommend each Wi-Fi Hotspot in the first set to user successively according to ranking results.The present invention also proposes a kind of electronic device and storage medium.Using the present invention, optimal Wi-Fi Hotspot can be recommended to be attached operation for user to user, promote user's online experience.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of Wi-Fi Hotspot to recommend method, electronic device and calculating
Machine readable storage medium storing program for executing.
Background technology
When mobile terminal starts wireless lan function, the Wi-Fi heat scanned can be shown in WLAN interface
Point, user can manually be connected to scanning Wi-Fi Hotspot, if there is the Wi-Fi heat once connected in the hot spot scanned
Point, then system the Wi-Fi Hotspot can be attached automatically.May include to exempt from the Wi-Fi Hotspot list that terminal scans
Take Wi-Fi Hotspot, such as:Operator's Wi-Fi Hotspot (China Mobile, China Telecom, China Unicom), public Wi-Fi Hotspot, businessman
Wi-Fi Hotspot etc..User is for the free Wi-Fi Hotspot that scans or connects the Wi-Fi Hotspot once connected automatically,
User chooses at random Wi-Fi Hotspot and is attached, and choosing at random causes the Wi-Fi Hotspot of connection to be not usually optimal, shadow
Ring user's online experience.
It is well known that the number of terminals that a Wi-Fi Hotspot has accessed is more, co-channel interference value is bigger, other-end connection
The success rate of the Wi-Fi Hotspot is lower, and user experience is poorer.Realize that Wi-Fi Hotspot pushes away based on this principle currently, having in the industry
The APP of function is recommended, however, practical effect and bad.
Invention content
A kind of Wi-Fi Hotspot of present invention offer recommends method, electronic device and computer readable storage medium, main mesh
Be by preferentially recommending prediction to can be connected to work(and the lower Wi-Fi Hotspot of co-channel interference value is attached to user, carry
Height connects into power, promotes user's online experience.
To achieve the above object, the present invention provides a kind of electronic device, which includes:Memory, processor, institute
It states and is stored with Wi-Fi Hotspot recommended program on memory, the Wi-Fi Hotspot recommended program is realized when being executed by the processor
Following steps:
Multiple Wi-Fi Hotspots for scan of terminal are received, the current signal strength of multiple Wi-Fi Hotspot, currently is obtained
The number of terminals that has accessed, co-channel interference value, connect into power and the terminal connect into power, and be respectively combined generate it is described more
The corresponding array of a Wi-Fi Hotspot;
Respectively by the corresponding array input of the multiple Wi-Fi Hotspot in advance trained connection judgment model, predict
Can the multiple Wi-Fi Hotspot successful connection;
It includes the Wi-Fi Hotspot for predicting can be connected to work(to be divided into the multiple Wi-Fi Hotspot according to prediction result
First set and the second set for including the Wi-Fi Hotspot for predicting to be unable to successful connection, and from low to high according to co-channel interference value
Sequence each Wi-Fi Hotspot in first set, second set is ranked up;And
Recommend each Wi-Fi Hotspot in the first set to user successively according to ranking results.
In addition, to achieve the above object, the present invention also provides a kind of Wi-Fi Hotspot recommendation method, this method includes:
Multiple Wi-Fi Hotspots for scan of terminal are received, the current signal strength of multiple Wi-Fi Hotspot, currently is obtained
The number of terminals that has accessed, co-channel interference value, connect into power and the terminal connect into power, and be respectively combined generate it is described more
The corresponding array of a Wi-Fi Hotspot;
Respectively by the corresponding array input of the multiple Wi-Fi Hotspot in advance trained connection judgment model, predict
Can the multiple Wi-Fi Hotspot successful connection;
It includes the Wi-Fi Hotspot for predicting can be connected to work(to be divided into the multiple Wi-Fi Hotspot according to prediction result
First set and the second set for including the Wi-Fi Hotspot for predicting to be unable to successful connection, and from low to high according to co-channel interference value
Sequence each Wi-Fi Hotspot in first set, second set is ranked up;And
Recommend each Wi-Fi Hotspot in the first set to user successively according to ranking results.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
It is stored with Wi-Fi Hotspot recommended program on storage medium, is realized when the Wi-Fi Hotspot recommended program is executed by processor as above
The Wi-Fi Hotspot recommends the step of method.
Compared to the prior art, Wi-Fi Hotspot proposed by the present invention recommends method, electronic device and computer-readable storage
Medium, the current each Wi-Fi heat of acquisition of information in 1. management frames sent on broadcast control channel by multiple Wi-Fi Hotspots
The number of terminals of point accessed, only parses the management frame of each Wi-Fi Hotspot, is not related to data-privacy, can parallel computation
The access amount of multiple Wi-Fi Hotspots, the information for not being related to access terminal individual;2. the Wi-Fi Hotspot of predetermined different brands
Power is connected into the case of the number of terminals difference accessed, is the Wi-Fi Hotspot of different brands and different types of end
Identical appraisement system is established at end, and number of samples is big, makes result of calculation closest to actual conditions;3. by by Wi-Fi Hotspot
Each index inputs connection judgment model, prediction Wi-Fi Hotspot can successful connection, and it is dry according to the same frequency of each Wi-Fi Hotspot
It disturbs value to be ranked up each Wi-Fi Hotspot, preferentially recommends prediction to can be connected to work(and the lower Wi-Fi of co-channel interference value to user
Hot spot, so that user is attached operation, effectively increase Wi-Fi Hotspot connects into power, promotes the online experience of user.
Description of the drawings
Fig. 1 is the schematic diagram of electronic device preferred embodiment of the present invention;
Fig. 2 is the Program modual graph of Wi-Fi Hotspot recommended program in Fig. 1;
Fig. 3 is the flow chart that Wi-Fi Hotspot of the present invention recommends method preferred embodiment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of electronic device 1.It is the signal of 1 preferred embodiment of electronic device of the present invention shown in referring to Fig.1
Figure.
In the present embodiment, which includes memory 11, processor 12, network interface 13 and communication bus 14.
Wherein, communication bus 14 is for realizing the connection communication between these components.
Network interface 13 may include standard wireline interface and wireless interface (such as WI-FI interface).Eventually commonly used in connection
It holds (not marked in Fig. 1).In the present embodiment, electronic device 1 can connect database by network interface 13 and (not marked in Fig. 1
Go out), carry out data transmission with database.Database includes the recent Wi-Fi collected by the FTP client FTP of different terminals
The historical data of hot spot.
The terminal can be that notebook, tablet computer, smart mobile phone, E-book reader etc. are matched with WLAN
The terminal device set.
Memory 11 includes the readable storage medium storing program for executing of at least one type.The readable storage medium storing program for executing of at least one type
It can be the non-volatile memory medium of such as flash memory, hard disk, multimedia card, card-type memory.In some embodiments, described can
Read the internal storage unit that storage medium can be the electronic device 1, such as the hard disk of the electronic device 1.In other realities
It applies in example, the readable storage medium storing program for executing can also be the External memory equipment of the electronic device 1, such as the electronic device 1
The plug-in type hard disk of upper outfit, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital,
SD) block, flash card (Flash Card) etc..
In the present embodiment, the readable storage medium storing program for executing of the memory 11 is installed on the electronic device commonly used in storage
1 Wi-Fi Hotspot recommended program 10 etc..The memory 11, which can be also used for temporarily storing, have been exported or will export
Data.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), microprocessor or other data processing chips, the program code for being stored in run memory 11 or processing data, example
Such as execute Wi-Fi Hotspot recommended program 10.
Fig. 1 illustrates only the electronic device 1 with component 11-14 and Wi-Fi Hotspot recommended program 10, it should be understood that
Be, it is not required that implement all components shown, the implementation that can be substituted is more or less component.
Optionally, the electronic device 1 can also include user interface, user interface may include display (Display),
Input unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface and wireless interface.
Optionally, which can also include display, can be light-emitting diode display, liquid crystal in some embodiments
Display, touch-control liquid crystal display and Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
Touch device etc..Display is for showing the information handled in an electronic and for showing visual user interface.
In device embodiment shown in Fig. 1, the memory 11 as a kind of computer storage media includes Wi-Fi heat
Point recommended program 10, processor 12 realize following steps when executing the Wi-Fi Hotspot recommended program 10 stored in memory 11:
Multiple Wi-Fi Hotspots for scan of terminal are received, the current signal strength of multiple Wi-Fi Hotspot, currently is obtained
The number of terminals that has accessed, co-channel interference value, connect into power and the terminal connect into power, and be respectively combined generate it is described more
The corresponding array of a Wi-Fi Hotspot;
Respectively by the corresponding array input of the multiple Wi-Fi Hotspot in advance trained connection judgment model, predict
Can the multiple Wi-Fi Hotspot successful connection;
It includes the Wi-Fi Hotspot for predicting can be connected to work(to be divided into the multiple Wi-Fi Hotspot according to prediction result
First set and the second set for including the Wi-Fi Hotspot for predicting to be unable to successful connection, and from low to high according to co-channel interference value
Sequence each Wi-Fi Hotspot in first set, second set is ranked up;And
Recommend each Wi-Fi Hotspot in the first set to user successively according to ranking results.
In the present embodiment, the client release of Wi-Fi Hotspot recommended program is installed (later in the terminal that user uses
Abbreviation APP), client is attached Wi-Fi Hotspot by the APP and operates.For example, when user wants connection Wi-Fi Hotspot,
The APP is scanned by terminal in the available multiple Wi-Fi Hotspots in current location, and APP sends the multiple Wi-Fi Hotspots scanned
To electronic device 1, electronic devices 1 are ranked up and recommend to multiple Wi-Fi Hotspots.
After electronic device 1 receives multiple Wi-Fi Hotspots that terminal is sent by APP, it is necessary first to consider Wi-Fi heat
Whether point can be connected to work(, secondly also need influence of the signal strength to user's online experience after consideration successful connection.It is appreciated that
, the factor for connecting into power for influencing Wi-Fi Hotspot includes:The hardware condition of Wi-Fi Hotspot itself, the performance of terminal,
The currently attached number of terminals of Wi-Fi Hotspot, the current location (signal strength for directly affecting Wi-Fi Hotspot) of terminal and Wi-
Co-channel interference value of Fi hot spots etc..Therefore, the history of the multiple Wi-Fi Hotspot is transferred from database (not identified in Fig. 1)
Data obtain each index of each Wi-Fi Hotspot respectively:The current number of terminals accessed, co-channel interference value, connect into power and
The terminal connects into power.Wherein, the historical data of the multiple Wi-Fi Hotspot includes:The MAC Address of each Wi-Fi Hotspot,
(successful connection, connection are lost for the management frame of periodicity sending, the number for being attempted connection and mode of operation on broadcast control channel
Lose) and it is attempted the terminal type etc. of connection.Meanwhile obtaining the current signal strength of the multiple Wi-Fi Hotspot.
Specifically, the number of terminals that each Wi-Fi Hotspot has currently accessed is obtained by following steps:It obtains respectively each
The a plurality of management frame (Beacon frames) of Wi-Fi Hotspot periodicity sending on broadcast control channel, from a plurality of management frame
It wins out data and ceases (Traffic Indiation Map, TIM) for communication, wherein the data use bitmap knot for communication breath
Structure (Bitmap);The data " 0 " in bitmap structure in each data to be transferred flag or " 1 " are checked, to the multiple bitmap knot
Data in data to be transferred flag in structure carry out inclusive-OR operation, form a total bitmap structure;And statistics total bitmap
In structure in each data to be transferred flag data " 1 " quantity, as the number of terminals of each Wi-Fi Hotspot accessed.
It is to be understood that by taking Wi-Fi Hotspot A as an example, Wi-Fi Hotspot A sends management every 1 millisecond on management channel
Frame, then the first preset time (5 seconds) interior Wi-Fi Hotspot A can send 5000 management frames, that is to say, that 5000 can be obtained
A Bitmap structures.Include multiple data to be transferred flags corresponding with different terminals respectively, terminal in each Bitmap structures
By checking the data in corresponding data to be transferred flag, learn whether it has data buffer storage to be passed.If will be described
If Bitmap structures regard a matrix as, then each element is then the corresponding data to be transferred mark of each terminal in matrix
Position, when certain element is 1, then representing its corresponding terminal has data buffer storage to be passed, you can is interpreted as the terminal and has accessed Wi-Fi heat
Point A.If element is 0, representing its corresponding terminal does not have data to be transferred caching, illustrates that Wi-Fi heat is currently not used in the terminal
Point A because being not take up the resource of Wi-Fi Hotspot A, therefore can be regarded as the terminal and not access Wi-Fi Hotspot A.In addition, ordinary circumstance
Under, in each Bitmap structures, distributing to the data to be transferred flag of each terminal will not change, therefore, by will be above-mentioned
The data of each data to be transferred flag carry out inclusive-OR operation in 5000 Bitmap structures, form a Bitmap structure, then
The number for the data to be transferred flag for having data buffer storage to be passed in this Bitmap structure is counted, and as access Wi-
The quantity of the terminal of Fi hot spots A.
After obtaining the multiple Wi-Fi Hotspot terminal access situation, distinguished according to the MAC Address of each Wi-Fi Hotspot
The brand of each Wi-Fi Hotspot, it should be noted that the MAC Address of each Wi-Fi Hotspot is by six groups two hexadecimal numbers
Word forms, such as ab:cd:ef:gh:ij:Kl, wherein the hexadecimal digit ab of first three groups two:cd:Ef is for distinguishing Wi-
The different brands of Fi hot spots, rear three groups two hexadecimal digit gh:ij:Kl is used to distinguish the different Wi-Fi of same brand
Hot spot.According to the brand of the multiple Wi-Fi Hotspot and the current number of terminals accessed, from the various brands Wi-Fi in database
Hot spot connects into power list, and reading connects into power accordingly.
In addition, obtaining the model of the terminal, and the classification of the terminal is determined according to terminal models.According to the terminal
Classification, the brand of multiple Wi-Fi Hotspots and the current number of terminals accessed, connect from the various brands Wi-Fi Hotspot in database
It is connected into power list, that reads the terminal connects into power.
In the present embodiment, it is predetermined, specific meter that the various brands Wi-Fi Hotspot, which connects into power list,
Calculating step includes:
The Wi-Fi Hotspot of preset quantity is randomly choosed for the Wi-Fi Hotspot of different brands;
The Wi-Fi Hotspot of the preset quantity is counted respectively during the number of terminals accessed increases to n+1 from n,
The trial of preset each Terminal Type connects number, wherein n >=0 calculates the Wi-Fi Hotspot of the preset quantity of the different brands
When the number of terminals accessed is n, each Terminal Type connects into power;
The Wi-Fi Hotspot of the preset quantity is counted respectively during the number of terminals accessed increases to n+1 from n
Attempt connection number, wherein n >=0 calculates the Wi-Fi Hotspot of the preset quantity of the different brands in the number of terminals accessed
For n when connect into power;And
It repeats the above steps, calculates company of the Wi-Fi Hotspot of different brands in the case of the number of terminals difference accessed
Be connected into power and each Terminal Type connects into power, obtains the various brands Wi-Fi Hotspot and connects into power list.
Specifically, by taking TP-LINKxxxx as an example, (for example, i) Wi-Fi heat of the preset quantity of the brand is randomly selected
Sample of the point as the brand Wi-Fi Hotspot selects preset each Terminal Type (for example, to account for the most preceding k of the market share respectively
The mobile phone of kind of model), when counting number of terminals that the i Wi-Fi Hotspot sample has accessed respectively from 0 to 1, each Terminal Type is tasted
Examination connection number tik0, when summarizing to obtain number of terminals that the i Wi-Fi Hotspot sample has accessed from 0 to 1, each Terminal Type is tasted
Examination connection total degreeThe i Wi-Fi Hotspot sample is calculated when the number of terminals accessed is 0, the company of each Terminal Type
It is connected into power αk0, calculation formula isSimilarly it is found that the i Wi-Fi Hotspot sample is accessing
When number of terminals is n, the calculation formula for connecting into power of each Terminal Type is:Wherein, k, n are integer,
And it is more than or equal to 0.
Equally, by taking TP-LINKxxxx as an example, (for example, i) Wi-Fi Hotspot of the preset quantity of the brand is randomly selected
As the sample of the brand Wi-Fi Hotspot, when counting number of terminals that the i Wi-Fi Hotspot sample has accessed respectively from 0 to 1
Trial connection number ti0, trial connection when summarizing to obtain number of terminals that the i Wi-Fi Hotspot sample has accessed from 0 to 1
Total degreeIt calculates the i Wi-Fi Hotspot sample and connects into power α when the number of terminals accessed is 00, calculate
Formula isSimilarly it is found that connection of the i Wi-Fi Hotspot sample when the number of terminals accessed is n
The calculation formula of success rate is:Wherein, n is integer, and is more than or equal to 0.It should be noted that the step
Do not consider that terminal attempts the terminal class of connection Wi-Fi Hotspot.
According to above-mentioned Wi-Fi Hotspot brand, the number of terminals accessed, the successful connection for connecting into power and different terminals
Rate repeats aforesaid operations, obtains the Wi-Fi Hotspot of different brands in the case of the number of terminals difference accessed, right
That answers connects into power, and final result is shown in the form of various brands Wi-Fi Hotspot connects into power list.
In other embodiments, certain Wi-Fi Hotspot connection number most end can also be selected according to actual conditions
End, the various brands Wi-Fi Hotspot under calculating premised on this terminal connect into power list, and what can be made in this way is each
Brand Wi-Fi Hotspot connects into power list more closing to reality situation, and specific steps are roughly the same with above-mentioned steps, here
It repeats no more.
However, there are a kind of situation, the preset various brands Wi-Fi Hotspot connects into power list, it is impossible to
Completely include the Wi-Fi Hotspot of arbitrary brand connects into power.Therefore, the preset various brands Wi-Fi Hotspot is connected
It is connected into the Wi-Fi Hotspot for the brand in power list not included, can not learn that it connects into power, for this one kind Wi-
Fi hot spots take preset default connection success rate or take the average value for connecting into power of other multiple Wi-Fi Hotspots, assignment
Give this kind of Wi-Fi Hotspot.Further, when the default connection success rate of this kind of Wi-Fi Hotspot and other multiple Wi-Fi heat
When the average value for connecting into power of point is inconsistent, the greater is taken to connect into power as this kind of Wi-Fi Hotspot.Similarly,
The power that connects into of each Terminal Type can also refer to above-mentioned steps determination, and which is not described herein again.
Further, the current co-channel interference value of the multiple Wi-Fi Hotspot is obtained by following steps:Successively obtain with
The identical multiple same frequency Wi-Fi Hotspots of the multiple Wi-Fi Hotspot frequency point;The multiple same frequency Wi-Fi Hotspot pair is determined respectively
The co-channel interference value of the multiple Wi-Fi Hotspot;And to the multiple same frequency Wi-Fi Hotspot to the multiple Wi-Fi Hotspot
Co-channel interference value adds up, and obtains the corresponding co-channel interference value of the multiple Wi-Fi Hotspot.
Specifically, it by taking Wi-Fi Hotspot B as an example, obtains first multiple (for example, m) identical with Wi-Fi Hotspot B frequency points
With frequency Wi-Fi Hotspot, and the signal strength R of Wi-Fi Hotspot B is obtained respectivelyBAnd the signal strength R with frequency Wi-Fi Hotspotm;When this
The signal strength R of multiple same frequency Wi-Fi HotspotsmNot less than predetermined threshold value (for example, -80db), and Rm>RBWhen, or | Rm-RB|<
When 6db, with frequency Wi-Fi Hotspot to the co-channel interference value I of Wi-Fi Hotspot BmIt is 1;When the signal of multiple same frequency Wi-Fi Hotspot
Intensity RmLess than predetermined threshold value (for example, -80db), and Rm>RBWhen, or | Rm-RB|<When 6db, with frequency Wi-Fi Hotspot to Wi-Fi
The co-channel interference value I of hot spot BmIt is 0.5, all same frequency Wi-Fi Hotspots is calculated to the same of Wi-Fi Hotspot B using above-mentioned steps
Frequency interference value ImAfterwards, to multiple same frequency Wi-Fi Hotspots to the co-channel interference value I of Wi-Fi Hotspot BmIt adds up, obtains Wi-Fi heat
The corresponding co-channel interference value of point BSimilarly, using above-mentioned steps, multiple Wi-Fi Hotspots pair that computing terminal scans
The co-channel interference value answered.
In the signal strength for determining the multiple Wi-Fi Hotspot, the current number of terminals accessed, co-channel interference value, connection
Success rate and the terminal connect into power this 5 indexs after, according to preset format by 5 indicator combinations at array (example
Such as, [r1, r2, r3, r4, r5], wherein r1, r2, r3, r4, r5 respectively represent signal strength, the number of terminals that has accessed, dry with frequency
Disturb value, each Wi-Fi Hotspot connect into power, the terminal connects into power), respectively the multiple Wi-Fi Hotspot is corresponded to
Array input in advance in trained connection judgment model, predict that can the multiple Wi-Fi Hotspot successful connection.
In the present embodiment, the training step of the connection judgment model includes:
Obtain signal strength when predetermined Wi-Fi Hotspot connects in the second preset time, accessed terminal
Quantity, co-channel interference value etc. in real time factor, different brands Wi-Fi Hotspot connect into power, different classes of terminal connects into
The historical statistical datas such as power show it in the form of array [r1, r2, r3, r4, r5], and according to company when connecting
Binding fruit is that every group of array marks label (for example, successful connection marks " 1 ", connection failure marks " 0 "), by above-mentioned label label
Data afterwards are as sample set [X, Y], wherein X is [r1, r2, r3, r4, r5], Y is " 1 " or " 0 ".It is extracted from sample set
As training set [X1, Y1], the data for being left 20% are used as verification set [X2, Y2], are gathered using training 80% data
[X1, Y1] is respectively to multiple disaggregated models (for example, neural network model, Random Forest model, linear regression model (LRM), logic are returned
Return model) it is trained, and tuning is carried out to the disaggregated model after training, after gathering [X2, Y2] to tuning using verification
Disaggregated model verified, selected from above-mentioned multiple disaggregated models with the most like optimal models M of verification result as company
Connect judgment models.
It should be noted that after determining connection judgment model, the model file of model M is issued dynamically to front-end A PP,
That is predict Wi-Fi Hotspot can successful connection during, be not required to and rear end occur data interaction.In other implementations
In example, in order to improve the accuracy rate of connection judgment model, every third preset time (for example, 30 days), sample number is collected again
According to, update training pattern, implementation model iteration optimization.
According to result " 1 "/" 0 " that connection judgment model exports, predict that can the multiple Wi-Fi Hotspot successful connection.
It, need to be to the multiple Wi-Fi Hotspot can be after successful connection carries out prediction judgement to the multiple Wi-Fi Hotspot
It is ranked up.Specifically, first according to the multiple Wi-Fi Hotspot can successful connection, the multiple Wi-Fi Hotspot is divided
For first set and second set, include in first set is the Wi-Fi Hotspot that prediction can be connected to work(, is wrapped in second set
What is contained is the Wi-Fi Hotspot that prediction is unable to successful connection, during subsequent recommendation, the recommendation of Wi-Fi Hotspot in first set
Prior to the propulsion of Wi-Fi Hotspot in second set.It is understood that in the possible successful connection simultaneously of multiple Wi-Fi Hotspots
Or simultaneously may be in the case of connection failure, the corresponding co-channel interference value of each Wi-Fi Hotspot is bigger, to the upper dictyosome of user
It is also bigger to test influence, therefore, according to the sequence of the corresponding co-channel interference value of each Wi-Fi Hotspot from low to high, collects respectively to first
Wi-Fi Hotspot in conjunction and second set is ranked up, and wherein co-channel interference value can be extracted directly from the result of above-mentioned steps,
So it will not be repeated.
If in identity set, there are the co-channel interference of two or more Wi-Fi Hotspots value is equal, then according to each
The sequence of the signal strength of Wi-Fi Hotspot from high to low further arranges described two or more than two Wi-Fi Hotspots
Sequence, until obtaining final ranking results.
It determines in first set and second set after the ranking results of each Wi-Fi Hotspot, recommends in first set to user
Sort forward each Wi-Fi Hotspot.It is understood that in order to enable users to use network as early as possible, if in the 4th preset time
(for example, 5 seconds) interior user has carried out attended operation to the sequence of recommendation near preceding Wi-Fi Hotspot, but can not connect Wi-Fi heat
Point then continues to recommend the forward Wi-Fi Hotspot that sorts in remaining multiple Wi-Fi Hotspots in first set to user, for user
It is operated with reference to being attached.If user can not connect all Wi-Fi Hotspots in first set, second is provided a user successively
Each Wi-Fi Hotspot in set.
The electronic device 1 that above-described embodiment proposes, by the way that each index of Wi-Fi Hotspot is inputted connection judgment model,
Predict Wi-Fi Hotspot can successful connection, and each Wi-Fi Hotspot is ranked up according to the co-channel interference value of each Wi-Fi Hotspot,
Preferentially recommend prediction to can be connected to work(and the lower Wi-Fi Hotspot of co-channel interference value to user, improves the online experience of user.
Optionally, in other examples, Wi-Fi Hotspot recommended program 10 can also be divided into one or more
Module, one or more module are stored in memory 11, and performed by one or more processors 12, to complete this
Invention.The so-called module of the present invention is the series of computation machine program instruction section for referring to complete specific function.With reference to Fig. 2 institutes
Show, is the Program modual graph of Wi-Fi Hotspot recommended program in Fig. 1.In the present embodiment, Wi-Fi Hotspot recommended program 10 can be with
It is divided into:Receiving module 110, judgment module 120, sorting module 130 and recommending module 140.The module 110-140 institutes are real
Existing functions or operations step is similar as above, and and will not be described here in detail, illustratively, such as wherein:
Receiving module 110, the multiple Wi-Fi Hotspots scanned for receiving terminal, it is current to obtain multiple Wi-Fi Hotspot
Signal strength, the current number of terminals accessed, co-channel interference value, the power that connects into for connecting into power and the terminal, and point
The corresponding array of other the multiple Wi-Fi Hotspot of combination producing;
Judgment module 120, for respectively by the corresponding array input trained connection in advance of the multiple Wi-Fi Hotspot
In judgment models, predict that can the multiple Wi-Fi Hotspot successful connection;
Sorting module 130 can be connected to for being divided into the multiple Wi-Fi Hotspot according to prediction result comprising prediction
The first set of the Wi-Fi Hotspot of work(and the second set for including the Wi-Fi Hotspot for predicting to be unable to successful connection, and according to same frequency
The sequence of interference value from low to high is ranked up each Wi-Fi Hotspot in first set, second set;And
Recommending module 140, for recommending each Wi-Fi in the first set hot to user successively according to ranking results
Point.
In addition, the present invention also provides a kind of Wi-Fi Hotspots to recommend method.It is Wi-Fi Hotspot of the present invention with reference to shown in Fig. 3
The flow chart of first preferred embodiment of recommendation method.This method can be executed by device, the device can by software and/
Or hardware realization.
In the present embodiment, Wi-Fi Hotspot recommendation method includes:Step S1-S4.
Step S1 receives multiple Wi-Fi Hotspots that terminal scans, it is strong to obtain the current signal of multiple Wi-Fi Hotspot
Degree, the current number of terminals accessed, co-channel interference value, connect into power and the terminal connect into power, and be respectively combined life
At the corresponding array of the multiple Wi-Fi Hotspot;
Step S2, respectively by the corresponding advance trained connection judgment model of array input of the multiple Wi-Fi Hotspot
In, predict that can the multiple Wi-Fi Hotspot successful connection;
The multiple Wi-Fi Hotspot is divided into the Wi-Fi that can be connected to work(comprising prediction according to prediction result by step S3
The first set of hot spot and include prediction be unable to successful connection Wi-Fi Hotspot second set, and according to co-channel interference value from
Low to high sequence is ranked up each Wi-Fi Hotspot in first set, second set;And
Step S4 recommends each Wi-Fi Hotspot in the first set according to ranking results to user successively.
In the present embodiment, the client release of Wi-Fi Hotspot recommended program is installed (later in the terminal that user uses
Abbreviation APP), client is attached Wi-Fi Hotspot by the APP and operates.For example, when user wants connection Wi-Fi Hotspot,
The APP is scanned by terminal in the available multiple Wi-Fi Hotspots in current location, and APP sends the multiple Wi-Fi Hotspots scanned
To electronic device 1, electronic devices 1 are ranked up and recommend to multiple Wi-Fi Hotspots.
After electronic device 1 receives multiple Wi-Fi Hotspots that terminal is sent by APP, it is necessary first to consider Wi-Fi heat
Whether point can be connected to work(, secondly also need influence of the signal strength to user's online experience after consideration successful connection.It is appreciated that
, the factor for connecting into power for influencing Wi-Fi Hotspot includes:The hardware condition of Wi-Fi Hotspot itself, the performance of terminal,
The currently attached number of terminals of Wi-Fi Hotspot, the current location (signal strength for directly affecting Wi-Fi Hotspot) of terminal and Wi-
Co-channel interference value of Fi hot spots etc..Therefore, the historical data that the multiple Wi-Fi Hotspot is transferred from database, obtains respectively
Each index of each Wi-Fi Hotspot:The current number of terminals accessed, connects into power and the connection of the terminal at co-channel interference value
Success rate.Wherein, the historical data of the multiple Wi-Fi Hotspot includes:The MAC Address of each Wi-Fi Hotspot is believed in broadcast control
It the management frame of periodicity sending, the number for being attempted connection and mode of operation (successful connection, connection failure etc.) and is tasted on road
Try the terminal type etc. of connection.Meanwhile obtaining the current signal strength of the multiple Wi-Fi Hotspot.
Specifically, the number of terminals that each Wi-Fi Hotspot has currently accessed is obtained by following steps:It obtains respectively each
The a plurality of management frame (Beacon frames) of Wi-Fi Hotspot periodicity sending on broadcast control channel, from a plurality of management frame
It wins out data and ceases (TIM) for communication, wherein the data use bitmap structure (Bitmap) for communication breath;Check bitmap knot
Data " 0 " in each data to be transferred flag or " 1 " in structure, in the data to be transferred flag in the multiple bitmap structure
Data carry out inclusive-OR operation, formed a total bitmap structure;And each data to be transferred flag in statistics total bitmap structure
The quantity of upper data " 1 ", as the number of terminals of each Wi-Fi Hotspot accessed.
It is to be understood that by taking Wi-Fi Hotspot A as an example, Wi-Fi Hotspot A sends management every 1 millisecond on management channel
Frame, then the first preset time (5 seconds) interior Wi-Fi Hotspot A can send 5000 management frames, that is to say, that 5000 can be obtained
A Bitmap structures.Include multiple data to be transferred flags corresponding with different terminals respectively, terminal in each Bitmap structures
By checking the data in corresponding data to be transferred flag, learn whether it has data buffer storage to be passed.If will be described
If Bitmap structures regard a matrix as, then each element is then the corresponding data to be transferred mark of each terminal in matrix
Position, when certain element is 1, then representing its corresponding terminal has data buffer storage to be passed, you can is interpreted as the terminal and has accessed Wi-Fi heat
Point A.If element is 0, representing its corresponding terminal does not have data to be transferred caching, illustrates that Wi-Fi heat is currently not used in the terminal
Point A because being not take up the resource of Wi-Fi Hotspot A, therefore can be regarded as the terminal and not access Wi-Fi Hotspot A.In addition, ordinary circumstance
Under, in each Bitmap structures, distributing to the data to be transferred flag of each terminal will not change, therefore, by will be above-mentioned
The data of each data to be transferred flag carry out inclusive-OR operation in 5000 Bitmap structures, form a Bitmap structure, then
The number for the data to be transferred flag for having data buffer storage to be passed in this Bitmap structure is counted, and as access Wi-
The quantity of the terminal of Fi hot spots A.
After obtaining the multiple Wi-Fi Hotspot terminal access situation, distinguished according to the MAC Address of each Wi-Fi Hotspot
The brand of each Wi-Fi Hotspot, it should be noted that the MAC Address of each Wi-Fi Hotspot is by six groups two hexadecimal numbers
Word forms, such as ab:cd:ef:gh:ij:Kl, wherein the hexadecimal digit ab of first three groups two:cd:Ef is for distinguishing Wi-
The different brands of Fi hot spots, rear three groups two hexadecimal digit gh:ij:Kl is used to distinguish the different Wi-Fi of same brand
Hot spot.According to the brand of the multiple Wi-Fi Hotspot and the current number of terminals accessed, from the various brands Wi-Fi in database
Hot spot connects into power list, and reading connects into power accordingly.
In addition, obtaining the model of the terminal, and the classification of the terminal is determined according to terminal models.According to the terminal
Classification, the brand of multiple Wi-Fi Hotspots and the current number of terminals accessed, connect from the various brands Wi-Fi Hotspot in database
It is connected into power list, that reads the terminal connects into power.
In the present embodiment, it is predetermined, specific meter that the various brands Wi-Fi Hotspot, which connects into power list,
Calculating step includes:
The Wi-Fi Hotspot of preset quantity is randomly choosed for the Wi-Fi Hotspot of different brands;
The Wi-Fi Hotspot of the preset quantity is counted respectively during the number of terminals accessed increases to n+1 from n,
The trial of preset each Terminal Type connects number, wherein n >=0 calculates the Wi-Fi Hotspot of the preset quantity of the different brands
When the number of terminals accessed is n, each Terminal Type connects into power;
The Wi-Fi Hotspot of the preset quantity is counted respectively during the number of terminals accessed increases to n+1 from n
Attempt connection number, wherein n >=0 calculates the Wi-Fi Hotspot of the preset quantity of the different brands in the number of terminals accessed
For n when connect into power;And
It repeats the above steps, calculates company of the Wi-Fi Hotspot of different brands in the case of the number of terminals difference accessed
Be connected into power and each Terminal Type connects into power, obtains the various brands Wi-Fi Hotspot and connects into power list.
Specifically, by taking TP-LINKxxxx as an example, (for example, i) Wi-Fi heat of the preset quantity of the brand is randomly selected
Sample of the point as the brand Wi-Fi Hotspot selects preset each Terminal Type (for example, to account for the most preceding k of the market share respectively
The mobile phone of kind of model), when counting number of terminals that the i Wi-Fi Hotspot sample has accessed respectively from 0 to 1, each Terminal Type is tasted
Examination connection number tik0, when summarizing to obtain number of terminals that the i Wi-Fi Hotspot sample has accessed from 0 to 1, each Terminal Type is tasted
Examination connection total degreeThe i Wi-Fi Hotspot sample is calculated when the number of terminals accessed is 0, the company of each Terminal Type
It is connected into power αk0, calculation formula isSimilarly it is found that the i Wi-Fi Hotspot sample is accessing
When number of terminals is n, the calculation formula for connecting into power of each Terminal Type is:Wherein, k, n are integer,
And it is more than or equal to 0.
Equally, by taking TP-LINKxxxx as an example, (for example, i) Wi-Fi Hotspot of the preset quantity of the brand is randomly selected
As the sample of the brand Wi-Fi Hotspot, when counting number of terminals that the i Wi-Fi Hotspot sample has accessed respectively from 0 to 1
Trial connection number ti0, trial connection when summarizing to obtain number of terminals that the i Wi-Fi Hotspot sample has accessed from 0 to 1
Total degreeIt calculates the i Wi-Fi Hotspot sample and connects into power α when the number of terminals accessed is 00, calculate
Formula isSimilarly it is found that connection of the i Wi-Fi Hotspot sample when the number of terminals accessed is n
The calculation formula of success rate is:Wherein, n is integer, and is more than or equal to 0.It should be noted that the step
Do not consider that terminal attempts the terminal class of connection Wi-Fi Hotspot.
According to above-mentioned Wi-Fi Hotspot brand, the number of terminals accessed, the successful connection for connecting into power and different terminals
Rate repeats aforesaid operations, obtains the Wi-Fi Hotspot of different brands in the case of the number of terminals difference accessed, right
That answers connects into power, and final result is shown in the form of various brands Wi-Fi Hotspot connects into power list.
In other embodiments, certain Wi-Fi Hotspot connection number most end can also be selected according to actual conditions
End, the various brands Wi-Fi Hotspot under calculating premised on this terminal connect into power list, and what can be made in this way is each
Brand Wi-Fi Hotspot connects into power list more closing to reality situation, and specific steps are roughly the same with above-mentioned steps, here
It repeats no more.
However, there are a kind of situation, the preset various brands Wi-Fi Hotspot connects into power list, it is impossible to
Completely include the Wi-Fi Hotspot of arbitrary brand connects into power.Therefore, the preset various brands Wi-Fi Hotspot is connected
It is connected into the Wi-Fi Hotspot for the brand in power list not included, can not learn that it connects into power, for this one kind Wi-
Fi hot spots take preset default connection success rate or take the average value for connecting into power of other multiple Wi-Fi Hotspots, assignment
Give this kind of Wi-Fi Hotspot.Further, when the default connection success rate of this kind of Wi-Fi Hotspot and other multiple Wi-Fi heat
When the average value for connecting into power of point is inconsistent, the greater is taken to connect into power as this kind of Wi-Fi Hotspot.Similarly,
The power that connects into of each Terminal Type can also refer to above-mentioned steps determination, and which is not described herein again.
Further, the current co-channel interference value of the multiple Wi-Fi Hotspot is obtained by following steps:Successively obtain with
The identical multiple same frequency Wi-Fi Hotspots of the multiple Wi-Fi Hotspot frequency point;The multiple same frequency Wi-Fi Hotspot pair is determined respectively
The co-channel interference value of the multiple Wi-Fi Hotspot;And to the multiple same frequency Wi-Fi Hotspot to the multiple Wi-Fi Hotspot
Co-channel interference value adds up, and obtains the corresponding co-channel interference value of the multiple Wi-Fi Hotspot.
Specifically, it by taking Wi-Fi Hotspot B as an example, obtains first multiple (for example, m) identical with Wi-Fi Hotspot B frequency points
With frequency Wi-Fi Hotspot, and the signal strength R of Wi-Fi Hotspot B is obtained respectivelyBAnd the signal strength R with frequency Wi-Fi Hotspotm;When this
The signal strength R of multiple same frequency Wi-Fi HotspotsmNot less than predetermined threshold value (for example, -80db), and Rm>RBWhen, or | Rm-RB|<
When 6db, with frequency Wi-Fi Hotspot to the co-channel interference value I of Wi-Fi Hotspot BmIt is 1;When the signal of multiple same frequency Wi-Fi Hotspot
Intensity RmLess than predetermined threshold value (for example, -80db), and Rm>RBWhen, or | Rm-RB|<When 6db, with frequency Wi-Fi Hotspot to Wi-Fi
The co-channel interference value I of hot spot BmIt is 0.5, all same frequency Wi-Fi Hotspots is calculated to the same of Wi-Fi Hotspot B using above-mentioned steps
Frequency interference value ImAfterwards, to multiple same frequency Wi-Fi Hotspots to the co-channel interference value I of Wi-Fi Hotspot BmIt adds up, obtains Wi-Fi heat
The corresponding co-channel interference value of point BSimilarly, using above-mentioned steps, multiple Wi-Fi Hotspots pair that computing terminal scans
The co-channel interference value answered.
In the signal strength for determining the multiple Wi-Fi Hotspot, the current number of terminals accessed, co-channel interference value, connection
Success rate and the terminal connect into power this 5 indexs after, according to preset format by 5 indicator combinations at array (example
Such as, [r1, r2, r3, r4, r5], wherein r1, r2, r3, r4, r5 respectively represent signal strength, the number of terminals that has accessed, dry with frequency
Disturb value, each Wi-Fi Hotspot connect into power, the terminal connects into power), respectively the multiple Wi-Fi Hotspot is corresponded to
Array input in advance in trained connection judgment model, predict that can the multiple Wi-Fi Hotspot successful connection.
In the present embodiment, the training step of the connection judgment model includes:
Obtain signal strength when predetermined Wi-Fi Hotspot connects in the second preset time, accessed terminal
Quantity, co-channel interference value etc. in real time factor, different brands Wi-Fi Hotspot connect into power, different classes of terminal connects into
The historical statistical datas such as power show it in the form of array [r1, r2, r3, r4, r5], and according to company when connecting
Binding fruit is that every group of array marks label (for example, successful connection marks " 1 ", connection failure marks " 0 "), by above-mentioned label label
Data afterwards are as sample set [X, Y], wherein X is [r1, r2, r3, r4, r5], Y is " 1 " or " 0 ".It is extracted from sample set
As training set [X1, Y1], the data for being left 20% are used as verification set [X2, Y2], are gathered using training 80% data
[X1, Y1] is respectively to multiple disaggregated models (for example, neural network model, Random Forest model, linear regression model (LRM), logic are returned
Return model) it is trained, and tuning is carried out to the disaggregated model after training, after gathering [X2, Y2] to tuning using verification
Disaggregated model verified, selected from above-mentioned multiple disaggregated models with the most like optimal models M of verification result as company
Connect judgment models.
It should be noted that after determining connection judgment model, the model file of model M is issued dynamically to front-end A PP,
That is predict Wi-Fi Hotspot can successful connection during, be not required to and rear end occur data interaction.In other implementations
In example, in order to improve the accuracy rate of connection judgment model, every third preset time (for example, 30 days), sample number is collected again
According to, update training pattern, implementation model iteration optimization.
According to result " 1 "/" 0 " that connection judgment model exports, predict that can the multiple Wi-Fi Hotspot successful connection.
It, need to be to the multiple Wi-Fi Hotspot can be after successful connection carries out prediction judgement to the multiple Wi-Fi Hotspot
It is ranked up.Specifically, first according to the multiple Wi-Fi Hotspot can successful connection, the multiple Wi-Fi Hotspot is divided
For first set and second set, include in first set is the Wi-Fi Hotspot that prediction can be connected to work(, is wrapped in second set
What is contained is the Wi-Fi Hotspot that prediction is unable to successful connection, during subsequent recommendation, the recommendation of Wi-Fi Hotspot in first set
Prior to the propulsion of Wi-Fi Hotspot in second set.It is understood that in the possible successful connection simultaneously of multiple Wi-Fi Hotspots
Or simultaneously may be in the case of connection failure, the corresponding co-channel interference value of each Wi-Fi Hotspot is bigger, to the upper dictyosome of user
It is also bigger to test influence, therefore, according to the sequence of the corresponding co-channel interference value of each Wi-Fi Hotspot from low to high, collects respectively to first
Wi-Fi Hotspot in conjunction and second set is ranked up, and wherein co-channel interference value can be extracted directly from the result of above-mentioned steps,
So it will not be repeated.
If in identity set, there are the co-channel interference of two or more Wi-Fi Hotspots value is equal, then according to each
The sequence of the signal strength of Wi-Fi Hotspot from high to low further arranges described two or more than two Wi-Fi Hotspots
Sequence, until obtaining final ranking results.
It determines in first set and second set after the ranking results of each Wi-Fi Hotspot, recommends in first set to user
Sort forward each Wi-Fi Hotspot.It is understood that in order to enable users to use network as early as possible, if in the 4th preset time
(for example, 5 seconds) interior user has carried out attended operation to the sequence of recommendation near preceding Wi-Fi Hotspot, but can not connect Wi-Fi heat
Point then continues to recommend the forward Wi-Fi Hotspot that sorts in remaining multiple Wi-Fi Hotspots in first set to user, for user
It is operated with reference to being attached.If user can not connect all Wi-Fi Hotspots in first set, second is provided a user successively
Each Wi-Fi Hotspot in set.
Above-described embodiment proposes that Wi-Fi Hotspot recommends method, by the way that each index of Wi-Fi Hotspot is inputted connection judgment
Model, prediction Wi-Fi Hotspot can successful connection, and according to the co-channel interference value of each Wi-Fi Hotspot to each Wi-Fi Hotspot carry out
Sequence preferentially recommends prediction to can be connected to work(and the lower Wi-Fi Hotspot of co-channel interference value, improves the online of user to user
Experience.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with Wi-Fi Hotspot recommended program, following operation is realized when the Wi-Fi Hotspot recommended program is executed by processor:
Multiple Wi-Fi Hotspots for scan of terminal are received, the current signal strength of multiple Wi-Fi Hotspot, currently is obtained
The number of terminals that has accessed, co-channel interference value, connect into power and the terminal connect into power, and be respectively combined generate it is described more
The corresponding array of a Wi-Fi Hotspot;
Respectively by the corresponding array input of the multiple Wi-Fi Hotspot in advance trained connection judgment model, predict
Can the multiple Wi-Fi Hotspot successful connection;
It includes the Wi-Fi Hotspot for predicting can be connected to work(to be divided into the multiple Wi-Fi Hotspot according to prediction result
First set and the second set for including the Wi-Fi Hotspot for predicting to be unable to successful connection, and from low to high according to co-channel interference value
Sequence each Wi-Fi Hotspot in first set, second set is ranked up;And
Recommend each Wi-Fi Hotspot in the first set to user successively according to ranking results.
The specific implementation mode of the computer readable storage medium of the present invention recommends the specific of method with above-mentioned Wi-Fi Hotspot
Embodiment is roughly the same, and details are not described herein.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, device, article or method including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, device, article or method.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.Pass through above embodiment party
The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software
The mode of hardware platform is realized, naturally it is also possible to which by hardware, but the former is more preferably embodiment in many cases.It is based on
Such understanding, substantially the part that contributes to existing technology can be with software product in other words for technical scheme of the present invention
Form embody, which is stored in a storage medium (such as ROM/RAM, magnetic disc, light as described above
Disk) in, including some instructions use is so that a station terminal equipment (can be mobile phone, computer, server or the network equipment
Deng) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of Wi-Fi Hotspot recommends method, it is applied to electronic device, which is characterized in that this method includes:
Multiple Wi-Fi Hotspots that terminal scans are received, the current signal strength of multiple Wi-Fi Hotspot is obtained, has currently connect
The number of terminals that enters, co-channel interference value, connect into power and the terminal connect into power, and be respectively combined generate it is the multiple
The corresponding array of Wi-Fi Hotspot;
The corresponding array of the multiple Wi-Fi Hotspot is inputted in trained connection judgment model in advance respectively, described in prediction
Can multiple Wi-Fi Hotspots successful connection;
The multiple Wi-Fi Hotspot is divided into the first of the Wi-Fi Hotspot that can be connected to work(comprising prediction according to prediction result
Set and include the second set that prediction is unable to the Wi-Fi Hotspot of successful connection, and according to co-channel interference value from low to high suitable
Each Wi-Fi Hotspot in ordered pair first set, second set is ranked up;And
Recommend each Wi-Fi Hotspot in the first set to user successively according to ranking results.
2. Wi-Fi Hotspot according to claim 1 recommends method, which is characterized in that the multiple Wi-Fi Hotspot it is current
The obtaining step of the number of terminals accessed includes:
The a plurality of management frame for obtaining the multiple Wi-Fi Hotspot periodicity sending on broadcast control channel respectively, from described more
It wins out data in management frame to cease for communication, wherein the data use bitmap structure for communication breath;
The data " 0 " in bitmap structure in each data to be transferred flag or " 1 " are checked, to waiting in the multiple bitmap structure
The data passed on Data Identification position carry out inclusive-OR operation, form a total bitmap structure;And
The quantity for counting data " 1 " in each data to be transferred flag in total bitmap structure, as the multiple Wi-Fi
The number of terminals that hot spot has currently accessed.
3. Wi-Fi Hotspot according to claim 1 recommends method, which is characterized in that the connection of the multiple Wi-Fi Hotspot
The obtaining step for connecting into power of success rate and the terminal includes:
The number of terminals and affiliated brand currently accessed according to the multiple Wi-Fi Hotspot, from predetermined various brands Wi-Fi heat
Point connect into power list read the multiple Wi-Fi Hotspot respectively connect into power;And
According to the affiliated brand of the terminal, connects into power list from predetermined various brands Wi-Fi Hotspot and read respectively
The terminal is taken to connect into power corresponding to the multiple Wi-Fi Hotspot.
4. Wi-Fi Hotspot according to claim 3 recommends method, which is characterized in that the predetermined various brands Wi-
The obtaining step that Fi hot spots connect into power list includes:
The Wi-Fi Hotspot of preset quantity is randomly choosed for the Wi-Fi Hotspot of different brands;
The Wi-Fi Hotspot of the preset quantity is counted respectively during the number of terminals accessed increases to n+1 from n, is preset
Each Terminal Type trial connect number, wherein n >=0 calculates the Wi-Fi Hotspot of the preset quantity of the different brands
When the number of terminals of access is n, each Terminal Type connects into power;
Trial of the Wi-Fi Hotspot of the preset quantity during number of terminals accessed increases to n+1 from n is counted respectively
Connect number, wherein n >=0 calculates the Wi-Fi Hotspot of the preset quantity of the different brands when the number of terminals accessed is n
Connect into power;And
It repeats the above steps, calculates Wi-Fi Hotspot the connecting into the case of the number of terminals difference accessed of different brands
Power and each Terminal Type connect into power, obtain the various brands Wi-Fi Hotspot and connect into power list.
5. Wi-Fi Hotspot according to claim 3 recommends method, which is characterized in that for the preset various brands Wi-
Fi hot spots connect into the Wi-Fi Hotspot for the brand for not including in power list, assign a default value or assign one and remove
The average value for connecting into power of other multiple Wi-Fi Hotspots outside the Wi-Fi Hotspot.
6. Wi-Fi Hotspot according to claim 3 recommends method, which is characterized in that for the preset various brands Wi-
Fi hot spots connect into the terminal for the type for not including in power list, assign a default value or assign one and remove the type
The average value for connecting into power of outer other multiclass terminals.
7. Wi-Fi Hotspot according to claim 1 recommends method, which is characterized in that the multiple Wi-Fi Hotspot is current
The obtaining step of co-channel interference value includes:
Multiple same frequency Wi-Fi Hotspots identical with the multiple Wi-Fi Hotspot frequency point are obtained successively;
Co-channel interference value of the multiple same frequency Wi-Fi Hotspot to the multiple Wi-Fi Hotspot is determined respectively;And
It adds up, obtains described more to the co-channel interference value of the multiple Wi-Fi Hotspot to the multiple same frequency Wi-Fi Hotspot
The corresponding co-channel interference value of a Wi-Fi Hotspot.
8. recommending method according to the Wi-Fi Hotspot described in claim 1 to 7, which is characterized in that this method further includes:
If user can not connect sequence near preceding Wi-Fi Hotspot in preset time, continue to recommend to user remaining multiple
Sort forward Wi-Fi Hotspot in Wi-Fi Hotspot.
9. a kind of electronic device, which is characterized in that the electronic device includes:Memory, processor are stored on the memory
Wi-Fi Hotspot recommended program is realized when the Wi-Fi Hotspot recommended program is executed by the processor as in claim 1 to 8
The step of Wi-Fi Hotspot described in any one recommends method.
10. a kind of computer readable storage medium, which is characterized in that be stored with Wi-Fi on the computer readable storage medium
Focus recommendation program is realized when the Wi-Fi Hotspot recommended program is executed by processor such as any one of claim 1 to 8
The Wi-Fi Hotspot recommends the step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810343659.5A CN108810916B (en) | 2018-04-17 | 2018-04-17 | Wi-Fi hotspot recommendation method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810343659.5A CN108810916B (en) | 2018-04-17 | 2018-04-17 | Wi-Fi hotspot recommendation method and device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108810916A true CN108810916A (en) | 2018-11-13 |
CN108810916B CN108810916B (en) | 2022-08-12 |
Family
ID=64094807
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810343659.5A Active CN108810916B (en) | 2018-04-17 | 2018-04-17 | Wi-Fi hotspot recommendation method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108810916B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112929947A (en) * | 2019-12-06 | 2021-06-08 | 佛山市云米电器科技有限公司 | Wi-Fi heat map generation method, movable household device and storage medium |
CN114501450A (en) * | 2022-02-21 | 2022-05-13 | 广州朗桥维视通信技术有限公司 | Network access selection method and terminal equipment |
CN115278605A (en) * | 2022-07-13 | 2022-11-01 | 智行天下环保科技(深圳)有限公司 | Vehicle data transmission method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105263110A (en) * | 2015-09-22 | 2016-01-20 | 湖南创无限移动互联网科技有限公司 | Method and device for changing name of WiFi hotspot |
CN105744541A (en) * | 2014-12-10 | 2016-07-06 | 乐视致新电子科技(天津)有限公司 | Wireless router channel selection method, wireless router channel selection device and wireless router |
US20170094692A1 (en) * | 2014-02-27 | 2017-03-30 | Zte Corporation | WIFI Hotspot Connection and Selection Method, Communications Terminal and System |
CN106856492A (en) * | 2015-12-09 | 2017-06-16 | 上海仪电信息网络有限公司 | A kind of method of stream of people's measurement |
CN107241782A (en) * | 2017-06-16 | 2017-10-10 | 广东欧珀移动通信有限公司 | Method for network access, mobile terminal and computer-readable recording medium |
US20170347384A1 (en) * | 2014-12-31 | 2017-11-30 | Shanghai Lianshang Network Technology Co., Ltd. | Wifi connection method and wifi connection system for mobile terminal |
CN107734594A (en) * | 2017-09-22 | 2018-02-23 | 平安科技(深圳)有限公司 | Personalized wifi hotspot method for pushing, device and storage medium |
CN107809740A (en) * | 2017-09-26 | 2018-03-16 | 平安科技(深圳)有限公司 | Wi Fi focus disposition optimizations method, server and storage medium |
CN107835520A (en) * | 2017-09-26 | 2018-03-23 | 平安科技(深圳)有限公司 | Wifi hotspot connection method, device and storage medium |
-
2018
- 2018-04-17 CN CN201810343659.5A patent/CN108810916B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170094692A1 (en) * | 2014-02-27 | 2017-03-30 | Zte Corporation | WIFI Hotspot Connection and Selection Method, Communications Terminal and System |
CN105744541A (en) * | 2014-12-10 | 2016-07-06 | 乐视致新电子科技(天津)有限公司 | Wireless router channel selection method, wireless router channel selection device and wireless router |
US20170347384A1 (en) * | 2014-12-31 | 2017-11-30 | Shanghai Lianshang Network Technology Co., Ltd. | Wifi connection method and wifi connection system for mobile terminal |
CN105263110A (en) * | 2015-09-22 | 2016-01-20 | 湖南创无限移动互联网科技有限公司 | Method and device for changing name of WiFi hotspot |
CN106856492A (en) * | 2015-12-09 | 2017-06-16 | 上海仪电信息网络有限公司 | A kind of method of stream of people's measurement |
CN107241782A (en) * | 2017-06-16 | 2017-10-10 | 广东欧珀移动通信有限公司 | Method for network access, mobile terminal and computer-readable recording medium |
CN107734594A (en) * | 2017-09-22 | 2018-02-23 | 平安科技(深圳)有限公司 | Personalized wifi hotspot method for pushing, device and storage medium |
CN107809740A (en) * | 2017-09-26 | 2018-03-16 | 平安科技(深圳)有限公司 | Wi Fi focus disposition optimizations method, server and storage medium |
CN107835520A (en) * | 2017-09-26 | 2018-03-23 | 平安科技(深圳)有限公司 | Wifi hotspot connection method, device and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112929947A (en) * | 2019-12-06 | 2021-06-08 | 佛山市云米电器科技有限公司 | Wi-Fi heat map generation method, movable household device and storage medium |
CN114501450A (en) * | 2022-02-21 | 2022-05-13 | 广州朗桥维视通信技术有限公司 | Network access selection method and terminal equipment |
CN115278605A (en) * | 2022-07-13 | 2022-11-01 | 智行天下环保科技(深圳)有限公司 | Vehicle data transmission method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108810916B (en) | 2022-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11733693B2 (en) | Data acquisition method and apparatus | |
CN108566666A (en) | Wi-Fi Hotspot recommends method, apparatus and storage medium | |
CN110525823A (en) | A kind of method, apparatus and system that monitoring rubbish is put on by classification | |
CN105306495B (en) | user identification method and device | |
CN108810916A (en) | Wi-Fi Hotspot recommends method, apparatus and storage medium | |
CN110457576A (en) | Account-classification method, device, computer equipment and storage medium | |
CN110276369A (en) | Feature selection approach, device, equipment and storage medium based on machine learning | |
CN107943697A (en) | Problem distribution method, device, system, server and computer-readable storage medium | |
CN109636433A (en) | Feeding card identification method, device, equipment and storage medium based on big data analysis | |
CN107835520A (en) | Wifi hotspot connection method, device and storage medium | |
CN110392414B (en) | Wireless network connection method and device, terminal equipment and readable storage medium | |
CN108319974A (en) | Data processing method, device, storage medium and electronic device | |
CN110334276A (en) | Competition platform data processing method, device, equipment and storage medium | |
CN110288350A (en) | User's Value Prediction Methods, device, equipment and storage medium | |
CN106843941A (en) | Information processing method, device and computer equipment | |
CN112347100B (en) | Database index optimization method, device, computer equipment and storage medium | |
CN102938121A (en) | Method and device for releasing commodity information | |
CN109828790A (en) | A kind of data processing method and system based on Shen prestige isomery many-core processor | |
CN110221960A (en) | Generate method and device, the computer equipment, storage medium of test case | |
CN113660687B (en) | Network difference cell processing method, device, equipment and storage medium | |
CN108153661A (en) | The method and apparatus of implementation of test cases | |
CN109408304A (en) | Block chain introduces test method, device, equipment and readable storage medium storing program for executing | |
CN107734594A (en) | Personalized wifi hotspot method for pushing, device and storage medium | |
CN110297959A (en) | Date storage method, device, storage medium and Edge Server | |
CN107895217A (en) | Test and management method and application server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200316 Address after: No. 319, main tower, marine center, No. 59 Linhai Avenue, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen City, Guangdong Province Applicant after: SHENZHEN PING'AN COMMUNICATION TECHNOLOGY Co.,Ltd. Address before: High tech park, Shenzhen City, Guangdong streets 518000 Guangdong Province Road No. 2 Long Feng building 5 floor Applicant before: SHENZHEN PING AN XUNKE TECHNOLOGY Co.,Ltd. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |