CN105813221A - WIFI disconnected network reconnection method of intelligent device in WIFI wireless local network environment - Google Patents

WIFI disconnected network reconnection method of intelligent device in WIFI wireless local network environment Download PDF

Info

Publication number
CN105813221A
CN105813221A CN201410850188.9A CN201410850188A CN105813221A CN 105813221 A CN105813221 A CN 105813221A CN 201410850188 A CN201410850188 A CN 201410850188A CN 105813221 A CN105813221 A CN 105813221A
Authority
CN
China
Prior art keywords
wifi
signal intensity
result list
smart machine
maximum
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
Application number
CN201410850188.9A
Other languages
Chinese (zh)
Inventor
张义勇
韩立新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Research Institute of Auotomation for Machinery Industry Co Ltd
Original Assignee
Beijing Research Institute of Auotomation for Machinery Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Research Institute of Auotomation for Machinery Industry Co Ltd filed Critical Beijing Research Institute of Auotomation for Machinery Industry Co Ltd
Priority to CN201410850188.9A priority Critical patent/CN105813221A/en
Publication of CN105813221A publication Critical patent/CN105813221A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a WIFI disconnected network reconnection method of an intelligent device in a WIFI wireless local network environment. The WIFI disconnected network reconnection method is characterized in that WIFI scanning can be carried out to acquire a WIFI scanning result list; the elements of the WIFI scanning result list can be ordered according to the signal intensity values; the AP having the maximum signal intensity values of the intelligent device and the ordering result list can be connected together. The ordering steps are as follows: (1) the AP having the maximum signal intensity value can be selected from the WIFI scanning result list by adopting the bubble sort method; (2) the found AP having the maximum signal intensity value can be removed from the WIFI scanning result list; (3) the AP having the maximum signal intensity value can be added to the new result list;(4) the step (1), the step (21), and the step (3) can be repeated till the WIFI scanning result list is empty. The frequent switching problem caused by the uncertainty of the connected AP during the disconnected network switching process can be solved, and the connection with the AP having the strongest signal intensity can be guaranteed every time when the network is switched, and therefore the switching frequency can be reduced, and the communication stability can be improved.

Description

