CN107148035B - Frequency band selection method and device and wireless equipment - Google Patents

Frequency band selection method and device and wireless equipment Download PDF

Info

Publication number
CN107148035B
CN107148035B CN201710382358.9A CN201710382358A CN107148035B CN 107148035 B CN107148035 B CN 107148035B CN 201710382358 A CN201710382358 A CN 201710382358A CN 107148035 B CN107148035 B CN 107148035B
Authority
CN
China
Prior art keywords
frequency band
frequency bands
wireless terminal
candidate
overloaded
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
CN201710382358.9A
Other languages
Chinese (zh)
Other versions
CN107148035A (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.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies 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 TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201710382358.9A priority Critical patent/CN107148035B/en
Publication of CN107148035A publication Critical patent/CN107148035A/en
Application granted granted Critical
Publication of CN107148035B publication Critical patent/CN107148035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

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

Abstract

The invention belongs to the technical field of communication, and provides frequency band selection methods, devices and wireless equipment, which are applied to wireless equipment, wherein the wireless equipment provides at least two frequency bands, service set identifications of the at least two frequency bands are the same, the method comprises the steps that the wireless equipment judges whether the at least two frequency bands are overloaded or not in the process of associating the wireless terminal to the wireless equipment, the wireless equipment determines candidate frequency bands according to the overload conditions of the at least two frequency bands, and enables the wireless terminal to be associated to the candidate frequency bands or any frequency band in the candidate frequency bands.

Description

Frequency band selection method and device and wireless equipment
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a frequency band selection method, a frequency band selection device and wireless equipment.
Background
The selection of frequency bands in wireless roaming communication is very important for commercial users and mobile communication operators.
However, the method for selecting a frequency band provided by the prior art has the following problems in the process of associating the wireless terminal to the wireless device:
1. the whole association process is dominated by the wireless terminal, so that the problems of easy disconnection, delayed response, incapability of dynamically adapting to a wireless environment and the like exist;
2. additional actions are required by the user of the wireless terminal or the administrator of the wireless device and thus automatic roaming cannot be achieved.
Therefore, the frequency band selection method provided by the prior art is poor in user experience, and new technical solutions are necessary to solve the above technical problems.
Disclosure of Invention
In view of this, embodiments of the present invention provide frequency band selection methods, apparatuses, and wireless devices, so as to solve the problem of poor user experience in the frequency band selection method provided in the prior art.
In an aspect of the present invention, there are provided frequency band selection methods, which are applied to a wireless device, where the wireless device provides at least two frequency bands, and service set identifiers of the at least two frequency bands are the same, and the method includes:
in the process that the wireless terminal associates the wireless equipment, the wireless equipment judges whether the at least two frequency bands are overloaded or not;
and the wireless equipment determines candidate frequency bands according to the overload conditions of the at least two frequency bands, and enables the wireless terminal to be associated to the candidate frequency bands or any frequency bands in the candidate frequency bands.
, the determining, by the wireless device, a candidate frequency band according to the overload condition of the at least two frequency bands, and associating the wireless terminal to the candidate frequency band or any frequency band of the candidate frequency bands comprises:
if some frequency bands are overloaded and th frequency bands exist in the non-overloaded frequency bands, the wireless device selects th frequency band as a candidate frequency band, so that the wireless terminal is associated to the candidate frequency band;
if some frequency bands are overloaded and the th frequency band does not exist in the non-overloaded frequency bands, the wireless device selects all the non-overloaded frequency bands as candidate frequency bands and enables the wireless terminal to be associated to any frequency band in the candidate frequency bands;
if all the frequency bands are overloaded, the wireless equipment selects all the frequency bands as candidate frequency bands, and the wireless terminal is associated to any frequency bands in the candidate frequency bands;
if no frequency band is overloaded and the th frequency band exists in the non-overloaded frequency band, the wireless device selects the th frequency band as a candidate frequency band and associates the wireless terminal to the candidate frequency band;
if no frequency band is overloaded and no th frequency band exists in the non-overloaded frequency band, the wireless device selects all the non-overloaded frequency bands as candidate frequency bands and makes the wireless terminal be associated to any frequency band in the candidate frequency bands;
the th frequency band is a frequency band with the largest bandwidth and the smallest interference in the non-overload frequency band, and the non-overload frequency band is a frequency band without overload.
, after the time receives the probe request frame sent by the wireless terminal, the wireless device determines a candidate frequency band according to the overload conditions of the at least two frequency bands, and after the wireless device determines the candidate frequency band according to the overload conditions of the at least two frequency bands, the method further includes:
in the non-candidate frequency band, the wireless device adds the wireless terminal to a blacklist.
Further , prior to said associating the wireless terminal to the candidate frequency band or to any of the candidate frequency bands, further comprising:
the wireless equipment receives an authentication frame sent by the wireless terminal;
the wireless equipment judges whether the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency band according to the authentication frame;
associating the wireless terminal to the candidate frequency band or to any frequency band of the candidate frequency bands if the wireless terminal supports the candidate frequency band or supports any frequency bands of the candidate frequency bands.
Further , after the wireless device determines whether the wireless terminal supports the candidate frequency band or supports any frequency band of the candidate frequency band according to the authentication frame, the method further includes:
if the wireless terminal does not support the candidate frequency band or any frequency band in the candidate frequency band, sending an authentication frame reply to the wireless terminal and removing the wireless terminal from the blacklist, wherein a status flag in the authentication frame reply carries rejection information;
after receiving the retry authentication frame sent by the wireless terminal, the wireless device establishes association with the wireless terminal on the non-candidate frequency band.
A second aspect of the embodiments of the present invention provides an frequency band selection apparatus, which is applied to a wireless device, where the wireless device provides at least two frequency bands, and service set identifiers of the at least two frequency bands are the same, and the apparatus includes:
the overload judging module is used for judging whether the at least two frequency bands are overloaded or not in the process of associating the wireless terminal to the wireless equipment;
and the association module is used for determining candidate frequency bands according to the overload conditions of the at least two frequency bands and enabling the wireless terminal to be associated to the candidate frequency bands or any frequency bands in the candidate frequency bands.
Further , the association module includes:
an th association unit, configured to select a th frequency band as a candidate frequency band if a part of frequency bands are overloaded and a th frequency band exists in a non-overloaded frequency band, so that the wireless terminal is associated with the candidate frequency band;
a second associating unit, configured to select all non-overloaded frequency bands as candidate frequency bands and associate the wireless terminal to any frequency band of the candidate frequency bands if some frequency bands are overloaded and no -th frequency band exists in non-overloaded frequency bands;
a third associating unit, configured to select all frequency bands as candidate frequency bands if all frequency bands are overloaded, and associate the wireless terminal to any frequency bands of the candidate frequency bands;
a fourth associating unit, configured to select a frequency band as a candidate frequency band if no frequency band is overloaded and a th frequency band exists in a non-overloaded frequency band, and associate the wireless terminal to the candidate frequency band;
a fifth associating unit, configured to select all non-overloaded frequency bands as candidate frequency bands and associate the wireless terminal to any frequency band of the candidate frequency bands if no frequency band is overloaded and no -th frequency band exists in non-overloaded frequency bands;
the th frequency band is a frequency band with the largest bandwidth and the smallest interference in the non-overload frequency band, and the non-overload frequency band is a frequency band without overload.
, after the th time of receiving the probe request frame sent by the wireless terminal, the association module determines candidate bands according to the overload conditions of the at least two bands, and the association module further includes:
and the blacklist adding unit is used for adding the wireless terminal into the blacklist in the non-candidate frequency band.
Further , the association module further comprises:
an authentication frame receiving unit for receiving an authentication frame transmitted by a wireless terminal;
and the support judging unit is used for judging whether the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency bands according to the authentication frame, and if the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency bands, the wireless terminal is associated to the candidate frequency band or any frequency bands in the candidate frequency bands.
Further , the association module further comprises:
and the blacklist processing unit is used for sending an authentication frame reply to the wireless terminal and removing the wireless terminal from the blacklist if the wireless terminal does not support the candidate frequency band or any frequency band in the candidate frequency band, establishing association with the wireless terminal on a non-candidate frequency band after receiving a retry authentication frame sent by the wireless terminal, and enabling a state mark in the authentication frame reply to carry rejection information.
A third aspect of embodiments of the present invention provides wireless devices, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method of any of of when executing the computer program.
A third aspect of embodiments of the present invention provides computer readable storage media storing a computer program that, when executed by a processor, performs the steps of the method of any of of aspect .
Compared with the prior art, the method has the advantages that the wireless equipment provides at least two frequency bands, service set identifiers of the at least two frequency bands are the same, when the frequency band selection is carried out in the process of realizing wireless roaming, the wireless equipment judges whether the at least two frequency bands are overloaded or not, determines a candidate frequency band according to the overload condition of the at least two frequency bands, and then enables the wireless terminal to be associated to the candidate frequency band or any frequency band in the candidate frequency band, the frequency band selection process is totally dominated by the wireless equipment, compared with a frequency band selection mode dominated by the wireless terminal, the method has no problems of easy disconnection, reaction lag, incapability of dynamically adapting to a wireless environment and the like, does not need additional actions of a user of the wireless terminal or a manager of the wireless equipment, can realize automatic roaming, and greatly improves user experience.
Drawings
To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings according to these drawings without any creative effort.
Fig. 1 is a schematic flow chart of a method for selecting a frequency band according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a device for selecting a frequency band according to a second embodiment of the present invention;
fig. 3 is a schematic block diagram of a wireless device provided in a third embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, a schematic flowchart of a method for selecting a frequency band provided in embodiment , where the method is applied to a wireless device, the wireless device provides at least two frequency bands, service set identifiers of the at least two frequency bands are the same, and the wireless device is a wireless router or a wireless access point, and as shown in the figure, the method may include the following steps:
step S101, in the process that the wireless terminal associates the wireless device, the wireless device judges whether the at least two frequency bands are overloaded.
In embodiments of the present invention, a wireless device may provide two or more frequency bands. In the embodiment of the invention, the two frequency bands provided by the wireless device are a 2.4 frequency band and a 5G frequency band respectively. Wherein the 5G Band can be 5G Band1 or 5GBand 4. Specifically, the 2.4G Band is 2.4GHz-2.4835GHz, the 5G Band1 is 5.15GHz-5.25GHz, and the 5GBand4 is 5.725GHz-5.825 GHz.
In the process of associating the wireless terminal with the wireless device, the wireless device may first obtain the number of the associated wireless terminals in each frequency band or a Clear Channel Access (Clear Channel Access) value of the Channel available time of each frequency band, and then determine whether each frequency band is overloaded according to the number of the associated wireless terminals in each frequency band or the Clear Channel Access value of the Channel available time of each frequency band.
For example, if the number of wireless terminals associated with a certain frequency band reaches 60% of the maximum amount of band drivers or the CCA value of the frequency band indicates that the channel availability time is less than 30%, the frequency band may be considered to be overloaded.
Step S102, the wireless device determines a candidate frequency band according to the overload conditions of the at least two frequency bands, and associates the wireless terminal to the candidate frequency band or any frequency band of the candidate frequency bands.
In the embodiment of the present invention, if the overload conditions of at least two frequency bands provided by the wireless device include the following three conditions: some of the frequency bands are overloaded, all of the frequency bands are overloaded and none of the frequency bands are overloaded.
After determining the overload conditions of the at least two frequency bands, the wireless device may determine a candidate frequency band according to the overload conditions of the at least two frequency bands, and associate the wireless terminal to the candidate frequency band or any frequency band of the candidate frequency bands.
Specifically, the determining, by the wireless device, a candidate frequency band according to the overload conditions of the at least two frequency bands, and associating the wireless terminal to the candidate frequency band or to any frequency band of the candidate frequency bands includes:
if some frequency bands are overloaded and th frequency bands exist in the non-overloaded frequency bands, the wireless device selects th frequency band as a candidate frequency band, so that the wireless terminal is associated to the candidate frequency band;
if some frequency bands are overloaded and the th frequency band does not exist in the non-overloaded frequency bands, the wireless device selects all the non-overloaded frequency bands as candidate frequency bands and enables the wireless terminal to be associated to any frequency band in the candidate frequency bands;
if all the frequency bands are overloaded, the wireless equipment selects all the frequency bands as candidate frequency bands, and the wireless terminal is associated to any frequency bands in the candidate frequency bands;
if no frequency band is overloaded and the th frequency band exists in the non-overloaded frequency band, the wireless device preferentially selects the th frequency band as a candidate frequency band and associates the wireless terminal to the candidate frequency band;
if no frequency band is overloaded and no th frequency band exists in the non-overloaded frequency band, the wireless device selects all the non-overloaded frequency bands as candidate frequency bands and makes the wireless terminal be associated to any frequency band in the candidate frequency bands;
the th frequency band is a frequency band with the largest bandwidth and the smallest interference in the non-overload frequency band, and the non-overload frequency band is a frequency band without overload.
Preferably, after the th time receives the probe request frame sent by the wireless terminal, the wireless device determines a candidate frequency band according to the overload conditions of the at least two frequency bands, and adds the wireless terminal into a blacklist in a non-candidate frequency band.
Before the associating the wireless terminal to the candidate frequency band or any frequency band of the candidate frequency bands, the method further includes the following steps:
the wireless equipment receives an authentication frame sent by the wireless terminal;
the wireless equipment judges whether the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency band according to the authentication frame;
associating the wireless terminal to the candidate frequency band or to any frequency band of the candidate frequency bands if the wireless terminal supports the candidate frequency band or supports any frequency bands of the candidate frequency bands.
Specifically, if the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency band, the wireless device replies an authentication frame sent by the wireless terminal, after receiving the reply of the wireless device, the wireless terminal sends an association request to the wireless device, the wireless device replies an association response to the wireless terminal, and the wireless terminal establishes association with the wireless terminal on the corresponding frequency band.
Preferably, after the wireless device determines whether the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency band according to the authentication frame, the method further includes the following steps:
step 1, if the wireless terminal does not support the candidate frequency band or any frequency band in the candidate frequency band, the wireless device sends an authentication frame reply to the wireless terminal and removes the wireless terminal from the blacklist, and a status flag in the authentication frame reply carries rejection information.
Specifically, the authentication frame reply includes a status flag field, and if the wireless terminal does not support the candidate frequency band or does not support any frequency bands in the candidate frequency band, the information carried by the status field in the authentication frame reply is "reject" instead of "success".
And step 2, after receiving the retry authentication frame sent by the wireless terminal, the wireless device establishes association with the wireless terminal on the non-candidate frequency band.
Through the steps, the blacklist of the wireless device can be only validated times, namely, in a non-candidate frequency band, the wireless device only rejects times of association of the wireless terminal, and after the association of the wireless terminal is rejected, the wireless terminal is removed from the blacklist, and the wireless terminal can be successfully associated with the wireless device in the non-candidate frequency band for the second time.
The wireless terminal retries the associated action and automatically completes the action without any action and configuration of the wireless terminal user. The software driver of the wireless terminal is responsible for completing all retry actions, the retry actions belong to the standard regulation of the IEEE802.11 wireless network, and the wireless terminal can automatically send an authentication frame to the wireless equipment to establish association with the corresponding frequency band of the wireless equipment.
The wireless terminal sends a plurality of probe request frames to the wireless device during scanning and association, and the wireless terminal sends the probe request frames to the wireless device first and then sends an authentication frame during association.
In the embodiment of the invention, after the detection request frame is received for times, the wireless terminal is added into the blacklist in the non-candidate frequency band by the wireless equipment, because in the scanning process, no other subsequent actions are carried out after the detection request frame, the blacklist is removed after overtime, the behavior of the wireless terminal is not influenced, and in the association, the authentication frame is followed after the detection request frame, at the moment, the blacklist plays a role in preventing the association, the association of the wireless terminal to the non-candidate frequency band can be refused, and the association of the wireless terminal to the candidate frequency band is forced.
In addition, the blacklist is established times when the probe request frame sent by the wireless terminal is received, and the blacklist is only validated times, so that the recording of the information of the wireless terminal can be avoided.
In addition, the blacklist only takes effect for times, so that the problem that the wireless terminal and the wireless device cannot be associated finally due to the fact that the wireless terminal does not support the candidate frequency band selected by the wireless device and is directly associated with the frequency band of the blacklist can be avoided.
For example, suppose that the terminal sends a probe request frame in frequency bands of 2.4G or 5G Band4, and suppose that the wireless device selects a 5G Band1 frequency Band as a candidate frequency Band for the wireless terminal to associate with, at this time, the wireless device establishes blacklists on 2.4G and 5GBand4, if the blacklist is valid, the wireless terminal does not associate with the candidate frequency Band, so the blacklist only takes effect times, and thus the wireless terminal retries after association failure in th time, and then association succeeds in the second time, so the wireless terminal can always associate with the wireless device without recording information of the wireless terminal.
Examples are as follows:
if the wireless device supports the 2.4G frequency band and the 5G frequency band, the wireless device judges whether the 2.4G frequency band and the 5G frequency band are overloaded or not, and if the 2.4G frequency band and the 5G frequency band are not overloaded, all the frequency bands are non-overloaded frequency bands. Wherein, the 5G frequency band is the frequency band with the largest bandwidth and the smallest interference in the two frequency bands, the wireless device selects the 5G frequency band as a candidate frequency band, and associates the wireless terminal to the 5G frequency band, and adds the wireless terminal into the blacklist in the rest frequency bands, for example, in the 2.4G frequency band.
If the wireless equipment supports the 2.4G frequency band, the wireless equipment judges whether the 2.4G frequency band is overloaded or not, if the 2.4G frequency band is not overloaded, namely all the frequency bands are non-overloaded frequency bands, the wireless equipment selects the 2.4G frequency band as a candidate frequency band, and the wireless terminal is associated to the 2.4G frequency band;
if the wireless equipment supports the 5G frequency band, the wireless equipment judges whether the 5G frequency band is overloaded or not, if the 5G frequency band is not overloaded, namely all the frequency bands are non-overloaded frequency bands, the wireless equipment selects the 5G frequency band as a candidate frequency band, and the wireless terminal is associated to the 5G frequency band;
if the wireless device supports the 2.4G frequency band and the 5G frequency band, if the 5G frequency band is not overloaded and the 2.4G frequency band is overloaded, the wireless device selects the 5G frequency band as a candidate frequency band, and makes the wireless terminal be associated to the 5G frequency band, and adds the wireless terminal into a blacklist in other frequency bands, such as the 2.4G frequency band;
if the wireless device supports the 2.4G frequency band and the 5G frequency band, if the 2.4G frequency band is not overloaded and the 5G frequency band is overloaded, the wireless device selects the 2.4G frequency band as a candidate frequency band, and makes the wireless terminal be associated to the 2.4G frequency band, and adds the wireless terminal into a blacklist in other frequency bands, such as the 5G frequency band;
if the wireless device supports the 2.4G frequency band and the 5G frequency band, and the 2.4G frequency band and the 5G frequency band are overloaded, the wireless device selects the 2.4G frequency band and the 5G frequency band as candidate frequency bands, and the wireless terminal is associated to the 2.4G frequency band or the 5G frequency band, and can freely access all the frequency bands supported by the wireless device.
If the wireless terminal is a single frequency terminal, only 2.4G is supported, and 5G is not supported, then the wireless device provides dual-frequency 2.4G and 5G. The wireless terminal sends a detection request frame to the wireless equipment, the wireless equipment determines that the candidate frequency band is 5G after receiving the detection request frame, and the wireless terminal is added into a blacklist in a non-candidate frequency band of 2.4G, so that the wireless terminal is encouraged to be preferentially associated with 5G. After the wireless terminal sends the authentication frame to the wireless device in the 2.4G frequency band, at the moment, the blacklist takes effect, the wireless device does not send the authentication frame to reply to the wireless terminal, the association of the single-frequency wireless terminal in the 2.4G is prevented, then the blacklist is released, and the wireless terminal is removed from the blacklist. Since the single-frequency wireless terminal only supports 2.4G, the wireless terminal retransmits the authentication frame to the wireless device at 2.4G, and at this time, since the blacklist is released, the wireless terminal is successfully associated with the wireless device at the 2.4G frequency band.
If the wireless terminal is a dual band terminal, supporting both 2.4G and 5G, the wireless device provides 2.4G and 5G. The wireless terminal can send the detection request frame in the 2.4G frequency band or the 5G frequency band, after the wireless device receives the detection request frame, the candidate frequency band is determined to be 5G, and the wireless terminal is added into a blacklist in the non-candidate frequency band of 2.4G, so that the wireless terminal is encouraged to be preferentially associated with 5G. If the wireless terminal sends the authentication frame to the wireless device in the 5G frequency band, the wireless terminal will successfully associate with the wireless device in the 5G frequency band. If the wireless terminal sends the 2.4G authentication frame to the wireless device, at this time, the blacklist takes effect, the wireless device does not send the 2.4G authentication frame to reply to the wireless terminal, the blacklist is then removed after the association of the dual-frequency wireless terminal with the 2.4G is prevented, and the wireless terminal is removed from the blacklist. Subsequently, the wireless terminal will continue to send the probe request frame and the authentication frame in the 5G frequency band to try to associate, so that association is successful, and the purpose of wireless roaming is achieved.
The wireless device of the embodiment of the invention provides at least two frequency bands, service set identifiers of the at least two frequency bands are the same, in the process of realizing wireless roaming, the wireless device judges whether the at least two frequency bands are overloaded or not, determines a candidate frequency band according to the overload condition of the at least two frequency bands, and then enables the wireless terminal to be associated to the candidate frequency band or any frequency band in the candidate frequency band.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 2, a schematic block diagram of a device for selecting a frequency band according to a second embodiment of the present invention is shown, and for convenience of description, only the relevant portions of the embodiment of the present invention are shown.
The device 2 for selecting frequency bands is applied to a wireless device, the wireless device provides at least two frequency bands, service set identifiers of the at least two frequency bands are the same, and the device 2 for selecting frequency bands includes: overload determination module 21 and association module 22.
The overload judging module 21 is configured to judge whether the at least two frequency bands are overloaded in a process of associating the wireless terminal with the wireless device;
and the associating module 22 is configured to determine a candidate frequency band according to the overload conditions of the at least two frequency bands, and associate the wireless terminal to the candidate frequency band or any frequency band of the candidate frequency bands.
, the association module 22 includes:
an th association unit, configured to select a th frequency band as a candidate frequency band if a part of frequency bands are overloaded and a th frequency band exists in a non-overloaded frequency band, so that the wireless terminal is associated with the candidate frequency band;
a second associating unit, configured to select all non-overloaded frequency bands as candidate frequency bands and associate the wireless terminal to any frequency band of the candidate frequency bands if some frequency bands are overloaded and no -th frequency band exists in non-overloaded frequency bands;
a third associating unit, configured to select all frequency bands as candidate frequency bands if all frequency bands are overloaded, and associate the wireless terminal to any frequency bands of the candidate frequency bands;
a fourth associating unit, configured to select a frequency band as a candidate frequency band if no frequency band is overloaded and a th frequency band exists in a non-overloaded frequency band, and associate the wireless terminal to the candidate frequency band;
a fifth associating unit, configured to select all non-overloaded frequency bands as candidate frequency bands and associate the wireless terminal to any frequency band of the candidate frequency bands if no frequency band is overloaded and no -th frequency band exists in non-overloaded frequency bands;
the th frequency band is a frequency band with the largest bandwidth and the smallest interference in the non-overload frequency band, and the non-overload frequency band is a frequency band without overload.
, after the time receives the probe request frame sent by the wireless terminal, the association module 22 determines candidate bands according to the overload situations of the at least two bands, and the association module 22 further includes:
and the blacklist adding unit is used for adding the wireless terminal into the blacklist in the non-candidate frequency band.
, the association module 22 further comprises:
an authentication frame receiving unit for receiving an authentication frame transmitted by a wireless terminal;
and the support judging unit is used for judging whether the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency bands according to the authentication frame, and if the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency bands, the wireless terminal is associated to the candidate frequency band or any frequency bands in the candidate frequency bands.
, the association module 22 further comprises:
and the blacklist processing unit is used for sending an authentication frame reply to the wireless terminal and removing the wireless terminal from the blacklist if the wireless terminal does not support the candidate frequency band or any frequency band in the candidate frequency band, establishing association with the wireless terminal on a non-candidate frequency band after receiving a retry authentication frame sent by the wireless terminal, and enabling a state mark in the authentication frame reply to carry rejection information.
Fig. 3 is a schematic block diagram of a wireless device provided in a third embodiment of the present invention. As shown in fig. 3, the wireless device 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32, such as a program of a method of frequency band selection, stored in said memory 31 and executable on said processor 30. The processor 30 executes the computer program 32 to implement the steps in the above-mentioned method embodiments for selecting frequency bands, such as the steps 101 to 102 shown in fig. 1. Alternatively, the processor 30, when executing the computer program 32, implements the functions of the modules/units in the embodiment of the apparatus shown in fig. 2, for example, the functions of the modules 21 to 22 shown in fig. 2.
Illustratively, the computer program 32 may be partitioned into or more modules/units, the or more modules/units being stored in the memory 31 and executed by the processor 30 to carry out the present invention the or more modules/units may be the series of computer program instruction segments that describe the execution of the computer program 32 in the wireless device 3, which may be capable of performing certain functions.
The specific functions of each module are as follows:
the overload judging module is used for judging whether the at least two frequency bands are overloaded or not in the process of associating the wireless terminal to the wireless equipment;
and the association module is used for determining candidate frequency bands according to the overload conditions of the at least two frequency bands and enabling the wireless terminal to be associated to the candidate frequency bands or any frequency bands in the candidate frequency bands.
Further , the association module includes:
an th association unit, configured to select a th frequency band as a candidate frequency band if a part of frequency bands are overloaded and a th frequency band exists in a non-overloaded frequency band, so that the wireless terminal is associated with the candidate frequency band;
a second associating unit, configured to select all non-overloaded frequency bands as candidate frequency bands and associate the wireless terminal to any frequency band of the candidate frequency bands if some frequency bands are overloaded and no -th frequency band exists in non-overloaded frequency bands;
a third associating unit, configured to select all frequency bands as candidate frequency bands if all frequency bands are overloaded, and associate the wireless terminal to any frequency bands of the candidate frequency bands;
a fourth associating unit, configured to select a frequency band as a candidate frequency band if no frequency band is overloaded and a th frequency band exists in a non-overloaded frequency band, and associate the wireless terminal to the candidate frequency band;
a fifth associating unit, configured to select all non-overloaded frequency bands as candidate frequency bands and associate the wireless terminal to any frequency band of the candidate frequency bands if no frequency band is overloaded and no -th frequency band exists in non-overloaded frequency bands;
the th frequency band is a frequency band with the largest bandwidth and the smallest interference in the non-overload frequency band, and the non-overload frequency band is a frequency band without overload.
, the association module determines candidate bands according to the overload situations of the at least two bands after th time of receiving the probe request frame sent by the wireless terminal, and the association module 22 further includes:
and the blacklist adding unit is used for adding the wireless terminal into the blacklist in the non-candidate frequency band.
Further , the association module further comprises:
an authentication frame receiving unit for receiving an authentication frame transmitted by a wireless terminal;
and the support judging unit is used for judging whether the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency bands according to the authentication frame, and if the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency bands, the wireless terminal is associated to the candidate frequency band or any frequency bands in the candidate frequency bands.
Further , the association module further comprises:
and the blacklist processing unit is used for sending an authentication frame reply to the wireless terminal and removing the wireless terminal from the blacklist if the wireless terminal does not support the candidate frequency band or any frequency band in the candidate frequency band, establishing association with the wireless terminal on a non-candidate frequency band after receiving a retry authentication frame sent by the wireless terminal, and enabling a state mark in the authentication frame reply to carry rejection information.
The wireless device 3 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The wireless device may include, but is not limited to, a processor 30, a memory 31. Those skilled in the art will appreciate that fig. 3 is merely an example of a wireless device 3 and does not constitute a limitation of the wireless device 3 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the wireless device may also include input-output devices, network access devices, buses, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Array (FPGA) or other Programmable logic device, discrete or transistor logic, discrete hardware components, etc.
The memory 31 may be an internal storage unit of the wireless device 3, such as a hard disk or a memory of the wireless device 3. the memory 31 may also be an external storage device of the wireless device 3, such as a plug-in hard disk provided on the wireless device 3, a Smart Memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. further , the memory 31 may also include both an internal storage unit of the wireless device 3 and an external storage device.
It is obvious to those skilled in the art that, for convenience and simplicity of description, only the division of the above functional units and modules is illustrated, and in practical applications, the above functions may be distributed by different functional units and modules as needed, that is, the internal structure of the apparatus is divided into different functional units or modules to complete all or part of the above described functions.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, for example, the modules or units may be divided into only logical functional divisions, and other divisions may be implemented in practice, for example, a plurality of units or components may be combined or integrated with another systems, or features may be omitted or not executed, and in addition, point, the shown or discussed coupling or direct coupling or communication connection between each other may be through interfaces, indirect coupling or communication connection between apparatuses or units, and may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in places, or may also be distributed on multiple network units.
In addition, the functional units in the embodiments of the present invention may be integrated into processing units, or each unit may exist alone physically, or two or more units are integrated into units.
Based on the understanding that the present invention implements all or part of the processes of the above-described method embodiments, and may also be implemented by a computer program instructing associated hardware, the computer program may be stored in computer readable storage medium, which when executed by a processor may implement the steps of the above-described method embodiments, wherein the computer program comprises computer program code, the computer program code may be in the form of source code, object code, executable files or some intermediate form, the computer readable medium may comprise any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard drive, a magnetic disk, a compact disk, a computer Memory, a Read-Only Memory (ROM, Read-Only Memory), a Random Access Memory (RAM, Random Access Memory), an electrical carrier signal, an Access signal, a telecommunications signal, and other signals, and may be embodied in a computer readable storage medium, and may include any computer readable signal, which may be embodied in accordance with the teachings of the patent, and telecommunications jurisdictions, which may include the addition or subtraction of the computer readable signal, and the telecommunications signal may be embodied in accordance with appropriate jurisdictions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

  1. The method for selecting frequency bands is applied to a wireless device, the wireless device provides at least two frequency bands, the service set identifiers of the at least two frequency bands are the same, and the method comprises:
    in the process that the wireless terminal associates with the wireless device, the wireless device determines whether the at least two frequency bands are overloaded, specifically: in the process that the wireless terminal associates the wireless device, the wireless device firstly acquires the channel available time ratio of each frequency band, and then judges whether the two frequency bands are overloaded or not according to the channel available time ratio of each frequency band; if the channel available time of the frequency band accounts for less than 30% of the channel available time, judging that the frequency band is overloaded;
    the wireless device determines a candidate frequency band according to overload conditions of the at least two frequency bands and enables the wireless terminal to be associated to the candidate frequency band or any frequency band in the candidate frequency band, the method comprises the steps that if part of the frequency bands are overloaded and the frequency band exists in the non-overloaded frequency band, the wireless device selects the th frequency band as the candidate frequency band to enable the wireless terminal to be associated to the candidate frequency band, if part of the frequency bands are overloaded and the frequency band does not exist in the non-overloaded frequency band, the wireless device selects all the non-overloaded frequency bands as the candidate frequency bands and enables the wireless terminal to be associated to any frequency band in the candidate frequency bands, if all the frequency bands are overloaded, the wireless device selects all the frequency bands as the candidate frequency bands and enables the wireless terminal to be associated to any frequency band in the candidate frequency bands, if no frequency band is overloaded and the frequency band exists in the non-overloaded frequency band, the wireless device selects the th frequency band as the candidate frequency band and enables the wireless terminal to be associated to the largest frequency band from the candidate frequency band to the lowest frequency band, and if no overload frequency band exists in the non-overloaded frequency band, the non-overloaded frequency band is frequency band, and the lowest frequency band in the overloaded frequency band is selected.
  2. 2. The method of claim 1, wherein a wireless device determines a candidate frequency band according to the overload situations of the at least two frequency bands after receiving a probe request frame sent by a wireless terminal at times, and further comprising, after the wireless device determines the candidate frequency band according to the overload situations of the at least two frequency bands:
    in the non-candidate frequency band, the wireless device adds the wireless terminal to a blacklist.
  3. 3. The method of claim 2, wherein prior to said associating the wireless terminal to the candidate frequency band or to any frequency bands of the candidate frequency bands, further comprising:
    the wireless equipment receives an authentication frame sent by the wireless terminal;
    the wireless equipment judges whether the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency band according to the authentication frame;
    associating the wireless terminal to the candidate frequency band or to any frequency band of the candidate frequency bands if the wireless terminal supports the candidate frequency band or supports any frequency bands of the candidate frequency bands.
  4. 4. The method of claim 3, wherein after the wireless device determines whether the wireless terminal supports the candidate frequency band or any frequency bands of the candidate frequency bands according to the authentication frame, the method further comprises:
    if the wireless terminal does not support the candidate frequency band or any frequency band in the candidate frequency band, the wireless device sends an authentication frame reply to the wireless terminal and removes the wireless terminal from the blacklist, and a status flag in the authentication frame reply carries rejection information;
    after receiving the retry authentication frame sent by the wireless terminal, the wireless device establishes association with the wireless terminal on the non-candidate frequency band.
  5. The apparatus for selecting frequency bands, applied to a wireless device, the wireless device providing at least two frequency bands, the service set identifiers of the at least two frequency bands being the same, the apparatus comprising:
    an overload judging module, configured to judge whether the at least two frequency bands are overloaded during a process of associating the wireless terminal with the wireless device, specifically: in the process that the wireless terminal associates the wireless device, the wireless device firstly acquires the channel available time ratio of each frequency band, and then judges whether the two frequency bands are overloaded or not according to the channel available time ratio of each frequency band; if the channel available time of the frequency band accounts for less than 30% of the channel available time, judging that the frequency band is overloaded;
    the association module is used for determining candidate frequency bands according to the overload conditions of the at least two frequency bands and enabling the wireless terminal to be associated to the candidate frequency bands or any frequency bands in the candidate frequency bands;
    the association module comprises:
    an th association unit, configured to select a th frequency band as a candidate frequency band if a part of frequency bands are overloaded and a th frequency band exists in a non-overloaded frequency band, so that the wireless terminal is associated with the candidate frequency band;
    a second associating unit, configured to select all non-overloaded frequency bands as candidate frequency bands and associate the wireless terminal to any frequency band of the candidate frequency bands if some frequency bands are overloaded and no -th frequency band exists in non-overloaded frequency bands;
    a third associating unit, configured to select all frequency bands as candidate frequency bands if all frequency bands are overloaded, and associate the wireless terminal to any frequency bands of the candidate frequency bands;
    a fourth associating unit, configured to select a frequency band as a candidate frequency band if no frequency band is overloaded and a th frequency band exists in a non-overloaded frequency band, and associate the wireless terminal to the candidate frequency band;
    a fifth associating unit, configured to select all non-overloaded frequency bands as candidate frequency bands and associate the wireless terminal to any frequency band of the candidate frequency bands if no frequency band is overloaded and no -th frequency band exists in non-overloaded frequency bands;
    the th frequency band is a frequency band with the largest bandwidth and the smallest interference in the non-overload frequency band, and the non-overload frequency band is a frequency band without overload.
  6. 6. The apparatus of claim 5, wherein the association module determines the candidate frequency bands according to overload conditions of the at least two frequency bands after times of receiving the probe request frame sent by the wireless terminal, and the association module further includes:
    and the blacklist adding unit is used for adding the wireless terminal into the blacklist in the non-candidate frequency band.
  7. 7. The apparatus of claim 6, wherein the association module further comprises:
    an authentication frame receiving unit for receiving an authentication frame transmitted by a wireless terminal;
    and the support judging unit is used for judging whether the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency bands according to the authentication frame, and if the wireless terminal supports the candidate frequency band or supports any frequency bands in the candidate frequency bands, the wireless terminal is associated to the candidate frequency band or any frequency bands in the candidate frequency bands.
  8. 8. The apparatus of claim 7, wherein the association module further comprises:
    and the blacklist processing unit is used for sending an authentication frame reply to the wireless terminal and removing the wireless terminal from the blacklist if the wireless terminal does not support the candidate frequency band or any frequency band in the candidate frequency band, establishing association with the wireless terminal on a non-candidate frequency band after receiving a retry authentication frame sent by the wireless terminal, and enabling a state mark in the authentication frame reply to carry rejection information.
  9. A wireless device of 9, , comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of the method of any of claims 1 to 4 and .
  10. 10, computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any of claims 1 to 4 through .
CN201710382358.9A 2017-05-25 2017-05-25 Frequency band selection method and device and wireless equipment Active CN107148035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710382358.9A CN107148035B (en) 2017-05-25 2017-05-25 Frequency band selection method and device and wireless equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710382358.9A CN107148035B (en) 2017-05-25 2017-05-25 Frequency band selection method and device and wireless equipment

Publications (2)

Publication Number Publication Date
CN107148035A CN107148035A (en) 2017-09-08
CN107148035B true CN107148035B (en) 2020-01-31

Family

ID=59779158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710382358.9A Active CN107148035B (en) 2017-05-25 2017-05-25 Frequency band selection method and device and wireless equipment

Country Status (1)

Country Link
CN (1) CN107148035B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108541024A (en) * 2018-03-01 2018-09-14 深圳市共进电子股份有限公司 A kind of frequency band control method, device, equipment and the storage medium of connection wireless aps
CN112188580B (en) * 2020-09-24 2023-05-30 北京自如信息科技有限公司 Frequency band switching method and device, AP and storage medium
CN113242559B (en) * 2021-04-09 2022-07-05 普联技术有限公司 Frequency band selection method and device of hybrid link, terminal equipment and storage medium
CN113242558B (en) * 2021-04-09 2022-07-05 普联技术有限公司 Frequency band selection method and device of hybrid link, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152793A (en) * 2011-12-06 2013-06-12 深圳市共进电子股份有限公司 Method and system of communication
CN103313350A (en) * 2013-06-24 2013-09-18 京信通信技术(广州)有限公司 Dual-frequency network access method and device, and access point equipment
CN104822168A (en) * 2015-04-22 2015-08-05 深圳市信锐网科技术有限公司 Guiding method and apparatus for frequency band switching of wireless terminal
CN105897600A (en) * 2016-06-15 2016-08-24 北京小米移动软件有限公司 Method and device for controlling router load balance
CN106385691A (en) * 2016-09-05 2017-02-08 上海斐讯数据通信技术有限公司 Wireless network access navigation system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152793A (en) * 2011-12-06 2013-06-12 深圳市共进电子股份有限公司 Method and system of communication
CN103313350A (en) * 2013-06-24 2013-09-18 京信通信技术(广州)有限公司 Dual-frequency network access method and device, and access point equipment
CN104822168A (en) * 2015-04-22 2015-08-05 深圳市信锐网科技术有限公司 Guiding method and apparatus for frequency band switching of wireless terminal
CN105897600A (en) * 2016-06-15 2016-08-24 北京小米移动软件有限公司 Method and device for controlling router load balance
CN106385691A (en) * 2016-09-05 2017-02-08 上海斐讯数据通信技术有限公司 Wireless network access navigation system and method

Also Published As

Publication number Publication date
CN107148035A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN107148035B (en) Frequency band selection method and device and wireless equipment
US9918219B2 (en) Call management method and apparatus for multi-SIM multi-active terminal
EP3385835A1 (en) Method and apparatus for configuring accelerator
CN106954225B (en) wireless roaming method and device and wireless equipment
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
CN113206753B (en) Information configuration method and management unit
CN108810123B (en) Method and apparatus for provisioning mobile cellular network services
US11044729B2 (en) Function scheduling method, device, and system
US20220322088A1 (en) Network roaming method, terminal device, and computer readable storage medium
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
CN111654852B (en) Data card switching method and device, terminal and storage medium
US12009982B2 (en) Network slice allocation method, terminal and storage medium
CN109729761A (en) Access method, terminal device and the network equipment of network
CN110461023B (en) Cell residence method and device for voice service, storage medium and main base station
US20210195671A1 (en) Control Method for Displaying Service Identifier in Electronic Device, Electronic Device, and Storage
US11310794B2 (en) Data transmission method in internet of vehicles and terminal
CN111371896B (en) Network acceleration method, terminal and storage medium
CN109561478B (en) User terminal blind redirection method, device, computer storage medium and equipment
US11012835B2 (en) Method and terminal for acquiring transmission resource in vehicle to everything
CN112291848A (en) Terminal capability configuration method and communication device
CN106470414B (en) Method and device for accessing SIM card
CN113055952B (en) Network type setting method, user equipment and computer readable storage medium
CN111565421B (en) Method, device, storage medium, terminal and network equipment for determining signal bandwidth
CN114258011B (en) Information sending method, information receiving method, information sending device, information receiving device and terminal
US20230309191A1 (en) Emergency call method and apparatus, storage medium, and terminal

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