CN110177384B - Access method, device, wireless access point and readable storage medium - Google Patents

Access method, device, wireless access point and readable storage medium Download PDF

Info

Publication number
CN110177384B
CN110177384B CN201910638087.8A CN201910638087A CN110177384B CN 110177384 B CN110177384 B CN 110177384B CN 201910638087 A CN201910638087 A CN 201910638087A CN 110177384 B CN110177384 B CN 110177384B
Authority
CN
China
Prior art keywords
frequency band
terminal device
channels
terminal equipment
target
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
CN201910638087.8A
Other languages
Chinese (zh)
Other versions
CN110177384A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201910638087.8A priority Critical patent/CN110177384B/en
Publication of CN110177384A publication Critical patent/CN110177384A/en
Application granted granted Critical
Publication of CN110177384B publication Critical patent/CN110177384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/082Load balancing or load distribution among bearers or channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

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

Abstract

The embodiment of the application provides an access method, an access device, a wireless access point and a readable storage medium, wherein the method comprises the following steps: determining at least two channels of a target frequency band in the at least one frequency band supported by a terminal device to be accessed into a network; determining a target channel accessible to the terminal device according to the load conditions of the at least two channels; and sending indication information to the terminal equipment, wherein the indication information is used for indicating the terminal equipment to access a target channel of the target frequency band. According to the scheme, the target channel which can be accessed by the terminal equipment is determined according to the load conditions of at least two channels supported by the terminal equipment, and then the terminal equipment is indicated to be accessed to the target channel, so that the load balance among the channels can be realized, the channel resources can be fully utilized, the terminal equipment can be accessed to each channel according to the load conditions of the channels, and the problem that the network is unsmooth due to channel congestion can be effectively avoided.

Description