The WIFI suspension reconnection method of smart machine under WIFI WLAN environment
Technical field
The present invention relates to the WIFI network method of attachment of a kind of smart machine, particularly to the WIFI suspension reconnection method of smart machine under a kind of WIFI WLAN environment.
Background technology
When the such as smart machine such as Android intelligent, panel computer is attached with network by hotspot AP, owing to single AP covers the limitation of finite region, generally multiple AP are used to cover in large area.Meanwhile, the problem brought is that smart machine can occur netsurfing suspension to switch in mobile communication process.In suspension handoff procedure, the uncertainty of connected AP can cause frequent switching problem.
Summary of the invention
The present invention relates to the design of the software communication of the such as smart machine such as Android intelligent, flat board phone and by AP (AP, AccessPoint, wireless access node, session point or access bridger) network communication of focus, when the present invention is for having that under the WIFI WLAN environment of multiple AP, such as the smart machine such as Android intelligent, flat board phone communicates, the suspension based on WIFI signal intensity reconnects method.
The smart machine of the present invention includes smart mobile phone (such as Android intelligent), flat board phone etc. can connect the various mobile terminals of WIFI network, illustrates for Android intelligent below, but, the invention is not restricted to this.
The present invention includes but not limited to following scheme.
The WIFI suspension reconnection method of smart machine under a kind of WIFI WLAN environment, wherein, described method includes:
Carry out WIFI scanning, it is thus achieved that WIFI scanning result list;
Element in described WIFI scanning result list is ranked up according to signal strength values;
AP maximum with the signal strength values in the results list of sequence for described smart machine is connected.
Preferably, described sequence is carried out as follows:
1) bubble sort is used to find out, from described WIFI scanning result list, the AP that signal intensity is maximum;
2) remove, from described WIFI scanning result list, the AP that the signal intensity found is maximum;
3) AP maximum for described signal intensity is added in new the results list;
4) repeat the above steps 1), 2), 3), until described WIFI scanning result list is empty.
Preferably, described WIFI scanning and described sequence are carried out at a certain time interval.
Preferably, according to the change in location information of described smart machine and/or around AP element and Strength Changes information determine described interval.
Preferably, when needs suspension reconnects, carry out described WIFI scanning and described sequence, then AP maximum with described signal strength values for described smart machine is connected.
Preferably, when the signal intensity of the AP that described smart machine currently connects is lower than predetermined value, carries out suspension and reconnect.
Preferably, when the predetermined ratio of signal intensity lower than not maximum with the signal intensity that described smart machine is connected AP of the signal intensity of the AP that described smart machine currently connects, carry out suspension and reconnect.
The frequent switching problem that the method for the present invention causes for connected AP uncertainty in suspension handoff procedure, it is proposed that use WIFI to scan and be ranked up to obtain maximum intensity AP, and connected.So that it is guaranteed that switching can be connected to the AP that signal intensity is the strongest every time, reduce switching frequency, improve the stability of communication.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of Android intelligent and communication server communication.
Fig. 2 illustrates an example of the method utilizing the signal strength values acquired by WIFI scanning to sort from big to small.
Fig. 3 illustrates and utilizes WIFI to scan the method that the result of signal strength values sequence carries out suspension connection.
Detailed description of the invention
Principles of the invention and illustrative embodiments are described referring to Fig. 1 to Fig. 3.
The method of the present invention is to have under the WIFI WLAN environment of multiple AP, smart machine (represents smart machine with Android intelligent below, but the invention is not restricted to this) and communication server carries out a kind of suspension reconnection method when active communication generation suspension switches.
The means of communication of Android intelligent and communication server are as shown in Figure 1.Android intelligent sets up communication link firstly the need of with certain AP under WIFI WLAN environment, is linked to key WIFI network/Internet network again through switch, then communicates via switch and communication server.Key WIFI network/Internet network is public wireless network, not within the description scope of the present invention.
When there is suspension switching, the method for the present invention can pass through the AP that the signal intensity that scans in WIFI network in different AP is maximum, and communicate therewith rapidly news and connect.
The Android intelligent under WIFI WLAN environment of the present invention reconnects method based on the suspension of WIFI signal intensity, including:
WIFI scans signal intensity sort method;And
The result that WIFI signal intensity sorts is utilized to carry out suspension connection.
Fig. 2 illustrates an example of the method utilizing the signal strength values acquired by WIFI scanning to sort from big to small.
Fig. 3 illustrates and utilizes WIFI to scan the method that the result of signal strength values sequence carries out suspension connection.
The method that the signal strength values utilizing WIFI scanning acquired of the present invention sorts from big to small includes:
1) the wireless WIFI of surrounding is scanned, obtains signal strength values the results list;
2) bubble sort is used to find out maximum intensity AP information from scanning signal strength values the results list;
3) from the results list, remove the maximum intensity AP information found;
4) maximum intensity AP information is added in new the results list;
5) repeat 2), 3), 4) until the results list be sky.
In the nonrestrictive example shown in Fig. 2, in step sl, first initialize, set m=0, n=1.Then, in step s 2, it is judged that whether WIFI the results list is empty, if it is judged that be no, then step S3 is entered.In step s3, it is judged that whether n is less than the element number in WIFI the results list, if result is yes, then enter step S4.In step s 4, the intensity level of m-th element in WIFI list and the intensity level of nth elements are compared, subsequently into step S5.In step s 5, it is judged that the intensity level of m-th element is whether less than the intensity level of nth elements, if result is yes, then enter step S61, in step S61, set m=i.If result is no in step s 5, then enter step S62, in step S62, set n=i.After step S61 or step S62, enter step S7, in the step s 7, carry out i++ computing, subsequently into step S3.
In step s3, if result is no, then enter step S9.In step s 9, m-th element is added in new list, and this m-th element is removed from WIFI list.After step S9, enter step S2.
In step s 2, if it is judged that be yes, then enter step S8, in step s 8, preserve first element, i.e. maximum intensity value AP_MAX, then terminal procedure in new list.
Should be appreciated that above-mentioned signal intensity sort method is merely illustrative of, it is possible to adopt other suitable method to carry out signal intensity sequence.
The method that the WIFI result scanning signal strength values sequence carries out suspension connection that utilizes of the present invention includes:
1) scan from WIFI the results list of signal strength values sequence, take out first element (maximum intensity AP information) in list;
2) Android intelligent is connected with maximum intensity AP;
3) complete suspension to reconnect.
In the non-limiting example shown in Fig. 3, carry out WIFI signal scanning first in step s 11, subsequently into step S12.In step s 12, WIFI sequence is carried out, subsequently into step S13.In step s 13, SSID, the MAC (namely preserving the information of the maximum AP of signal intensity) of the maximum AP_MAX of RSSI is preserved, subsequently into step S14.In step S14, it is judged that network is the need of reconnecting, if result is yes, then enters step S15, be connected to AP_MAX.In step S14, if it is judged that be no, then can enter step S11, again carry out WIFI scanning.
When network need not reconnect, it is possible to carry out the steps such as WIFI scanning at a certain time interval, so, when needs reconnect, it is possible to be connected to AP_MAX at once.
Can judging above-mentioned interval according to specified conditions, this condition can be such as the change in location information of smart machine (Android intelligent etc.), around WIFI signal element and Strength Changes information.It is, in metastable environment, it is possible to increase above-mentioned interval, to reduce system loading, power consumption that above-mentioned action causes etc..In the environment of change relatively, it is possible to reduce above-mentioned interval, the network to ensure smart machine is experienced.
Suspension in the present invention reconnects and not only includes being fully disconnected of network connection, and includes signal lower than predetermined signal intensity.Even if it is, when network connect intact, if signal is lower than predetermined signal intensity, it is also possible to reconnect to the strongest signal.
In one example, when predetermined ratio (such as, 40%, 60%, 80% etc.) of signal intensity lower than not maximum with the signal intensity that described smart machine is connected AP of the signal intensity of the AP that described smart machine currently connects, carry out suspension and reconnect.Such that can ensure that the signal intensity of the AP connected, also it is unlikely to frequently to carry out suspension and reconnects.
The preferred embodiment of the present invention is described, it is understood, however, that described above is merely illustrative of above with reference to accompanying drawing.The present invention under the premise without departing from the spirit and scope of the present invention, can be made various modifications and variations by those skilled in the art.Protection scope of the present invention is limited by the accompanying claims.

