CN111010724B - Terminal access method and device based on WLAN - Google Patents

Terminal access method and device based on WLAN Download PDF

Info

Publication number
CN111010724B
CN111010724B CN201911331663.0A CN201911331663A CN111010724B CN 111010724 B CN111010724 B CN 111010724B CN 201911331663 A CN201911331663 A CN 201911331663A CN 111010724 B CN111010724 B CN 111010724B
Authority
CN
China
Prior art keywords
terminal
access
frequency band
experience level
detection information
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.)
Active
Application number
CN201911331663.0A
Other languages
Chinese (zh)
Other versions
CN111010724A (en
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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201911331663.0A priority Critical patent/CN111010724B/en
Publication of CN111010724A publication Critical patent/CN111010724A/en
Application granted granted Critical
Publication of CN111010724B publication Critical patent/CN111010724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a terminal access method and a device based on WLAN, the method comprises: receiving terminal detection information reported by each connected AP, and adding the terminal detection information into a terminal detection information table, wherein the terminal detection information comprises an AP identifier, a terminal identifier, an RSSI value, an initiation time and a frequency band of the reported AP, and the terminal detection information is sent by the reported AP based on a received detection request from a terminal; receiving an access request from a first terminal forwarded by a first AP in each AP, wherein the access request is sent when the first terminal requests to access a WLAN subnet of a first frequency band provided by the first AP; and determining whether the first terminal is allowed to access the first AP or not according to the AP experience level table synchronized by the server and the terminal detection information table. The scheme can ensure that the AP accessed by the terminal is the best AP in the environment, can further ensure the experience of a user using the terminal, and can also ensure the load balance of all APs in the environment where the terminal is located.

Description

Terminal access method and device based on WLAN
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a Wireless Local Area Network (WLAN) based terminal access method and apparatus.
Background
With the rapid development of WLAN technology and the convenience of WLANs, users of WLANs are increasing. At present, the process of a user accessing a WLAN by using a terminal is as follows: after searching and displaying Service Set Identifier (SSID), the terminal selects an SSID and inputs a password for authentication, and if the authentication is passed, the terminal can Access to an Access Point (AP) providing the SSID for Access.
As can be seen from the above procedure of accessing the WLAN by the terminal, the option is completely on the user side, and the AP can only passively respond to the user's selection. The user usually does not know which is the optimal AP of the environment, and therefore, cannot access the optimal AP. Therefore, there is a need for a WLAN-based terminal access method to ensure that the terminal is accessed to the optimal AP in the environment.
Disclosure of Invention
The embodiment of the invention provides a WLAN-based terminal access method and device, which are used for ensuring that a terminal is accessed into an optimal AP of an environment where the terminal is located.
According to an embodiment of the present invention, a terminal access method based on a WLAN is provided, and is applied to each wireless controller AC included in the WLAN, and the WLAN further includes a server connected to each AC and at least one wireless access point AP, and the method includes:
receiving terminal detection information reported by each connected AP, and adding the terminal detection information into a terminal detection information table, wherein the terminal detection information comprises an AP identifier, a terminal identifier, a Received Signal Strength Indication (RSSI) value, an initiation time and a frequency band of the reported AP, and the terminal detection information is sent by the reported AP based on a received detection request from a terminal; and the number of the first and second groups,
receiving an access request from a first terminal forwarded by a first AP in each AP, wherein the access request is sent when the first terminal requests to access a WLAN subnet of a first frequency band provided by the first AP;
and determining whether the first terminal is allowed to access the first AP or not according to the AP experience level table synchronized by the server and the terminal detection information table.
Specifically, determining whether to allow the first terminal to access the first AP according to the server-synchronized AP experience level table and the terminal probe information table includes:
acquiring an AP experience level table synchronized by the server;
looking up the experience level of the first AP in the first frequency band in the AP experience level table;
if the experience level of the first AP in the first frequency band is lower than a set level, sending an access rejection response to the first AP;
if the experience level of the first AP in the first frequency band is higher than or equal to the set level, searching whether the number of accessed terminals of the first AP in the first frequency band exceeds a first set threshold value in a first set time period from the terminal detection information table, and if the number of the accessed terminals exceeds the first set threshold value, sending an access rejection response to the first AP; if the number of the accessed terminals is determined not to exceed the first set threshold, searching each RSSI value corresponding to the first terminal in a second set time period from the terminal detection information table, determining whether the RSSI value corresponding to the first frequency band of the first AP is located before the set position in the sequence of the searched RSSI values, if the RSSI value corresponding to the first frequency band of the first AP is determined to be located before the set position in the sequence of the searched RSSI values, sending an access permission response to the first AP, and if the RSSI value corresponding to the first frequency band of the first AP is determined not to be located before the set position in the sequence of the searched RSSI values, sending an access rejection response to the first AP.
Optionally, the method further includes:
receiving terminal access information reported by each AP, wherein the terminal access information is sent after each AP forwards an access permission response;
and reporting the terminal access information to the server so that the server updates the corresponding AP experience level table according to the selected parameters in the terminal access information and issues the updated AP experience level table.
Optionally, the method further includes:
periodically polling the terminal detection information table;
acquiring each RSSI value corresponding to each frequency band of each AP;
determining the number ratio of RSSI values smaller than a second set threshold value in the RSSI values corresponding to each frequency band of each AP;
and reducing the Beacon power of the APs with the number ratio exceeding a third set threshold value in the corresponding frequency band according to a preset rule.
According to an embodiment of the present invention, there is also provided a terminal access apparatus based on a WLAN, applied to each AC included in the WLAN, the WLAN further including a server connected to each AC and at least one AP, the apparatus including:
an adding module, configured to receive terminal probe information reported by each connected AP, and add the terminal probe information to a terminal probe information table, where the terminal probe information includes an AP identifier of a reported AP, a terminal identifier, an RSSI value, an initiation time, and a frequency band, and the terminal probe information is sent by the reported AP based on a received probe request from a terminal; and the number of the first and second groups,
a receiving module, configured to receive an access request from a first terminal, where the access request is sent by the first terminal when the first terminal requests to access a WLAN subnet of a first frequency band provided by a first AP, and the access request is forwarded by the first AP in each AP;
a first determining module, configured to determine whether to allow the first terminal to access the first AP according to the server-synchronized AP experience level table and the terminal probe information table.
Specifically, the first determining module is configured to determine whether to allow the first terminal to access the first AP according to the AP experience level table synchronized by the server and the terminal probe information table, and specifically is configured to:
acquiring an AP experience level table synchronized by the server;
looking up the experience level of the first AP in the first frequency band in the AP experience level table;
if the experience level of the first AP in the first frequency band is lower than a set level, sending an access rejection response to the first AP;
if the experience level of the first AP at the first frequency band is higher than or equal to the set level, searching whether the number of accessed terminals of the first AP at the first frequency band in a first set time period exceeds a first set threshold or not from the terminal detection information table, and if the number of the accessed terminals exceeds the first set threshold, sending an access rejection response to the first AP; if the number of the accessed terminals is determined not to exceed the first set threshold, searching each RSSI value corresponding to the first terminal in a second set time period from the terminal detection information table, determining whether the RSSI value corresponding to the first frequency band of the first AP is located before the set position in the sequence of the searched RSSI values, if the RSSI value corresponding to the first frequency band of the first AP is determined to be located before the set position in the sequence of the searched RSSI values, sending an access permission response to the first AP, and if the RSSI value corresponding to the first frequency band of the first AP is determined not to be located before the set position in the sequence of the searched RSSI values, sending an access rejection response to the first AP.
Optionally, the apparatus further includes a reporting module, wherein:
the receiving module is further configured to receive terminal access information reported by each AP, where the terminal access information is sent after each AP forwards an allowed access response;
the reporting module is configured to report the terminal access information to the server, so that the server updates the corresponding AP experience level table according to the selected parameter in the terminal access information, and issues the updated AP experience level table.
Optionally, the method further includes:
the polling module is used for polling the terminal detection information table periodically;
an obtaining module, configured to obtain each RSSI value corresponding to each frequency band of each AP;
a second determining module, configured to determine a number ratio of RSSI values, which are smaller than a second set threshold, among RSSI values corresponding to each frequency band for each AP;
and the reducing module is used for reducing the Beacon power of the AP with the number ratio exceeding the third set threshold value in the corresponding frequency band according to a preset rule.
According to the embodiment of the invention, the electronic equipment comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing the above method steps when executing the program stored in the memory.
According to an embodiment of the present invention, there is also provided a computer-readable storage medium having stored therein a computer program, which when executed by a processor, performs the above-mentioned method steps.
The invention has the following beneficial effects:
the embodiment of the invention provides a terminal access method and a device based on a WLAN (wireless local area network). the terminal access method and the device are characterized in that terminal detection information reported by connected APs is received and added into a terminal detection information table, wherein the terminal detection information comprises AP identifiers, terminal identifiers, RSSI (received signal strength indicator) values, initiation moments and frequency bands of the reported APs, and the terminal detection information is sent by the reported APs based on received detection requests from terminals; receiving an access request from a first terminal forwarded by a first AP in each AP, wherein the access request is sent when the first terminal requests to access a WLAN subnet of a first frequency band provided by the first AP; and determining whether the first terminal is allowed to access the first AP or not according to the AP experience level table synchronized by the server and the terminal detection information table. In the scheme, whether the terminal is allowed to access the AP or not is determined by each AC in the WLAN according to the AP experience level table and the terminal detection information table which are synchronized by the server, the AP to be accessed is no longer determined by a user using the terminal, and therefore the AP accessed by the terminal is the best AP in the environment, the experience of the user using the terminal can be further ensured, and the load balance of each AP in the environment where the terminal is located can be also ensured.
Drawings
Fig. 1 is a flowchart of a WLAN-based terminal access method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a WLAN-based terminal access device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device shown in the present application.
Detailed Description
In order to ensure that a terminal is accessed to an optimal AP in an environment, an embodiment of the present invention provides a terminal Access method based on a WLAN, where the terminal Access method is applied to each radio Controller (AC) included in the WLAN, the WLAN further includes a server connected to each AC and at least one AP, and a flow of the method is shown in fig. 1, and the method includes the following steps:
s11: and receiving terminal detection information reported by each connected AP, and adding the terminal detection information into a terminal detection information table.
Generally, when a terminal needs to access a WLAN, it first broadcasts a Probe request, and all nearby APs can receive the Probe request (Probe frame) and reply a Probe response; the AP receiving the probe request may generate terminal probe information according to the probe request, and report the terminal probe information to the connected AC. The terminal detection information includes an AP identifier, a terminal identifier, a Received Signal Strength Indication (RSSI) value, an initiation time, and a frequency band of the reporting AP, and is sent by the reporting AP based on a Received detection request from the terminal, and the reporting AP may receive a detection request to report the terminal detection information once, or may collect terminal detection information for a period of time and report the terminal detection information together.
After receiving the terminal probe information reported by the AP, the AC may add the terminal probe information to the terminal probe information table for subsequent use.
S12: and receiving an access request from a first terminal forwarded by a first AP in the APs.
When the first terminal needs to access the WLAN subnet of the first frequency band provided by the first AP, the first terminal may send an access request, and after receiving the access request, the first AP does not directly respond, but forwards the access request to the connected AC for processing.
The first AP may be any one of the APs connected to the AC, and the first terminal may be any one of terminals that want to access the WLAN subnet of the first frequency band provided by the first AP; s11 and S12 are not intended to indicate the order of execution of the two steps, but only to identify the two steps, S11 may be executed first and then S12, S12 may be executed first and then S11 may be executed, and S11 and S12 may be executed simultaneously.
S13: and determining whether the first terminal is allowed to access the first AP or not according to the AP experience level table and the terminal detection information table synchronized by the server.
An AP experience level table for each AP may be generated by the server and then synchronized to the corresponding AC. Thus, when the AC receives the access request, it can determine whether to allow the first terminal to access the first AP according to the AP experience level and its own terminal probe information table.
In the scheme, whether the terminal is allowed to access the AP or not is determined by each AC in the WLAN according to the AP experience level table and the terminal detection information table which are synchronized by the server, the AP to be accessed is no longer determined by a user using the terminal, and therefore the AP accessed by the terminal is the best AP in the environment, the experience of the user using the terminal can be further ensured, and the load balance of each AP in the environment where the terminal is located can be also ensured.
Specifically, in the above S13, determining whether to allow the first terminal to access the first AP according to the server-synchronized AP experience level table and the terminal detection information table, the implementation process specifically includes:
acquiring an AP experience level table synchronized by a server;
searching the experience level of the first AP in the first frequency band in the AP experience level table;
if the experience level of the first AP in the first frequency band is lower than the set level, sending an access refusing response to the first AP;
if the experience level of the first AP in the first frequency band is higher than or equal to the set level, searching whether the number of accessed terminals of the first AP in the first frequency band exceeds a first set threshold value in a first set time period from a terminal detection information table, and if the number of the accessed terminals exceeds the first set threshold value, sending an access rejection response to the first AP; if the number of the accessed terminals is determined not to exceed the first set threshold, searching each RSSI value corresponding to the first terminal in the second set time period from the terminal detection information table, determining whether the RSSI value corresponding to the first AP in the first frequency band is located before the set position in the sequence of the searched RSSI values, if the RSSI value corresponding to the first AP in the first frequency band is determined to be located before the set position in the sequence of the searched RSSI values, sending an access permission response to the first AP, and if the RSSI value corresponding to the first AP in the first frequency band is determined not to be located before the set position in the sequence of the searched RSSI values, sending an access rejection response to the first AP.
When determining whether to allow the first terminal to access the first AP according to the AP experience level table and the terminal detection information table synchronized by the server, first searching an experience level of the first AP in the first frequency band in the AP experience level table, and if it is determined that the experience level of the first AP in the first frequency band is lower than a set level, indicating that the AP experience level is low, the first terminal is not suitable for accessing the WLAN subnet of the first AP in the first frequency band, and even if the first terminal is accessed, the experience is poor, and at this time, sending an access rejection response to the first AP; if the experience level of the first AP in the first frequency band is determined to be higher than or equal to the set level, it is indicated that the first terminal may be suitable for accessing the WLAN subnet of the first AP in the first frequency band, and it is further required to further search, from the terminal probe information table, whether the number of the accessed terminals of the first AP in the first frequency band in the first set time period exceeds a first set threshold, and if it is determined that the number of the accessed terminals exceeds the first set threshold, it is indicated that there are many terminals accessing the WLAN subnet of the first AP in the first frequency band, and even if the terminals are accessed, the experience is poor, at this time, an access rejection response may be sent to the first AP; if it is determined that the number of the accessed terminals does not exceed the first set threshold, indicating that the first terminal may be suitable for accessing the WLAN subnet of the first AP in the first frequency band, further searching each RSSI value corresponding to the first terminal in the second set period from the terminal probe information table, and determining whether the RSSI value corresponding to the first AP in the first frequency band is located before the set position in the sequence of the searched RSSI values, if it is determined that the RSSI value corresponding to the first AP in the first frequency band is located before the set position in the sequence of the searched RSSI values, indicating that the first terminal is suitable for accessing the WLAN subnet of the first AP in the first frequency band, an access permission response may be sent to the first AP, if it is determined that the RSSI value corresponding to the first AP in the first frequency band is not located before the set position in the sequence of the searched RSSI values, indicating that the first terminal is not suitable for accessing the WLAN subnet of the first AP in the first frequency band, even if accessed, the experience may be poor to send a deny access response to the first AP.
The setting level, the first setting threshold and the setting position can be set according to actual needs, can be set according to experience, and can also be set according to actual application scenes.
Through the above process, the user experience after the first terminal accesses the WLAN can be ensured, and the load of each AP can be balanced.
Optionally, the method further includes:
receiving terminal access information reported by each AP, wherein the terminal access information is sent after each AP forwards an access permission response;
and reporting the terminal access information to a server so that the server updates the corresponding AP experience level table according to the selected parameters in the terminal access information and issues the updated AP experience level table.
According to historical experience, in most cases, the experience of the terminal accessing the WLAN subnet with the AP at 5G is better than the experience of the terminal accessing the WLAN subnet with the AP at 2.4G, and the experience of the near-end AP is better than that of the far-end AP, which is based on the test conclusion obtained under the terminal average distribution. In most cases, the terminals are aggregated, which may cause the load of the APs to be unbalanced, and the experience of the AP with a large load, although the AP is a near-end AP, although the AP is 5G, may be inferior to the WLAN subnet with 2.4G for the AP accessing the far-end. For the situation, after forwarding the access permission response, each AP may send report terminal access information to the AC, and then the AC further reports the terminal access information to the server, so that the server updates the corresponding AP experience level table according to the selected parameters in the terminal access information and issues the updated AP experience level table.
The server may determine the AP experience level of each AP by using an LDA algorithm, the selected parameters may include, but are not limited to, traffic of a frequency band, channel utilization rate, noise floor, load, time delay, packet loss, average downlink rate, low RSSI user occupancy, average experience score of online users, online success rate, and offline anomaly rate, the average score of online users is calculated by using the LDA algorithm, and the used parameters may include, but are not limited to, uplink RSSI of a terminal, uplink rate of a terminal, downlink rate of a terminal, packet transmission retransmission rate, effective packet transmission data rate, packet transmission delay, packet loss rate, and channel utilization rate of Radio.
In an optional implementation manner, the server may further generate terminal access information of the whole network according to the terminal access information, and display the terminal access information, so that technicians can perform subsequent network analysis and use the terminal access information.
Optionally, the method further includes:
periodically polling a terminal detection information table;
acquiring each RSSI value corresponding to each frequency band of each AP;
determining the number ratio of RSSI values smaller than a second set threshold value in the RSSI values corresponding to each frequency band of each AP;
and reducing the Beacon power of the AP with the quantity ratio exceeding a third set threshold value in the corresponding frequency band according to a preset rule.
The adjustment of the Beacon power of the AP may also be adjusted based on the terminal probe information table, for example, for the first frequency band of the first AP, each RSSI value corresponding to the first frequency band of the first AP may be obtained from the terminal probe information table, the number proportion of the RSSI values smaller than the second set threshold among the RSSI values is determined, if the number proportion exceeds the set third set threshold, it indicates that the Beacon power of the first AP in the first frequency band is too large, many distant terminals may access the WLAN subnet of the first AP in the first frequency band, and actually, the RSSI values are too small and are not suitable for access, the Beacon power of the first AP in the first frequency band may be reduced according to the set rule, so that many distant terminals may access the WLAN subnet of the first AP in the first frequency band.
The second setting threshold and the third setting threshold can be set according to actual needs.
Based on the same inventive concept, an embodiment of the present invention provides a terminal access apparatus based on a WLAN, which is applied to each AC included in the WLAN, the WLAN further includes a server connected to each AC and at least one AP, and a structure of the apparatus is shown in fig. 2, and includes:
an adding module 21, configured to receive terminal probe information reported by each connected AP, and add the terminal probe information to a terminal probe information table, where the terminal probe information includes an AP identifier of the reported AP, a terminal identifier, an RSSI value, an initiation time, and a frequency band, and the terminal probe information is sent by the reported AP based on a probe request received from a terminal; and the number of the first and second groups,
a receiving module 22, configured to receive an access request from a first terminal forwarded by a first AP in each AP, where the access request is sent when the first terminal requests to access a WLAN subnet of a first frequency band provided by the first AP;
the first determining module 23 is configured to determine whether to allow the first terminal to access the first AP according to the AP experience level table synchronized by the server and the terminal probe information table.
In the scheme, each AC included in the WLAN determines whether the terminal is allowed to access the AP according to the AP experience level table and the terminal detection information table synchronized by the server, and the user using the terminal does not decide the AP to be accessed autonomously any more, so that the AP accessed by the terminal is the best AP in the environment, the experience of the user using the terminal can be further ensured, and the load balance of each AP in the environment where the terminal is located can be ensured.
Specifically, the first determining module 23 is configured to determine whether to allow the first terminal to access the first AP according to the AP experience level table synchronized by the server and the terminal detection information table, and specifically configured to:
acquiring an AP experience level table synchronized by a server;
searching the experience level of the first AP in the first frequency band in the AP experience level table;
if the experience level of the first AP in the first frequency band is lower than the set level, sending an access refusing response to the first AP;
if the experience level of the first AP in the first frequency band is higher than or equal to the set level, searching whether the number of accessed terminals of the first AP in the first frequency band exceeds a first set threshold value in a first set time period from a terminal detection information table, and if the number of the accessed terminals exceeds the first set threshold value, sending an access rejection response to the first AP; if the number of the accessed terminals is determined not to exceed the first set threshold, searching each RSSI value corresponding to the first terminal in the second set time period from the terminal detection information table, determining whether the RSSI value corresponding to the first AP in the first frequency band is located before the set position in the sequence of the searched RSSI values, if the RSSI value corresponding to the first AP in the first frequency band is determined to be located before the set position in the sequence of the searched RSSI values, sending an access permission response to the first AP, and if the RSSI value corresponding to the first AP in the first frequency band is determined not to be located before the set position in the sequence of the searched RSSI values, sending an access rejection response to the first AP.
Optionally, the apparatus further includes a reporting module, wherein:
the receiving module is also used for receiving terminal access information reported by each AP, and the terminal access information is sent after each AP forwards an access permission response;
and the reporting module is used for reporting the terminal access information to the server so that the server updates the corresponding AP experience level table according to the selected parameters in the terminal access information and issues the updated AP experience level table.
Optionally, the method further includes:
the polling module is used for polling the terminal detection information table periodically;
an obtaining module, configured to obtain each RSSI value corresponding to each frequency band of each AP;
a second determining module, configured to determine a number ratio of RSSI values smaller than a second set threshold among RSSI values corresponding to each frequency band of each AP;
and the reducing module is used for reducing the Beacon power of the AP with the number ratio exceeding the third set threshold value in the corresponding frequency band according to a preset rule.
An electronic device is further provided in the embodiment of the present application, please refer to fig. 3, which includes a processor 310, a communication interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 complete communication with each other through the communication bus 340.
A memory 330 for storing a computer program;
the processor 310 is configured to implement the WLAN-based terminal access method according to any of the above embodiments when executing the program stored in the memory 330.
The communication interface 320 is used for communication between the above-described electronic device and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In the scheme, whether the terminal is allowed to access the AP or not is determined by each AC in the WLAN according to the AP experience level table and the terminal detection information table which are synchronized by the server, the AP to be accessed is no longer determined by a user using the terminal, and therefore the AP accessed by the terminal is the best AP in the environment, the experience of the user using the terminal can be further ensured, and the load balance of each AP in the environment where the terminal is located can be also ensured.
Accordingly, an embodiment of the present application further provides a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to perform the WLAN-based terminal access method described in any of the above embodiments.
In the scheme, whether the terminal is allowed to access the AP or not is determined by each AC in the WLAN according to the AP experience level table and the terminal detection information table which are synchronized by the server, the AP to be accessed is no longer determined by a user using the terminal, and therefore the AP accessed by the terminal is the best AP in the environment, the experience of the user using the terminal can be further ensured, and the load balance of each AP in the environment where the terminal is located can be also ensured.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (8)

1. A terminal access method based on a Wireless Local Area Network (WLAN) is applied to each wireless controller (AC) included in the WLAN, the WLAN further comprises a server connected with each AC and at least one wireless Access Point (AP), and the method comprises the following steps:
receiving terminal detection information reported by each connected AP, and adding the terminal detection information into a terminal detection information table, wherein the terminal detection information comprises an AP identifier, a terminal identifier, a Received Signal Strength Indication (RSSI) value, an initiation time and a frequency band of the reported AP, and the terminal detection information is sent by the reported AP based on a received detection request from a terminal; and (c) a second step of,
receiving an access request from a first terminal forwarded by a first AP in each AP, wherein the access request is sent when the first terminal requests to access a WLAN subnet of a first frequency band provided by the first AP;
determining whether to allow the first terminal to access the first AP or not according to the AP experience level table synchronized by the server and the terminal detection information table;
wherein, still include:
receiving terminal access information reported by each AP, wherein the terminal access information is sent after each AP forwards an access permission response;
and reporting the terminal access information to the server so that the server updates the corresponding AP experience level table according to the selected parameters in the terminal access information and issues the updated AP experience level table.
2. The method according to claim 1, wherein determining whether to allow the first terminal to access the first AP according to the server-synchronized AP experience level table and the terminal probe information table includes:
acquiring an AP experience level table synchronized by the server;
looking up the experience level of the first AP in the first frequency band in the AP experience level table;
if the experience level of the first AP in the first frequency band is lower than a set level, sending an access rejection response to the first AP;
if the experience level of the first AP in the first frequency band is higher than or equal to the set level, searching whether the number of accessed terminals of the first AP in the first frequency band exceeds a first set threshold value in a first set time period from the terminal detection information table, and if the number of the accessed terminals exceeds the first set threshold value, sending an access rejection response to the first AP; if the number of the accessed terminals is determined not to exceed the first set threshold, searching each RSSI value corresponding to the first terminal in a second set time period from the terminal detection information table, determining whether the RSSI value corresponding to the first frequency band of the first AP is located before the set position in the sequence of the searched RSSI values, if the RSSI value corresponding to the first frequency band of the first AP is determined to be located before the set position in the sequence of the searched RSSI values, sending an access permission response to the first AP, and if the RSSI value corresponding to the first frequency band of the first AP is determined not to be located before the set position in the sequence of the searched RSSI values, sending an access rejection response to the first AP.
3. The method of any of claims 1-2, further comprising:
periodically polling the terminal detection information table;
acquiring each RSSI value corresponding to each frequency band of each AP;
determining the number ratio of RSSI values smaller than a second set threshold value in the RSSI values corresponding to each frequency band of each AP;
and reducing the Beacon power of the AP with the number ratio exceeding a third set threshold in the corresponding frequency band according to a preset rule.
4. A terminal access apparatus based on a WLAN, applied to each AC included in the WLAN, the WLAN further including at least one AP and a server connected to each AC, the apparatus comprising:
an adding module, configured to receive terminal probe information reported by each connected AP, and add the terminal probe information to a terminal probe information table, where the terminal probe information includes an AP identifier of a reporting AP, a terminal identifier, an RSSI value, an initiation time, and a frequency band, and the terminal probe information is sent by the reporting AP based on a received probe request from a terminal; and the number of the first and second groups,
a receiving module, configured to receive an access request from a first terminal, where the access request is sent by the first terminal when the first terminal requests to access a WLAN subnet of a first frequency band provided by a first AP, and the access request is forwarded by the first AP in each AP;
a first determining module, configured to determine whether to allow the first terminal to access the first AP according to the server-synchronized AP experience level table and the terminal probe information table;
the system further comprises a reporting module, wherein:
the receiving module is further configured to receive terminal access information reported by each AP, where the terminal access information is sent after each AP forwards an allowed access response;
the reporting module is configured to report the terminal access information to the server, so that the server updates the corresponding AP experience level table according to the selected parameter in the terminal access information, and issues the updated AP experience level table.
5. The apparatus of claim 4, wherein the first determining module is configured to determine whether to allow the first terminal to access the first AP according to the server-synchronized AP experience level table and the terminal probe information table, and is specifically configured to:
acquiring an AP experience level table synchronized by the server;
looking up the experience level of the first AP in the first frequency band in the AP experience level table;
if the experience level of the first AP in the first frequency band is lower than a set level, sending an access rejection response to the first AP;
if the experience level of the first AP in the first frequency band is higher than or equal to the set level, searching whether the number of accessed terminals of the first AP in the first frequency band exceeds a first set threshold value in a first set time period from the terminal detection information table, and if the number of the accessed terminals exceeds the first set threshold value, sending an access rejection response to the first AP; if the number of the accessed terminals is determined not to exceed the first set threshold, searching each RSSI value corresponding to the first terminal in a second set time period from the terminal detection information table, determining whether the RSSI value corresponding to the first frequency band of the first AP is located before the set position in the sequence of the searched RSSI values, if the RSSI value corresponding to the first frequency band of the first AP is determined to be located before the set position in the sequence of the searched RSSI values, sending an access permission response to the first AP, and if the RSSI value corresponding to the first frequency band of the first AP is determined not to be located before the set position in the sequence of the searched RSSI values, sending an access rejection response to the first AP.
6. The apparatus of any of claims 4-5, further comprising:
the polling module is used for polling the terminal detection information table periodically;
the acquisition module is used for acquiring each RSSI value corresponding to each frequency band of each AP;
a second determining module, configured to determine a number ratio of RSSI values smaller than a second set threshold among RSSI values corresponding to each frequency band of each AP;
and the reducing module is used for reducing the Beacon power of the AP with the number ratio exceeding the third set threshold value in the corresponding frequency band according to a preset rule.
7. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-3 when executing a program stored on a memory.
8. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-3.
CN201911331663.0A 2019-12-21 2019-12-21 Terminal access method and device based on WLAN Active CN111010724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911331663.0A CN111010724B (en) 2019-12-21 2019-12-21 Terminal access method and device based on WLAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911331663.0A CN111010724B (en) 2019-12-21 2019-12-21 Terminal access method and device based on WLAN

Publications (2)

Publication Number Publication Date
CN111010724A CN111010724A (en) 2020-04-14
CN111010724B true CN111010724B (en) 2022-08-16

Family

ID=70116912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911331663.0A Active CN111010724B (en) 2019-12-21 2019-12-21 Terminal access method and device based on WLAN

Country Status (1)

Country Link
CN (1) CN111010724B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112533241B (en) * 2020-11-30 2022-08-26 杭州迪普科技股份有限公司 Network optimization method, wireless access point, wireless controller and network system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099831A (en) * 2015-09-06 2015-11-25 北京星网锐捷网络技术有限公司 Method and system for evaluating quality of WLAN (Wireless Local Area Network)
CN107820209A (en) * 2017-11-07 2018-03-20 锐捷网络股份有限公司 Interest recommends method, apparatus and server
CN108040031A (en) * 2017-10-31 2018-05-15 安徽四创电子股份有限公司 One kind is based on portal protocol realization AC black and white lists control methods
CN108391305A (en) * 2018-02-26 2018-08-10 维沃移动通信有限公司 A kind of Wi-Fi hotspot selection method and terminal device
CN108900333A (en) * 2018-06-27 2018-11-27 新华三大数据技术有限公司 A kind of appraisal procedure and assessment device of quality of wireless network

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101801051B (en) * 2010-03-04 2013-03-20 杭州华三通信技术有限公司 Method and equipment for selecting access points (APs)
CN102685812B (en) * 2012-05-11 2015-03-18 中国联合网络通信集团有限公司 Access point (AP) associated terminal control method, device and system
CN102833824B (en) * 2012-08-30 2014-12-24 福建星网锐捷网络有限公司 Access method and device for wireless local area network and network equipment
CN103327519A (en) * 2013-07-11 2013-09-25 成都西加云杉科技有限公司 AP (Access Point) and system based AP and AC (AP Controller) architecture
CN104754602A (en) * 2013-12-30 2015-07-01 中国移动通信集团上海有限公司 Wireless quality monitoring method and device
CN103945409B (en) * 2014-03-20 2017-09-15 新华三技术有限公司 A kind of detection method and device of radio link quality

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099831A (en) * 2015-09-06 2015-11-25 北京星网锐捷网络技术有限公司 Method and system for evaluating quality of WLAN (Wireless Local Area Network)
CN108040031A (en) * 2017-10-31 2018-05-15 安徽四创电子股份有限公司 One kind is based on portal protocol realization AC black and white lists control methods
CN107820209A (en) * 2017-11-07 2018-03-20 锐捷网络股份有限公司 Interest recommends method, apparatus and server
CN108391305A (en) * 2018-02-26 2018-08-10 维沃移动通信有限公司 A kind of Wi-Fi hotspot selection method and terminal device
CN108900333A (en) * 2018-06-27 2018-11-27 新华三大数据技术有限公司 A kind of appraisal procedure and assessment device of quality of wireless network

Also Published As

Publication number Publication date
CN111010724A (en) 2020-04-14

Similar Documents

Publication Publication Date Title
US11218945B2 (en) Access control method, terminal, and access network device
EP3166349A1 (en) Internet access traffic sharing method, device and terminal
CN111132271B (en) Dynamic adjustment method and device for PDU session
US10080186B2 (en) Carrier aggregation processing method and device
CN111867034B (en) Configuration method, device and equipment for positioning detection reference signal
CN108024269A (en) A kind of cell measurement configuration information sending, receiving method and device
CN107211335B (en) Cell reselection method and user terminal
US10257759B2 (en) Load balancing among wireless access points
CN106385695B (en) Method and device for sending detection response frame
US20140219122A1 (en) Control apparatus, representative base station and base station control method
CN104168629A (en) Proximity-based service relay node discovering method, terminal and proximity-based service communication system
CN103841625A (en) WLAN access method and WLAN access device
CN110461023B (en) Cell residence method and device for voice service, storage medium and main base station
CN111010724B (en) Terminal access method and device based on WLAN
CN106686668B (en) method and device for selecting voice fallback cell
CN103889000A (en) Channel allocation method and device
CN110708732A (en) Method and terminal for dynamically self-adapting network switching
CN106792895B (en) method and equipment for determining size of data packet
WO2020151622A1 (en) Assessment method and apparatus for position recommendation
CN113055933A (en) Cell access method, user equipment and base station
CN112087784B (en) Pilot frequency switching method and device based on uplink coverage
CN110536334B (en) WLAN-based room division signal quality assessment method and device
US10045361B2 (en) Method, apparatus, and system for establishing cooperative communication
CN105592503A (en) Load balancing method and device
CN111050376B (en) AP neighbor table establishing method and device based on local area network

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
GR01 Patent grant
GR01 Patent grant