CN114760667A - Automatic switching method and system for main and standby wireless AP (access point) - Google Patents
Automatic switching method and system for main and standby wireless AP (access point) Download PDFInfo
- Publication number
- CN114760667A CN114760667A CN202210672516.5A CN202210672516A CN114760667A CN 114760667 A CN114760667 A CN 114760667A CN 202210672516 A CN202210672516 A CN 202210672516A CN 114760667 A CN114760667 A CN 114760667A
- Authority
- CN
- China
- Prior art keywords
- wireless
- aps
- accessed
- bandwidth
- wireless aps
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0055—Transmission or use of information for re-establishing the radio link
- H04W36/0072—Transmission or use of information for re-establishing the radio link of resource information of target access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/08—Reselecting an access point
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method and a system for automatically switching a main wireless AP (access point) and a standby wireless AP, wherein the method comprises the following steps: detecting a plurality of wireless APs around the mobile terminal based on a position signal of the mobile terminal; sequencing the bandwidths of the wireless APs, and monitoring the number of the connected persons of each wireless AP; selecting wireless APs to enter based on the bandwidth sequencing and the number of connected persons of each wireless AP; the method comprises the steps of monitoring the congestion degree of a wireless AP to be accessed and other wireless APs, automatically switching the wireless AP to be accessed and other wireless APs, selecting the wireless AP to be accessed based on the bandwidth sequencing and the number of connected persons of each wireless AP, comprehensively evaluating by combining multiple factors of the bandwidth sequencing and the number of connected persons, facilitating the mobile terminal to access a better wireless AP for the first time, and automatically switching the wireless AP to be accessed and other wireless APs in the use process of the mobile terminal based on the wireless APs.
Description
Technical Field
The invention relates to the technical field of wireless APs, in particular to a method and a system for automatically switching a main wireless AP and a standby wireless AP.
Background
With the development of technology, ethernet is also rapidly developing, and ethernet has various bandwidths, such as 10M, 100M, 1G, and so on. Because the wireless network may not be deployed together with the wired network, or an old wired network adds a plurality of wireless APs, at this time, the AP uplinks are of various types, and the various AP uplinks are mixed in the same interval, so that the AP uplinks are easily connected to the AP with a smaller bandwidth when connecting to the wireless network, and the network may be congested when there are many users of the AP uplinks, resulting in poor wireless network experience.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a method and a system for automatically switching master and standby wireless APs.
In order to solve the above technical problem, an embodiment of the present invention provides a method for automatically switching between a main wireless AP and a standby wireless AP, including: detecting a plurality of wireless APs around the mobile terminal based on a position signal of the mobile terminal; sequencing the bandwidths of the wireless APs and monitoring the number of the connecting persons of each wireless AP; selecting the wireless AP to be accessed based on the bandwidth sequencing and the number of connected persons of each wireless AP; monitoring the congestion degree of the wireless AP to be accessed and other wireless APs, and automatically switching the wireless AP to be accessed and other wireless APs.
In addition, an embodiment of the present invention further provides a wireless AP master/slave automatic switching system, where the wireless AP master/slave automatic switching system includes: a detection module: a plurality of wireless APs for detecting the surroundings thereof based on the position signal of the mobile terminal; a sorting module: the system is used for carrying out bandwidth sequencing on a plurality of wireless APs and monitoring the number of connecting persons of each wireless AP; a selection module: the wireless AP to be accessed is selected based on the bandwidth sequencing and the number of connected persons of each wireless AP; a switching module: the system is used for monitoring the congestion degree of the wireless AP to be accessed and other wireless APs, and automatically switching the wireless AP to be accessed and other wireless APs.
In the embodiment of the invention, the wireless AP to be accessed is selected based on the bandwidth sequencing of each wireless AP and the number of connected persons by the method in the embodiment of the invention, and the comprehensive evaluation is carried out by combining a plurality of factors of the bandwidth sequencing and the number of connected persons, so that the mobile terminal can conveniently access the better wireless AP for the first time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flow chart of an automatic master/slave switching method of a wireless AP in an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a bandwidth sequencing method of a primary/secondary wireless AP automatic switching method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for automatically switching between master and slave wireless APs according to an embodiment of the present invention, illustrating a process of selecting a wireless AP to be entered;
fig. 4 is a schematic flow chart of a method for automatically switching between master and slave wireless APs according to an embodiment of the present invention;
fig. 5 is a schematic structural composition diagram of a wireless AP master/slave automatic switching system in the embodiment of the present invention;
FIG. 6 is a hardware diagram illustrating an electronic device according to an example embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Examples
Referring to fig. 1 to 4, a method for automatically switching between a master wireless AP and a slave wireless AP includes:
s11: detecting a plurality of wireless APs around the mobile terminal based on a position signal of the mobile terminal;
the position signal based on the mobile terminal is used as a reference point and is subjected to outward diffusion traversal according to the reference point, so that a plurality of wireless APs around the reference point can be searched, and the plurality of wireless APs around the reference point can be in wireless connection with the mobile terminal.
S12: sequencing the bandwidths of the wireless APs and monitoring the number of the connecting persons of each wireless AP;
in the specific implementation process of the invention, the specific steps can be as follows:
s121: performing information interaction on a plurality of adjacent wireless APs, and determining wireless loss between the plurality of adjacent wireless APs;
s122: acquiring corresponding bandwidths of a plurality of wireless APs, and introducing parameters of wireless loss to perform bandwidth sequencing;
the wireless AP performs information interaction in a wireless network, and determines wireless loss between a plurality of adjacent wireless APs in the information interaction process so as to detect the corresponding connection degree based on the wireless loss.
And obtaining corresponding bandwidths of a plurality of wireless APs, performing preliminary sorting based on the sizes of the bandwidths, and further modifying secondary sorting of the bandwidths based on wireless loss.
In addition, the bandwidth sequencing of the plurality of wireless APs and the monitoring of the number of connected persons of each wireless AP further comprises: monitoring the number of connected people of each wireless AP; tagging the number of connected people to the wireless AP; the mobile terminal preferentially connects the wireless AP with higher bandwidth, and takes the number of the connected people as one of factors for switching the wireless AP.
S13: selecting the wireless AP to be accessed based on the bandwidth sequencing and the number of connected persons of each wireless AP;
in the specific implementation process of the invention, the specific steps can be as follows:
s131: taking the bandwidth ranking of the wireless AP and the number of connected persons as learning data, and inputting the bandwidth ranking of the wireless AP and the number of connected persons into a learning model;
s132: performing congestion tests on past bandwidth and past connection number based on the learning model, and further perfecting the learning model to output a selection model;
s133: inputting the bandwidth ranking and/or the number of connected persons of the wireless AP into the selection model, and outputting the wireless AP to be entered in the selection model;
s134: and the mobile terminal performs wireless connection based on the wireless AP to be accessed.
The method comprises the steps of training a learning model based on the bandwidth sequencing of the wireless APs and data of the number of connected persons, carrying out congestion testing on the previous bandwidth and the previous number of connected persons based on the learning model, further perfecting the learning model to output a selection model, and inputting the bandwidth sequencing of the wireless APs and/or the number of connected persons in the selection model at the moment to obtain the wireless APs to be accessed, so that artificial comparison and selection are avoided, and automatic connection and matching of a mobile terminal and the wireless APs to be accessed are achieved.
In addition, the step of selecting the wireless AP to enter based on the bandwidth sequencing and the number of connected people of each wireless AP further comprises the step of acquiring the signal intensity between the mobile terminal and the wireless AP; introducing the signal strength to the selection model and using the signal strength as one of the selection factors in the selection model. At this time, the mobile terminal prioritizes a bandwidth of 100M and a signal strength greater than 70 db.
S14: monitoring the congestion degree of the wireless AP to be accessed and other wireless APs, and automatically switching the wireless AP to be accessed and other wireless APs;
in the specific implementation process of the invention, the specific steps can be as follows:
s141: acquiring the congestion degree of the wireless AP to be accessed and the congestion degrees of other wireless APs;
s142: comparing the congestion degree of the wireless AP to be entered with congestion ranges of other wireless APs, and judging whether the congestion degree of the wireless AP to be entered meets a preset congestion threshold value;
s143: and if the congestion degree of the wireless AP to be accessed meets a preset congestion threshold, triggering the mobile terminal to automatically switch the wireless AP, and switching to other wireless APs with lower congestion degrees.
In the embodiment of the invention, the wireless AP to be accessed is selected based on the bandwidth sequencing and the number of connected persons of each wireless AP by the method in the embodiment of the invention, and the comprehensive evaluation is carried out by combining a plurality of factors of the bandwidth sequencing and the number of connected persons, so that the mobile terminal can conveniently access the better wireless AP for the first time.
Examples
Referring to fig. 5, fig. 5 is a schematic structural composition diagram of a main/standby wireless AP automatic switching system according to an embodiment of the present invention.
As shown in fig. 5, an automatic master/slave switching system for a wireless AP includes:
the detection module 21: a plurality of wireless APs for detecting the periphery of the mobile terminal based on the position signal of the mobile terminal;
the sorting module 22: the system comprises a wireless AP, a monitoring server and a monitoring server, wherein the wireless AP is used for carrying out bandwidth sequencing on a plurality of wireless APs and monitoring the number of connected persons of each wireless AP;
the selection module 23: the wireless AP to be accessed is selected based on the bandwidth sequencing and the number of connected persons of each wireless AP;
the switching module 24: the system is used for monitoring the congestion degree of the wireless AP to be accessed and other wireless APs, and automatically switching the wireless AP to be accessed and other wireless APs.
The invention provides a method and a system for automatically switching master and standby wireless APs, wherein the wireless APs to be accessed are selected based on the bandwidth sequencing of each wireless AP and the number of connected persons, and the comprehensive evaluation is carried out by combining a plurality of factors of the bandwidth sequencing and the number of connected persons, so that a mobile terminal can conveniently access a better wireless AP for the first time.
Examples
Referring to fig. 6, an electronic apparatus 40 according to this embodiment of the present invention is described below with reference to fig. 6. The electronic device 40 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 6, electronic device 40 is embodied in the form of a general purpose computing device. The components of the electronic device 40 may include, but are not limited to: the at least one processing unit 41, the at least one memory unit 42, and a bus 43 connecting the various system components (including the memory unit 42 and the processing unit 41).
Wherein the memory unit stores program code that can be executed by the processing unit 41 to cause the processing unit 41 to perform the steps according to various exemplary embodiments of the present invention described in the section "methods of embodiments" mentioned above in this description.
The storage unit 42 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 421 and/or a cache memory unit 422, and may further include a read only memory unit (ROM) 423.
The storage unit 42 may also include a program/utility 424 having a set (at least one) of program modules 425, such program modules 425 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The electronic device 40 may also communicate with one or more external devices (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 40, and/or any device (e.g., router, modem, etc.) that enables the electronic device 40 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 45. Also, the electronic device 40 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 46. As shown in FIG. 6, the network adapter 46 communicates with the other modules of the electronic device 40 via the bus 43. It should be understood that although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction with electronic device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like. And, it stores computer program instructions which, when executed by a computer, cause the computer to perform the method according to the above.
In addition, the method and the system for automatically switching between the main and standby wireless APs provided by the embodiment of the present invention are described in detail, a specific embodiment is adopted herein to explain the principle and the implementation manner of the present invention, and the description of the embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (8)
1. A method for automatically switching between main and standby wireless APs is characterized by comprising the following steps:
detecting a plurality of wireless APs around the mobile terminal based on a position signal of the mobile terminal;
sequencing the bandwidths of the wireless APs and monitoring the number of the connecting persons of each wireless AP;
selecting the wireless AP to be accessed based on the bandwidth sequencing and the number of connected persons of each wireless AP;
monitoring the congestion degree of the wireless AP to be accessed and other wireless APs, and automatically switching the wireless AP to be accessed and other wireless APs.
2. The method according to claim 1, wherein the step of performing bandwidth sequencing on the plurality of wireless APs and monitoring the number of connected users of each wireless AP comprises:
performing information interaction on a plurality of adjacent wireless APs, and determining wireless loss among the plurality of adjacent wireless APs;
and acquiring corresponding bandwidths of the plurality of wireless APs, and sequencing the bandwidths by introducing parameters of wireless loss.
3. The method according to claim 2, wherein the method for automatically switching between master and slave wireless APs is further configured to sort the bandwidths of the plurality of wireless APs and monitor the number of connected users of each wireless AP, and further comprises:
monitoring the number of connected people of each wireless AP;
tagging the number of connected people to the wireless AP;
the mobile terminal preferentially connects the wireless AP with higher bandwidth, and takes the number of the connected people as one of factors for switching the wireless AP.
4. The method according to claim 3, wherein the selecting the wireless AP to be accessed based on the bandwidth ranking and the number of connected users of each wireless AP comprises:
taking the bandwidth ranking of the wireless APs and the number of connected persons as learning data and inputting the bandwidth ranking and the number of connected persons based on the wireless APs into a learning model;
performing congestion tests on past bandwidth and past number of connected people based on the learning model, and further perfecting the learning model to output a selection model;
inputting the bandwidth ranking and/or the number of connected persons of the wireless AP into the selection model, and outputting the wireless AP to be entered in the selection model;
and the mobile terminal performs wireless connection based on the wireless AP to be accessed.
5. The method according to claim 4, wherein the selecting the wireless AP to enter based on the bandwidth ranking and the number of connected people of each of the wireless APs further comprises:
acquiring the signal strength between the mobile terminal and the wireless AP;
introducing the signal strength to the selection model and using the signal strength as one of the selection factors in the selection model.
6. The method according to claim 5, wherein the selecting the wireless AP to be accessed based on the bandwidth ranking and the number of connected people of each of the wireless APs further comprises:
the mobile terminal prioritizes a bandwidth of 100M and a signal strength greater than 70 db.
7. The method according to claim 6, wherein the monitoring congestion degree between the wireless AP to be accessed and other wireless APs and performing automatic switching between the wireless AP to be accessed and other wireless APs comprises:
acquiring the congestion degree of the wireless AP to be accessed and the congestion degrees of other wireless APs;
comparing the congestion degree of the wireless AP to be entered with congestion ranges of other wireless APs, and judging whether the congestion degree of the wireless AP to be entered meets a preset congestion threshold value;
and if the congestion degree of the wireless AP to be accessed meets a preset congestion threshold, triggering the mobile terminal to automatically switch the wireless AP, and switching to other wireless APs with lower congestion degree.
8. A wireless AP main/standby automatic switching system is characterized in that the wireless AP main/standby automatic switching system comprises:
a detection module: a plurality of wireless APs for detecting the surroundings thereof based on the position signal of the mobile terminal;
a sorting module: the system comprises a wireless AP, a monitoring server and a monitoring server, wherein the wireless AP is used for carrying out bandwidth sequencing on a plurality of wireless APs and monitoring the number of connected persons of each wireless AP;
a selection module: the wireless AP to be accessed is selected based on the bandwidth sequencing and the number of connected persons of each wireless AP;
a switching module: the system is used for monitoring the congestion degree of the wireless AP to be accessed and other wireless APs and automatically switching the wireless AP to be accessed and other wireless APs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210672516.5A CN114760667A (en) | 2022-06-15 | 2022-06-15 | Automatic switching method and system for main and standby wireless AP (access point) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210672516.5A CN114760667A (en) | 2022-06-15 | 2022-06-15 | Automatic switching method and system for main and standby wireless AP (access point) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114760667A true CN114760667A (en) | 2022-07-15 |
Family
ID=82336916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210672516.5A Pending CN114760667A (en) | 2022-06-15 | 2022-06-15 | Automatic switching method and system for main and standby wireless AP (access point) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114760667A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150109912A1 (en) * | 2012-05-04 | 2015-04-23 | Zte Corporation | Method for mobile terminal to access wireless access point and wireless access point |
CN104901882A (en) * | 2014-03-06 | 2015-09-09 | 中国移动通信集团广东有限公司 | Method and device for switching equipment, and server |
US20200383045A1 (en) * | 2019-05-30 | 2020-12-03 | Qualcomm Incorporated | Access point selection from a set of candidates during connection with a station |
CN114125930A (en) * | 2020-08-28 | 2022-03-01 | 华为技术有限公司 | Method, device and system for switching access points |
-
2022
- 2022-06-15 CN CN202210672516.5A patent/CN114760667A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150109912A1 (en) * | 2012-05-04 | 2015-04-23 | Zte Corporation | Method for mobile terminal to access wireless access point and wireless access point |
CN104901882A (en) * | 2014-03-06 | 2015-09-09 | 中国移动通信集团广东有限公司 | Method and device for switching equipment, and server |
US20200383045A1 (en) * | 2019-05-30 | 2020-12-03 | Qualcomm Incorporated | Access point selection from a set of candidates during connection with a station |
CN114125930A (en) * | 2020-08-28 | 2022-03-01 | 华为技术有限公司 | Method, device and system for switching access points |
Non-Patent Citations (2)
Title |
---|
周亚峰: ""基于软件定义网络的无线局域网负载均衡研究"", 《信息科技辑》 * |
李云: ""基于软件定义网络的WLAN架构及负载均衡切换"", 《重庆邮电大学学报(自然科学版)》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109586952B (en) | Server capacity expansion method and device | |
JP5116608B2 (en) | Information processing apparatus, control method, and program | |
CN112783682B (en) | Abnormal automatic repairing method based on cloud mobile phone service | |
CN114282689B (en) | Universal welding arcing real-time intelligent detection method and system | |
CN110059468A (en) | A kind of small routine Risk Identification Method and device | |
WO2021136453A1 (en) | Method and apparatus for obtaining emergency plan auxiliary information, and device | |
CN108550054A (en) | A kind of content quality appraisal procedure, device, equipment and medium | |
CN105373460A (en) | Monitoring message alarming method and system | |
CN112615873B (en) | Internet of things equipment safety detection method, equipment, storage medium and device | |
CN112839014A (en) | Method, system, device and medium for establishing model for identifying abnormal visitor | |
CN113778864A (en) | Test case generation method and device, electronic equipment and storage medium | |
CN115509784A (en) | Fault detection method and device for database instance | |
CN111831389B (en) | Data processing method, device and storage medium | |
CN108197016A (en) | A kind of cloud platform failure cause analysis method, device, equipment and storage medium | |
CN114760667A (en) | Automatic switching method and system for main and standby wireless AP (access point) | |
CN116346826B (en) | Database node deployment method and device, electronic equipment and storage medium | |
CN112487265A (en) | Data processing method and device, computer storage medium and electronic equipment | |
CN115314424B (en) | Method and device for rapidly detecting network signals | |
CN116707859A (en) | Feature rule extraction method and device, and network intrusion detection method and device | |
CN110610344A (en) | Method, device and equipment for improving auditing speed of automatic auditing system | |
US20220327450A1 (en) | Method for increasing or decreasing number of workers and inspectors in crowdsourcing-based project for creating artificial intelligence learning data | |
CN110674632A (en) | Method and device for determining security level, storage medium and equipment | |
CN112446231A (en) | Pedestrian crossing detection method and device, computer equipment and storage medium | |
CN114155412A (en) | Deep learning model iteration method, device, equipment and storage medium | |
CN113778875A (en) | System test defect classification method, device, equipment and storage medium |
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: 20220715 |
|
RJ01 | Rejection of invention patent application after publication |