Claims (7)

1. the WIFI suspension reconnection method of smart machine under a WIFI WLAN environment, it is characterised in that described method includes:
Carry out WIFI scanning, it is thus achieved that WIFI scanning result list;
Element in described WIFI scanning result list is ranked up according to signal strength values;
AP maximum with the signal strength values in the results list of sequence for described smart machine is connected.
2. method according to claim 1, it is characterised in that
Carry out described sequence as follows:
1) bubble sort is used to find out, from described WIFI scanning result list, the AP that signal intensity is maximum;
2) remove, from described WIFI scanning result list, the AP that the signal intensity found is maximum;
3) AP maximum for described signal intensity is added in new the results list;
4) repeat the above steps 1), 2), 3), until described WIFI scanning result list is empty.
3. method according to claim 1 and 2, it is characterised in that
Carry out described WIFI scanning and described sequence at a certain time interval.
4. method according to claim 3, it is characterised in that
Change in location information according to described smart machine and/or around AP element and Strength Changes information determine described interval.
5. method according to claim 1 and 2, it is characterised in that
When needs suspension reconnects, carry out described WIFI scanning and described sequence, then AP maximum with described signal strength values for described smart machine is connected.
6. method according to claim 1 and 2, it is characterised in that
When the signal intensity of the AP that described smart machine currently connects is lower than predetermined value, carries out suspension and reconnect.
7. method according to claim 1 and 2, it is characterised in that
When the predetermined ratio of signal intensity lower than not maximum with the signal intensity that described smart machine is connected AP of the signal intensity of the AP that described smart machine currently connects, carry out suspension and reconnect.
CN201410850188.9A 2014-12-31 2014-12-31 WIFI disconnected network reconnection method of intelligent device in WIFI wireless local network environment Pending CN105813221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410850188.9A CN105813221A (en) 2014-12-31 2014-12-31 WIFI disconnected network reconnection method of intelligent device in WIFI wireless local network environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410850188.9A CN105813221A (en) 2014-12-31 2014-12-31 WIFI disconnected network reconnection method of intelligent device in WIFI wireless local network environment

Publications (1)