Access method, device, wireless access point and readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an access method, an access device, a wireless access point, and a readable storage medium.
Background
In the networking form of the current Wireless Local Area Network (WLAN), most of them adopt the networking mode of a Basic Service Set (BSS) or an Extended Service Set (ESS), that is, the organization form of one or more Wireless Access Points (APs) and a plurality of terminal devices. The networking mode is simple, convenient and easy to expand, after the APs are arranged in advance, network services can be provided for the terminal equipment as long as the terminal equipment is within the signal coverage range of the APs, in the organization mode, the APs are responsible for access, management and data transmission of the terminal equipment, and wireless signals of all the terminal equipment are processed through the APs and then submitted to other distributed systems for network communication.
In the existing WLAN networking mode, either BSS mode or ESS mode, the terminal device needs to associate with the AP before network access can be performed. In a public place scene, a wireless network of an AP needs to be provided for a plurality of clients, and a general AP defaults that a terminal device automatically accesses a certain channel, and under the condition that a plurality of users are available, the users may access the certain channel of the AP at the same time to cause congestion of the channel, so that the users cannot access the network smoothly.
Disclosure of Invention
An object of the embodiments of the present application is to provide an access method, an access apparatus, a wireless access point, and a readable storage medium, so as to solve the problem in the prior art that a user accesses a network unsmoothly due to congestion of a certain channel when more users access the AP.
In a first aspect, an embodiment of the present application provides an access method, which is applied to a wireless access point providing a wireless network, where the wireless access point operates in at least one frequency band, and each frequency band is configured with a plurality of channels, where the method includes: determining at least two channels of a target frequency band in the at least one frequency band supported by a terminal device to be accessed into a network; determining a target channel accessible to the terminal device according to the load conditions of the at least two channels; and sending indication information to the terminal equipment, wherein the indication information is used for indicating the terminal equipment to access a target channel of the target frequency band.
In the implementation process, the target channel which can be accessed by the terminal equipment is determined according to the load conditions of at least two channels supported by the terminal equipment, and then the terminal equipment is indicated to be accessed to the target channel, so that the load balance among the channels can be realized, the channel resources can be fully utilized, the terminal equipment can be accessed to each channel according to the load conditions of the channels, and the problem that the network is unsmooth due to channel congestion can be effectively avoided.
Optionally, the determining at least two channels of a target frequency band in the at least one frequency band supported by the terminal device to be accessed to the network includes: under the condition of receiving target broadcast detection information sent by terminal equipment through at least two channels of the target frequency band, determining that the terminal equipment to be accessed into the network supports the at least two channels; and sending first response information aiming at the target broadcast detection information to the terminal equipment through the at least two channels, wherein the first response information is used for indicating that the terminal equipment can access the at least two channels.
In the implementation process, the first response information aiming at the target broadcast detection information is sent to the terminal equipment, so that the terminal equipment knows that the terminal equipment can access the channel, and the problem that the terminal equipment gives up access when the terminal equipment does not respond is avoided.
Optionally, the sending, to the terminal device, first response information for the target broadcast probe information through the at least two channels includes: and sending first response information aiming at the target broadcast detection information to the terminal equipment through the at least two channels according to a preset time interval.
In the implementation process, the first response information is sent to the terminal device according to the preset time interval, so that the access intention of the terminal device can be kept, and the problem that the terminal device gives up access can be effectively avoided.
Optionally, after determining the target channel accessible to the terminal device according to the load conditions of the at least two channels and before sending the indication information to the terminal device, the method further includes: receiving request access information sent by the terminal equipment aiming at the target channel, wherein the request access information is used for requesting to access the target channel;
the sending of the indication information to the terminal device includes: and sending second response information to the terminal equipment according to the request access information, wherein the second response information comprises the indication information.
In the implementation process, after receiving the request access information for the target channel sent by the terminal device, the second response information may be sent to the terminal device to indicate the terminal device to access the target channel, so that the terminal device may access the channel that the wireless access point wants to access, thereby implementing load balancing between channels.
Optionally, after the sending the indication information to the terminal device, the method further includes: if the terminal equipment is not detected to be accessed to the target channel, determining whether request access information of the terminal equipment through other channels except the target channel in the at least two channels is received; and if so, controlling the terminal equipment to access the other channels.
In the implementation process, when the terminal device does not access the target channel late, it indicates that the terminal device may not want to access the target channel, and the terminal device may be guided to access other channels, so that the terminal device can access the channel successfully anyway.
Optionally, the determining, according to the load conditions of the at least two channels, a target channel accessible to the terminal device includes: acquiring the number of devices accessed to each channel; determining the load condition of each channel according to the number of the devices accessed to each channel; and taking the channel with the minimum load as a target channel which can be accessed by the terminal equipment.
In the implementation process, the load condition of each channel can be determined by the number of devices accessed by each channel, so that the load condition of each channel can be determined more clearly.
Optionally, the at least one frequency band includes at least two frequency bands, and before determining at least two channels of a target frequency band in the at least one frequency band supported by a terminal device to access a network, the method further includes: determining a network frequency band supported by the terminal equipment; and when the network frequency bands supported by the terminal equipment comprise the at least two frequency bands, determining a target frequency band accessible to the terminal equipment according to the load conditions of the at least two frequency bands, wherein the target frequency band is one of the at least two frequency bands.
In the implementation process, if the wireless access point works in at least two frequency bands, the target frequency band accessible to the terminal device can be determined according to the load conditions of the at least two frequency bands, so that load balance among the multiple frequency bands can be realized.
Optionally, the determining the network frequency band supported by the terminal device includes: if first broadcast detection information which is only sent by the terminal equipment through the first frequency band is received, determining that the network frequency band supported by the terminal equipment is the first frequency band; if second broadcast detection information which is only sent by the terminal equipment through the second frequency band is received, determining that the network frequency band supported by the terminal equipment is the second frequency band; and if first broadcast detection information sent by the terminal equipment through the first frequency band and second broadcast detection information aiming at the second frequency band are received, determining that the network frequency bands supported by the terminal equipment comprise the first frequency band and the second frequency band.
In the implementation process, the network frequency band supported by the terminal equipment can be accurately obtained by determining and receiving the broadcast detection information sent by the terminal equipment.
Optionally, the determining, according to the load conditions of the at least two frequency bands, a target frequency band accessible to the terminal device includes: when the load ratio of the first frequency band to the second frequency band is greater than or equal to a preset ratio, determining that a target frequency band accessible to the terminal equipment is the second frequency band; and when the load ratio of the first frequency band to the second frequency band is smaller than the preset ratio, determining that a target frequency band accessible to the terminal equipment is the first frequency band.
In the implementation process, the target frequency band accessible to the terminal device can be determined by comparing the load ratio of the first frequency band and the second frequency band with the preset ratio, so that load balance between the first frequency band and the second frequency band can be realized.
Optionally, the load ratio of the first frequency band to the second frequency band is obtained by calculating according to the following formula:
Figure BDA0002130276710000041
the method comprises the steps that S is a load ratio of the first frequency band to the second frequency band, M is the number of devices accessed to the first frequency band, N is the total channel number of the first frequency band, X is the number of devices accessed to the second frequency band, and Y is the total channel number of the second frequency band.
In a second aspect, an embodiment of the present application provides an access apparatus, which operates in a wireless access point providing a wireless network, where the wireless access point operates in at least one frequency band, and each frequency band is configured with a plurality of channels, the apparatus includes:
a channel determination module, configured to determine at least two channels of a target frequency band in the at least one frequency band supported by a terminal device to be accessed to a network;
the load balancing module is used for determining a target channel which can be accessed by the terminal equipment according to the load conditions of the at least two channels;
and the information sending module is used for sending indication information to the terminal equipment, wherein the indication information is used for indicating the terminal equipment to access the target channel of the target frequency band.
Optionally, the channel determining module is specifically configured to determine that a terminal device to be connected to a network supports at least two channels when target broadcast probe information sent by the terminal device through the at least two channels of the target frequency band is received; and sending first response information aiming at the target broadcast detection information to the terminal equipment through the at least two channels, wherein the first response information is used for indicating that the terminal equipment can access the at least two channels.
Optionally, the first response module is specifically configured to send, to the terminal device, first response information for the target broadcast probe information through the at least two channels according to a preset time interval.
Optionally, the apparatus further comprises:
a request access information obtaining module, configured to receive request access information sent by the terminal device for the target channel, where the request access information is used to request access to the target channel;
the information sending module is specifically configured to send second response information to the terminal device according to the request access information, where the second response information includes the indication information.
Optionally, the apparatus further comprises:
an access module, configured to determine whether to receive access request information of the terminal device through another channel of the at least two channels except the target channel if it is not detected that the terminal device accesses the target channel; and if so, controlling the terminal equipment to access the other channels.
Optionally, the load balancing module is specifically configured to obtain the number of devices accessed to each channel; determining the load condition of each channel according to the number of the devices accessed to each channel; and taking the channel with the minimum load as a target channel which can be accessed by the terminal equipment.
Optionally, the at least one frequency band includes at least two frequency bands, and the apparatus further includes:
a frequency band determining module, configured to determine a network frequency band supported by the terminal device; and when the network frequency bands supported by the terminal equipment comprise the at least two frequency bands, determining a target frequency band accessible to the terminal equipment according to the load conditions of the at least two frequency bands, wherein the target frequency band is one of the at least two frequency bands.
Optionally, the at least two frequency bands include a first frequency band and a second frequency band, and the frequency band determining module is further configured to:
if first broadcast detection information which is only sent by the terminal equipment through the first frequency band is received, determining that the network frequency band supported by the terminal equipment is the first frequency band;
if second broadcast detection information which is only sent by the terminal equipment through the second frequency band is received, determining that the network frequency band supported by the terminal equipment is the second frequency band;
and if first broadcast detection information sent by the terminal equipment through the first frequency band and second broadcast detection information aiming at the second frequency band are received, determining that the network frequency bands supported by the terminal equipment comprise the first frequency band and the second frequency band.
Optionally, the frequency band determining module is further configured to:
when the load ratio of the first frequency band to the second frequency band is greater than or equal to a preset ratio, determining that a target frequency band accessible to the terminal equipment is the second frequency band;
and when the load ratio of the first frequency band to the second frequency band is smaller than the preset ratio, determining that a target frequency band accessible to the terminal equipment is the first frequency band.
Optionally, the load ratio of the first frequency band to the second frequency band is obtained by calculating according to the following formula:
Figure BDA0002130276710000071
the method comprises the steps that S is a load ratio of the first frequency band to the second frequency band, M is the number of devices accessed to the first frequency band, N is the total channel number of the first frequency band, X is the number of devices accessed to the second frequency band, and Y is the total channel number of the second frequency band.
In a third aspect, an embodiment of the present application provides a wireless access point, including a processor and a memory, where the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method as provided in the first aspect are executed.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps in the method as provided in the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a WLAN system according to an embodiment of the present application;
fig. 2 is a schematic diagram of a radiation pattern combined by base bands according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a wireless access point according to an embodiment of the present disclosure;
fig. 4 is a flowchart of an access method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of 2.4GHz and 54GHz circle sets provided by the embodiments of the present application;
fig. 6 is a schematic workflow diagram of a state machine according to an embodiment of the present application;
fig. 7 is a block diagram of an access device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Before describing the embodiments of the present application, a brief description of the system environment in which the present application may be used will be provided. In the WLAN system, the wireless access point AP serves as a management device of the network, manages all terminal devices, and provides access and transmission services to the terminal devices. As shown in fig. 1, the WLAN system includes a processing unit (which may be a microprocessor) connected to a plurality of base bands, such as base band 1, base band 2, base band 3, and base band 4 in fig. 1, where each base band has three transceivers, but may also be a plurality of transceivers, and each transceiver is connected to one antenna to form an antenna array. Wherein each baseband may operate in a frequency band, such as a 2.4GHz frequency band or a 5GHz frequency band. Different combinations of antenna arrays may form different radiation patterns. The connection mode of the processing unit and each baseband can adopt a PCIE (PCI-Express, bus and interface standard) mode.
As shown in fig. 2, a diagram in fig. 2 is a radiation diagram formed by combining four base bands at the same frequency band, if the four base bands all work at 5GHz band, 36, 48, 149 and 157 channels can be used respectively, and if the four base bands all work at 2.4GHz band, 1,6,11 and 13 channels can be used respectively. The b diagram in fig. 2 is a radiation diagram formed by combining three base bands at the same frequency band, and if one of the base bands operates in the 5GHz frequency band and the other base band operates in the 2.4GHz frequency band, 149, 1,6 and 11 channels can be used respectively. The diagram c in fig. 2 shows the radiation pattern of two base bands combined at the same time.
The four base bands may be configured with the same Service Set Identifier (SSID) to form an ESS. It can be understood that one AP may include multiple base bands, and if the four base bands are mentioned above, the AP may operate in a single frequency band, such as a 5GHz frequency band or a 2.4GHz frequency band, and may also operate in a dual frequency band, such as a 5GHz frequency band and a 2.4GHz frequency band, of course, the AP may also operate in other frequency bands besides the two frequency bands, such as a 5.8GHz frequency band, and in practical applications, the AP may be flexibly set to other frequency band values.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a wireless access point according to an embodiment of the present disclosure, where the wireless access point may include: at least one processor 110, such as a CPU, at least one communication interface 120, at least one memory 130, and at least one communication bus 140. Wherein the communication bus 140 is used for realizing direct connection communication of these components. The communication interface 120 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The memory 130 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). Memory 130 may optionally be at least one memory device located remotely from the aforementioned processor. The memory 130 stores computer readable instructions that, when executed by the processor 110, cause the wireless access point to perform the method process of fig. 4 described below.
Referring to fig. 4, fig. 4 is a flowchart of an access method provided in an embodiment of the present application, where the method is applied to the above-mentioned wireless access point (hereinafter, referred to as AP for short), the AP operates in at least one frequency band, and each frequency band is configured with a plurality of channels, and the method includes the following steps:
step S110: and determining at least two channels of a target frequency band in the at least one frequency band supported by the terminal equipment to be accessed into the network.
As described above, the AP may operate in at least one frequency band, which may be a 2.4GHz frequency band or a 5GHz frequency band, or may also operate in two frequency bands, such as a 2.4GHz frequency band and a 5GHz frequency band. Wherein, the frequency range of the 2.4GHz band is 2.4GHz-2.4835GHz, and the frequency range of the 5GHz band is 5.150GHz-5.350GHz and 5.725GHz-5.850 GHz.
It should be understood that, as technology evolves, at least one frequency band in the embodiments of the present application may also include other frequency bands, and the embodiments of the present application are not limited to the above listed frequency bands.
It should be understood that, when the at least one frequency band is one frequency band, the target frequency band is the one frequency band. When the at least one frequency band is a plurality of frequency bands, the target frequency band may be any one of the plurality of frequency bands, or the target frequency band may be a specific one of the plurality of frequency bands, for example, the target frequency band may be one frequency band determined from the plurality of frequency bands according to a manner described below, or the target frequency band may also be one frequency band determined from the plurality of frequency bands according to other manners, which is not limited in this embodiment of the application.
The channel refers to a data signal transmission channel using a wireless signal as a transmission medium, and the channel corresponds to a specific frequency, for example, the frequency corresponding to the channel 1 is 2.412GHz of a 2.4GHz band, that is, the channel can be understood as a specific operating frequency of a radio frequency. That is, each frequency band may include multiple frequencies, that is, each frequency band is configured with multiple channels, and each channel may access multiple terminal devices.
When the terminal device wants to associate with the AP, it may obtain the wireless networks existing around the terminal device by an active scanning or passive scanning manner, where the active scanning process is as follows: the terminal device may send broadcast Probe information (i.e., a Probe Request message) to the AP through a channel supported by the terminal device, that is, when the terminal device wants to connect to a wireless network, the terminal device may actively send the broadcast Probe information to the AP through the channel supported by the terminal device, and detect the wireless network stored around the terminal device through the broadcast Probe information.
The passive scanning process is as follows: the passive scanning means that the terminal device may not actively send broadcast probe information to the AP, but the AP sends a Beacon frame (i.e., Beacon frame), where the Beacon frame sent by the AP includes information such as a wireless network identifier and a supported frequency band of the AP, and the AP may send the Beacon frame by broadcasting periodically, for example, a default period of the Beacon frame sent by the AP is 100ms, that is, the AP may send the Beacon frame by broadcasting every 100ms, and the terminal device may listen to the Beacon frame on each channel supported by the terminal device, so as to learn about the wireless network existing around.
The following describes the process of connecting to the wireless network by taking active scanning of the terminal as an example. Since the terminal device generally supports at least one frequency band, for example, if the terminal device supports a 2.4GHz frequency band, the frequency band in which the AP operates includes the 2.4GHz frequency band, the terminal device may send broadcast probe information to the AP through a specific channel in the 2.4GHz frequency band supported by the terminal device, when the terminal device supports only one channel of one frequency band, the terminal device only sends broadcast probe information to the AP through the one channel, and after receiving the broadcast probe information, the AP operating in the frequency band may directly guide the terminal device to access the channel.
In the embodiment of the present application, an example in which a terminal device supports at least two channels is described. The terminal device may send the target broadcast detection information to the AP through at least two channels of the target frequency band supported by the terminal device, and if the terminal device supports at least two channels of the target frequency band of 2.4GHz, the terminal device sends the target broadcast detection information to the AP through the at least two channels, and after receiving the target broadcast detection information sent by the terminal device through the two channels, the AP may know that the terminal device supports the at least two channels. For example, if the terminal device supports three channels 1,6, and 11 in the 2.4GHz band, when the terminal device wants to access the wireless network, the terminal device may send broadcast probe information to the outside through the three channels, and then the AP operating in the 2.4GHz band may determine that the terminal device supports three channels 1,6, and 11 in the 2.4GHz band after receiving the target broadcast probe information.
That is, the AP determines that the terminal device supports at least two channels when receiving target broadcast probe information transmitted by the terminal device through the at least two channels of the target frequency band.
Step S120: and determining a target channel accessible by the terminal equipment according to the load conditions of the at least two channels.
After the channels supported by the terminal device are determined through the above process, in order to ensure load balance among the channels, the load condition of each channel is also required to be obtained, and the target channel accessible to the terminal device is determined according to the load condition of each channel.
As an implementation manner, in order to determine the load condition of each channel more clearly, the number of devices accessed to each channel may be obtained first, then the load condition of each channel is determined according to the number of devices accessed to each channel, then the channel with the minimum load is determined, and then the channel with the minimum load is taken as the target channel accessible to the terminal device.
That is to say, the load conditions of the channels may be characterized by the number of devices accessed by the channels, for example, if the terminal device supports three channels 1,6, and 11 in the 2.4GHz band, the load conditions of the three channels 1,6, and 11 may be obtained respectively, and the number of devices currently accessed by the channels represents the load conditions thereof. For example, the number of devices currently accessed by the channel 1 is 321, the number of devices currently accessed by the channel 6 is 223, and the number of devices currently accessed by the channel 11 is 35, so that the load of the channel 11 is the smallest, and therefore, in order to balance the loads of the respective channels, it may be determined that the target channel accessible by the terminal device is the channel 11.
Of course, the load condition of each channel is not only determined by the number of devices accessed by the channel, but also determined by combining the signal strength of the channel and the number of devices accessed by the channel, for example, if the number of devices accessed by the channel 6 is large, but the signal strength of the device is strong, the load may also be small, and of course, the specific determination mode may be set according to actual requirements, and the embodiment of the present application is not limited thereto.
Alternatively, in this embodiment of the present application, one of the channels with a smaller load may be determined as a target channel according to a load condition of the channel, for example, the load condition may be classified into some grades, for example, the load grade is classified from 1 to 10, where the grades 1 to 10 respectively indicate that the load is higher and higher (the load is higher and lower may be calculated by a ratio of load traffic to a total capacity of the channels), the target channel may be one of the channels with a lowest load grade, or one of the channels with a lower load grade than a preset threshold grade, for example, the threshold grade is grade 5, there are a plurality of channels with a load grade lower than the threshold grade, and the target channel may be any one of the channels with a load grade lower than the threshold grade, which is not limited in this embodiment of the present application.
Step S130: and sending indication information to the terminal equipment.
After determining a target channel to be accessed by the terminal device, the AP may send indication information to the terminal device through the target channel, where the indication information may indicate that the terminal device is accessed to the target channel of the target frequency band, and thus, the terminal device may perform a subsequent access process after receiving the indication information.
In the implementation process, the target channel which can be accessed by the terminal equipment is determined according to the load conditions of at least two channels supported by the terminal equipment, and then the terminal equipment is indicated to be accessed to the target channel, so that the load balance among the channels can be realized, the channel resources can be fully utilized, the terminal equipment can be accessed to each channel according to the load conditions of the channels, and the problem that the network is unsmooth due to channel congestion can be effectively avoided.
In addition, in the above embodiment, the specific channel supported by the terminal device is directly identified, rather than only identifying the frequency band supported by the terminal device, and if only the frequency band supported by the terminal device is identified, the AP may direct the terminal device to access any channel in the frequency band, but if the terminal device does not support the channel, the problem that the terminal device cannot access the channel is caused.
As an example, in order to more accurately determine a channel supported by a terminal device, a duration for identifying the channel supported by the terminal device is further configured on an AP, and a specifically set value of the duration needs to ensure that the channel supported by the terminal device can be completely identified without affecting access experience of the terminal device, that is, the AP may further determine whether broadcast probe information sent by the terminal device through at least two channels is received within a preset time period, and if so, determine that the terminal device supports at least two channels.
In addition, after the AP receives the target broadcast probe information sent by the terminal device through the at least two channels, the AP may also send first response information for the target broadcast probe information to the terminal device through the at least two channels, where the first response information is used to indicate that the terminal device may access the at least two channels.
For example, after receiving the target broadcast probe information sent by the terminal device through the channels 1 and 6 of the 2.4GHz band, the AP may listen to the target broadcast probe information sent by the terminal device on the channels 1 and 6, and then the AP sends first response information to the terminal device through the channels 1 and 6, where the first response information is used to indicate that the terminal device may access the channels 1 and 6, and the terminal device may request to access the channels 1 and 6 after receiving the first response information.
When the terminal equipment requests to access the channel 1 and the channel 6, the terminal equipment can respectively send request access information to the AP through the channel 1 and the channel 6, if the AP determines that a target channel which can be accessed by the terminal equipment is the channel 6 according to the load conditions of the channel 1 and the channel 6, the AP can send indication information to the terminal equipment through the channel 6, and does not respond to the request access information sent by the terminal equipment through the channel 1, so that the terminal equipment can be indicated to access the channel 6.
In the implementation process, the first response information aiming at the target broadcast detection information is sent to the terminal equipment, so that the terminal equipment knows that the terminal equipment can access the channel, and the problem that the terminal equipment gives up access when the terminal equipment does not respond is avoided.
In addition, if the AP does not respond after receiving the target broadcast probe information sent by the terminal device, the terminal device may give up access, so the AP may also send the first response information for the target broadcast probe information to the terminal device through at least two channels according to the preset time interval. It can be understood that the AP is provided with a preset time interval, where the preset time interval is the number of times of replying the broadcast probe information of the terminal device, for example, a first response message is sent to the terminal device after receiving how many broadcast probe information sent by the terminal device, and the purpose is to retain the association intention of the terminal device, effectively prevent the terminal device from giving up access, and avoid the problem of association failure of the terminal device.
In the implementation process, the first response information is sent to the terminal device according to the preset time interval, so that the access intention of the terminal device can be kept, and the problem that the terminal device gives up access can be effectively avoided.
As an example, after receiving target broadcast probe information sent by a terminal device through at least two channels, an AP sends first response information to the terminal device through the at least two channels, and the terminal device knows that the at least two channels can be accessed after receiving the first response information, and then the terminal device sends request access information to the AP through the at least two channels, where the request access information is used for requesting to access a certain channel. If the AP determines the target channel to which the terminal device wants to access according to the load conditions of the at least two channels, the AP receives the access request information sent by the terminal device for the target channel, where the access request information indicates that the terminal device requests to access the target channel, and the AP may send second response information to the terminal device according to the access request information, where the second response information includes the indication information.
It can be understood that the process of sending the request access information to the AP by the terminal device may be understood as an authentication process, the authentication process is link authentication, the terminal device and the AP are connected through a wireless link, during the process of establishing the link, the terminal device needs to be authenticated through the wireless link, and only after the authentication is passed, the wireless association between the terminal device and the AP can be performed.
The link authentication comprises development system authentication and shared key authentication, Open system authentication is called Open authentication for short, and authentication is not performed, as long as terminal equipment sends request access information, the AP allows the authentication to be successful, and the link authentication is an unsafe authentication mode, so shared key authentication is generally adopted. The procedure of shared key authentication is as follows: before authentication, the same secret key is configured on terminal equipment and an AP, otherwise, the authentication cannot be successful, when the authentication is started, the terminal equipment sends an authentication request (namely request access information) to the AP, then the AP generates a challenge phrase after receiving the authentication request, then the challenge phrase is sent to the terminal equipment, if the challenge phrase is A, the terminal equipment encrypts the challenge phrase A by using the secret key of the terminal equipment, sends the encrypted challenge phrase A to the AP, if the encrypted challenge phrase is B, finally, the AP receives the encrypted information B of the terminal equipment and decrypts by using the secret key of the AP, if the secret key configuration on the terminal equipment and the AP is constant, the decrypted result is A, if the result is inconsistent, the authentication fails, and if the result is consistent, the authentication succeeds.
After the authentication is successful, that is, the AP sends second response information to the terminal device, where the second response information includes the above-mentioned indication information, that is, indicates the terminal device to access the target channel. After receiving the second response message, the terminal device enters an association stage, and in the association stage, the terminal device may send association request message to the AP through the target channel, where the association request message includes various parameters of the terminal device itself and various parameters selected according to service configuration, such as rate supported by the terminal device, channel, QoS capability, and selected access authentication and encryption algorithm.
The AP can be divided into a fat AP and a thin AP according to the working mode, the fat AP can independently realize wireless services, and the thin AP needs to be combined with a wireless controller to realize the wireless services. Therefore, if the fat AP receives the association request information of the terminal device, the fat AP may directly determine whether the terminal device is to perform Access authentication subsequently And respond to the terminal device, if the thin AP receives the association request information of the terminal device, the thin AP is responsible for encapsulating the association request information by a Control And Provisioning protocol (CAPWAP) of the Wireless Access point And then sending the encapsulated association request information to the Wireless controller, And the Wireless controller performs the determination processing, And the thin AP is also responsible for decapsulating the processing result of the Wireless controller by the CAPWAP And then sending the encapsulated association request information to the terminal device. After the association is completed, it indicates that a wireless link has been established between the terminal device and the AP, if no access authentication is configured, the terminal device may access the wireless network after obtaining the IP address, and if the access authentication is configured, the terminal device may perform network access only after completing the stages of access authentication, key agreement, and the like.
It should be noted that the terminal device may send the request access information through the channel supported by the terminal device, and for the request access information sent by other channels except the target channel, the AP does not respond to the request access information sent by the terminal device through other channels, so as to enable the terminal device to actively continue to send the request access information to other channels, for example, actively send the request access information through the target channel, thereby guiding the terminal device to access the target channel, so as to implement load balancing between channels.
In the implementation process, after receiving the request access information for the target channel sent by the terminal device, the second response information may be sent to the terminal device to indicate the terminal device to access the target channel, so that the terminal device may access the channel that the wireless access point wants to access, thereby implementing load balancing between channels.
If the AP sends the indication information to the terminal device to indicate that the terminal device accesses the target channel, the terminal channel does not access the target channel later, that is, the terminal device does not send the association request information through the target channel within a certain period of time, it indicates that the terminal device does not want to associate with the target channel that the AP wants to associate with, and in order to ensure that the terminal device can successfully connect with the AP, the terminal device can be further controlled to access another channel. That is, if the AP does not detect that the terminal device accesses the target channel, it is determined whether access request information of the terminal device through another channel other than the target channel among at least two channels supported by the AP is received, and if so, the AP controls the terminal device to access the other channel.
It will be appreciated that, in order not to affect the access behaviour of the terminal device, to ensure that the terminal device is in any case able to successfully associate with the AP, but not always influencing the access behavior of the terminal equipment, resulting in the problems of too long association time or no association of the terminal equipment, if the request access information sent by the terminal device through another channel is received at this time when the guidance of the terminal device to access the target channel is unsuccessful, indicating that the terminal device wants to access another channel, the terminal device is controlled to access other channels, the specific method is also consistent with the method for indicating the terminal device to access the target channel, i.e. also sending an indication to the terminal device based on the requested access information, instructing the terminal device to access further information, the terminal device may send association request information to the AP after receiving the indication information, and the AP may directly allow the terminal device to access other channels of the AP.
In the implementation process, when the terminal device does not access the target channel late, it indicates that the terminal device may not want to access the target channel, and the terminal device may be guided to access other channels, so that the terminal device can access the channel successfully anyway.
In addition, most APs and terminal devices may support two frequency bands, that is, a 5GHz frequency band and a 2.4GHz frequency band, but the terminal devices all work in the 2.4GHz frequency band, so that when the terminal devices access a wireless network, the terminal devices access the 2.4GHz frequency band of the AP by default, which may cause an overload of the 2.4GHz frequency band, thereby causing poor network utilization, and the 5GHz frequency band is idle at this time, which also causes a problem of resource waste.
As an example, the AP may operate in at least two frequency bands, and the terminal device may also support two frequency bands, so that before determining at least two channels of a target frequency band supported by the terminal device, a network frequency band supported by the terminal device may be determined, and when the network frequency band supported by the terminal device includes at least two frequency bands, a target frequency band accessible by the terminal device is determined according to a load request of the at least two frequency bands, where the target frequency band is one of the at least two frequency bands.
Taking an example that the at least two frequency bands include a first frequency band and a second frequency band, if the network frequency bands that can be supported by the terminal device include the first frequency band and the second frequency band, the terminal device is a dual-frequency band terminal device, and if the terminal device only supports the first frequency band or the second frequency band, the terminal device is a single-frequency band terminal device. The first frequency band may be 2.4GHz, the second frequency band may be 5GHz, or vice versa, the first frequency band may be 5GHz, and the second frequency band may be 2.4GHz, it should be understood that specific values of the first frequency band and the second frequency band are not limited to the above two manners, and when the AP further operates in other frequency bands, such as 5.8GHz, the AP may also be flexibly set to other frequency band values.
The implementation manner of determining the target frequency band accessible to the terminal device according to the load conditions of the at least two frequency bands may be: obtaining the number of devices accessed under each frequency band, for example, counting the number of devices accessed by each channel under the 2.4GHz frequency band and counting the number of devices accessed by each channel under the 5GHz frequency band, the frequency band with the smaller number of access devices can be used as the target frequency band accessed by the terminal device, for example, if the number of devices accessed by the 5GHz frequency band is greater than the number of devices accessed by the 2.4GHz frequency band, the target frequency band accessible by the terminal device is determined to be the 2.4GHz frequency band, and if the number of devices accessed by the 5GHz frequency band is less than or equal to the number of devices accessed by the 2.4GHz frequency band, the target frequency band accessible by the terminal device is determined to be the 5GHz frequency band.
Because the terminal equipment generally supports the 2.4GHz frequency band, and in a wireless network, the 5GHz frequency band has higher access capacity, generally speaking, the 2.4GHz frequency band can only have 3 non-overlapping communication channels at most, and the 5GHz frequency band can provide more non-overlapping communication channels, therefore, when the terminal equipment is determined to support two frequency bands, the terminal equipment can be directly guided to access the 5GHz frequency band, so as to relieve the problem of congestion of the 2.4GHz frequency band.
In the implementation process, the target frequency band accessed by the terminal device is determined according to the load conditions of the two frequency bands, so that the problem of network congestion of one frequency band can be effectively alleviated, the utilization rate of the network is improved, the resource balance between the two frequency bands can be ensured, the problem that resources of one frequency band are congested and resources of the other frequency band are wasted is avoided, and the utilization rate of network resources and the experience effect of a user are improved.
As an example, in order to accurately obtain a network frequency band supported by a terminal device, in the process of determining a target frequency band supported by the terminal device, it may be determined whether first broadcast detection information sent only by the terminal device through a first frequency band is received, and if so, the network frequency band supported by the terminal device is determined to be the first frequency band; judging whether second broadcast detection information sent by the terminal equipment only through a second frequency band is received, and if so, determining that the network frequency band supported by the terminal equipment is the second frequency band; and judging whether first broadcast detection information sent by the terminal equipment through a first frequency band and second broadcast detection information sent by the terminal equipment through a second frequency band are received, and if so, determining that the network frequency bands supported by the terminal equipment comprise the first frequency band and the second frequency band.
In order to more accurately determine the network frequency band supported by the terminal device, the terminal device may not respond to the broadcast detection information when only receiving the broadcast detection information sent by the terminal device through the first frequency band or the second frequency band within a preset time period, and the terminal device may continuously send the broadcast detection information at different frequency bands when the terminal device supports multiple frequency bands, so that the terminal device may not respond to the broadcast detection information sent by the terminal within the preset time period to determine the frequency band where the broadcast detection information sent by the terminal device is located, and further determine the network frequency band supported by the terminal device.
For example, when the first frequency band is 2.4GHz and the second frequency band is 5GHz, since the terminal devices basically support the 2.4GHz band, in order to alleviate network congestion of the 2.4GHz band, when receiving broadcast Probe information sent by the terminal device for the 2.4GHz band, the terminal device may not respond, and when receiving broadcast Probe information sent by the terminal device for the 5GHz band, directly respond (the Response message is a Probe Response message) to guide the terminal device to directly access the specified channel in the 5GHz band.
As an example, the implementation manner of determining the target frequency band accessible to the terminal device according to the load conditions of the at least two frequency bands may be: and when the load ratio of the first frequency band to the second frequency band is smaller than the preset ratio, determining that the target frequency band accessible to the terminal equipment is the first frequency band.
The load ratio of the first frequency band to the second frequency band can be obtained by the following formula:
Figure BDA0002130276710000191
the method comprises the steps that S is a load ratio of the first frequency band to the second frequency band, M is the number of devices accessed to the first frequency band, N is the total channel number of the first frequency band, X is the number of devices accessed to the second frequency band, and Y is the total channel number of the second frequency band.
Wherein, the preset ratio can be set according to actual requirements.
In the implementation process, the target frequency band accessible to the terminal device can be determined by comparing the load ratio of the first frequency band and the second frequency band with the preset ratio, so that load balance between the first frequency band and the second frequency band can be realized.
In addition, the current terminal device has one 2.4GHz radio frequency and two 5GHz radio frequencies at the same time, that is, the terminal device supports different channels in two frequency bands, the two 5GHz radio frequencies operate in different channels (such as 36 channels and 149 channels), when the terminal device only supports 149 channels but not 36 channels, if the channel supported by the terminal device is not identified in detail, if only the terminal device supports the 5GHz frequency band, the terminal device is guided to the 36 channels, and at this time, the terminal device does not support, and the problem of association failure occurs. Therefore, in the embodiment of the application, not only the frequency band supported by the terminal device is simply identified, but also the frequency band supported by the terminal device can be identified first, then the channel supported by the terminal device is identified, or the channel supported by the terminal device is directly identified, and then the frequency band supported by the terminal device is identified, so that the terminal device can be better compatible with the terminal devices of different manufacturers, and the terminal device can be ensured to be successfully accessed to the wireless network under the condition of considering the load balance among the channels.
As an example, in order to reduce resource occupation of an AP, when a terminal device wants to associate with the AP, the AP identifies a frequency band and a channel supported by the terminal device by the above method, and then the AP generates a record entry for each terminal device, where the record entry records the frequency band and the channel supported by the terminal device and a status parameter, and if the terminal device does not receive any message from the terminal device after disconnecting from the AP, the record entry corresponding to the terminal device is deleted by an aging mechanism after a period of time, so as to ensure that excessive storage resources of the AP are not occupied.
And when the terminal equipment is disconnected after being successfully associated with the AP, the terminal equipment is associated before the record item corresponding to the terminal equipment in the AP is not aged, the relevant information of the terminal equipment in the record item can be directly used for processing, the support capability of the terminal equipment does not need to be identified again, the association speed of the terminal equipment can be further improved, and the user experience is increased to a certain extent.
The method provided by the present application is described in detail below with a specific example.
If the AP operates in two frequency bands, an SSID list maintenance unit is configured in the AP, and when the AP configures the WLAN, the SSID list maintenance unit divides the channel configured with the SSID to operate into 2.4GHz and 54GHz circle sets, as shown in fig. 5. The circle records the working frequency band of the AP and the corresponding channel.
The 2.4G circle set is a channel list of the AP working at the 2.4GHz frequency band, the 5G circle set is a channel list of the AP working at the 5GHz frequency band, and the intersection of the 2.4G circle set and the 5G circle set is that the AP not only works at the 2.4GHz channel but also works at the 5GHz channel.
In order to flexibly adapt to various scenes and meet different requirements, the AP can also provide a parameter configuration processing unit, when the AP works in a thin AP mode, the AP needs to be managed by a wireless controller and supports the wireless controller to issue and configure parameters, when the AP works in a fat AP mode and does not need the management of the wireless controller, the AP can be configured through a configuration command or a configuration page of the fat AP, and when the AP is not configured, a default value is provided.
The parameter configuration processing unit is used for identifying parameters such as duration, preset time interval of reply information, frequent guidance and preset ratio.
The AP is further provided with a state machine and a terminal device maintenance unit, where the state machine is mapped to each terminal device to be associated, that is, when each terminal device is associated, the state machine needs to go once to complete the entire association action. The terminal equipment maintenance unit is mainly used for recording and maintaining the support information and the state information of the identified terminal equipment.
The state machine is provided with the following states, and the working process of the state machine is shown in fig. 6:
1. recognizing the state: in this state, the broadcast probe information sent by the terminal device is mainly analyzed to obtain a channel list supported by the terminal device. The method comprises two sub-states of recognition completion and recognition overtime, wherein the recognition completion refers to the completion of channel support recognition on the terminal equipment, and the recognition overtime refers to the situation that a channel list supported by the terminal equipment is not recognized within the configured recognition duration.
2. A guiding state: when the identification of the terminal equipment is finished or overtime in the identification state, the AP receives the access request information sent by the terminal equipment after obtaining the channel list supported by the terminal equipment, then the AP guides the terminal equipment to actively send the access request information to other information by not responding to the access request information, and if the access request information sent by the terminal equipment through a target channel is received, the AP sends indication information to the terminal equipment to indicate the terminal equipment to access the target channel.
3. Guiding an ultrasonic state: when the terminal equipment enters the state, the access request information sent by the terminal equipment through other channels is directly responded at the stage, and the access behavior of the terminal equipment is not influenced, which indicates that the terminal equipment does not have access to the target channel which the AP wants to access.
4. Unknown state: when the state machine does not operate according to the preset flow or is abnormal, the state machine enters the state, the state directly responds to any information about association sent by the terminal equipment, and the successful access of the terminal equipment is ensured in any way.
In addition, in the pilot state, it is necessary to obtain a pilot target, i.e., a pilot target channel, and in consideration of the diversity of APs, there are two cases:
1. when a wireless network to be associated with a terminal device works on a plurality of channels with the same frequency band and different frequency bands, load calculation between the frequency bands is not needed in the situation, and only the channel with the least load needs to be found. For example, currently, a wireless network operates at two 5GHz radio frequencies, a first 5GHz radio frequency operates at a 149 channel, and a second 5GHz radio frequency operates at a 165 channel, where if the number of devices accessed on the 149 channel is 20 and the number of devices accessed on the 165 channel is 19, it is determined that a target channel to be accessed by a terminal device is 165 channel, and if the number of devices accessed on the 149 channel is the same as that of the devices accessed on the 165 channel, it is determined that the terminal device can access any one of the two channels.
2. When a wireless network to which a terminal device is to be associated works on different channels of a plurality of different frequency bands, a channel set needs to be obtained through the algorithm and the configured parameters, the set is a channel set for guiding the terminal device to access, when the channel to which the terminal device is to access meets any one sub-item in the set, the terminal device meets the access condition, and the parameter setting is as shown in the following table 1:
Figure BDA0002130276710000221
substituting the above formula:
Figure BDA0002130276710000222
s ═ 100% can be obtained ((N2/N2-N1/N1)/(N2/N2)).
And when the S is larger than or equal to S%, selecting a 2.4GHz frequency band as a frequency band accessed by the terminal equipment, and then selecting a target channel to be accessed by the terminal equipment under the 2.4GHz frequency band according to the load condition between the channels.
And when the S is less than S%, selecting a 5GHz frequency band as a frequency band accessed by the terminal equipment, and then selecting a target channel to be accessed by the terminal equipment under the 5GHz frequency band according to the load condition between the channels.
For example, if two 2.4GHz radios and two 5GHz radios exist on the AP device at present, the wireless network operates in the two frequency bands (providing 2.4GHz and 5GHz services), the sum of the devices accessed on the two 2.4GHz radios is 10, and the sum of the devices accessed on the two 5GHz radios is 10, and then since 5GHz transmission data is better than 2.4GHz, the preset ratio may be set to 50%, that is, ideally, the 2.4GHz load and the 5GHz load are 1: 2.
Substituting the above formula to obtain (100-50) × (10/2) >100 × (10/2), if the formula is not satisfied, the terminal device should be guided to access the 5GHz band.
Referring to fig. 7, fig. 7 is a block diagram of an access device 200 according to an embodiment of the present disclosure, which may be a module, a program segment, or code on a wireless access point. It should be understood that the apparatus 200 corresponds to the above-mentioned embodiment of the method of fig. 4, and can perform various steps related to the embodiment of the method of fig. 4, and the specific functions of the apparatus 200 can be referred to the above description, and the detailed description is appropriately omitted here to avoid redundancy.
Optionally, the apparatus 200 comprises:
a channel determining module 210, configured to determine at least two channels of a target frequency band in the at least one frequency band supported by a terminal device to be accessed to a network;
a load balancing module 220, configured to determine, according to load conditions of the at least two channels, a target channel accessible to the terminal device;
an information sending module 230, configured to send indication information to the terminal device, where the indication information is used to indicate that the terminal device accesses a target channel of the target frequency band.
Optionally, the channel determining module 210 is specifically configured to determine that a terminal device to be connected to a network supports at least two channels when target broadcast probe information sent by the terminal device through the at least two channels of the target frequency band is received; and sending first response information aiming at the target broadcast detection information to the terminal equipment through the at least two channels, wherein the first response information is used for indicating that the terminal equipment can access the at least two channels.
Optionally, the first response module is specifically configured to send, to the terminal device, first response information for the target broadcast probe information through the at least two channels according to a preset time interval.
Optionally, the apparatus 200 further comprises:
a request access information obtaining module, configured to receive request access information sent by the terminal device for the target channel, where the request access information is used to request access to the target channel;
the information sending module 230 is specifically configured to send second response information to the terminal device according to the request access information, where the second response information includes the indication information.
Optionally, the apparatus 200 further comprises:
an access module, configured to determine whether to receive access request information of the terminal device through another channel of the at least two channels except the target channel if it is not detected that the terminal device accesses the target channel; and if so, controlling the terminal equipment to access the other channels.
Optionally, the load balancing module 220 is specifically configured to obtain the number of devices accessed to each channel; determining the load condition of each channel according to the number of the devices accessed to each channel; and taking the channel with the minimum load as a target channel which can be accessed by the terminal equipment.
Optionally, the at least one frequency band includes at least two frequency bands, and the apparatus 200 further includes:
a frequency band determining module, configured to determine a network frequency band supported by the terminal device; and when the network frequency bands supported by the terminal equipment comprise the at least two frequency bands, determining a target frequency band accessible to the terminal equipment according to the load conditions of the at least two frequency bands, wherein the target frequency band is one of the at least two frequency bands.
Optionally, the at least two frequency bands include a first frequency band and a second frequency band, and the frequency band determining module is further configured to:
if first broadcast detection information which is only sent by the terminal equipment through the first frequency band is received, determining that the network frequency band supported by the terminal equipment is the first frequency band;
if second broadcast detection information which is only sent by the terminal equipment through the second frequency band is received, determining that the network frequency band supported by the terminal equipment is the second frequency band;
and if first broadcast detection information sent by the terminal equipment through the first frequency band and second broadcast detection information aiming at the second frequency band are received, determining that the network frequency bands supported by the terminal equipment comprise the first frequency band and the second frequency band.
Optionally, the frequency band determining module is further configured to:
when the load ratio of the first frequency band to the second frequency band is greater than or equal to a preset ratio, determining that a target frequency band accessible to the terminal equipment is the second frequency band;
and when the load ratio of the first frequency band to the second frequency band is smaller than the preset ratio, determining that a target frequency band accessible to the terminal equipment is the first frequency band.
Optionally, the load ratio of the first frequency band to the second frequency band is obtained by calculating according to the following formula:
Figure BDA0002130276710000251
the method comprises the steps that S is a load ratio of the first frequency band to the second frequency band, M is the number of devices accessed to the first frequency band, N is the total channel number of the first frequency band, X is the number of devices accessed to the second frequency band, and Y is the total channel number of the second frequency band.
Embodiments of the present application provide a readable storage medium, and when being executed by a processor, the computer program performs the method processes performed by the wireless access point in the method embodiment shown in fig. 4.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method, and will not be described in too much detail herein.
In summary, the present application provides an access method, an access apparatus, a wireless access point, and a readable storage medium, where the method determines a target channel accessible to a terminal device according to load conditions of at least two channels supported by the terminal device, and then instructs the terminal device to access the target channel, so that load balancing between channels can be implemented, channel resources are fully utilized, and the terminal device can access each channel according to the load conditions of the channels, thereby effectively avoiding a problem of network congestion caused by channel congestion.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as independent products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (11)

