CN107809739A - A kind of method and device for connecting WIFI equipment - Google Patents
A kind of method and device for connecting WIFI equipment Download PDFInfo
- Publication number
- CN107809739A CN107809739A CN201710826675.5A CN201710826675A CN107809739A CN 107809739 A CN107809739 A CN 107809739A CN 201710826675 A CN201710826675 A CN 201710826675A CN 107809739 A CN107809739 A CN 107809739A
- Authority
- CN
- China
- Prior art keywords
- ssi
- variable
- rssi
- client
- access points
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000012163 sequencing technique Methods 0.000 claims description 10
- 230000009471 action Effects 0.000 claims description 2
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 12
- 230000008859 change Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000003860 storage Methods 0.000 description 3
- 241000209094 Oryza Species 0.000 description 2
- 235000007164 Oryza sativa Nutrition 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 235000009566 rice Nutrition 0.000 description 2
- 206010068052 Mosaicism Diseases 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000005194 fractionation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 210000003765 sex chromosome Anatomy 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/17—Selecting a data network PoA [Point of Attachment]
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of method and device for connecting WIFI equipment, it is related to radio network technique field.During for solving the quick linking objective equipment of existing client, the problem of high to client requirements be present.This method includes:It is determined that the Initial R SSI of the multiple WIFI access points matched in setting regions with client mode;When client is in first position, the distance between the client and multiple WIFI access points and variable R SSI are determined;When at least one described variable R SSI exceedes given threshold in multiple variable R SSI, the variable R SSI more than given threshold is defined as the first RSSI, determines multiple variable R SSI and Initial R SSI RSSI growth rates respectively;When the RSSI growth rates maximum corresponding to the first RSSI, the first WIFI access points corresponding to the first RSSI are defined as target access.
Description
Technical field
The present invention relates to radio network technique field, more particularly relates to a kind of method and device for connecting WIFI equipment.
Background technology
Internet of Things goes connection many with being frequently necessary to hold the handheld devices such as mobile phone when patrolling or measuring in scene
A nearest equipment in sensor or measuring apparatus, traditional way is first to scan the WIFI (English of surrounding on a handheld device
Wen Wei:WIreless-FIdelity, Chinese are:Wireless Fidelity) access point, then manually select an access point linking objective and set
Standby, this process needs manually to select on screen, is inconvenient to operate screen or many feelings of access point for having gloves on
Under condition, all it is very inconvenient, also easily produces maloperation.
In existing method, (English is generally use RFID:Radio Frequency IDentification, Chinese are:
Radio frequency identification) label storage WIFI access points, then by handheld device close to when go to read RFID label tag to reach what is quickly connected
Purpose, this method needs extra RFID/NFC, and (English is:Near Field Communication, Chinese are:Closely
Wireless communication technology) label and read module are, it is necessary to improve the cost of product, and for some equipment, RFID/NFC
Label is easy to stop other antennas, and the integrated of it is also pretty troublesome.
In summary, during the quick linking objective equipment of existing client, the problem of high to client requirements be present.
The content of the invention
The embodiment of the present invention provides a kind of method and device for connecting WIFI equipment, quick to solve existing client
During linking objective equipment, the problem of high to client requirements be present.
The embodiment of the present invention provides a kind of method for connecting WIFI equipment, including:
It is determined that the Initial R SSI of the multiple WIFI access points matched in setting regions with client mode;
When client is in first position, determines the distance between the client and multiple WIFI access points and become
Measure RSSI;
When at least one described variable R SSI exceedes given threshold in multiple variable R SSI, setting threshold will be exceeded
The variable R SSI of value is defined as the first RSSI, determines that multiple variable R SSI and Initial R SSI RSSI increases respectively
Rate;
When the RSSI growth rates maximum corresponding to the first RSSI, by the first WIFI corresponding to the first RSSI
Access point is defined as target access.
Preferably, it is described when client is in first position, determine the client and multiple WIFI access points it
Between distance and variable R SSI, specifically include:
Multiple distances of the client at the first position between multiple WIFI access points are determined, and really
The multiple variable R SSIs of the fixed client at the first position between multiple WIFI access points.
It is preferably, described when at least one described variable R SSI exceedes given threshold in multiple variable R SSI,
The variable R SSI more than given threshold is defined as the first RSSI, specifically included:
Multiple variables by the client at the first position between multiple WIFI access points
RSSI and given threshold are compared, and the multiple variable R SSI that will be greater than the given threshold are defined as the first RSSI.
Preferably, the RSSI growth rates for determining multiple variable R SSI and Initial R SSI respectively, are specifically included:
Confirm successively at the first position, the client receive multiple variable R SSI and Initial R SSI it
Between difference, the difference is defined as the RSSI growth rates;The Initial R SSI respectively with multiple WIFI access points
Corresponding, the variable R SSI is corresponding with multiple WIFI access points respectively.
The embodiment of the present invention also provides a kind of device for connecting WIFI equipment, including:
First determining unit, for determine match in setting regions with client mode multiple WIFI access points at the beginning of
Beginning RSSI;
Second determining unit, for when client is in first position, determining that the client connects with multiple WIFI
The distance between access point and variable R SSI;
Sequencing unit, for when in multiple variable R SSI at least one described variable R SSI exceed given threshold
When, the variable R SSI more than given threshold is defined as the first RSSI, determine respectively multiple variable R SSI with it is initial
RSSI RSSI growth rates;
3rd determining unit, for when the RSSI growth rates maximum corresponding to the first RSSI, by described first
The first WIFI access points are defined as target access corresponding to RSSI.
Preferably, second determining unit is specifically used for:
Multiple distances of the client at the first position between multiple WIFI access points are determined, and really
The multiple variable R SSIs of the fixed client at the first position between multiple WIFI access points.
Preferably, the sequencing unit is specifically used for:
Multiple variables by the client at the first position between multiple WIFI access points
RSSI and given threshold are compared, and the multiple variable R SSI that will be greater than the given threshold are defined as the first RSSI.
Preferably, the sequencing unit is specifically used for:
Confirm successively at the first position, the client receive multiple variable R SSI and Initial R SSI it
Between difference, the difference is defined as the RSSI growth rates;The Initial R SSI respectively with multiple WIFI access points
Corresponding, the variable R SSI is corresponding with multiple WIFI access points respectively.
The embodiment of the present invention provides a kind of method and device for connecting WIFI equipment, and this method mainly includes:It is determined that setting
Determine the Initial R SSI of multiple WIFI access points matched in region with client mode;When client is in first position, it is determined that
The distance between the client and multiple WIFI access points and variable R SSI;When in multiple variable R SSI at least
When one variable R SSI exceedes given threshold, the variable R SSI more than given threshold is defined as the first RSSI, point
Multiple variable R SSI and Initial R SSI RSSI growth rates are not determined;When the RSSI increases corresponding to the first RSSI
During rate maximum, the first WIFI access points corresponding to the first RSSI are defined as target access.In this method, pass through client
End and the SSID pattern match of multiple WIFI access points in setting regions, are dynamically determined the change of client and multiple WIFI access points
RSSI is measured, the first RSSI is chosen from the variable R SSI more than given threshold, further, according to variable R SSI and Initial R SSI
Between RSSI growth rates, by the first RSSI, RSSI growth rates are ordered as primary WIFI access points and are defined as client
Target access.Avoid the method for needing to be manually entered WIFI access points in the prior art, accelerate client device with
Target is the connection procedure of handle.Furthermore client does not need extra outfit RFID/NFC in this method, solves prior art
During the quick linking objective equipment of middle client, the problem of high to client requirements be present.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow schematic diagram for connecting WIFI equipment provided in an embodiment of the present invention;
Fig. 2 is a kind of method schematic diagram for connection WIFI equipment that the embodiment of the present invention one provides;
Fig. 3 is a kind of apparatus structure schematic diagram for connecting WIFI equipment provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of method and device for connecting WIFI equipment, and this method mainly includes:It is determined that setting
Determine the Initial R SSI of multiple WIFI access points matched in region with client mode;When client is in first position, it is determined that
The distance between the client and multiple WIFI access points and variable R SSI;When in multiple variable R SSI at least
When one variable R SSI exceedes given threshold, the variable R SSI more than given threshold is defined as the first RSSI, point
Multiple variable R SSI and Initial R SSI RSSI growth rates are not determined;When the RSSI increases corresponding to the first RSSI
During rate maximum, the first WIFI access points corresponding to the first RSSI are defined as target access.It this method solve existing
In technology during the quick linking objective equipment of client, the problem of high to client requirements be present.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
The several technical terms being related to:
1st, RSSI is Received Signal Strength Indication abbreviation, and Chinese is strong for the signal received
Degree instruction, RSSI is to determine the distance of signaling point and receiving point by the signal strength received, and then is entered according to corresponding data
A kind of location technology of row location Calculation.
2nd, SSID is Service Set Identifier abbreviation, and Chinese is service set.SSID technologies can incite somebody to action
One WLAN is divided into several sub-networks for needing different identity to verify, each sub-network is required for independent identity to test
Card, only can just enter corresponding sub-network by the user of authentication, prevent unauthorized user from entering present networks.
The method flow schematic diagram for showing a kind of connection WIFI equipment provided in an embodiment of the present invention exemplary Fig. 1.
As shown in figure 1, this method comprises the following steps:
Step 101, it is determined that the Initial R SSI of the multiple WIFI access points matched in setting regions with client mode;
Step 102, when client is in first position, determine between the client and multiple WIFI access points
Distance and variable R SSI;
Step 103, will be super when at least one described variable R SSI exceedes given threshold in multiple variable R SSI
The variable R SSI for crossing given threshold is defined as the first RSSI, determines multiple variable R SSI and Initial R SSI's respectively
RSSI growth rates;
Step 104, when the RSSI growth rates maximum corresponding to the first RSSI, by corresponding to the first RSSI
First WIFI access points are defined as target access.
It should be noted that in embodiments of the present invention, the WIFI SSID of WIFI access points will be arranged to some determination
Pattern, when client prepares to connect some WIFI access point, it is necessary to obtain the WIFI SSID of some WIFI access point with
And the Initial R SSI of the WIFI access points.Wherein, some determination pattern of the WIFI SSID settings of WIFI access points can be
Started with some fixed character string or ended up, for example the WIFI SSID of one group of WIFI access point are " S32 "+4 bit sequence number,
As S320001, S320002, S320003 etc., and when client needs to connect some WIFI access point, it is only necessary to handle
WIFI SSID are the access points that " S32 " starts+4 bit digitals, and can not identify the WIFI SSID of other patterns.
In embodiments of the present invention, client is generally mobile terminal, you can with the computing device used on the move, than
Such as, mobile phone, notebook computer, tablet personal computer, (English is POS:Point of sales) machine or vehicle-mounted computer etc..
In a step 101, after client enters some setting regions, can be determined by way of scanning and client
Multiple WIFI access points of pattern match are held, wherein, the method for confirming to match with client mode is connect by scanning multiple WIFI
The SSID of access point, if the SSID of WIFI access points matches with client mode, WIFI can be got by way of scanning
The Initial R SSI of access point;If the SSID of WIFI access points mismatches with client mode, it is unmatched that this can not be got
The SSID of WIFI access points.
In actual applications, the multiple WIFI access points that can be set respectively in the big setting regions of an Area comparison,
In view of the covering sex chromosome mosaicism of network, multiple WIFI access points can be typically arranged on to the diverse location of setting regions.In this hair
In bright embodiment, client enter setting regions after, client by way of scanning, be first confirmed whether with setting regions
Whether the SSID of multiple WIFI access points matches, and after the match is successful, client first gets the initial of multiple WIFI access points
RSSI, and Initial R SSI and corresponding WIFI access points are recorded.For example have 4 WIFI access points in setting regions, visitor
After family end is scanned for the first time, the Initial R SSI of 4 WIFI access points can be got respectively, and client can be initial to four respectively
RSSI is recorded, and four Initial R SSI of record are corresponding with 4 WIFI access points respectively.
For example, there are 4 WIFI access points and a WIFI router in setting regions, wherein, 4 WIFI access points
SSID be respectively:S325002, S325003, S325004 and S325005, and the SSID of WIFI routers is TP-LINK_
9212, client matches with the SSID of " tetra- random digits of S32+ ", then after client enters the setting regions, passes through scanning
Mode, Point matching can be accessed with 4 WIFI, and get S325002, S325003, S325004 and tetra- WIFI of S325005
The distance between Initial R SSI and client that access point is sent and 4 WIFI access points, such as, with 4 WIFI access points
The distance between be respectively 0.8 meter, 1.6 meters, 2.3 meters and 2 meters, correspondingly, client receives the initial of 4 WIFI access points
RSSI is respectively -48, -50, -55, -26.
In a step 102, because client can move in setting regions, therefore between client and each WIFI access points
Distance can be changed with moving for client, and in actual applications, client receives the RSSI of WIFI access points
With distance dependent system, i.e., when client is in moving process, receiving the RSSI of each WIFI access points also can ceaselessly change,
In embodiments of the present invention, the RSSI that client is received to WIFI access points in moving process is referred to as variable R SSI.
, can be by client in order to record and determine the RSSI of WIFI access points that client receives in moving process
End moves into several stages, such as, in the first phase, client is received to the change of WIFI access points in the first stage
Amount RSSI position determination is divided into first position, the variable R SSI's for the WIFI access points that client is received in second stage
Position is defined as the second place, and the change RSSI for the WIFI access points that client is received in N stages position is defined as
Nth position.
In embodiments of the present invention, in order to accurately determining target device, i.e. client from multiple WIFI access points
The access point at end, it is preferable that the variable R SSI that client receives WIFI access points at multiple positions respectively can be gathered respectively.
When client is moved to first position, multiple distances of the client between first position and multiple WIFI access points are determined,
And determine multiple variable R SSIs of the client at first position between multiple WIFI access points;When client is moved to second
During position, multiple distances of the client between the second place and multiple WIFI access points are determined, and determine client second
Multiple variable R SSI during position between multiple WIFI access points.
For example, client is at first position, respectively 2.2 meters of the distance between 4 WIFI access points, and 0.2
Rice, 1 meter and 1.3 meters, correspondingly, the variable R SSI that client receives 4 WIFI access points is respectively -55, -21, -43, -
20.For client at the second place, the distance between 4 WIFI access points are respectively 2.3 meters, 0.1 meter, 0.9 meter and 1.2
Rice, correspondingly, the variable R SSI that client receives 4 WIFI access points are respectively -55, -17, -43 and -19.
In step 103, in order to determine that client is connected to the best WIFI access points of signal intensity, due to client
End can get the variable R SSI of multiple WIFI access points at multiple positions, in embodiments of the present invention, in order to from multiple changes
Measure WIFI access point of the selection with best signal in RSSI, it is preferable that the variable R SSI of multiple WIFI access points can be set
One threshold value, by multiple variable R SSI that client is got at each position compared with the threshold value set, selection is super
Cross the variable R SSI of given threshold.
After the variable R SSI of excess of export given threshold is selected from multiple variable R SSI, by more than the change of given threshold
Amount RSSI is defined as the first RSSI, and determines multiple variable R SSI that client is got under the position, further, according to
The multiple variable R SSI determined, it is determined that Initial R SSI corresponding with above-mentioned multiple variable R SSI.According to variable R SSI and initially
RSSI, calculate each variable R SSI RSSI increments.It should be noted that in embodiments of the present invention, variable R SSI with
WIFI access points have corresponding relation, and further, Initial R SSI also has corresponding relation with WIFI access points, by above-mentioned right
It should be related to, it may be determined that have the Initial R SSI of corresponding relation for variable R SSI.
For example, RSSI threshold values are set as that -21, the variable R SSI that client is got respectively in first position are:-
55, -21, -43, -20, it is more than given threshold -21 due to -20, then can is first the first RSSI according to -20, according to-the 20 of determination
Corresponding position, the variable R SSI that client is got when determining first position successively are respectively -55, -21, -43, -20.It is true again
Fixed Initial R SSI corresponding with above-mentioned variable R SSI is respectively -48, -50, -55, -26, according to above-mentioned corresponding relation, it may be determined that
RSSI growth rates are respectively -7,29,12 and 6.Above-mentioned RSSI growth rates are ranked up, it may be determined that RSSI increases maximum
For 29.WIFI access points corresponding to the RSSI growth rates are S325003, and the variable R SSI more than given threshold is -20, and are become
It is S325005 to measure corresponding WIFI access points when RSSI is -20, and WIFI access points S325005 RSSI growth rates are 6, i.e.,
It was determined that although the threshold value that WIFI access points are S325005 variable R SSI is more than given threshold, WIFI access points are
S325005 RSSI growth rates are not maximum, then not can confirm that WIFI access points is that the target that S325005 is client is set
It is standby.
Again for example, RSSI threshold values are set as -21, the variable R SSI that client is got respectively in the second place
For:- 55, -17, -43 and -19, it is more than given threshold -21 due to -17 and -19, then first can be defined as the according to -17 and -19
One RSSI, the position according to corresponding to-the 17 of determination and -19, the variable R SSI that client is got when determining the second place successively
Respectively -55, -17, -43 and -19.It is respectively -48, -50, -55 to determine Initial R SSI corresponding with above-mentioned variable R SSI again, -
26, according to above-mentioned corresponding relation, it may be determined that RSSI growth rates are respectively -7,33,12 and 7.Above-mentioned RSSI growth rates are carried out
Sequence, it may be determined that RSSI increase maximum for 33.WIFI access points corresponding to the RSSI growth rates are S325003, meanwhile,
WIFI access points S325003 variable R SSI is -17, and corresponding WIFI access points are when variable R SSI is -19
S325005, the WIFI access points S325005 RSSI growth rates are 7, you can to determine, although WIFI access points are S325003
Given threshold is both greater than with the threshold value for the variable R SSI that WIFI access points are S325005, but because WIFI access points are S325003
RSSI growth rates be maximum, then confirm that WIFI access points are target device that S325003 is client, and because WIFI connects
Access point is that S325005 RSSI growth rates are not maximum, then not can confirm that WIFI access points is the mesh that S325005 is client
Marking device.
Embodiment one
Below in conjunction with a kind of method schematic diagram of Fig. 2 connection WIFI equipments provided, it is real to introduce the present invention in more detail
The method that a kind of connection WIFI equipment of example offer is provided.
Step 201, client means scans are located at the WIFI access points around client device;
Step 202, obtain matching designated mode WIFI access points SSID and RSSI, and record successively initial SSID and
Initial R SSI;
Step 203, client is at first position, WIFI access points around device scan, obtains matching designated mode
The variable R SSI of WIFI access points;
Step 204, when variable R SSI exceedes given threshold, step 205 is performed, variable R SSI is not less than given threshold
When, perform step 203;
Step 205, according to multiple variable R SSI when Initial R SSI and current first position, all WIFI access points are determined
RSSI growth rates;
Step 206, as the variable R SSI more than given threshold, and RSSI growth rates for it is maximum when, perform step 207, it is no
Then, step 203 is performed;
Step 207, it is that maximum WIFI access points are mesh to select more than the variable R SSI of given threshold and RSSI growth rates
Marking device, and it is connected to the WIFI of target device.
Embodiment two
It is placed on 4 WIFI equipments and a WIFI router in same room with them, WIFI clients are leaned on to S325003
Exemplified by near process, a kind of method for connecting WIFI equipment provided in an embodiment of the present invention is introduced again.
Table 1 is WIFI clients to process kind close S325003, variable R SSI situation of change:
The variable R SSI of table 1 situation of change
As shown in table 1, it is " S32 "+4 bit digital to set SSID patterns, and RSSI threshold values is -21, due to access point " TP-
LINK_9212 " mismatches with WIFI client modes, then access point " TP-LINK_9212 " is ignored.
As shown in figure 1, under distance 4, there is the situation that variable R SSI is more than RSSI threshold values, i.e. when variable R SSI is -21, greatly
In the situation of RSSI threshold values -20.
Table 2 be in the case of distance 4, when thering is the RSSI to be more than given threshold, the RSSI of calculating WIFI access points growth rate.
The RSSI growth rates of table 2WIFI access points
As shown in table 2, although being more than setting threshold values in variable R SSI corresponding to S325005 access points, due to
The RSSI growth rates of S325005 access points are not but highests, then not can confirm that S325005 access points is target access.
Table 3 be in the case of distance 5, when thering is the variable R SSI to be more than given threshold, the RSSI of calculating WIFI access points increasing
Long rate.
The RSSI growth rates of table 3WIFI access points
As shown in table 3, because WIFI access points S325003 variable R SSI is not only more than threshold values, and WIFI access points
S325003 RSSI growth rates are also highest, accordingly, it is determined that WIFI access points S325003 is target device.
In summary, the embodiment of the present invention provides a kind of method for connecting WIFI equipment, in this method, by client with
The SSID pattern match of multiple WIFI access points in setting regions, it is dynamically determined the variable of client and multiple WIFI access points
RSSI, from the variable R SSI more than given threshold choose the first RSSI, further, according to variable R SSI and Initial R SSI it
Between RSSI growth rates, by the first RSSI, RSSI growth rates are ordered as primary WIFI access points and are defined as client
Target access.The method for needing to be manually entered WIFI access points in the prior art is avoided, accelerates client device and mesh
Mark is the connection procedure of handle.Furthermore client does not need extra outfit RFID/NFC in this method, solves in the prior art
During the quick linking objective equipment of client, the problem of high to client requirements be present.
Based on same inventive concept, the embodiments of the invention provide a kind of device for connecting WIFI equipment, due to the device
It is similar to a kind of method for connecting WIFI equipment to solve the principle of technical problem, therefore the implementation of the device may refer to method
Implement, repeat part and repeat no more.
Fig. 3 is a kind of apparatus structure schematic diagram for connecting WIFI equipment provided in an embodiment of the present invention, as shown in figure 3, should
Device mainly includes the first determining unit 31, the second determining unit 32, the determining unit 34 of sequencing unit 33 and the 3rd.
First determining unit 31, the multiple WIFI access points matched for determination in setting regions with client mode
Initial R SSI;
Second determining unit 32, for when client is in first position, determining the client and multiple WIFI
The distance between access point and variable R SSI;
Sequencing unit 33, for when in multiple variable R SSI at least one described variable R SSI exceed given threshold
When, the variable R SSI more than given threshold is defined as the first RSSI, determine respectively multiple variable R SSI with it is initial
RSSI RSSI growth rates;
3rd determining unit 34, for when the RSSI growth rates maximum corresponding to the first RSSI, by described
The first WIFI access points are defined as target access corresponding to one RSSI.
Preferably, second determining unit 32 is specifically used for:
Multiple distances of the client at the first position between multiple WIFI access points are determined, and really
The multiple variable R SSIs of the fixed client at the first position between multiple WIFI access points.
Preferably, the sequencing unit 33 is specifically used for:
Multiple variables by the client at the first position between multiple WIFI access points
RSSI and given threshold are compared, and the multiple variable R SSI that will be greater than the given threshold are defined as the first RSSI.
Preferably, the sequencing unit 33 is specifically used for:
Confirm successively at the first position, the client receive multiple variable R SSI and Initial R SSI it
Between difference, the difference is defined as the RSSI growth rates;The Initial R SSI respectively with multiple WIFI access points
Corresponding, the variable R SSI is corresponding with multiple WIFI access points respectively.
It should be appreciated that the unit that includes of device of one of the above connection WIFI equipment only according to the apparatus realize
The logical partitioning that function is carried out, in practical application, the superposition or fractionation of said units can be carried out.And what the embodiment provided
A kind of method one for connection WIFI equipment that the function that a kind of device for connecting WIFI equipment is realized provides with above-described embodiment
One correspondence, the more detailed handling process realized for the device, has been described in detail in above method embodiment one,
It is not described in detail herein.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (8)
- A kind of 1. method for connecting WIFI equipment, it is characterised in that including:It is determined that the Initial R SSI of the multiple WIFI access points matched in setting regions with client mode;When client is in first position, the distance between the client and multiple WIFI access points and variable are determined RSSI;When at least one described variable R SSI exceedes given threshold in multiple variable R SSI, by more than given threshold The variable R SSI is defined as the first RSSI, determines multiple variable R SSI and Initial R SSI RSSI growth rates respectively;When the RSSI growth rates maximum corresponding to the first RSSI, the first WIFI corresponding to the first RSSI is accessed Point is defined as target access.
- 2. the method as described in claim 1, it is characterised in that it is described when client is in first position, determine the client The distance between end and multiple WIFI access points and variable R SSI, are specifically included:Multiple distances of the client at the first position between multiple WIFI access points are determined, and determine institute State the multiple variable R SSIs of the client at the first position between multiple WIFI access points.
- 3. method as claimed in claim 2, it is characterised in that described to work as described at least one in multiple variable R SSI When variable R SSI exceedes given threshold, the variable R SSI more than given threshold is defined as the first RSSI, specifically included:Multiple variable R SSI by the client at the first position between multiple WIFI access points and Given threshold is compared, and the multiple variable R SSI that will be greater than the given threshold are defined as the first RSSI.
- 4. the method as described in claim 1, it is characterised in that described to determine multiple variable R SSI and Initial R SSI respectively RSSI growth rates, specifically include:Confirm successively at the first position, the client is received between multiple variable R SSI and Initial R SSI Difference, the difference is defined as the RSSI growth rates;The Initial R SSI is corresponding with multiple WIFI access points respectively, The variable R SSI is corresponding with multiple WIFI access points respectively.
- A kind of 5. device for connecting WIFI equipment, it is characterised in that including:First determining unit, for determine matched in setting regions with client mode multiple WIFI access points it is initial RSSI;Second determining unit, for when client is in first position, determining the client and multiple WIFI access points The distance between and variable R SSI;Sequencing unit, for when at least one described variable R SSI exceedes given threshold in multiple variable R SSI, inciting somebody to action The variable R SSI more than given threshold is defined as the first RSSI, determines multiple variable R SSI and Initial R SSI's respectively RSSI growth rates;3rd determining unit, for when the RSSI growth rates maximum corresponding to the first RSSI, by the first RSSI Corresponding first WIFI access points are defined as target access.
- 6. device as claimed in claim 5, it is characterised in that second determining unit is specifically used for:Multiple distances of the client at the first position between multiple WIFI access points are determined, and determine institute State the multiple variable R SSIs of the client at the first position between multiple WIFI access points.
- 7. device as claimed in claim 6, it is characterised in that the sequencing unit is specifically used for:Multiple variable R SSI by the client at the first position between multiple WIFI access points and Given threshold is compared, and the multiple variable R SSI that will be greater than the given threshold are defined as the first RSSI.
- 8. device as claimed in claim 5, it is characterised in that the sequencing unit is specifically used for:Confirm successively at the first position, the client is received between multiple variable R SSI and Initial R SSI Difference, the difference is defined as the RSSI growth rates;The Initial R SSI is corresponding with multiple WIFI access points respectively, The variable R SSI is corresponding with multiple WIFI access points respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710826675.5A CN107809739A (en) | 2017-09-13 | 2017-09-13 | A kind of method and device for connecting WIFI equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710826675.5A CN107809739A (en) | 2017-09-13 | 2017-09-13 | A kind of method and device for connecting WIFI equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107809739A true CN107809739A (en) | 2018-03-16 |
Family
ID=61583929
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710826675.5A Withdrawn CN107809739A (en) | 2017-09-13 | 2017-09-13 | A kind of method and device for connecting WIFI equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107809739A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108601052A (en) * | 2018-04-04 | 2018-09-28 | 天地融科技股份有限公司 | A kind of wireless network switching method |
WO2021197377A1 (en) * | 2020-03-31 | 2021-10-07 | 深圳市万普拉斯科技有限公司 | Device position determination method and apparatus, and computer device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101083832A (en) * | 2006-05-30 | 2007-12-05 | 中兴通讯股份有限公司 | Method for preventing frequent switching in wireless LAN |
CN101622887A (en) * | 2007-02-21 | 2010-01-06 | 高通股份有限公司 | Wireless Node Search Program |
CN103581979A (en) * | 2013-11-18 | 2014-02-12 | 华为终端有限公司 | WIFI network access method and terminal device |
CN104081831A (en) * | 2012-08-21 | 2014-10-01 | 统一有限责任两合公司 | Method and apparatus for selecting an access point based on direction of movement |
US20140341069A1 (en) * | 2013-05-17 | 2014-11-20 | Ayelet Alon | Systems and methods for selective scanning based on range and movement |
-
2017
- 2017-09-13 CN CN201710826675.5A patent/CN107809739A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101083832A (en) * | 2006-05-30 | 2007-12-05 | 中兴通讯股份有限公司 | Method for preventing frequent switching in wireless LAN |
CN101622887A (en) * | 2007-02-21 | 2010-01-06 | 高通股份有限公司 | Wireless Node Search Program |
CN104081831A (en) * | 2012-08-21 | 2014-10-01 | 统一有限责任两合公司 | Method and apparatus for selecting an access point based on direction of movement |
US20140341069A1 (en) * | 2013-05-17 | 2014-11-20 | Ayelet Alon | Systems and methods for selective scanning based on range and movement |
CN103581979A (en) * | 2013-11-18 | 2014-02-12 | 华为终端有限公司 | WIFI network access method and terminal device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108601052A (en) * | 2018-04-04 | 2018-09-28 | 天地融科技股份有限公司 | A kind of wireless network switching method |
WO2021197377A1 (en) * | 2020-03-31 | 2021-10-07 | 深圳市万普拉斯科技有限公司 | Device position determination method and apparatus, and computer device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9420469B2 (en) | Apparatus and method for identifying rogue device | |
EP3277027B1 (en) | Wi-fi connection method, mobile terminal and storage medium | |
CN102186239B (en) | Radio frequency (RF) fingerprint positing method, device and network equipment | |
CN109753928A (en) | Illegal building identification method and device | |
CN108830235A (en) | Method and apparatus for generating information | |
CN109389640A (en) | Image processing method and device | |
US10528844B2 (en) | Method and apparatus for distance measurement | |
CN109462529A (en) | Distribution method, apparatus and household appliance based on Mesh network | |
US10098085B1 (en) | Detecting a location of a wireless device | |
CN106507444A (en) | A kind of method and device of scanning WAP | |
CN106407768B (en) | A kind of determination of device-fingerprint, the method and apparatus that target device is identified | |
CN107046699A (en) | A kind of wireless terminal roaming method and device | |
CN101790149A (en) | Registration method of mobile terminal equipment, calibration item verifying method, system and device | |
CN105335956A (en) | Homologous image verification method and device | |
CN107809739A (en) | A kind of method and device for connecting WIFI equipment | |
CN103200676A (en) | Method and device for building fingerprint database | |
CN109379149A (en) | A kind of the determination method, apparatus and system of imaging area target | |
CN109905840A (en) | Localization method, device, system and radio reception device | |
CN106714172A (en) | WIFI hotspot processing method, device and system | |
CN107969003A (en) | A kind of wireless access authentication method | |
CN102547699A (en) | System and method for achieving binding of media access control address | |
CN109218963B (en) | Position fingerprint data processing method, device, equipment and storage medium | |
KR101881255B1 (en) | Apparatus and method for connecting process to access point of wireless local area network | |
CN107925881A (en) | Wireless telecom equipment, wireless communication system, appraisal procedure and the non-transitory computer-readable medium having program stored therein | |
CN102026144A (en) | Roaming performance test method, equipment and system thereof |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180316 |
|
WW01 | Invention patent application withdrawn after publication |