Publication Number Publication Date
CN105813221A true CN105813221A (en) 2016-07-27

Family

ID=56420687

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410850188.9A Pending CN105813221A (en) 2014-12-31 2014-12-31 WIFI disconnected network reconnection method of intelligent device in WIFI wireless local network environment

Country Status (1)

Country Link
CN (1) CN105813221A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341779A (en) * 2016-08-31 2017-01-18 中国移动通信集团西藏有限公司 Data pushing method and device
CN106454861A (en) * 2016-10-08 2017-02-22 浙江国自机器人技术有限公司 AP switching method of mobile robot based on path configuration
CN106454973A (en) * 2016-10-24 2017-02-22 深圳市万普拉斯科技有限公司 Method and device for switching AP (Access Point) in Wi-Fi network
CN107509172A (en) * 2017-09-12 2017-12-22 中广热点云科技有限公司 A kind of free WIFI management methods in market and system
WO2018064818A1 (en) * 2016-10-08 2018-04-12 浙江国自机器人技术有限公司 Route configuration based ap switching method for mobile robot
WO2018103446A1 (en) * 2016-12-07 2018-06-14 广东欧珀移动通信有限公司 Method and device for wireless fidelity quick connection
CN110248380A (en) * 2019-06-18 2019-09-17 深圳慧源创新科技有限公司 A kind of method of the automatic connection unmanned plane WiFi signal of user terminal
CN111212431A (en) * 2020-03-11 2020-05-29 徐苗 WiFi access position signal consensus system and method based on block chain
CN111726452A (en) * 2019-03-20 2020-09-29 青岛海信移动通信技术股份有限公司 WiFi list ordering method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101351022A (en) * 2007-07-16 2009-01-21 艾威梯软件技术(北京)有限公司 Method and equipment for ordering radio equipment based on signal intensity
WO2009042627A1 (en) * 2007-09-24 2009-04-02 Tcm Mobile, Llc Packet communication roaming method and system
CN101808309A (en) * 2010-02-23 2010-08-18 深圳市权智掌上电脑有限公司 WiFi (Wireless Fidelity) background seamless roaming system and roaming method
CN101977422A (en) * 2010-10-21 2011-02-16 展讯通信(上海)有限公司 Frequency point sequencing method and related equipment
CN102548023A (en) * 2011-12-27 2012-07-04 惠州Tcl移动通信有限公司 Wireless fidelity connecting method and wireless fidelity connecting device
CN102917424A (en) * 2012-10-25 2013-02-06 陕西科技大学 AP (application process) switching method used in WiFi (wireless fidelity) communication
CN103024929A (en) * 2012-12-20 2013-04-03 惠州Tcl移动通信有限公司 Mobile terminal and method for connecting wireless network based on mobile terminal
CN103118419A (en) * 2013-01-24 2013-05-22 中兴通讯股份有限公司 Terminal wireless access point reclosure method and device using the same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101351022A (en) * 2007-07-16 2009-01-21 艾威梯软件技术(北京)有限公司 Method and equipment for ordering radio equipment based on signal intensity
WO2009042627A1 (en) * 2007-09-24 2009-04-02 Tcm Mobile, Llc Packet communication roaming method and system
CN101808309A (en) * 2010-02-23 2010-08-18 深圳市权智掌上电脑有限公司 WiFi (Wireless Fidelity) background seamless roaming system and roaming method
CN101977422A (en) * 2010-10-21 2011-02-16 展讯通信(上海)有限公司 Frequency point sequencing method and related equipment
CN102548023A (en) * 2011-12-27 2012-07-04 惠州Tcl移动通信有限公司 Wireless fidelity connecting method and wireless fidelity connecting device
CN102917424A (en) * 2012-10-25 2013-02-06 陕西科技大学 AP (application process) switching method used in WiFi (wireless fidelity) communication
CN103024929A (en) * 2012-12-20 2013-04-03 惠州Tcl移动通信有限公司 Mobile terminal and method for connecting wireless network based on mobile terminal
CN103118419A (en) * 2013-01-24 2013-05-22 中兴通讯股份有限公司 Terminal wireless access point reclosure method and device using the same

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341779A (en) * 2016-08-31 2017-01-18 中国移动通信集团西藏有限公司 Data pushing method and device
CN106454861A (en) * 2016-10-08 2017-02-22 浙江国自机器人技术有限公司 AP switching method of mobile robot based on path configuration
WO2018064818A1 (en) * 2016-10-08 2018-04-12 浙江国自机器人技术有限公司 Route configuration based ap switching method for mobile robot
US10425842B2 (en) 2016-10-08 2019-09-24 Zhejiang Guozi Robot Technology Co., Ltd. Access point roaming method of wireless network for mobile robots based on path setting
CN106454861B (en) * 2016-10-08 2019-10-22 浙江国自机器人技术有限公司 A kind of AP switching method that mobile robot is configured based on path
CN106454973A (en) * 2016-10-24 2017-02-22 深圳市万普拉斯科技有限公司 Method and device for switching AP (Access Point) in Wi-Fi network
WO2018103446A1 (en) * 2016-12-07 2018-06-14 广东欧珀移动通信有限公司 Method and device for wireless fidelity quick connection
CN107509172A (en) * 2017-09-12 2017-12-22 中广热点云科技有限公司 A kind of free WIFI management methods in market and system
CN111726452A (en) * 2019-03-20 2020-09-29 青岛海信移动通信技术股份有限公司 WiFi list ordering method and electronic equipment
CN110248380A (en) * 2019-06-18 2019-09-17 深圳慧源创新科技有限公司 A kind of method of the automatic connection unmanned plane WiFi signal of user terminal
CN111212431A (en) * 2020-03-11 2020-05-29 徐苗 WiFi access position signal consensus system and method based on block chain
CN111212431B (en) * 2020-03-11 2020-12-01 乐清市路航电气有限公司 WIFI access position signal consensus system and method based on block chain