1. An access method for providing a wireless access point of a wireless network, the wireless access point operating in at least one frequency band, each frequency band being configured with a plurality of channels, the method comprising:
determining at least two channels of a target frequency band in the at least one frequency band supported by a terminal device to be accessed into a network;
determining a target channel accessible to the terminal device according to the load conditions of the at least two channels;
sending indication information to the terminal equipment, wherein the indication information is used for indicating the terminal equipment to access a target channel of the target frequency band;
wherein, the determining at least two channels of a target frequency band in the at least one frequency band supported by the terminal device to be accessed to the network includes:
under the condition of receiving target broadcast detection information sent by terminal equipment through at least two channels of the target frequency band, determining that the terminal equipment to be accessed into the network supports the at least two channels;
and sending first response information aiming at the target broadcast detection information to the terminal equipment through the at least two channels, wherein the first response information is used for indicating that the terminal equipment can access the at least two channels.
2. The method of claim 1, wherein sending first response information for the target broadcast probe information to the terminal device via the at least two channels comprises:
and sending first response information aiming at the target broadcast detection information to the terminal equipment through the at least two channels according to a preset time interval.
3. The method of claim 1, wherein after determining the target channel accessible to the terminal device according to the load conditions of the at least two channels and before sending the indication information to the terminal device, further comprising:
receiving request access information sent by the terminal equipment aiming at the target channel, wherein the request access information is used for requesting to access the target channel;
the sending of the indication information to the terminal device includes:
and sending second response information to the terminal equipment according to the request access information, wherein the second response information comprises the indication information.
4. The method of claim 1, wherein after sending the indication information to the terminal device, further comprising:
if the terminal equipment is not detected to be accessed to the target channel, determining whether request access information of the terminal equipment through other channels except the target channel in the at least two channels is received;
and if so, controlling the terminal equipment to access the other channels.
5. The method according to any of claims 1-4, wherein the at least one frequency band comprises at least two frequency bands, and before the determining at least two channels of a target frequency band of the at least one frequency band supported by a terminal device to access a network, the method further comprises:
determining a network frequency band supported by the terminal equipment;
and when the network frequency bands supported by the terminal equipment comprise the at least two frequency bands, determining a target frequency band accessible to the terminal equipment according to the load conditions of the at least two frequency bands, wherein the target frequency band is one of the at least two frequency bands.
6. The method of claim 5, wherein the at least two frequency bands comprise a first frequency band and a second frequency band, and wherein the determining the network frequency bands supported by the terminal device comprises:
if first broadcast detection information which is only sent by the terminal equipment through the first frequency band is received, determining that the network frequency band supported by the terminal equipment is the first frequency band;
if second broadcast detection information which is only sent by the terminal equipment through the second frequency band is received, determining that the network frequency band supported by the terminal equipment is the second frequency band;
and if first broadcast detection information sent by the terminal equipment through the first frequency band and second broadcast detection information aiming at the second frequency band are received, determining that the network frequency bands supported by the terminal equipment comprise the first frequency band and the second frequency band.
7. The method of claim 6, wherein the determining a target frequency band accessible to the terminal device according to the load conditions of the at least two frequency bands comprises:
when the load ratio of the first frequency band to the second frequency band is greater than or equal to a preset ratio, determining that a target frequency band accessible to the terminal equipment is the second frequency band;
and when the load ratio of the first frequency band to the second frequency band is smaller than the preset ratio, determining that a target frequency band accessible to the terminal equipment is the first frequency band.
8. The method of claim 7, wherein the load ratio of the first frequency band to the second frequency band is calculated by the following formula:
Figure FDA0003364915120000031
the method comprises the steps that S is a load ratio of the first frequency band to the second frequency band, M is the number of devices accessed to the first frequency band, N is the total channel number of the first frequency band, X is the number of devices accessed to the second frequency band, and Y is the total channel number of the second frequency band.
9. An access device operable to provide a wireless access point of a wireless network, the wireless access point operating in at least one frequency band, each frequency band being configured with a plurality of channels, the device comprising:
a channel determination module, configured to determine at least two channels of a target frequency band in the at least one frequency band supported by a terminal device to be accessed to a network;
the load balancing module is used for determining a target channel which can be accessed by the terminal equipment according to the load conditions of the at least two channels;
an information sending module, configured to send indication information to the terminal device, where the indication information is used to indicate that the terminal device accesses a target channel of the target frequency band;
the channel determination module is specifically configured to determine that a terminal device to be connected to a network supports at least two channels of the target frequency band when target broadcast probe information sent by the terminal device through the at least two channels is received; and sending first response information aiming at the target broadcast detection information to the terminal equipment through the at least two channels, wherein the first response information is used for indicating that the terminal equipment can access the at least two channels.
10. A wireless access point comprising a processor and a memory, the memory storing computer readable instructions which, when executed by the processor, perform the steps of the method of any one of claims 1 to 8.
11. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN201910638087.8A 2019-07-15 2019-07-15 Access method, device, wireless access point and readable storage medium Active CN110177384B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910638087.8A CN110177384B (en) 2019-07-15 2019-07-15 Access method, device, wireless access point and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910638087.8A CN110177384B (en) 2019-07-15 2019-07-15 Access method, device, wireless access point and readable storage medium

