CN111586801A - WiFi hotspot selection method and device - Google Patents
WiFi hotspot selection method and device Download PDFInfo
- Publication number
- CN111586801A CN111586801A CN201910099780.2A CN201910099780A CN111586801A CN 111586801 A CN111586801 A CN 111586801A CN 201910099780 A CN201910099780 A CN 201910099780A CN 111586801 A CN111586801 A CN 111586801A
- Authority
- CN
- China
- Prior art keywords
- network speed
- wifi hotspot
- wifi
- distance
- index value
- 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.)
- Pending
Links
- 238000010187 selection method Methods 0.000 title claims abstract description 14
- 238000000034 method Methods 0.000 claims abstract description 39
- 238000012163 sequencing technique Methods 0.000 claims abstract description 6
- 238000004364 calculation method Methods 0.000 claims description 13
- 239000002131 composite material Substances 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 7
- 230000002618 waking effect Effects 0.000 claims description 3
- 230000000875 corresponding effect Effects 0.000 description 64
- 238000010586 diagram Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 2
- 210000000988 bone and bone Anatomy 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- 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
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
Abstract
The invention provides a WiFi hotspot selection method, which comprises the following steps: the method comprises the steps that a mobile terminal scans a plurality of WiFi hotspots to obtain the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical service time; respectively calculating the index values of the signal intensity, the network speed estimation, the distance and the historical use duration of each WiFi hotspot, and calculating the comprehensive index value of each WiFi hotspot according to the index values of the signal intensity, the network speed estimation, the distance and the historical use duration by a preset weighted summation algorithm, wherein the sum of the weights of the index values is 1; and sequencing the WiFi hotspots according to the comprehensive index values, and selecting the WiFi hotspots according to the sequencing result and connecting to the selected WiFi hotspots.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a WiFi hotspot selection method and device.
Background
WiFi is a very widely used wireless network transmission technology. When the cellular network signal is poor or the user flow is insufficient, the user can be connected to the WiFi to be kept online, the flow is saved, meanwhile, a base station does not need to be searched, and the power consumption can be obviously reduced.
When the mobile terminal is in a plurality of WiFi hotspots to which connection can be made, sometimes the best WiFi hotspot cannot be selected. An existing WiFi hotspot selection method is based on signal strength of a WiFi hotspot, however, the signal strength is not necessarily positively correlated with the network speed of the WiFi hotspot. In some cases, although the WiFi hotspot signal strength is high, the speed of surfing the internet is slow, and the user experience is poor.
Another WiFi hotspot selection method takes into account historical connection and user historical usage parameters for WiFi hotspots. However, since the network environment changes all the time, the current network situation cannot be accurately reflected by the historical connection of the WiFi hotspot and the historical use parameter of the user, and the experience of the user after connecting the WiFi hotspot is poor.
Yet another WiFi hotspot selection method is to consider the network speed estimate of the current WiFi hotspot. The network speed estimation of the WiFi hotspot mainly aims at an open WiFi hotspot, although the internet surfing speed is good, the WiFi hotspot which is not connected frequently is possibly switched to, the use habit of a user is ignored, and the power consumption of the mobile terminal is increased due to the switching of the WiFi hotspot.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a device for selecting a WiFi hotspot, so that a user can select an optimal WiFi hotspot, network connection performance, user use habits and power consumption are considered, and the user internet experience is improved.
In order to solve the above technical problem, an aspect of the present invention provides a WiFi hotspot selecting method, where the selecting method includes: the method comprises the steps that a mobile terminal scans a plurality of WiFi hotspots to obtain the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical service time; respectively calculating the index values of the signal intensity, the network speed estimation, the distance and the historical use duration of each WiFi hotspot, and calculating the comprehensive index value of each WiFi hotspot according to the index values of the signal intensity, the network speed estimation, the distance and the historical use duration by a preset weighted summation algorithm, wherein the sum of the weights of the index values is 1; and sequencing the WiFi hotspots according to the comprehensive index values, and selecting the WiFi hotspots according to the sequencing result and connecting to the selected WiFi hotspots.
In an embodiment of the present invention, the index value of the distance is 1.
In an embodiment of the present invention, the step of the mobile terminal scanning a plurality of WiFi hotspots includes: after entering an area comprising a plurality of WiFi hotspots, the mobile terminal scans the plurality of WiFi hotspots in the area.
In an embodiment of the present invention, the step of the mobile terminal scanning a plurality of WiFi hotspots includes: the mobile terminal is connected to a WiFi hotspot, and a plurality of WiFi hotspots are scanned in response to a trigger condition.
In an embodiment of the present invention, the trigger condition is that the signal strength or the network speed estimate of the WiFi hotspot to which the mobile terminal is connected is lower than a threshold within a preset time period, the mobile terminal wakes up from a sleep mode, or the connected WiFi hotspot loses connection.
In an embodiment of the present invention, the step of obtaining the network speed estimate corresponding to the signal strength of each WiFi hotspot includes: and detecting whether the mobile terminal locally caches the network speed estimation corresponding to the signal strength of the WiFi hotspot, if so, directly acquiring the network speed estimation locally, otherwise, acquiring the network speed estimation from a cloud database.
In an embodiment of the present invention, the step of obtaining the network speed estimate corresponding to the signal strength of each WiFi hotspot includes: grouping the historical intensity signals, recording the average network speed of each group of historical intensity signals, generating a corresponding table according to the historical intensity signals and the average network speed, and determining the network speed estimation corresponding to the signal intensity according to the corresponding table.
In an embodiment of the present invention, partial historical intensity signals are grouped, the average network speed of each group of historical intensity signals is recorded, and the network speed of other signal intensities is obtained through an interpolation algorithm.
In an embodiment of the present invention, the step of obtaining the distance of each WiFi hotspot includes: and acquiring the distance of each WiFi hotspot by adopting a round-trip time algorithm according to an 802.11mc protocol or acquiring the distance of each WiFi hotspot from a cloud database.
In an embodiment of the present invention, the comprehensive index value further includes an addend index value, and the addend index value at least includes one or more of a latest usage index value, a ping-pong switching index value, a security index value, and a frequency point index value.
Another aspect of the present invention provides a device for selecting a WiFi hotspot, the device comprising: the parameter acquisition module is used for acquiring the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical service time; the calculation module is used for calculating the index values of the signal intensity, the network speed estimation, the distance and the historical use time of each WiFi hotspot respectively, and calculating the comprehensive index value of each WiFi hotspot through a preset weighted summation algorithm according to the index values of the signal intensity, the network speed estimation, the distance and the historical use time; and the connection selection module is used for sorting the WiFi hotspots according to the comprehensive index values, selecting the WiFi hotspots according to a sorting result and connecting the WiFi hotspots to the selected WiFi hotspots.
Yet another aspect of the present invention provides a display method of a user interface, the display method including: scanning a plurality of WiFi hotspots to obtain the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical service duration; and displaying the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical use duration.
In an embodiment of the present invention, the method further includes calculating index values of signal strength, network speed estimation, distance, and historical usage duration of each WiFi hotspot, calculating a comprehensive index value of each WiFi hotspot according to the index values of signal strength, network speed estimation, distance, and historical usage duration through a preset weighted summation algorithm, and displaying each index value and the comprehensive index value.
In an embodiment of the present invention, the signal strength of the WiFi hotspot, the network speed estimate corresponding to the signal strength, the distance, and the historical usage duration are all displayed in the same row.
In an embodiment of the invention, at least a part of the network speed estimation, distance and historical usage time corresponding to the signal strength of the WiFi hotspot is displayed in response to a trigger condition.
In an embodiment of the invention, the trigger condition comprises a single click, a double click or a long press.
Yet another aspect of the present invention provides a display apparatus of a user interface, the display apparatus including: the parameter acquisition module scans a plurality of WiFi hotspots and acquires the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical service time; and the display module is used for displaying the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical service life.
In an embodiment of the present invention, the WiFi network system further includes a calculation module, the calculation module calculates an index value of the signal strength, the network speed estimation, the distance, and the historical usage duration of each WiFi hotspot respectively, calculates a comprehensive index value of each WiFi hotspot according to the index values of the signal strength, the network speed estimation, the distance, and the historical usage duration through a preset weighted summation algorithm, and the display module displays each index value and the comprehensive index value.
Compared with the prior art, the invention has the following advantages: the invention provides a WiFi hotspot selection method and device, which are used for acquiring the signal intensity of each WiFi hotspot, and the network speed estimation, the distance and the historical use duration corresponding to the signal intensity, respectively calculating the index values of the signal intensity, the network speed estimation, the distance and the historical use duration of each WiFi hotspot and the comprehensive index value of each WiFi hotspot, and taking the network connection performance, the use habit and the power consumption of a user into consideration, simultaneously reducing the overall network interference and improving the internet access experience of the user.
Drawings
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below, wherein:
fig. 1 is a schematic diagram of a mobile communication network in an embodiment in accordance with the invention;
FIG. 2 is a flow diagram of a WiFi hotspot selection method according to one embodiment of the present invention;
fig. 3 is a flowchart of a method for obtaining a network speed estimate corresponding to signal strength for each WiFi hotspot according to an embodiment of the present invention;
fig. 4 is a flowchart of a method of obtaining distances to WiFi hotspots according to an embodiment of the invention;
fig. 5 is a schematic diagram of a WiFi hotspot selection device according to an embodiment of the invention;
FIG. 6 is a flow chart of a method of displaying a user interface according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a display device of a user interface according to an embodiment of the invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described herein, and thus the present invention is not limited to the specific embodiments disclosed below.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements.
It will be understood that when an element is referred to as being "on," "connected to," "coupled to" or "contacting" another element, it can be directly on, connected or coupled to, or contacting the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly on," "directly connected to," "directly coupled to" or "directly contacting" another element, there are no intervening elements present. Similarly, when a first component is said to be "in electrical contact with" or "electrically coupled to" a second component, there is an electrical path between the first component and the second component that allows current to flow. The electrical path may include capacitors, coupled inductors, and/or other components that allow current to flow even without direct contact between the conductive components.
The following embodiments of the present invention describe a method and an apparatus for selecting a WiFi hotspot. The method and the device can enable the user to select the optimal WiFi hotspot, give consideration to network connection performance, user use habits and power consumption, reduce overall network interference and improve the internet surfing experience of the user.
Fig. 1 is a schematic diagram of a mobile communication network in an embodiment in accordance with the invention. Referring to fig. 1, a mobile communication network 100 includes the Internet (Internet)110, an Internet Service Provider (ISP) 120, a Router (Router)130, a WiFi hotspot 140, and a mobile terminal 150.
The internet 110 may be any known wired network (e.g., ethernet) or any network form, such as a Local Area Network (LAN) or a Wide Area Network (WAN). The internet service provider 120 provides various services such as internet access service, information service, and value added service to the user in a comprehensive manner, and the communication network shown in fig. 1 has 3 internet service providers 120.
The WiFi hotspots 140 convert the wired signals into WiFi signals, and each WiFi hotspot 140 converts the wired signals from the corresponding router 130 into wireless signals, respectively, as shown in fig. 1. The mobile terminal 150 selects and accesses one of the WiFi hotspots 140. The mobile terminal 150 is a portable device with certain processing capability, and is equipped with a memory, a solidified storage medium, and an operating system, and includes a mobile phone, a notebook, a tablet computer, a POS device, and even a vehicle-mounted computer.
Fig. 2 is a flowchart of a WiFi hotspot selection method according to an embodiment of the invention. The WiFi hotspot selection method is explained below with reference to fig. 2.
In step 210, the mobile terminal 150 scans a plurality of WiFi hotspots 140, and obtains the signal strength of each WiFi hotspot 140, the network speed estimate, the distance, and the historical usage duration corresponding to the signal strength.
And step 230, sorting the WiFi hotspots 140 according to the comprehensive index values, selecting the WiFi hotspots 140 according to the sorting result, and connecting the selected WiFi hotspots 140.
The mobile terminal 150 may scan a plurality of WiFi hotspots 140 in the following two ways: firstly, after the mobile terminal 150 enters an area with a plurality of WiFi hotspots 140, scanning the plurality of WiFi hotspots 140 in the area; the mobile terminal 150 is connected to a WiFi hotspot 140, and scans a plurality of WiFi hotspots 140 when responding to a trigger condition.
In one embodiment, after the mobile terminal 150 enters an area including a plurality of WiFi hotspots 140, the plurality of WiFi hotspots 140 in the area are scanned, and the signal strength, the network speed estimate corresponding to the signal strength, the distance, and the historical usage duration of each WiFi hotspot 140 are obtained. Then, the index values of the signal strength, the network speed estimation, the distance and the historical use duration of each WiFi hotspot 140 are respectively calculated, and the comprehensive index value of each WiFi hotspot 140 is calculated through a preset weighted summation algorithm according to the index values of the signal strength, the network speed estimation, the distance and the historical use duration. And then, sorting the WiFi hotspots 140 according to the comprehensive index values, and selecting the WiFi hotspots 140 according to the sorting result and connecting to the selected WiFi hotspots 140.
In another embodiment, the mobile terminal 150 is already connected to a WiFi hotspot 140, and a plurality of WiFi hotspots 140 are scanned in response to a trigger condition. Wherein the trigger condition is at least one of the signal strength or the network speed estimate of the WiFi hotspot 140 to which the mobile terminal 150 is connected being below a threshold value within a preset time period, the mobile terminal 150 waking up from a sleep mode, or the connected WiFi hotspot 140 losing connection. Then, the index values of the signal strength, the network speed estimation, the distance and the historical use duration of each WiFi hotspot 140 are respectively calculated, and the comprehensive index value of each WiFi hotspot 140 is calculated through a preset weighted summation algorithm according to the index values of the signal strength, the network speed estimation, the distance and the historical use duration. And then, sorting the WiFi hotspots 140 according to the comprehensive index values, and selecting the WiFi hotspots 140 according to the sorting result and connecting to the selected WiFi hotspots 140.
Fig. 3 is a flowchart of a method for obtaining a network speed estimate corresponding to signal strength for each WiFi hotspot according to an embodiment of the present invention. The specific steps for obtaining the network speed estimate corresponding to the signal strength of each WiFi hotspot 140 in step 210 above are further described below with reference to fig. 3.
In another embodiment of the present invention, a grouping method may be adopted to obtain a network speed estimate corresponding to the signal strength of each WiFi hotspot. First, the historical intensity signals are grouped, and the average network speed of each group of historical intensity signals is recorded. Then, a corresponding table is generated according to the historical intensity signal and the average network speed. And finally, determining the network speed estimation corresponding to the signal strength according to the corresponding table. In an optimized example of the invention, partial historical intensity signals can be grouped, the average network speed of each group of historical intensity signals is recorded, and the network speed of other signal intensities is obtained through an interpolation algorithm.
Fig. 4 is a flowchart of a method for obtaining distances of WiFi hotspots according to an embodiment of the invention. The step of obtaining the distance of each WiFi hotspot 140 is described below with reference to fig. 4.
At step 410, it is detected whether the WiFi hotspot 140 supports (IEEE)802.11 mc. If so, a Round-Trip Time algorithm (RTT) is used to obtain the distance to the WiFi hotspot 140, otherwise, step 420 is performed.
The following describes an exemplary calculation method of the index value and the comprehensive index value of the signal strength, the network speed corresponding to the signal strength, the distance, and the historical use duration of each WiFi hotspot 140.
Signal strength index value
The signal strength of the WiFi hotspot 140 that the mobile terminal 150 can handle has a certain range: -100dBm to-30 dBm. When calculating the signal strength index value, the signal strength index value may be set to 100 when the signal strength is greater than the maximum value of-30 dBm and 30 when the signal strength is less than the minimum value of-100 dBm, and the signal strength index values may be grouped at 5dBm intervals, with the scores of each group being the same. The signal strength index value may be calculated by the following formula:
where sig _ score (n) represents a signal strength index value, and n represents a signal strength value.
Network speed estimation index value
When calculating the network speed estimation index value, the score may be set to 100 when the network speed is greater than or equal to 50Mbps, and the network speed estimation index value may be set to 0 when the network speed is 0 or when the network speed is unknown. The wire speed estimation index value may be calculated by the following formula:
wherein, speed _ score (k) represents a network speed estimation index value, and k represents a network speed estimation value.
The network speed estimation corresponds to the signal strength, and the network speed estimation can be obtained through the signal strength value and the corresponding relation. Obtaining the network speed estimate corresponding to the signal strength for each WiFi hotspot may include the steps of: grouping the historical intensity signals, recording the average network speed of each group of historical intensity signals, generating a corresponding table according to the historical intensity signals and the average network speed, and determining the network speed estimation corresponding to the signal intensity according to the corresponding table.
As an example only, the signal strengths may be grouped first, for example, the maximum and minimum signal strengths that the mobile terminal 150 can process are-30 dBm and-100 dBm, respectively, and the signal strengths are grouped at 5dBm intervals for a total of 14 groups. Each group then records the average wire speed for that group of signal strengths: s0, S1, …, S13. Wherein S0 represents the average network speed when the signal intensity is-100 dBm to-95 dBm, S13 represents the average network speed when the signal intensity is-35 dBm to-30 dBm, a corresponding table is generated according to the historical intensity signal and the average network speed, and the network speed estimation corresponding to the signal intensity is determined according to the corresponding table. For example, the signal strength of the WiFi hotspot 140 obtained by scanning is n, and the index (n) of its packet can be calculated, so as to obtain the network speed as: s [ index (n) ]. Where the index (n) function is as follows:
where index (n) denotes the packet index number and n denotes the signal strength value.
In other embodiments of the scheme, partial historical intensity signals can be grouped, the average network speed of each group of historical intensity signals is recorded, and the network speed of other signal intensities is obtained through an interpolation algorithm. For example, the wire speed of S [1] and S [3] is known, and the wire speed of S [2] is unknown, which can be derived by a linear interpolation algorithm: and S2 is (S1 + S3)/2. After the network speed is obtained, the network speed estimation index value can be calculated through the formula (2).
Distance index value
For WiFi hotspots 140 that support 802.11mc, the mobile terminal 150 may employ a round trip time algorithm without connecting to the WiFi hotspot 140, thereby calculating distance information of each WiFi hotspot 140. When calculating the distance index value, the distance index value may be set to 100 m or more or 0 when the distance is unknown, and the distance index value may be set to 100 when the distance is within 0 to 10 m. The distance index value may be calculated by the following formula:
wherein, dist _ score (d) represents a distance index value, and d represents a distance between the mobile terminal and the WiFi hotspot.
Historical usage duration index value
The historical usage duration information records the duration that the user has used the WiFi hotspot 140. In calculating the historical usage period index value, the calculation of the historical usage period index value is measured in hours. The historical use period index value may be calculated by the following formula:
wherein, time _ score (t) represents the historical usage duration index value, and t represents the historical usage duration.
After the index values of the signal intensity, the network speed estimation, the distance and the historical use duration of each WiFi hotspot are respectively calculated, the comprehensive index value of each WiFi hotspot is calculated through a preset weighted summation algorithm. The comprehensive index value of each WiFi hotspot can be calculated by the following formula:
score(i)=α1*sig_score(s(i))+α2*speed_score(q(i))+α3*dist_score(d(i))+α4*time_score(t(i)) (6)
wherein i represents the ith WiFi hotspot, score (i) represents the comprehensive index value of the ith WiFi hotspot, sig _ score (s (i)) represents the signal strength index value of the ith WiFi hotspot, speed _ score (q (i)) represents the network speed estimation index value of the ith WiFi hotspot, dist _ score (d (i)) represents the distance index value of the ith WiFi hotspot, and time _ score (t (i)) represents the historical use index value of the ith WiFi hotspot, α1,α2,α3,α4As a weighting factor for each index value, α1+α2+α3+α4The sum of the weights of the index values is 1, i.e., the weight factors of the index values are 0.4, 0.3, 0.2, and 0.1, for example. In an embodiment of the present invention, the weight factor of the distance index value may be 1, and accordingly, the weight factors of the rest index values are 0.
And after the comprehensive index value of each WiFi hotspot is obtained through calculation, sorting the WiFi hotspots according to the comprehensive index value from high to low, and selecting the WiFi hotspots according to the sorting result and connecting the WiFi hotspots to the selected WiFi hotspots.
In an embodiment of the present invention, the ranked WiFi hotspots 140 need to satisfy a certain condition, such as the signal strength being above a certain threshold.
In another embodiment of the present invention, the composite merit value further comprises an bonus merit value. The bonus index value at least comprises one or more of a recent use index value, a ping-pong switching index value, a safety index value and a frequency point index value. The composite index value including the bonus index value may be calculated by the following formula:
score(i)=α1*sig_score(s(i))+α2*speed_score(q(i))+α3*dist_score(d(i))+α4*time_score(t(i))+times_bonus(i)+hyst_bonus(i)+sec_bonus(i)+other_bonus(i)(7)
wherein, time _ booth (i) represents the latest index value of the ith WiFi hotspot, hyst _ booth (i) represents the ping-pong switching index value of the ith WiFi hotspot, sec _ booth (i) represents the security index value of the ith WiFi hotspot, and other _ booth (i) represents the frequency point index value of the ith WiFi hotspot.
The most recent use index value times _ bonus (i): an index value reward may be applied to whether recently used. For example, a recent use, may be awarded 10 points; a 9 point reward may be awarded for the last second use.
Ping-pong switching index value hyst _ bones (i): to prevent ping-pong handovers between WiFi hotspots 140, resulting in network delays, a ping-pong handover index value reward may be employed. For example, if the scanned WiFi hotspot 140 coincides with a WiFi hotspot 140 currently in use, a bonus is awarded, otherwise no bonus is awarded. Safety index value sec _ bonus (i): the encryption hotspots are particularly bonus. Open hotspots generally have potential safety hazards, and under the same condition, stored encryption hotspots are preferentially selected and are particularly divided.
Bin index value other _ bins (i): the user is encouraged to add additional points to the WiFi hotspot 140 using 5 ghz, preferably using a 5 ghz frequency point, rather than a 2.4 ghz frequency point, under comparable conditions.
The invention provides a selection method of WiFi hotspots, which is used for obtaining the signal intensity of each WiFi hotspot, and the network speed estimation, the distance and the historical use duration corresponding to the signal intensity, respectively calculating the index values of the signal intensity, the network speed estimation, the distance and the historical use duration of each WiFi hotspot and the comprehensive index value of each WiFi hotspot, and taking the network connection performance, the use habit and the power consumption of a user into consideration, simultaneously reducing the overall network interference and improving the internet access experience of the user.
It is noted that, in the invention, the distance between the mobile terminal and the WiFi hotspot is considered when selecting the WiFi hotspot. Most WiFi hotspots operate at the same and adjacent frequency points, and the WiFi hotspots with long distances are selected, so that large interference is generated on the WiFi hotspots with short distances, and the interference level in the whole area is increased. Under the condition that the network speed estimation and the signal strength are the same, the WiFi hotspot closest to the network speed estimation is preferred, and the WiFi hotspot far away from the network speed estimation cannot generate too large interference, so that the overall interference is reduced, and the overall network speed is increased.
Another aspect of the present invention provides a device 500 for selecting WiFi hotspots. Referring to fig. 2 and 5, the WiFi hotspot selecting device 500 includes a parameter obtaining module 510, a calculating module 520, and a connection selecting module 530.
The parameter obtaining module 510 obtains the signal strength of each WiFi hotspot 140, the network speed estimate corresponding to the signal strength, the distance, and the historical usage duration.
The calculation module 520 calculates the index values of the signal strength, the network speed estimation, the distance and the historical use duration of each WiFi hotspot 140, and calculates the comprehensive index value of each WiFi hotspot 140 through a preset weighted summation algorithm according to the index values of the signal strength, the network speed estimation, the distance and the historical use duration. In one example, the comprehensive index value further comprises an addend index value, and the addend index value at least comprises one or more of a recent use index value, a ping-pong switch index value, a safety index value and a frequency point index value.
The selection connection module 530 sorts the WiFi hotspots 140 according to the comprehensive index value, and selects the WiFi hotspots 140 according to the sorting result and connects to the selected WiFi hotspots 140.
The mobile terminal 150 may scan a plurality of WiFi hotspots 140 in the following two ways: firstly, after the mobile terminal 150 enters an area with a plurality of WiFi hotspots 140, scanning the plurality of WiFi hotspots 140 in the area; the mobile terminal 150 is connected to a WiFi hotspot 140, and scans a plurality of WiFi hotspots 140 when responding to a trigger condition.
In one embodiment, after the mobile terminal 150 enters an area including a plurality of WiFi hotspots 140, the plurality of WiFi hotspots 140 in the area are scanned, and the signal strength, the network speed estimate corresponding to the signal strength, the distance, and the historical usage duration of each WiFi hotspot 140 are obtained. Then, the index values of the signal strength, the network speed estimation, the distance and the historical use duration of each WiFi hotspot 140 are respectively calculated, and the comprehensive index value of each WiFi hotspot 140 is calculated through a preset weighted summation algorithm according to the index values of the signal strength, the network speed estimation, the distance and the historical use duration. And then, sorting the WiFi hotspots 140 according to the comprehensive index values, and selecting the WiFi hotspots 140 according to the sorting result and connecting to the selected WiFi hotspots 140.
In another embodiment, the mobile terminal 150 is already connected to a WiFi hotspot 140, and a plurality of WiFi hotspots 140 are scanned in response to a trigger condition. Wherein the trigger condition is at least one of the signal strength or the network speed estimate of the WiFi hotspot 140 to which the mobile terminal 150 is connected being below a threshold value within a preset time period, the mobile terminal 150 waking up from a sleep mode, or the connected WiFi hotspot 140 losing connection. Then, the index values of the signal strength, the network speed estimation, the distance and the historical use duration of each WiFi hotspot 140 are respectively calculated, and the comprehensive index value of each WiFi hotspot 140 is calculated through a preset weighted summation algorithm according to the index values of the signal strength, the network speed estimation, the distance and the historical use duration. And then, sorting the WiFi hotspots 140 according to the comprehensive index values, and selecting the WiFi hotspots 140 according to the sorting result and connecting to the selected WiFi hotspots 140.
Referring to fig. 3, the specific steps of obtaining the network speed estimate corresponding to the signal strength of each WiFi hotspot 140 are:
The network speed estimation corresponding to the signal strength of each WiFi hotspot 140 may also be obtained in a packet manner. First, the historical intensity signals are grouped, and the average network speed of each group of historical intensity signals is recorded. Then, a corresponding table is generated according to the historical intensity signal and the average network speed. And finally, determining the network speed estimation corresponding to the signal strength according to the corresponding table. In an optimized example of the invention, partial historical intensity signals can be grouped, the average network speed of each group of historical intensity signals is recorded, and the network speed of other signal intensities is obtained through an interpolation algorithm.
Referring to fig. 4, the method for obtaining the distance of each WiFi hotspot includes the steps of:
at step 410, it is detected whether the WiFi hotspot 140 supports (IEEE)802.11 mc. If so, a Round-Trip Time algorithm (RTT) is used to obtain the distance to the WiFi hotspot 140, otherwise, step 420 is performed.
In the above embodiment, the index value and the composite index value of the signal strength of each WiFi hotspot 140, the network speed, the distance, and the historical use duration corresponding to the signal strength may be obtained by calculating a score.
The invention provides a selection device of WiFi hotspots, which is used for acquiring the signal intensity of each WiFi hotspot, and the network speed estimation, the distance and the historical use duration corresponding to the signal intensity, respectively calculating the index values of the signal intensity, the network speed estimation, the distance and the historical use duration of each WiFi hotspot and the comprehensive index value of each WiFi hotspot, and taking the network connection performance, the use habits and the power consumption of users into consideration, simultaneously reducing the overall network interference and improving the internet access experience of the users.
Still another aspect of the present invention provides a display method of a user interface. As shown in fig. 6, the display method of the user interface includes:
In this step, the method for obtaining the signal strength of each WiFi hotspot, the network speed estimation corresponding to the signal strength, the distance, and the historical usage duration may refer to step 210 above, which is not described herein again.
And step 620, respectively calculating the index values and the comprehensive index values of the signal intensity, the network speed estimation, the distance and the historical use duration of each WiFi hotspot.
In this step, the index values of the signal strength, the network speed estimation, the distance, and the historical usage duration of each WiFi hotspot are respectively calculated, and the comprehensive index value of each WiFi hotspot is calculated through a preset weighted summation algorithm according to the index values of the signal strength, the network speed estimation, the distance, and the historical usage duration, and the specific calculation method may refer to step 220 above, which is not repeated here.
And 630, displaying the signal intensity of each WiFi hotspot, the network speed estimation, the distance and the historical service duration corresponding to the signal intensity, each index value and the comprehensive index value.
In this step, the signal strength of each WiFi hotspot, the network speed estimate corresponding to the signal strength, the distance, and the historical use duration are obtained, and after each index value and the comprehensive index value are calculated, the signal strength of each WiFi hotspot, the network speed estimate corresponding to the signal strength, the distance, the historical use duration, each index value, and the comprehensive index value are displayed.
The signal strength of the WiFi hotspot, the network speed estimate corresponding to the signal strength, the distance, and the historical usage duration may all be displayed in the same row. At least a portion of the network speed estimate, distance, and historical usage duration for the WiFi hotspot corresponding to signal strength may also be displayed in response to the trigger condition. The trigger condition may include a single click, a double click, or a long press.
As an example, the user interface may be displayed as follows:
SSID name | Password mark | Strong signalDegree of rotation | Network speed | Distance between two adjacent plates | Historical use |
The SSID name represents the name of each WiFi hotspot, and the password mark prompts the password of the WiFi hotspot. The signal strength of the WiFi hotspot, the network speed estimation corresponding to the signal strength, the distance and the historical use duration are all displayed on the same row.
Flow charts are used herein to illustrate operations performed by methods according to embodiments of the present application. It should be understood that the preceding operations are not necessarily performed in the exact order in which they are performed. Rather, various steps may be processed in reverse order or simultaneously. Meanwhile, other operations are added to or removed from these processes. For example, step 620 may be omitted, and accordingly, only the signal strength, the network speed estimate corresponding to the signal strength, the distance, and the historical usage duration of each WiFi hotspot are displayed in step 630, without displaying each indicator value and the composite indicator value.
Yet another aspect of the present invention provides a display device 700 for a user interface. Referring to fig. 7, the display apparatus 700 includes a parameter acquiring module 710, a calculating module 720, and a display module 730.
The parameter obtaining module 710 scans a plurality of WiFi hotspots, and obtains the signal strength of each WiFi hotspot, the network speed estimate corresponding to the signal strength, the distance, and the historical usage duration.
The calculation module 720 calculates the index values of the signal strength, the network speed estimation, the distance and the historical use duration of each WiFi hotspot respectively, calculates the comprehensive index value of each WiFi hotspot through a preset weighted summation algorithm according to the index values of the signal strength, the network speed estimation, the distance and the historical use duration, and the display module displays each index value and the comprehensive index value.
The display module 730 displays the signal strength of each WiFi hotspot, the network speed estimate corresponding to the signal strength, the distance and the historical use duration, each index value and the comprehensive index value.
It is understood that the display device 700 may not include the calculation unit 720, and accordingly, the display module 730 displays only the signal strength, the network speed estimate corresponding to the signal strength, the distance, and the historical use duration of each WiFi hotspot without displaying each index value and the composite index value.
It is to be understood that while certain presently contemplated embodiments of the invention have been discussed in the foregoing disclosure by way of illustration, and not by way of limitation, such details are provided for purposes of illustration only and the appended claims are intended to cover all such modifications and equivalent arrangements as fall within the true spirit and scope of the embodiments of the disclosure.
This application uses specific words to describe embodiments of the application. Reference throughout this specification to "one embodiment," "an embodiment," and/or "some embodiments" means that a particular feature, structure, or characteristic described in connection with at least one embodiment of the present application is included in at least one embodiment of the present application. Therefore, it is emphasized and should be appreciated that two or more references to "an embodiment" or "one embodiment" or "an alternative embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, some features, structures, or characteristics of one or more embodiments of the present application may be combined as appropriate.
Although the present invention has been described with reference to the present specific embodiments, it will be appreciated by those skilled in the art that the above embodiments are merely illustrative of the present invention, and various equivalent changes and substitutions may be made without departing from the spirit of the invention, and therefore, it is intended that all changes and modifications to the above embodiments within the spirit and scope of the present invention be covered by the appended claims.
Claims (18)
1. A selection method of a WiFi hotspot comprises the following steps:
the method comprises the steps that a mobile terminal scans a plurality of WiFi hotspots to obtain the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical service time;
respectively calculating the index values of the signal intensity, the network speed estimation, the distance and the historical use duration of each WiFi hotspot, and calculating the comprehensive index value of each WiFi hotspot according to the index values of the signal intensity, the network speed estimation, the distance and the historical use duration by a preset weighted summation algorithm, wherein the sum of the weights of the index values is 1;
and sequencing the WiFi hotspots according to the comprehensive index values, and selecting the WiFi hotspots according to the sequencing result and connecting to the selected WiFi hotspots.
2. The method of claim 1, wherein the index value of the distance is 1.
3. The method of claim 1, wherein the step of the mobile terminal scanning the plurality of WiFi hotspots comprises: after entering an area comprising a plurality of WiFi hotspots, the mobile terminal scans the plurality of WiFi hotspots in the area.
4. The method of claim 1, wherein the step of the mobile terminal scanning the plurality of WiFi hotspots comprises: the mobile terminal is connected to a WiFi hotspot, and a plurality of WiFi hotspots are scanned in response to a trigger condition.
5. The method of claim 4, wherein the trigger condition is at least one of a signal strength or a network speed estimate of a WiFi hotspot to which the mobile terminal is connected being below a threshold for a preset time period, the mobile terminal waking up from a sleep mode, or the connected WiFi hotspot losing connection.
6. The method of claim 1, wherein the step of obtaining the network speed estimate corresponding to the signal strength of each WiFi hotspot comprises: and detecting whether the mobile terminal locally caches the network speed estimation corresponding to the signal strength of the WiFi hotspot, if so, directly acquiring the network speed estimation locally, otherwise, acquiring the network speed estimation from a cloud database.
7. The method according to claim 1 or 6, wherein the step of obtaining the network speed estimate corresponding to the signal strength of each WiFi hotspot comprises: grouping the historical intensity signals, recording the average network speed of each group of historical intensity signals, generating a corresponding table according to the historical intensity signals and the average network speed, and determining the network speed estimation corresponding to the signal intensity according to the corresponding table.
8. The WiFi hotspot selection method of claim 7, wherein partial historical strength signals are grouped, the average network speed of each group of historical strength signals is recorded, and the network speeds of other signal strengths are obtained through an interpolation algorithm.
9. The method according to claim 1, wherein the step of obtaining the distance between the WiFi hotspots comprises: and acquiring the distance of each WiFi hotspot by adopting a round-trip time algorithm according to an 802.11mc protocol or acquiring the distance of each WiFi hotspot from a cloud database.
10. The method for selecting a WiFi hotspot of claim 1, wherein the composite index value further comprises an addend index value, the addend index value comprises at least one or more of a recent use index value, a ping-pong switch index value, a security index value, and a frequency point index value.
11. An apparatus for selection of a WiFi hotspot, the apparatus comprising:
the parameter acquisition module is used for acquiring the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical service time;
the calculation module is used for calculating the index values of the signal intensity, the network speed estimation, the distance and the historical use time of each WiFi hotspot respectively, and calculating the comprehensive index value of each WiFi hotspot through a preset weighted summation algorithm according to the index values of the signal intensity, the network speed estimation, the distance and the historical use time;
and the connection selection module is used for sorting the WiFi hotspots according to the comprehensive index values, selecting the WiFi hotspots according to a sorting result and connecting the WiFi hotspots to the selected WiFi hotspots.
12. A display method of a user interface, the display method comprising:
scanning a plurality of WiFi hotspots to obtain the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical service duration;
and displaying the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical use duration.
13. The method for displaying a user interface of claim 12, further comprising calculating an index value of the signal strength, the network speed estimation, the distance, and the historical usage duration of each WiFi hotspot, respectively, calculating a composite index value of each WiFi hotspot according to the index values of the signal strength, the network speed estimation, the distance, and the historical usage duration by a preset weighted summation algorithm, and displaying each index value and the composite index value.
14. The method of claim 12, wherein the signal strength of the WiFi hotspot, the network speed estimate corresponding to the signal strength, the distance, and the historical usage duration are all displayed in a same row.
15. The method of claim 12, wherein at least a portion of the network speed estimate, distance, and historical usage duration for the WiFi hotspot corresponding to signal strength is displayed in response to a trigger condition.
16. The method of claim 15, wherein the trigger condition comprises a single click, a double click, or a long press.
17. A display device of a user interface, the display device comprising:
the parameter acquisition module scans a plurality of WiFi hotspots and acquires the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical service time;
and the display module is used for displaying the signal intensity of each WiFi hotspot, the network speed estimation corresponding to the signal intensity, the distance and the historical service life.
18. The display device according to claim 17, further comprising a calculation module, wherein the calculation module calculates index values of the signal strength, the network speed estimation, the distance, and the historical usage duration of each WiFi hotspot, respectively, calculates a composite index value of each WiFi hotspot according to the index values of the signal strength, the network speed estimation, the distance, and the historical usage duration through a preset weighted summation algorithm, and the display module displays each index value and the composite index value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910099780.2A CN111586801A (en) | 2019-01-31 | 2019-01-31 | WiFi hotspot selection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910099780.2A CN111586801A (en) | 2019-01-31 | 2019-01-31 | WiFi hotspot selection method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111586801A true CN111586801A (en) | 2020-08-25 |
Family
ID=72118520
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910099780.2A Pending CN111586801A (en) | 2019-01-31 | 2019-01-31 | WiFi hotspot selection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111586801A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112732356A (en) * | 2021-01-11 | 2021-04-30 | 江西中瑞防雷技术有限公司 | Data monitoring management system of intelligent platform system |
CN114501450A (en) * | 2022-02-21 | 2022-05-13 | 广州朗桥维视通信技术有限公司 | Network access selection method and terminal equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103415061A (en) * | 2013-08-09 | 2013-11-27 | 百灵时代传媒集团有限公司 | Method and device for automatically selecting network hot spots |
CN104378790A (en) * | 2014-10-27 | 2015-02-25 | 深圳市蜂联科技有限公司 | Roam control strategy applied to cluster APs |
CN104768156A (en) * | 2015-04-30 | 2015-07-08 | 北京奇虎科技有限公司 | WiFi connection method and device |
CN105517112A (en) * | 2015-12-31 | 2016-04-20 | 小米科技有限责任公司 | Method and device for displaying WiFi network information |
CN107241782A (en) * | 2017-06-16 | 2017-10-10 | 广东欧珀移动通信有限公司 | Method for network access, mobile terminal and computer-readable recording medium |
CN107431977A (en) * | 2015-03-20 | 2017-12-01 | 高通股份有限公司 | The selection of access point within a wireless communication network |
CN107979859A (en) * | 2016-10-21 | 2018-05-01 | 中兴通讯股份有限公司 | A kind of method for switching network, device, terminal and the webserver |
CN108934026A (en) * | 2018-06-30 | 2018-12-04 | 江苏有线数据网络有限责任公司 | A kind of mobile terminal Wi-Fi quality determining method |
US20190014021A1 (en) * | 2017-07-10 | 2019-01-10 | Google Inc. | Method, apparatus and system for providing wireless network speed information |
-
2019
- 2019-01-31 CN CN201910099780.2A patent/CN111586801A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103415061A (en) * | 2013-08-09 | 2013-11-27 | 百灵时代传媒集团有限公司 | Method and device for automatically selecting network hot spots |
CN104378790A (en) * | 2014-10-27 | 2015-02-25 | 深圳市蜂联科技有限公司 | Roam control strategy applied to cluster APs |
CN107431977A (en) * | 2015-03-20 | 2017-12-01 | 高通股份有限公司 | The selection of access point within a wireless communication network |
CN104768156A (en) * | 2015-04-30 | 2015-07-08 | 北京奇虎科技有限公司 | WiFi connection method and device |
CN105517112A (en) * | 2015-12-31 | 2016-04-20 | 小米科技有限责任公司 | Method and device for displaying WiFi network information |
CN107979859A (en) * | 2016-10-21 | 2018-05-01 | 中兴通讯股份有限公司 | A kind of method for switching network, device, terminal and the webserver |
CN107241782A (en) * | 2017-06-16 | 2017-10-10 | 广东欧珀移动通信有限公司 | Method for network access, mobile terminal and computer-readable recording medium |
US20190014021A1 (en) * | 2017-07-10 | 2019-01-10 | Google Inc. | Method, apparatus and system for providing wireless network speed information |
CN108934026A (en) * | 2018-06-30 | 2018-12-04 | 江苏有线数据网络有限责任公司 | A kind of mobile terminal Wi-Fi quality determining method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112732356A (en) * | 2021-01-11 | 2021-04-30 | 江西中瑞防雷技术有限公司 | Data monitoring management system of intelligent platform system |
CN114501450A (en) * | 2022-02-21 | 2022-05-13 | 广州朗桥维视通信技术有限公司 | Network access selection method and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105208645B (en) | A kind of WIFI transmission power value adjusting method and device | |
JP5392747B2 (en) | Wireless communication terminal and wireless communication system | |
US10212653B2 (en) | Efficient roaming of mobile clients | |
US8406804B2 (en) | Communication terminal device, communication system and method of selecting base station thereof | |
CN101388841B (en) | Probing response frame sending method and apparatus | |
CN102325330B (en) | Wireless communication system, wireless communication apparatus, wireless communication method | |
CN105792290A (en) | Method and device for controlling intelligent terminal to perform wireless roaming | |
AU2013305803B2 (en) | Wireless communications system having selective wireless communications network and related methods | |
CN101904216A (en) | Method for searching for radio base station apparatus, search program, and wireless terminal apparatus | |
MX2010011584A (en) | Method and system for inter-frequency or inter-ratcell reselection. | |
CN111586801A (en) | WiFi hotspot selection method and device | |
CN109600808B (en) | Cell selection method, terminal and network side equipment | |
Kim et al. | Efficient ANDSF-assisted Wi-Fi control for mobile data offloading | |
CN101662796B (en) | Method and device for scanning wireless local area network (LAN) channels | |
CN107046699A (en) | A kind of wireless terminal roaming method and device | |
CN106131925B (en) | GAS (generic Access service) query method and device | |
CN101883409B (en) | RSSI-and-LQI-based rapid switch method in wireless sensor network | |
CN109309937B (en) | Method for switching access point, controller, network equipment and storage medium | |
Liu et al. | A real-time algorithm for fingerprint localization based on clustering and spatial diversity | |
Zhou et al. | Wiznet: A zigbee-based sensor system for distributed wireless lan performance monitoring | |
JP5310290B2 (en) | Program, communication system, portable terminal and communication method | |
CN110708732A (en) | Method and terminal for dynamically self-adapting network switching | |
CN110572812A (en) | roaming method and device | |
US11432233B2 (en) | Greedy user equipment data transport network selection | |
CN109327852B (en) | Cell quality calculation method, parameter configuration method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200825 |
|
RJ01 | Rejection of invention patent application after publication |