Similar Documents

Publication Publication Date Title
CN105813221A (en) WIFI disconnected network reconnection method of intelligent device in WIFI wireless local network environment
US20230224766A1 (en) Cell reselection method and related device
EP3599787A1 (en) Electronic device for displaying indicator regarding network and method thereof
US8433321B2 (en) Method and apparatus for intelligently reporting neighbor information to facilitate automatic neighbor relations
CN108282845B (en) Network access method and mobile communication terminal
CN114071644B (en) Access control method, device and communication equipment
KR20200115602A (en) Cell reselection method and apparatus, computer storage medium
CN103582053A (en) Method, device and system for switching channels
CN111436088B (en) Cell reselection method, base station, user terminal and storage medium
CN108093404A (en) A kind of information processing method and device
CN111294890B (en) Communication method and device for wearable equipment, storage medium and terminal
US20230164681A1 (en) Access control method and apparatus, terminal, and network device
CN104125624B (en) A kind of information processing method and electronic equipment
EP4192118A1 (en) Access control method, terminal, and network side device
CN105578567A (en) Network scanning method and terminal
WO2022068903A1 (en) Network selection method and apparatus, information transmission method and apparatus, and information acquisition method and apparatus
CN111565479A (en) Communication method, device and system thereof
US20240007940A1 (en) Cellular communication device, security module and electronic data structure for plmn
US11206586B2 (en) Electronic device to support dual connectivity and operating method thereof
CN112512099B (en) Cell residence method, terminal and storage medium
CN109257776B (en) Method and device for circuit switched fallback of dual-card terminal and terminal
CN105657764A (en) Base station hard handover method and system in cellular mobile communication
CN113923686B (en) Auxiliary information processing method, auxiliary information sending method and related equipment
WO2022198446A1 (en) Network selection method and apparatus, device and storage medium
US20240015611A1 (en) Cell Reselection Method, Terminal, and Non-Transitory Readable Storage Medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 834000 Friendship Road 255, the Xinjiang Uygur Autonomous Region, Karamay

Applicant after: Zhang Yiyong

Applicant after: BEIJING RESEARCH INSTITUTE OF AUTOMATION FOR MACHINERY INDUSTRY Co.,Ltd.

Address before: 834000 Friendship Road 255, the Xinjiang Uygur Autonomous Region, Karamay

Applicant before: Zhang Yiyong

Applicant before: BEIJING RESEARCH INSTITUTE OF AUTOMATION FOR MACHINERY INDUSTRY

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20160727

RJ01 Rejection of invention patent application after publication