Publications (2)

Publication Number Publication Date
CN110177384A CN110177384A (en) 2019-08-27
CN110177384B true CN110177384B (en) 2022-02-22

Family

ID=67700044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910638087.8A Active CN110177384B (en) 2019-07-15 2019-07-15 Access method, device, wireless access point and readable storage medium

Country Status (1)

Country Link
CN (1) CN110177384B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188580B (en) * 2020-09-24 2023-05-30 北京自如信息科技有限公司 Frequency band switching method and device, AP and storage medium
CN112533184A (en) * 2020-10-22 2021-03-19 智享众联科技有限公司 Equipment connection method and device
CN112636791B (en) * 2020-12-14 2023-06-27 努比亚技术有限公司 Electronic price tag communication method, electronic price tag communication device and computer readable storage medium
CN114245439B (en) * 2021-11-05 2024-05-17 广西电网有限责任公司南宁供电局 Wireless communication method, device, system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686938A (en) * 2012-09-26 2014-03-26 中国移动通信集团上海有限公司 Method, device and system for determining load state of access point (AP)
CN104093190A (en) * 2014-06-16 2014-10-08 北京奇天揽胜科技有限公司 Terminal access method and access system for WLAN system
CN105025525A (en) * 2015-07-22 2015-11-04 中国科学院计算技术研究所 Channel load balancing system and method for multi-channel wireless local area network
CN105979572A (en) * 2016-06-30 2016-09-28 上海斐讯数据通信技术有限公司 Method of selecting network access device and network terminal
CN106550425A (en) * 2015-09-16 2017-03-29 中兴通讯股份有限公司 Wireless access device and its load management method, terminal and cut-in method, system
EP3457756A4 (en) * 2016-05-31 2019-03-20 Huawei Technologies Co., Ltd. Access point switching method and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060142021A1 (en) * 2004-12-29 2006-06-29 Lucent Technologies, Inc. Load balancing on shared wireless channels

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686938A (en) * 2012-09-26 2014-03-26 中国移动通信集团上海有限公司 Method, device and system for determining load state of access point (AP)
CN104093190A (en) * 2014-06-16 2014-10-08 北京奇天揽胜科技有限公司 Terminal access method and access system for WLAN system
CN105025525A (en) * 2015-07-22 2015-11-04 中国科学院计算技术研究所 Channel load balancing system and method for multi-channel wireless local area network
CN106550425A (en) * 2015-09-16 2017-03-29 中兴通讯股份有限公司 Wireless access device and its load management method, terminal and cut-in method, system
EP3457756A4 (en) * 2016-05-31 2019-03-20 Huawei Technologies Co., Ltd. Access point switching method and terminal device
CN105979572A (en) * 2016-06-30 2016-09-28 上海斐讯数据通信技术有限公司 Method of selecting network access device and network terminal

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
DTR/AT-000002-03.Technical Report Access and Terminals (AT) *
Listing of the most relevant features and functionalities *
Part 3: ISDN terminals.《ETSI TR 101 973-3》.2003, *
Public Switched Telephone Network *
Support of legacy terminals by BroadBand IP equipment *
无线网络负载均衡技术浅析;于桂宾;《电脑知识与技术》;20080123(第02期);全文 *

