[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110519828B - Multi-AP-based 5G priority access configuration method, device and medium - Google Patents

Multi-AP-based 5G priority access configuration method, device and medium Download PDF

Info

Publication number
CN110519828B
CN110519828B CN201910881896.1A CN201910881896A CN110519828B CN 110519828 B CN110519828 B CN 110519828B CN 201910881896 A CN201910881896 A CN 201910881896A CN 110519828 B CN110519828 B CN 110519828B
Authority
CN
China
Prior art keywords
terminal
unit
database
rejected
sending
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
CN201910881896.1A
Other languages
Chinese (zh)
Other versions
CN110519828A (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.)
CHENGDU SKSPRUCE TECHNOLOGY Inc
Original Assignee
CHENGDU SKSPRUCE TECHNOLOGY Inc
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 CHENGDU SKSPRUCE TECHNOLOGY Inc filed Critical CHENGDU SKSPRUCE TECHNOLOGY Inc
Priority to CN201910881896.1A priority Critical patent/CN110519828B/en
Publication of CN110519828A publication Critical patent/CN110519828A/en
Application granted granted Critical
Publication of CN110519828B publication Critical patent/CN110519828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • 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
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

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 invention discloses a multi-AP-based 5G priority access configuration method, a device and a medium, which are used for receiving a connection request transmitted by a terminal; when the local application is set with 5G priority and the connection request is 2.4G connection, judging whether the terminal in the database supports dual-frequency; if yes, sending a reply message to the terminal. If not, judging whether the rejected times of the terminal in the database within the preset time reach a preset upper limit value or not; and when the rejected times of the terminal do not reach the preset upper limit value, sending a rejection message to the terminal and adding one to the rejected times of the terminal in the database. And when the rejected times of the terminal reach a preset upper limit value, sending a reply message to the terminal. Each AP can acquire the connection times of the terminal which is executed currently according to the times of refusing the terminal recorded in the database, so that when the terminal reaches the upper limit value of the connection times, the connection between the terminal and the AP is realized, and the problem of terminal connection failure during multi-AP service is solved.

Description

Multi-AP-based 5G priority access configuration method, device and medium
Technical Field
The present invention relates to the field of wireless network technologies, and in particular, to a method and an apparatus for configuring 5G priority access based on multiple APs, and a computer-readable storage medium.
Background
With the popularization of wireless networks, wireless users are increasing, and many of the users use dual-band wireless terminals capable of supporting both 2.4G frequency bands and 5G frequency bands. Since 5.8GHz (5G for short) generally has more available channels, less interference and less number of terminals than 2.4GHz, the 5G priority function can enable the user to preferentially connect to the Service Set Identifier (SSID) of 5GHz, thereby obtaining better Wireless Local Area Network (WLAN) experience.
The WLAN mainly includes Stations (STA), Access Points (AP), Wireless Medium (WM), and a Distribution System (DS). STAs are typically terminals in a WLAN.
The 5G priority function is typically implemented on the AP, with the following implementation logic: first the AP needs to confirm whether the STA terminal type supports only 2.4G or simultaneously supports 5G. In order to give the AP enough time to confirm whether the STA supports 5G, the AP generally does not respond to the first 2 to 3 probe-request messages sent by the STA when the type of the STA is not known, so as to give the STA sufficient time to send a 5GHz probe-request message. If the AP opens the 5G priority and finds that the STA sending the probe-req supports dual-frequency, the AP cannot immediately respond to the probe-response or send a rejected probe-response, the rejection reason is busy, and the STA is not expected to be continuously connected with the 2.4G SSID after receiving the message. The STA finds that only the SSID of 5G is present in the SSID list in the scanning result, but no SSID of 2.4G is present, so that the STA preferentially connects to the SSID of 5G.
Of course, since there are many types of terminals and the algorithms of the terminals are not consistent, there may be a phenomenon that although the AP does not respond to the 2.4G protocol-response or returns the probe-response with the reject reason, the STA does not switch to the 5G SSID connection and continues to send the probe-request to the 2.4G SSID. For this situation, the AP may monitor the number of probe-requests received by its 2.4G Radio from the STA within a certain time, for example, 4 probe-request messages are received within 5 seconds, which indicates that the STA cannot connect to the 5G SSID, and in order to avoid the situation that one SSID of the STA cannot connect to the SSID, if the AP finds the above situation, the AP may access the STA to the 2.4G SSID.
The prior art has an effect on a single AP scene, but has a poor use effect on an application scene in which a plurality of APs use the same SSID for coverage. The number of times that the STA tries to connect is limited, for example, if 5 APs fail to connect repeatedly, the current wireless network is considered to be problematic, so the STA does not try to associate any more, and the user cannot surf the internet. However, since each AP works independently and does not know the status of each AP, the STA only connects 1 time to each AP, but fails to connect to the same SSID 5 times to each STA.
Therefore, how to solve the problem of terminal connection failure in multi-AP service is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, and a computer-readable storage medium for configuring a 5G-first access based on multiple APs, which can effectively solve the problem of a terminal connection failure during a multiple-AP service.
To solve the foregoing technical problem, an embodiment of the present invention provides a 5G preferred access configuration method based on multiple APs, including:
receiving a connection request transmitted by a terminal;
when the local application is set with 5G priority and the connection request is 2.4G connection, judging whether the terminal in the database supports dual-frequency;
if not, sending a reply message to the terminal so as to facilitate the terminal to access a wireless local area network;
if yes, judging whether the rejected times of the terminal in the database within the preset time reach a preset upper limit value or not;
when the rejected times of the terminal do not reach a preset upper limit value, sending a rejection message to the terminal, and adding one to the rejected times of the terminal in the database;
and when the rejected times of the terminal reach a preset upper limit value, sending a reply message to the terminal so as to facilitate the terminal to access a wireless local area network.
Optionally, before determining whether the terminal supports dual-band in the database, the method further includes:
judging whether the switching times of the terminal in the data reach a switching threshold value;
when the switching times of the terminal reach a switching threshold value, sending a reply message to the terminal so as to facilitate the terminal to access a wireless local area network;
when the switching times of the terminal do not reach a switching threshold value, executing the step of judging whether the terminal supports dual-frequency in the database;
correspondingly, when the number of times that the terminal is rejected reaches a preset upper limit, sending a reply message to the terminal further includes:
and adding one to the switching times of the terminal in the database.
Optionally, the method further includes:
when the switching times of the terminal reach a switching threshold value, setting effective time;
and when receiving the 2.4G connection request sent by the terminal within the effective time, sending a reply message to the terminal so as to facilitate the terminal to access a wireless local area network.
Optionally, the method further includes:
and when the effective time is over, clearing the switching times of the terminal.
Optionally, after receiving the connection request transmitted by the terminal, the method further includes:
and when the local application is set with 5G priority and the connection request is 5G connection, sending a reply message to the terminal so as to facilitate the terminal to access the wireless local area network.
Optionally, after receiving the connection request transmitted by the terminal, the method further includes:
and when the local application does not set the 5G priority, sending a reply message to the terminal so as to facilitate the terminal to access the wireless local area network.
Optionally, the method further includes:
when the number of times that the terminal is rejected in the database is increased for the first time, timing is started;
and when the timing time reaches the preset time, clearing the rejected times of the terminal.
The embodiment of the invention also provides a 5G priority access configuration device based on multiple APs, which comprises a receiving unit, a first judging unit, a replying unit, a second judging unit and a rejecting unit;
the receiving unit is used for receiving a connection request transmitted by a terminal;
the first judging unit is configured to, when a local application is set with a 5G priority and the connection request is a 2.4G connection, judge whether the terminal supports dual-band in a database; if not, triggering the reply unit; if yes, triggering the second judgment unit;
the reply unit is used for sending a reply message to the terminal so as to facilitate the terminal to access a wireless local area network;
the second judging unit is used for judging whether the rejected times of the terminal in the database within the preset time reach a preset upper limit value or not; if not, triggering the rejection unit; if yes, triggering the reply unit;
the rejecting unit is used for sending a rejecting message to the terminal when the rejected times of the terminal do not reach a preset upper limit value, and adding one to the rejected times of the terminal in the database;
the reply unit is further configured to send a reply message to the terminal when the number of times the terminal is rejected reaches a preset upper limit value, so that the terminal can access a wireless local area network.
Optionally, the system further comprises a third judging unit and an accumulating unit;
the third judging unit is configured to judge whether the number of times of handover of the terminal in the data reaches a handover threshold before judging whether the terminal supports dual band in the database; if yes, triggering the reply unit; if not, triggering the first judgment unit;
and the accumulation unit is used for adding one to the switching times of the terminal in the database after sending a reply message to the terminal when the rejected times of the terminal reach a preset upper limit value.
Optionally, the system further comprises a setting unit;
the setting unit is used for setting effective time when the switching times of the terminal reach a switching threshold value;
the reply unit is further configured to send a reply message to the terminal when receiving the 2.4G connection request sent by the terminal within the valid time, so that the terminal accesses a wireless local area network.
Optionally, the method further includes a zero clearing unit;
and the zero clearing unit is used for clearing the switching times of the terminal when the effective time is over.
Optionally, the reply unit is further configured to send a reply message to the terminal when the local application is set with 5G priority and the connection request is a 5G connection, so that the terminal accesses the wireless local area network.
Optionally, the reply unit is further configured to send a reply message to the terminal when the local application does not set the 5G priority, so that the terminal accesses the wireless local area network.
Optionally, the system further comprises a timing unit and a zero clearing unit;
the timing unit is used for starting timing when the rejected times of the terminal in the database are added for the first time;
and the clearing unit is used for clearing the rejected times of the terminal when the timing time reaches the preset time.
The embodiment of the invention also provides a multi-AP-based 5G priority access configuration device, which comprises:
a memory for storing a computer program;
a processor configured to execute the computer program to implement the steps of the multi-AP based 5G priority access configuration method as any one of the above.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the multi-AP based 5G priority access configuration method according to any of the above embodiments are implemented.
According to the technical scheme, the connection request transmitted by the terminal is received; when the local application is set with 5G priority and the connection request is 2.4G connection, judging whether the terminal in the database supports dual-frequency; and when the terminal does not support the dual-frequency, sending a reply message to the terminal so as to facilitate the terminal to access the wireless local area network. When the terminal supports double frequency, judging whether the rejected times of the terminal in the database within the preset time reach a preset upper limit value or not; and when the rejected times of the terminal do not reach the preset upper limit value, in order to enable the terminal to be preferentially connected with 5G, sending a rejection message to the terminal, and adding one to the rejected times of the terminal in the database. When the number of times that the terminal is rejected reaches a preset upper limit value, in order to ensure the effective connection of the terminal, a reply message is sent to the terminal, so that the terminal can access the wireless local area network conveniently. In the technical scheme, each AP can acquire the connection times of the terminal which is executed currently according to the times of refusing the terminal recorded in the database, so that the connection between the terminal and the AP is realized when the terminal reaches the upper limit value of the connection times, and the problem of connection failure of the terminal during multi-AP service is solved while the 5G priority connection is ensured.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a 5G preferred access configuration method based on multiple APs according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a multi-AP based 5G preferred access configuration apparatus according to an embodiment of the present invention;
fig. 3 is a schematic hardware structure diagram of a multi-AP based 5G preferred access configuration apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Next, a method for configuring 5G-preferred access based on multiple APs according to an embodiment of the present invention is described in detail. Fig. 1 is a flowchart of a 5G preferred access configuration method based on multiple APs according to an embodiment of the present invention, where the method includes:
s101: and receiving a connection request transmitted by the terminal.
Each AP processes the connection request transmitted by the terminal in the same manner, and in the embodiment of the present invention, an example of one AP is described.
When the terminal needs to connect to the network, the terminal sends a connection request, namely a probe-request, to the AP to which the terminal belongs.
S102: and when the local application is set with 5G priority and the connection request is 2.4G connection, judging whether the terminal in the database supports dual-frequency.
In the embodiment of the invention, the same terminal may send the connection request to a plurality of APs under the same SSID, in order to realize the data sharing among the APs, a database which is convenient for the plurality of APs to access together can be established, each AP can record the condition that the terminal sends the connection request in the database, and the AP can acquire the information such as the connection times of the terminal by inquiring the database.
The database may employ a Key-Value (Key-Value) storage database. Key-value store databases typically employ a hash table having a particular key and a pointer to particular data. The Key/value model has the advantages of simplicity and easy deployment for IT systems. Types of key-value store databases include Redis or Memorycache, among others.
The dual-band support means that the terminal supports both 2.4G and 5G bands.
In the initial state, the AP may determine whether the terminal supports dual-band according to the type of the connection request sent by the terminal. By recording whether the terminal supports dual-frequency or not in the database, other APs can know whether the terminal supports dual-frequency or not by inquiring the database, and the judgment is not needed to be carried out according to the type of the connection request sent by the terminal.
When the AP receives the connection request, it may determine whether the 5G-first function is currently enabled according to the configuration. When the AP sets 5G priority and the terminal sends a 2.4G connection, the AP may query the database to know whether the terminal supports dual-band. When the terminal supports dual-band, executing S103; when the terminal does not support dual band, S105 is performed.
S103: and judging whether the rejected times of the terminal in the database within the preset time reach a preset upper limit value or not.
After a terminal sends a connection request to an AP and is rejected, the terminal sends a connection request to other APs under the SSID, and when the terminal sends the connection request for multiple times and is rejected, the terminal stops sending the connection request, thereby causing the connection failure of the terminal. The number of times that the terminal is rejected is recorded in the database, and each time the AP rejects the connection request of the terminal, the number of times that the terminal is rejected is increased by one in the database.
Therefore, in the embodiment of the present invention, when the AP receives the connection request from the terminal, the current AP may query the number of times that the terminal is rejected within the preset time in the data, because the current AP does not know whether the terminal has already sent the connection request to another AP.
The value of the preset time may be set according to a time span when the terminal continuously sends the connection request for multiple times, which is not limited herein.
When the number of times that the terminal is rejected within the preset time does not reach the preset upper limit, it indicates that the subsequent terminal still sends a connection request, and in order to implement that the terminal can preferentially connect to 5G, the AP may perform S104 at this time.
When the number of times that the terminal is rejected within the preset time reaches the preset upper limit, it indicates that the terminal does not send a connection request to the AP for this time, and in order to ensure that the terminal can implement connection with the AP, the AP may perform S105.
S104: and sending a rejection message to the terminal, and adding one to the rejected times of the terminal in the database.
The AP may send a rejected probe response to the terminal because busy indicates that the current SSID is too busy to access. In practical application, the AP may not respond to the connection request of the terminal, so that the terminal cannot find the SSID of 2.4G.
When the AP rejects the connection request of the terminal, in order to facilitate other APs to know the number of times that the terminal sends the connection request, the number of times that the terminal is rejected, which is recorded in the database, needs to be increased by one.
S105: and sending a reply message to the terminal so as to facilitate the terminal to access the wireless local area network.
When the AP allows the terminal to access, the AP sends a reply message, namely a probe-response, to the terminal, and at the moment, the terminal can realize the connection with the AP according to the reply message replied by the AP.
In practical applications, for a terminal supporting dual-band, the first connection request sent by the terminal is often a 2.4G connection, and after the terminal is rejected several times, the terminal may send a 5G connection to the AP. Therefore, when the local application is set with 5G priority and the connection request is 5G connection, the AP sends a reply message to the terminal, so that the terminal can access the wireless local area network.
If the local application does not set the 5G priority, and the AP receives a connection request sent by the terminal, the AP directly sends a reply message to the terminal, so that the terminal can access the wireless local area network conveniently.
According to the technical scheme, the connection request transmitted by the terminal is received; when the local application is set with 5G priority and the connection request is 2.4G connection, judging whether the terminal in the database supports dual-frequency; and when the terminal does not support the dual-frequency, sending a reply message to the terminal so as to facilitate the terminal to access the wireless local area network. When the terminal supports double frequency, judging whether the rejected times of the terminal in the database within the preset time reach a preset upper limit value or not; and when the rejected times of the terminal do not reach the preset upper limit value, in order to enable the terminal to be preferentially connected with 5G, sending a rejection message to the terminal, and adding one to the rejected times of the terminal in the database. When the number of times that the terminal is rejected reaches a preset upper limit value, in order to ensure the effective connection of the terminal, a reply message is sent to the terminal, so that the terminal can access the wireless local area network conveniently. In the technical scheme, each AP can acquire the connection times of the terminal which is executed currently according to the times of refusing the terminal recorded in the database, so that the connection between the terminal and the AP is realized when the terminal reaches the upper limit value of the connection times, and the problem of connection failure of the terminal during multi-AP service is solved while the 5G priority connection is ensured.
Considering that when the terminal is rejected by the current AP, the terminal may send a connection request to another AP, and a time interval for the terminal to send the connection request multiple times is not too long, in order to reduce interference between two unrelated connection requests, in this embodiment of the present invention, an effective time may be set for the number of times the terminal is rejected. Specifically, when the number of times that the terminal is rejected in the database is added for the first time, timing is started; and when the timing time reaches the preset time, clearing the rejected times of the terminal. And after the rejected times of the terminal are cleared, the terminal starts to count again when sending the connection request again.
The rejected times of the terminal are limited in time, so that statistics can be carried out only on the rejected times when the terminal sends the connection request currently, and interference of non-related connection requests is avoided.
In practical applications, it may happen that the terminal always sends a 2.4G connection request, so that the terminal realizes a 2.4G connection with the AP only when the number of times that the terminal is rejected within a preset time reaches a preset upper limit value. For such a situation, in order to improve the processing efficiency of the AP and reduce the useless judgment of the AP, the connection situation of the terminal may be evaluated many times.
In the embodiment of the present invention, for a terminal supporting dual-band, the number of times that the terminal realizes 2.4G connection with an AP only when the number of times that the terminal is rejected in a preset time reaches a preset upper limit value may be counted, and the number of times may be referred to as a number of times of handover. When the number of times that the terminal is rejected reaches a preset upper limit value, after the AP sends a reply message to the terminal for 2.4G connection with the terminal, the number of times of switching of the terminal in the database needs to be increased by one.
Before determining whether the terminal in the database supports dual-band, the AP may first determine whether the number of times of switching of the terminal in the database reaches a switching threshold.
The value of the switching threshold may be set according to actual requirements, and is not limited herein.
And when the switching times of the terminal do not reach the switching threshold value, executing a step of judging whether the terminal supports dual-frequency in the database.
When the switching times of the terminal reach the switching threshold value, the terminal is indicated to have continuously connected with the 2.4G frequency band for many times, even if the AP rejects the current connection request of the terminal, when the rejected times of the terminal in the preset time reach the preset upper limit value, the terminal still sends the 2.4G connection request to the AP. In order to improve the processing efficiency of the AP, when the number of times of switching of the terminal reaches the switching threshold, the AP may directly send a reply message to the terminal, so that the terminal can access the wireless local area network.
By detecting the switching times of the terminal, under the condition that the terminal realizes the 2.4G connection with the AP only when the times of rejecting the terminal within the preset time reaches the preset upper limit value for many times, if the terminal still sends a 2.4G connection request to the AP, the AP directly sends a reply message to the terminal, the connection request of the terminal does not need to be rejected for many times, and the processing efficiency of the AP is improved.
In the embodiment of the present invention, in order to avoid the situation that the terminal can only connect to the 2.4G frequency band for a long time due to the limitation of the handover threshold, an effective time may be set for the number of handovers. Specifically, when the switching frequency of the terminal reaches a switching threshold value, setting effective time; and when receiving the 2.4G connection request sent by the terminal within the effective time, sending a reply message to the terminal so as to facilitate the terminal to access the wireless local area network. When the valid time is over, the connection request of the terminal is processed again according to the flow shown in fig. 1.
When the valid time is over, a new round of statistics can be performed, and at this time, the switching times of the terminal can be cleared, so that the switching times of the terminal can be counted again.
By setting the effective time, the processing efficiency of the AP on the terminal connection request is improved, and the situation that the terminal can only be connected with the 2.4G frequency band when the switching times of the terminal reach the switching threshold value is avoided.
In the embodiment of the present invention, the information of the terminal may be recorded in a key value storage database, and as shown in table 1, the terminal list includes 3 key value pairs.
Figure BDA0002206112600000111
TABLE 1
In a specific implementation, as to whether the terminal supports 5G, a "0" may be used to indicate that the terminal does not support 5G, and a "1" may be used to indicate that the terminal supports 5G.
In table 1, whether the terminal supports 5G is recorded in the form of a 5G MAC table. The timeout time is used to indicate the valid time of various types of information, taking a 5G MAC table as an example, when the AP determines whether the terminal supports 5G, the information is recorded in the 5G MAC table, at this time, timing is started, when the timing time reaches 1 day, the recording is cleared, and whether the terminal supports 5G is determined again. The validity of the information recorded in the key-value storage database can be guaranteed by setting the timeout time.
And when the 3 key value pairs are all on-line, each AP independently reads the operation to be taken next, and simultaneously writes the new state into the key value storage database. Because each AP writes in and reads the same key value storage database, and simultaneously takes the MAC of the terminal as a key word, the AP can automatically acquire the value of the current terminal at other APs.
Fig. 2 is a schematic structural diagram of a multi-AP based 5G preferred access configuration apparatus according to an embodiment of the present invention, which includes a receiving unit 21, a first determining unit 22, a replying unit 23, a second determining unit 24, and a rejecting unit 25;
a receiving unit 21, configured to receive a connection request transmitted by a terminal;
a first judging unit 22, configured to, when the local application is set with a 5G priority and the connection request is a 2.4G connection, judge whether the terminal supports dual-band in the database; if not, triggering the reply unit 23; if yes, triggering a second judgment unit 24;
a reply unit 23, configured to send a reply message to the terminal, so that the terminal accesses the wireless local area network;
a second judging unit 24, configured to judge whether the number of times that the terminal is rejected within a preset time in the database reaches a preset upper limit; if not, triggering a rejection unit; if yes, triggering a response unit;
a rejecting unit 25, configured to send a reject message to the terminal when the rejected times of the terminal do not reach a preset upper limit, and add one to the rejected times of the terminal in the database;
the reply unit 23 is further configured to send a reply message to the terminal when the number of times that the terminal is rejected reaches a preset upper limit value, so that the terminal can access the wireless local area network.
Optionally, the system further comprises a third judging unit and an accumulating unit;
a third judging unit, configured to judge whether the number of times of switching of the terminal in the data reaches a switching threshold before judging whether the terminal in the database supports dual-band; if yes, triggering a response unit; if not, triggering a first judgment unit;
and the accumulation unit is used for adding one to the switching times of the terminal in the database after sending the reply message to the terminal when the rejected times of the terminal reach a preset upper limit value.
Optionally, the system further comprises a setting unit;
the terminal comprises a setting unit, a judging unit and a judging unit, wherein the setting unit is used for setting effective time when the switching times of the terminal reach a switching threshold value;
the reply unit is further configured to send a reply message to the terminal when receiving the 2.4G connection request sent by the terminal within the valid time, so that the terminal can access the wireless local area network.
Optionally, the method further includes a zero clearing unit;
and the clearing unit is used for clearing the switching times of the terminal when the effective time is over.
Optionally, the reply unit is further configured to send a reply message to the terminal when the local application is set with 5G priority and the connection request is 5G connection, so that the terminal accesses the wireless local area network.
Optionally, the reply unit is further configured to send a reply message to the terminal when the local application does not set the 5G priority, so that the terminal can access the wireless local area network.
Optionally, the system further comprises a timing unit and a zero clearing unit;
the timing unit is used for starting timing when the rejected times of the terminal in the database are added for the first time;
and the clearing unit is used for clearing the rejected times of the terminal when the timing time reaches the preset time.
The description of the features in the embodiment corresponding to fig. 2 may refer to the related description of the embodiment corresponding to fig. 1, and is not repeated here.
According to the technical scheme, the connection request transmitted by the terminal is received; when the local application is set with 5G priority and the connection request is 2.4G connection, judging whether the terminal in the database supports dual-frequency; and when the terminal does not support the dual-frequency, sending a reply message to the terminal so as to facilitate the terminal to access the wireless local area network. When the terminal supports double frequency, judging whether the rejected times of the terminal in the database within the preset time reach a preset upper limit value or not; and when the rejected times of the terminal do not reach the preset upper limit value, in order to enable the terminal to be preferentially connected with 5G, sending a rejection message to the terminal, and adding one to the rejected times of the terminal in the database. When the number of times that the terminal is rejected reaches a preset upper limit value, in order to ensure the effective connection of the terminal, a reply message is sent to the terminal, so that the terminal can access the wireless local area network conveniently. In the technical scheme, each AP can acquire the connection times of the terminal which is executed currently according to the times of refusing the terminal recorded in the database, so that the connection between the terminal and the AP is realized when the terminal reaches the upper limit value of the connection times, and the problem of connection failure of the terminal during multi-AP service is solved while the 5G priority connection is ensured.
Fig. 3 is a schematic hardware structure diagram of a multi-AP based 5G preferred access configuration apparatus 30 according to an embodiment of the present invention, including:
a memory 31 for storing a computer program;
a processor 32 for executing a computer program to implement the steps of any of the multi-AP based 5G priority access configuration methods described above.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the above-mentioned multi-AP based 5G priority access configuration methods are implemented.
The method, the apparatus and the computer-readable storage medium for configuring the 5G-preferred access based on multiple APs according to the embodiments of the present invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. 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.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

Claims (9)

1. A5G priority access configuration method based on multiple APs is characterized by comprising the following steps:
receiving a connection request transmitted by a terminal;
when the local application is set with 5G priority and the connection request is 2.4G connection, judging whether the terminal in the database supports dual-frequency;
if not, sending a reply message to the terminal so as to facilitate the terminal to access a wireless local area network;
if yes, judging whether the rejected times of the terminal in the database within the preset time reach a preset upper limit value or not;
when the rejected times of the terminal do not reach a preset upper limit value, sending a rejection message to the terminal, and adding one to the rejected times of the terminal in the database;
when the number of times that the terminal is rejected reaches a preset upper limit value, sending a reply message to the terminal so that the terminal can be accessed to a wireless local area network conveniently;
before the judging whether the terminal supports dual-band in the database, the method further comprises:
judging whether the switching times of the terminal in the data reach a switching threshold value;
when the switching times of the terminal reach a switching threshold value, sending a reply message to the terminal so as to facilitate the terminal to access a wireless local area network;
when the switching times of the terminal do not reach a switching threshold value, executing the step of judging whether the terminal supports dual-frequency in the database;
correspondingly, when the number of times that the terminal is rejected reaches a preset upper limit, sending a reply message to the terminal further includes:
and adding one to the switching times of the terminal in the database.
2. The method of claim 1, further comprising:
when the switching times of the terminal reach a switching threshold value, setting effective time;
and when receiving the 2.4G connection request sent by the terminal within the effective time, sending a reply message to the terminal so as to facilitate the terminal to access a wireless local area network.
3. The method of claim 2, further comprising:
and when the effective time is over, clearing the switching times of the terminal.
4. The method according to claim 1, further comprising, after receiving the connection request transmitted by the terminal:
and when the local application is set with 5G priority and the connection request is 5G connection, sending a reply message to the terminal so as to facilitate the terminal to access the wireless local area network.
5. The method according to claim 1, further comprising, after receiving the connection request transmitted by the terminal:
and when the local application does not set the 5G priority, sending a reply message to the terminal so as to facilitate the terminal to access the wireless local area network.
6. The method of claim 1, further comprising:
when the number of times that the terminal is rejected in the database is increased for the first time, timing is started;
and when the timing time reaches the preset time, clearing the rejected times of the terminal.
7. A5G priority access configuration device based on multiple APs is characterized by comprising a receiving unit, a first judging unit, a reply unit, a second judging unit and a rejecting unit;
the receiving unit is used for receiving a connection request transmitted by a terminal;
the first judging unit is configured to, when a local application is set with a 5G priority and the connection request is a 2.4G connection, judge whether the terminal supports dual-band in a database; if not, triggering the reply unit; if yes, triggering the second judgment unit;
the reply unit is used for sending a reply message to the terminal so as to facilitate the terminal to access a wireless local area network;
the second judging unit is used for judging whether the rejected times of the terminal in the database within the preset time reach a preset upper limit value or not; if not, triggering the rejection unit; if yes, triggering the reply unit;
the rejecting unit is used for sending a rejecting message to the terminal when the rejected times of the terminal do not reach a preset upper limit value, and adding one to the rejected times of the terminal in the database;
the reply unit is further used for sending a reply message to the terminal when the number of times that the terminal is rejected reaches a preset upper limit value, so that the terminal can be accessed to a wireless local area network conveniently;
the device also comprises a third judging unit and an accumulation unit; the third judging unit is configured to judge whether the number of times of handover of the terminal in the data reaches a handover threshold before judging whether the terminal supports dual band in the database; if yes, triggering the reply unit; if not, triggering the first judgment unit; and the accumulation unit is used for adding one to the switching times of the terminal in the database after sending a reply message to the terminal when the rejected times of the terminal reach a preset upper limit value.
8. A multi-AP based 5G preferred access configuration apparatus, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the multi-AP based 5G priority access configuration method according to any of claims 1 to 6.
9. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, performs the steps of the multi-AP based 5G priority access configuration method according to any one of claims 1 to 6.
CN201910881896.1A 2019-09-18 2019-09-18 Multi-AP-based 5G priority access configuration method, device and medium Active CN110519828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910881896.1A CN110519828B (en) 2019-09-18 2019-09-18 Multi-AP-based 5G priority access configuration method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910881896.1A CN110519828B (en) 2019-09-18 2019-09-18 Multi-AP-based 5G priority access configuration method, device and medium

Publications (2)

Publication Number Publication Date
CN110519828A CN110519828A (en) 2019-11-29
CN110519828B true CN110519828B (en) 2021-09-24

Family

ID=68632669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910881896.1A Active CN110519828B (en) 2019-09-18 2019-09-18 Multi-AP-based 5G priority access configuration method, device and medium

Country Status (1)

Country Link
CN (1) CN110519828B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114980265B (en) * 2021-02-25 2024-06-25 华为技术有限公司 Terminal access method, control equipment and computer readable storage medium
CN115278825A (en) * 2021-04-30 2022-11-01 华为技术有限公司 WiFi connection method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256337A (en) * 2011-07-08 2011-11-23 杭州华三通信技术有限公司 Message processing method and equipment in wireless local area network (WLAN)
CN102843302A (en) * 2012-09-17 2012-12-26 福建星网锐捷网络有限公司 Terminal access method and device
CN103813410A (en) * 2012-11-15 2014-05-21 深圳国人通信有限公司 Method for controlling access of wireless terminal, and wireless access point
CN105873159A (en) * 2016-05-05 2016-08-17 成都西加云杉科技有限公司 Wi-Fi channel switching method and device
CN106455011A (en) * 2016-11-24 2017-02-22 上海迈外迪网络科技有限公司 AP accessing method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108834181A (en) * 2018-08-01 2018-11-16 中电科航空电子有限公司 The QoS method of airborne WIFI system based on 5G frequency range priority access

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256337A (en) * 2011-07-08 2011-11-23 杭州华三通信技术有限公司 Message processing method and equipment in wireless local area network (WLAN)
CN102843302A (en) * 2012-09-17 2012-12-26 福建星网锐捷网络有限公司 Terminal access method and device
CN103813410A (en) * 2012-11-15 2014-05-21 深圳国人通信有限公司 Method for controlling access of wireless terminal, and wireless access point
CN105873159A (en) * 2016-05-05 2016-08-17 成都西加云杉科技有限公司 Wi-Fi channel switching method and device
CN106455011A (en) * 2016-11-24 2017-02-22 上海迈外迪网络科技有限公司 AP accessing method and apparatus

Also Published As

Publication number Publication date
CN110519828A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
JP4570655B2 (en) Method and system for reducing MAC layer handoff latency in a wireless network
US8260302B2 (en) Measurement control method, user equipment and network-side device
CN103037469B (en) Access network selection method, subscriber equipment, system and network selection policy unit
KR100690778B1 (en) Idle Handoff Method of Cellular Mobile Communication Systems
EP3512118B1 (en) Method and device for transmitting response message
JP3418502B2 (en) Communication system, base station and mobile station
CN101282304B (en) Method for balancing load between access points, system, access point and mobile terminal
CN108141801B (en) Cell reselection method, frequency point information management method and device
CN107920353A (en) A kind of method and hot spot access device of Wireless Fidelity connection switching hot spot
WO2017063125A1 (en) Cell reselection method and user equipment
CN114980261B (en) Terminal access control method, base station and storage medium
CN110519828B (en) Multi-AP-based 5G priority access configuration method, device and medium
CN106385695B (en) Method and device for sending detection response frame
CN112105049B (en) Auxiliary access method and device
KR100784324B1 (en) Standby current saving device and method in mobile communication terminal
JP2001211482A (en) Portable radio equipment of cellular network for voice and/or data transmission and its method
WO2009021452A1 (en) Method and device for terminal accessing cognitive system
CN114071498A (en) Voice service bearing method and device, computing equipment and storage medium
CN103108335B (en) A kind of terminal redirecting method and equipment
CN106376055B (en) A cell search method in a GMR system
WO2022033091A1 (en) Method for accessing base station by means of terminal, and base station, terminal and communication system
CN113055962B (en) Multi-network switching method and system of intelligent terminal and computer readable storage medium
CN110536369B (en) Device and method for simultaneously acquiring TAC (cell identity) and CI (cell identity) information of LTE (long term evolution) main adjacent cell
CN107548107B (en) Method and system for cell reselection
EP1059816B1 (en) Signalling radio service requirements

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