Also Published As

Publication number Publication date
CN110177384A (en) 2019-08-27

Similar Documents

Publication Publication Date Title
CN110177384B (en) Access method, device, wireless access point and readable storage medium
US11696207B2 (en) Data transmission method, electronic device, and computer readable storage medium
US9843963B2 (en) Load balance method and relevant apparatuses
TWI461075B (en) Methods of optimizing scanning parameters for a plurality of channels in a wireless band
US11218945B2 (en) Access control method, terminal, and access network device
US20210306381A1 (en) Method and Apparatus for Determining Security Protection Mode
EP2966932B1 (en) Wireless fidelity wi-fi access method for user equipment and wi-fi access node
CN110622565A (en) Access class and establishment cause
USRE49809E1 (en) System and method for wifi authentication and selection
US7865193B2 (en) Communication apparatus capable of performing a load balancing and method thereof
CN105122896A (en) Access network discovery and selection
JP6249305B2 (en) Radio bearer control method, device, and system
US20220312517A1 (en) D2d communication method, apparatus, and system
CN110461023B (en) Cell residence method and device for voice service, storage medium and main base station
CN107959954A (en) A kind of wireless communications method and terminal device
KR20120070488A (en) Method for controlling access point and apparatus for the same
EP3567927B1 (en) Access method, and terminal
US20210006988A1 (en) Methods and apparatus for using wireless base station antennas to support macro base station mimo communications with user equipment devices
US20070133453A1 (en) System and method for management of a wireless environment
JP2022543228A (en) User equipment involved in performing random access procedures
EP4142424A1 (en) Method for data transmission in multi-connection network, network device and system
US10897783B2 (en) User apparatus and indication method for VoLTE communication
CN113133066A (en) Switching method and network equipment
CN113747421B (en) Method, equipment and system for controlling terminal regression under mobile network sharing mechanism
JP6645665B1 (en) Communication system, access point, wireless LAN terminal, communication control method, and communication control program

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