CN108024298B - Method and device for controlling terminal to actively roam - Google Patents

Method and device for controlling terminal to actively roam Download PDF

Info

Publication number
CN108024298B
CN108024298B CN201711227580.8A CN201711227580A CN108024298B CN 108024298 B CN108024298 B CN 108024298B CN 201711227580 A CN201711227580 A CN 201711227580A CN 108024298 B CN108024298 B CN 108024298B
Authority
CN
China
Prior art keywords
sta
data message
message
retransmission times
retransmission
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
CN201711227580.8A
Other languages
Chinese (zh)
Other versions
CN108024298A (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201711227580.8A priority Critical patent/CN108024298B/en
Publication of CN108024298A publication Critical patent/CN108024298A/en
Application granted granted Critical
Publication of CN108024298B publication Critical patent/CN108024298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data

Abstract

The application provides a method and a device for controlling terminal active roaming, wherein the method comprises the following steps: a first Access Point (AP) detects the signal transmission quality of a terminal (STA) accessed to the first AP; determining whether the STA meets AP switching conditions according to the detected signal transmission quality; and after the STA is determined to meet the AP switching condition, controlling the message transmission between the first AP and the STA according to the trend that the retransmission times of the data message gradually increase.

Description

Method and device for controlling terminal to actively roam
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling a terminal to actively roam.
Background
In a Wireless Local Area Network (WLAN) of a thin AP model (i.e., AC + AP model), a terminal (Station, STA) is connected to a Wireless controller (AC) through an Access Point (AP).
Fig. 1 is a schematic diagram of a networking structure of a conventional wireless network, and as shown in fig. 1, in a wireless local area network, an AC is connected with a plurality of STAs, and during a process of accessing the STA to the network, the STA needs to first find an available network, and then selects an AP from which to access the AC according to signal strength. If the STA initially connects to the AP1, when the STA moves to the position of the dashed-line box in fig. 1, the STA is farther from the AP1, the signal strength is weaker, and closer to the AP2, the signal strength is stronger, and due to the working mechanism of the STA, the STA still connects to the AP1 and does not actively roam to the AP 2.
At present, a technical solution for triggering terminal roaming is to actively disconnect the AP1 from the STA when the AC senses that the signal strength of the STA is weak, so as to prompt the STA to scan the network again and select the AP2 with better signal access, but this may cause the network interruption time of the STA to be too long.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method and an apparatus for controlling a terminal to actively roam, so as to solve the problem in the prior art that an AP actively disconnects from an STA when the STA signal strength is relatively low.
In a first aspect, an embodiment of the present application provides a method for controlling a terminal to actively roam, where the method includes:
a first Access Point (AP) detects the signal transmission quality of a terminal (STA) accessed to the first AP;
determining whether the STA meets AP switching conditions according to the detected signal transmission quality;
and after the STA is determined to meet the AP switching condition, controlling the message transmission between the first AP and the STA according to the trend that the retransmission times of the data message gradually increase.
Optionally, the controlling, according to a trend that the retransmission times of the data packet gradually increase, packet transmission between the first AP and the STA includes:
receiving an uplink data message sent by the STA;
determining the current retransmission times of the uplink data message and the sending sequence number of the uplink data message, if the retransmission times and the sending sequence number are matched with an ACK trigger table, replying an ACK message, otherwise, not replying the ACK message;
the ACK triggering table comprises a corresponding relation between a sending sequence number of an uplink data message and the retransmission times of the uplink data message corresponding to the ACK message, and the retransmission times of the response ACK message in the ACK triggering table are increased along with the increase of the sending sequence number.
Optionally, the controlling, according to a trend that the retransmission times of the data packet gradually increase, packet transmission between the first AP and the STA includes:
determining the retransmission times of the downlink data message according to the set mapping relation between the retransmission times of the downlink data message and the sending sequence of the downlink data message;
determining whether to send a downlink data message with a retransmission identification bit set to the STA based on the determined retransmission times;
the retransmission identification bit is used for identifying that the transmitted downlink data message is a retransmitted downlink data message, and the value of the retransmission times in the mapping relation increases along with the increase of the transmission sequence.
Optionally, the method further comprises:
receiving information of channel occupation duration of a wireless access point sent by the AC, wherein the channel occupation duration is used for controlling transmission duration when the first AP carries out downlink transmission;
the controlling, according to a trend that retransmission times of the data packet gradually increase, packet transmission between the first AP and the STA includes:
and when controlling each downlink data message transmission between the first AP and the STA according to the trend that the retransmission times of the data messages gradually increase, performing the downlink data message transmission according to the channel occupation time.
In a second aspect, an embodiment of the present application provides a method for controlling active roaming of a terminal, where the method includes:
the method comprises the steps that a wireless controller AC receives signal transmission quality of a terminal STA sent by a first AP;
determining whether the STA meets AP switching conditions according to the signal transmission quality;
after the STA is determined to meet the AP switching condition, indicating the first AP to control the message transmission between the first AP and the STA according to the trend that the retransmission times of the data message gradually increase;
selecting a switched second AP;
sending a switching instruction to the second AP; the switching instruction is used for informing the second AP to send an access suggestion to the STA.
In a third aspect, an embodiment of the present application provides an apparatus for controlling a terminal to actively roam, where the apparatus is applied in a first access point, and includes:
a detection module, configured to detect signal transmission quality of a terminal STA accessing the first AP;
a determining module, configured to determine whether the STA satisfies an AP switching condition according to the detected signal transmission quality;
and the control module is used for controlling the message transmission between the first AP and the STA according to the trend that the retransmission times of the data message gradually increase after the STA is determined to meet the AP switching condition.
Optionally, the control module is specifically configured to:
receiving an uplink data message sent by the STA;
determining the current retransmission times of the uplink data message and the sending sequence number of the uplink data message, if the retransmission times and the sending sequence number are matched with an ACK trigger table, replying an ACK message, otherwise, not replying the ACK message;
the ACK triggering table comprises a corresponding relation between a sending sequence number of an uplink data message and the retransmission times of the uplink data message corresponding to the ACK message, and the retransmission times of the response ACK message in the ACK triggering table are increased along with the increase of the sending sequence number.
Optionally, the control module is specifically configured to:
determining the retransmission times of the downlink data message according to the set mapping relation between the retransmission times of the downlink data message and the sending sequence of the downlink data message;
determining whether to send a downlink data message with a retransmission identification bit set to the STA based on the determined retransmission times;
the retransmission identification bit is used for identifying that the transmitted downlink data message is a retransmitted downlink data message, and the value of the retransmission times in the mapping relation increases along with the increase of the transmission sequence.
Optionally, the apparatus further comprises:
a receiving module, configured to receive information of a channel occupation duration of a wireless access point sent by the AC, where the channel occupation duration is used to control a transmission duration when the first AP performs downlink transmission;
the control module is further configured to control each downlink data packet transmission between the first AP and the STA according to a trend that retransmission times of data packets gradually increase, and perform downlink data packet transmission according to the channel occupation duration.
In a fourth aspect, an embodiment of the present application provides an apparatus for controlling active roaming of a terminal, where the apparatus is applied to a wireless controller AC, and the apparatus includes:
the receiving module is used for receiving the signal transmission quality of the terminal STA sent by the first AP;
a determining module, configured to determine whether the STA satisfies an AP switching condition according to the signal transmission quality;
the control module is used for indicating the first AP to control the message transmission between the first AP and the STA according to the trend that the retransmission times of the data message gradually increase after the STA is determined to meet the AP switching condition;
a selection module, configured to select a second AP after switching;
a sending module, configured to send a switching instruction to the second AP; the switching instruction is used for informing the second AP to send an access suggestion to the STA.
According to the method and the device for controlling the terminal to actively roam, whether the STA meets the AP switching condition or not is determined by detecting the signal transmission quality of the STA accessed to the first AP, after the STA is determined to meet the AP switching condition, message transmission between the first AP and the STA is controlled according to the trend that the message retransmission times are gradually increased, after the STA meets the AP switching condition, the first AP cannot be disconnected from the STA, opportunity is provided for the STA by gradually increasing the message retransmission times, so that the STA searches for other AP accesses, and long-time disconnection between the STA and the first AP is avoided.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic diagram of a network structure of a WLAN of a conventional thin AP model;
fig. 2 is a schematic diagram of a wireless lan system according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for controlling active roaming of a terminal according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a first process for controlling packet transmission between a first AP and an STA according to an embodiment of the present application;
fig. 5 is a schematic diagram of a second flow chart for controlling packet transmission between a first AP and an STA according to an embodiment of the present application;
fig. 6 is a flowchart illustrating another method for controlling active roaming of a terminal according to an embodiment of the present disclosure;
fig. 7 is a first structural diagram of an apparatus for controlling active roaming of a terminal according to an embodiment of the present disclosure;
fig. 8 is a second structural diagram of an apparatus for controlling active roaming of a terminal according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a wireless access device 900 according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a wireless access device 1000 according to another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 2, a wireless local area network system according to an embodiment of the present application is provided with a wireless controller AC21 and a plurality of access points AP (e.g., AP221, AP222, AP223, etc.), each AP establishes a connection with AC21, a plurality of terminal STAs (e.g., STA231, STA232, STA233, etc.) may be connected to each AP, and each AP may transmit the received signal strength of the corresponding STA to AC21, so that AC21 may determine a network connection status between the STA and the corresponding AP based on the received signal strength of the STA.
When the AC21 determines that the network between the STA231 and the AP221 is poor, the AC21 may decrease the reply frequency of the management packet of the AP221, and increase the signal strength of the AP222 and the reply frequency of the management packet, so as to prompt the STA231 to actively connect to the AP222, but when the reply frequency of the management packet of the AP222 is decreased, the STA231 may misunderstand that the network disappears because the management packet is not received within a preset time, so as to actively disconnect from the AP222, although the time required for the STA231 to search for the AP222 may be reduced by increasing the signal strength of the AP222 and the reply frequency of the management packet, the STA231 may still cause a long-time network outage, and at the same time, the signal strength of the AP221 is decreased, and the network of other terminals may be affected.
Different from the above technology, in the embodiment of the present application, after determining that the network condition between the STA and the AP is poor, that is, after the STA satisfies the AP switching condition, the data packet transmission between the AP and the STA is controlled according to the trend that the retransmission times of the data packet gradually increase, and after the STA satisfies the AP switching condition, the AP does not disconnect from the STA, but provides an opportunity for the STA by gradually increasing the retransmission times of the data packet, so that the STA searches for other APs to access, thereby reducing the network interruption time between the STA and the first AP caused by reducing the reply frequency of the management packet of the AP, and simultaneously avoiding the influence of reducing the signal strength of the AP on other terminals connected to the AP.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Next, taking the execution subject as the first AP as an example, the following describes determining whether the STA satisfies the AP switching condition, and controlling the packet transmission between the first AP and the STA according to a trend that the retransmission times of the data packet gradually increase after determining that the STA satisfies the AP switching condition:
an embodiment of the present application provides a method for controlling a terminal to actively roam, as shown in fig. 3, and is applied to a first AP, including the following steps:
s301, detecting the signal transmission quality of the STA accessing the first AP.
Specifically, the signal transmission quality may be signal strength or a data packet retransmission rate, and based on this information, it may be determined whether the network between the STA and the first AP is degraded.
In a specific implementation, the first AP may detect a signal strength of an STA accessing the first AP, and may also detect a data packet retransmission rate of the STA accessing the first AP, which is not limited in this application.
S302, determining whether the STA meets AP switching conditions according to the detected signal transmission quality;
specifically, the AP switching condition may be that the signal strength is less than a set signal strength threshold, or that the retransmission rate reaches a retransmission rate threshold, which may be determined based on actual conditions.
The first AP may determine whether the STA satisfies the AP switching condition based on two ways:
mode 1: the first AP determines whether the STA meets AP switching conditions or not according to the detected signal transmission quality;
mode 2: the first AP sends the detected signal transmission quality to the AC, the AC judges whether the STA meets the AP switching condition according to the received signal transmission quality, the AC sends the judgment result to the first AP, and the first AP determines whether the STA meets the AP switching condition based on the judgment result.
In a specific implementation, if the first AP detects that the signal strength of the STA accessing the first AP is less than a set signal strength threshold, determining whether the signal strength is less than the set signal strength threshold, and after determining that the signal strength is less than the set signal strength threshold, determining that the STA satisfies an AP handover condition;
and/or if the first AP detects the data message retransmission rate of the STA accessed to the first AP during data message transmission, judging whether the data message retransmission rate reaches a set retransmission rate threshold value, and determining that the STA meets the AP switching condition after determining that the data message retransmission rate reaches the set retransmission rate threshold value.
The process of the AC determining whether the STA satisfies the AP switching condition according to the transmission quality of the signal transmitted by the first AP is the same as the process of the first AP determining whether the STA satisfies the AP switching condition, and will not be described in detail here.
And S303, after the STA is determined to meet the AP switching condition, controlling the message transmission between the first AP and the STA according to the trend that the retransmission times of the data message gradually increase.
Specifically, the retransmission times of the data packet may be the retransmission times of the uplink data packet, or the retransmission times of the downlink data packet, and may be selected according to actual requirements.
As shown in fig. 4, controlling the packet transmission between the first AP and the STA according to the trend that the retransmission times of the data packet gradually increase includes:
step 3031, receiving an uplink data message sent by the STA;
in a specific implementation, there may be multiple uplink data packets to be sent to the first AP in the STA (a data packet sent by the STA to the AP direction is referred to as an uplink data packet), and the STA sequentially sends the data packets.
Step 3032, determining the current retransmission times of the uplink data message and the sending sequence number of the message, if the retransmission times and the sending sequence number of the message are matched with the ACK trigger table, replying the ACK message, otherwise, not replying the ACK message; the ACK triggering table comprises a corresponding relation between a sending sequence number of the uplink data message and the retransmission times corresponding to the ACK message, and the retransmission times corresponding to the ACK message increases along with the increase of the sending sequence number.
Specifically, after the first AP determines that the STA satisfies the handover condition, the first AP may determine the sequence number of the received uplink data packet according to the packet number carried in the uplink data packet, and further may determine the retransmission times of the data packets with the same sequence number.
If the determined retransmission times and the sending sequence number are matched with the retransmission trigger table, the ACK message is triggered to be replied, otherwise, the ACK message is not replied.
For the STA, for a data packet with the same sequence number (for example, sequence number N), if an ACK packet replied by the first AP is not received, retransmission is triggered. When the number of times of triggering retransmission is the same as the number of times in the ACK triggering table, the first AP replies an ACK packet. At this time, the terminal transmits the next data message (the data message with the serial number N + 1).
The present embodiment takes the following ACK triggering table as an example to describe the message transmission between the first AP and the STA.
When the first AP determines that the STA meets the switching condition, when the uplink data message is received, the serial number of the message is determined according to the message number carried by the uplink data message, the message is the first message received after the STA meets the switching condition, the first AP determines that the sending serial number of the message is 1, and if the retransmission time is 1, the message is not matched with an ACK trigger table, so that the ACK message is not replied.
The STA retransmits the message because the ACK message replied by the first AP is not received, when the first AP determines that the message is a retransmission message with the previous sequence number of 1 according to the message number carried by the retransmitted data message (no new sequence number is determined for the retransmission message any more, and the sequence number of the retransmission message is still 1), the process is repeated until the retransmission frequency of the data message is determined to be 3, and then the ACK message is replied. After receiving the ACK packet replied by the first AP, the STA transmits the next data packet, and the first AP determines that the transmission sequence number of the next data packet is 2, and the process of execution is similar to that of transmitting the packet with the sequence number of 1, which is not described herein again.
And when the first AP determines that the received data message is the message with the transmission sequence number of 6, replying the ACK message when the message with the sequence number of 6 is retransmitted for the 5 th time. And repeating the steps until the first AP receives the message with the sending sequence number of 20, and replying the ACK message when the retransmission time of the message is 19 times.
As can be seen from the following ACK trigger table, as the transmission sequence number of the received packet increases, the time interval for replying the ACK packet also increases, that is, the retransmission times of the corresponding data packet are gradually increased when the ACK packet is replied.
It should be noted that the following ACK triggering table is only an example, and should not be taken as a limitation. In this embodiment, only an example that the STA sends only one uplink data packet to the first AP at a time is taken as an example for explanation, in practice, the STA may send multiple packets to the first AP at the same time, and for a similar case, reference may be made to the following embodiment that the first AP sends a downlink packet to the STA, which is not described in detail in this embodiment.
ACK trigger table
Figure BDA0001487566690000111
Through the process of sequentially increasing the retransmission rate of the data messages of the STA, the STA considers that the network between the local terminal and the first AP is poor, network disconnection between the STA and the first AP caused by suddenly increasing the retransmission rate is avoided, and the STA can conveniently find the AP with better signal strength for switching.
The method and the device can control the message transmission between the first AP and the STA through the uplink message retransmission times, and can also control the message transmission between the first AP and the STA through the downlink message retransmission times.
As shown in fig. 5, controlling the packet transmission between the first AP and the STA according to the trend that the retransmission times of the data packet gradually increase includes:
3035, determining the retransmission times of the downlink data message according to the mapping relation between the set retransmission times of the downlink data message and the transmission sequence of the downlink data message;
step 3036, determining whether to send the downlink data message with the retransmission identification bit set to the STA based on the determined retransmission times;
the retransmission identification bit is used for identifying that the transmitted downlink data message is a retransmission downlink data message, and the value of the retransmission times is increased along with the increase of the transmission sequence.
In step 3036, the retransmission times corresponding to the transmission sequence of the downlink data packet are determined according to the mapping relationship, and the retransmission flag bit is added to the downlink data packet until the retransmission times of the downlink data packet is greater than the retransmission times determined according to the mapping relationship, and the retransmission flag bit is not added any more.
The purpose of adding the retransmission identification bit is to enable the STA to identify that the received downlink data messages are retransmission messages, so that the STA judges the quality of the current network according to the number of the retransmission messages and seeks an AP with better signal transmission quality for connection.
The mapping relationship is similar to the ACK triggering table in the above embodiment, and the following mapping relationship table merely gives an example, which shows that the retransmission times of the downlink data packets in the mapping relationship table increase with the increase of the transmission sequence of the downlink data packets.
Mapping relation table
Sending sequence of downlink data messages Number of retransmissions of downlink data packet
1-5 3
6-9 5
10-13 9
14-16 13
17-19 15
20 19
In a specific implementation, when it is determined that the STA satisfies the handover condition, the first AP may set a transmission order of the downlink data packets based on the numbers of the downlink data packets, and sequentially transmit the corresponding downlink data packets based on the transmission order of the downlink data packets.
For example, the sending sequence of the downlink data packets may be: number 1-number 5, number 6-number 9, number 10-number 13, number 14-number 16, number 17-number 19, number 20, the number of retransmissions corresponding to the transmission order being in order: 3. 5, 9, 13, 15, 19, the first AP sends downlink data packets numbered 1-5 to the STA, and after the sending times of the downlink data packets numbered 1-5 reach the first retransmission time 3, the first AP sends downlink data packets numbered 6-9 to the STA 5 times, and the sending process of the downlink data packets corresponding to each sending sequence is the same as the above process, and is not described one by one.
Further, after the first AP determines that the STA satisfies the AP switching condition, the first AP may further receive information of a channel occupation duration sent by the AC, where the channel occupation duration is used to control a transmission duration when the first AP performs downlink transmission;
controlling the message transmission between the first AP and the STA according to the trend that the message retransmission times gradually increase, comprising:
and when controlling each downlink data message transmission between the first AP and the STA according to the trend that the retransmission times of the data messages gradually increase, performing the downlink data message transmission according to the channel occupation time.
Specifically, the channel occupation time length is generally set by the user based on actual requirements. Before downlink data message transmission, channel occupation duration of a first AP may be set in an AC, the AC sends the channel occupation duration to the first AP through a Control And configuration Protocol (wap) message of a Wireless Access point, And the first AP controls transmission duration when downlink data message transmission is performed based on the received channel occupation duration.
In particular implementations, after the STA satisfies the AP handoff condition, the channel occupation duration (TXOP Limit) in the AC may be set to a set threshold, e.g., 0. The AC sends the occupied time of the channel to the first AP through the CAPWAP message, so that the first AP can only send one downlink data message at a time when sending the downlink data message, and needs to compete for the channel again when sending the next downlink data message, thereby increasing the back-off time of the first AP and ensuring that the STA can have enough time to search the AP with better signal strength.
The method for controlling the terminal to actively roam determines whether the STA meets the AP switching condition or not by detecting the signal transmission quality of the STA accessed to the first AP, controls the message transmission between the first AP and the STA according to the trend that the message retransmission times are gradually increased after the STA is determined to meet the AP switching condition, and provides opportunities for the STA to search for other AP accesses by the STA in a mode of gradually increasing the message retransmission times without disconnecting the connection between the first AP and the STA after the STA meets the AP switching condition.
In order to make the solution of the present application more clear, it is further described in detail by another example.
As shown in fig. 6, a flowchart of a method for switching an AP provided in an embodiment of the present application includes:
s601, the first AP sends the signal transmission quality of the STA to the AC;
and S602, the AC determines whether the STA meets the AP switching condition according to the signal transmission quality.
And S603, after the AC determines that the STA meets the AP switching condition, the AC indicates the first AP to control the message transmission between the first AP and the STA according to the trend that the retransmission times of the data message gradually increase.
The process of controlling the data packet transmission between the first AP and the STA by the first AP is described in detail above, and will not be described too much here.
S604, the AC selects the switched second AP;
in a specific implementation, the AC may sort the APs with signal strengths greater than or equal to the set signal strength threshold from the other APs except the first AP, and select the AP with the strongest signal strength as the second AP.
S605, the AC sends a switching instruction to the second AP; the switching instruction is used for informing the second AP to send an access suggestion to the STA.
Specifically, the identification information of the STA may be, but is not limited to, a Media Access Control (MAC) address of the STA, a device name, and the like, which is not limited in this application.
S606, the second AP sends an access suggestion to the STA based on the identification information of the STA carried in the switching instruction; the access recommendation is to instruct the STA to access the second AP.
Specifically, the switching instruction may also carry an identifier of the second AP, and the access suggestion may also carry an identifier of the second AP.
In a specific implementation, the identifier of the second AP may be a name of the second AP, and after receiving the switching instruction, the second AP sends the name of the second AP to the STA based on the identifier information of the STA, so that the STA can access the second AP, and the AC provides the STA with the second AP suitable for the STA to switch, thereby reducing time taken for the STA to find other APs. The AC may instruct the first AP to send the switching instruction to the second AP according to a trend that the retransmission times of the data packet gradually increases after it is determined that the STA satisfies the AP switching condition, before controlling packet transmission between the first AP and the STA, or may send the switching instruction to the second AP during packet transmission between the first AP and the STA, which may be determined according to an actual situation.
Based on the same inventive concept, the embodiment of the present application provides a device for controlling a terminal to actively roam, and because the principle of the device for solving the problem is similar to the method for controlling the terminal to actively roam in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and repeated details are not repeated.
An embodiment of the present application provides an apparatus for controlling a terminal to actively roam, as shown in fig. 7, and is applied to a first AP, where the apparatus includes:
a detecting module 71, configured to detect a signal transmission quality of a terminal STA accessing the first AP;
a determining module 72, configured to determine whether the STA satisfies an AP switching condition according to the detected signal transmission quality;
a control module 73, configured to control, after it is determined that the STA satisfies the AP switching condition, packet transmission between the first AP and the STA according to a trend that retransmission times of a data packet gradually increases.
Optionally, the control module 73 is specifically configured to:
receiving an uplink data message sent by the STA;
determining the current retransmission times of the uplink data message and the sending sequence number of the uplink data message, if the retransmission times and the sending sequence number are matched with an ACK trigger table, replying an ACK message, otherwise, not replying the ACK message;
the ACK triggering table comprises a corresponding relation between a sending sequence number of an uplink data message and the retransmission times of the uplink data message corresponding to the ACK message, and the retransmission times of the response ACK message in the ACK triggering table are increased along with the increase of the sending sequence number.
Optionally, the control module 73 is specifically configured to:
determining the retransmission times of the downlink data message according to the set mapping relation between the retransmission times of the downlink data message and the sending sequence of the downlink data message;
determining whether to send a downlink data message with a retransmission identification bit set to the STA based on the determined retransmission times;
the retransmission identification bit is used for identifying that the transmitted downlink data message is a retransmitted downlink data message, and the value of the retransmission times in the mapping relation increases along with the increase of the transmission sequence.
Optionally, the apparatus further comprises:
a receiving module 74, configured to receive information of a channel occupation duration of a wireless access point sent by the AC, where the channel occupation duration is used to control a transmission duration when the first AP performs downlink transmission;
the control module 73 is further configured to control, according to a trend that the retransmission times of the data packet gradually increase, each time downlink data packet transmission between the first AP and the STA is performed, perform downlink data packet transmission according to the channel occupation duration.
An embodiment of the present application provides an apparatus for controlling a terminal to actively roam, as shown in fig. 8, and is applied to a wireless controller AC, where the apparatus includes:
a receiving module 81, configured to receive signal transmission quality of a terminal STA sent by a first AP;
a determining module 82, configured to determine whether the STA satisfies an AP switching condition according to the signal transmission quality;
a control module 83, configured to instruct the first AP to control packet transmission between the first AP and the STA according to a trend that retransmission times of a data packet gradually increase after it is determined that the STA satisfies an AP switching condition;
a selecting module 84, configured to select a second AP after the switching;
a sending module 85, configured to send a zhi switching instruction to the second AP; the switching instruction is used for informing the second AP to send an access suggestion to the STA.
As shown in fig. 9, an embodiment of the present application provides a wireless access device 900, configured to execute a method for controlling a terminal to actively roam applied in a first AP, where the device includes a memory 901, a processor 902, and a computer program stored in the memory 901 and operable on the processor 902, where the processor 902 implements the steps of the method for controlling the terminal to actively roam when executing the computer program.
In particular, the memory 901 and the processor 902 can be general-purpose memories and processors, which are not limited in particular, when the processor 902 executes the computer program stored in the memory 901, the above-described method of controlling the terminal to actively roam can be performed, is used for solving the problem that the AP actively disconnects from the STA when the STA signal strength is lower in the prior art, determining whether the STA satisfies an AP handoff condition by detecting signal transmission quality of the STA accessing the first AP, controlling the message transmission between the first AP and the STA according to the trend that the message retransmission times gradually increase after the STA is determined to meet the AP switching condition, after the STA meets the AP switching condition, the first AP can not disconnect the connection with the STA, but provides the STA with the opportunity by gradually increasing the message retransmission times so that the STA can find other APs to access, thereby avoiding the long-time disconnection between the STA and the first AP.
Corresponding to the method for controlling the terminal to actively roam, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps of the method for controlling the terminal to actively roam.
Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, and the like, and when a computer program on the storage medium is executed, the method for controlling the terminal to actively roam can be executed, so as to solve the problem that an AP actively disconnects from an STA when the STA signal strength is low in the prior art, determine whether the STA satisfies an AP switching condition by detecting the signal transmission quality of the STA accessing a first AP, and after determining that the STA satisfies the AP switching condition, control the packet transmission between the first AP and the STA according to the trend that the packet retransmission times gradually increase, and after the STA satisfies the AP switching condition, the first AP does not disconnect from the STA, but provides an opportunity for the STA to search for other APs to access by gradually increasing the packet retransmission times, so as to avoid long-time disconnection between the STA and the first AP.
As shown in fig. 10, an embodiment of the present application provides a wireless access device 1000 for executing a method for controlling active roaming of a terminal applied in an AC, where the device includes a memory 1001, a processor 1002, and a computer program stored in the memory 1001 and executable on the processor 1002, where the processor 1002 implements the steps of the method for controlling active roaming of a terminal when executing the computer program.
In particular, the memory 1001 and the processor 1002 can be general-purpose memory and processor, which are not limited in particular, when the processor 1002 executes the computer program stored in the memory 1001, it is able to perform the above-described method of controlling the terminal to actively roam, is used for solving the problem that the AP actively disconnects from the STA when the STA signal strength is lower in the prior art, determining whether the STA satisfies an AP handoff condition by detecting signal transmission quality of the STA accessing the first AP, after determining that the STA meets the AP switching condition, indicating the first AP to control the message transmission between the first AP and the STA according to the trend that the message retransmission times gradually increase, after the STA meets the AP switching condition, the first AP can not disconnect the connection with the STA, but provides the STA with the opportunity by gradually increasing the message retransmission times so that the STA can find other APs to access, thereby avoiding the long-time disconnection between the STA and the first AP.
Corresponding to the method for controlling the terminal active roaming applied in the AC, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs the steps of the method for controlling the terminal active roaming.
In particular, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, etc., and when the computer program on the storage medium is executed, the method for controlling the terminal to actively roam can be executed, is used for solving the problem that the AP actively disconnects from the STA when the STA signal strength is lower in the prior art, determining whether the STA satisfies an AP handoff condition by detecting signal transmission quality of the STA accessing the first AP, after determining that the STA meets the AP switching condition, indicating the first AP to control the message transmission between the first AP and the STA according to the trend that the message retransmission times gradually increase, after the STA meets the AP switching condition, the first AP can not disconnect the connection with the STA, but provides the STA with the opportunity by gradually increasing the message retransmission times so that the STA can find other APs to access, thereby avoiding the long-time disconnection between the STA and the first AP.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
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, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for controlling terminal active roaming, characterized in that the method comprises:
a first Access Point (AP) detects the signal transmission quality of a terminal (STA) accessed to the first AP;
determining whether the STA meets AP switching conditions according to the detected signal transmission quality; the AP switching condition is that the signal intensity is smaller than a set signal mild threshold value, and/or the retransmission rate reaches a retransmission rate threshold value;
and after the STA is determined to meet the AP switching condition, controlling the time for replying the ACK message or the time for setting a retransmission identification bit according to the trend that the retransmission times of the data message gradually increases so as to realize the control of message transmission between the first AP and the STA.
2. The method according to claim 1, wherein said controlling the packet transmission between the first AP and the STA according to the trend of gradually increasing retransmission times of data packets comprises:
receiving an uplink data message sent by the STA;
determining the current retransmission times of the uplink data message and the sending sequence number of the uplink data message, if the retransmission times and the sending sequence number are matched with an ACK trigger table, replying an ACK message, otherwise, not replying the ACK message;
the ACK triggering table comprises a corresponding relation between a sending sequence number of an uplink data message and the retransmission times of the uplink data message corresponding to the ACK message, and the retransmission times of the response ACK message in the ACK triggering table are increased along with the increase of the sending sequence number.
3. The method according to claim 1 or 2, wherein the controlling the packet transmission between the first AP and the STA according to the trend of gradually increasing retransmission times of data packets comprises:
determining the retransmission times of the downlink data message according to the set mapping relation between the retransmission times of the downlink data message and the sending sequence of the downlink data message;
determining whether to send a downlink data message with a retransmission identification bit set to the STA based on the determined retransmission times;
the retransmission identification bit is used for identifying that the transmitted downlink data message is a retransmitted downlink data message, and the value of the retransmission times in the mapping relation increases along with the increase of the transmission sequence.
4. The method of claim 1, wherein the method further comprises:
receiving information of channel occupation duration sent by a wireless controller AC, wherein the channel occupation duration is used for controlling transmission duration when the first AP carries out downlink transmission;
the controlling, according to a trend that retransmission times of the data packet gradually increase, packet transmission between the first AP and the STA includes:
and when controlling each downlink data message transmission between the first AP and the STA according to the trend that the retransmission times of the data messages gradually increase, performing the downlink data message transmission according to the channel occupation time.
5. A method for controlling terminal active roaming, characterized in that the method comprises:
the method comprises the steps that a wireless controller AC receives signal transmission quality of a terminal STA sent by a first AP;
determining whether the STA meets AP switching conditions according to the signal transmission quality;
after the STA is determined to meet the AP switching condition, indicating the first AP to control the message transmission between the first AP and the STA according to the trend that the retransmission times of the data message gradually increase;
selecting a switched second AP;
sending a switching instruction to the second AP; the switching instruction is used for informing a second AP to send an access suggestion to the STA, and the access suggestion is sent by the second AP based on the identification information of the STA carried in the switching instruction.
6. An apparatus for controlling active roaming of a terminal, applied in a first access point, the apparatus comprising:
a detection module, configured to detect signal transmission quality of a terminal STA accessing the first AP;
a determining module, configured to determine whether the STA satisfies an AP switching condition according to the detected signal transmission quality; the AP switching condition is that the signal intensity is smaller than a set signal mild threshold value, and/or the retransmission rate reaches a retransmission rate threshold value;
and the control module is used for controlling the time for replying the ACK message or the time for setting the retransmission identification bit according to the trend that the retransmission times of the data message gradually increase after the STA is determined to meet the AP switching condition so as to realize the control of the message transmission between the first AP and the STA.
7. The apparatus of claim 6, wherein the control module is specifically configured to:
receiving an uplink data message sent by the STA;
determining the current retransmission times of the uplink data message and the sending sequence number of the uplink data message, if the retransmission times and the sending sequence number are matched with an ACK trigger table, replying an ACK message, otherwise, not replying the ACK message;
the ACK triggering table comprises a corresponding relation between a sending sequence number of an uplink data message and the retransmission times of the uplink data message corresponding to the ACK message, and the retransmission times of the response ACK message in the ACK triggering table are increased along with the increase of the sending sequence number.
8. The apparatus of claim 6 or 7, wherein the control module is specifically configured to:
determining the retransmission times of the downlink data message according to the set mapping relation between the retransmission times of the downlink data message and the sending sequence of the downlink data message;
determining whether to send a downlink data message with a retransmission identification bit set to the STA based on the determined retransmission times;
the retransmission identification bit is used for identifying that the transmitted downlink data message is a retransmitted downlink data message, and the value of the retransmission times in the mapping relation increases along with the increase of the transmission sequence.
9. The apparatus of claim 6, further comprising:
the receiving module is used for receiving information of channel occupation duration of a wireless access point sent by a wireless controller AC, wherein the channel occupation duration is used for controlling transmission duration when the first AP carries out downlink transmission;
the control module is further configured to control each downlink data packet transmission between the first AP and the STA according to a trend that retransmission times of data packets gradually increase, and perform downlink data packet transmission according to the channel occupation duration.
10. An apparatus for controlling active roaming of a terminal, applied in a wireless controller AC, the apparatus comprising:
the receiving module is used for receiving the signal transmission quality of the terminal STA sent by the first AP;
a determining module, configured to determine whether the STA satisfies an AP switching condition according to the signal transmission quality;
the control module is used for indicating the first AP to control the message transmission between the first AP and the STA according to the trend that the retransmission times of the data message gradually increase after the STA is determined to meet the AP switching condition;
a selection module, configured to select a second AP after switching;
a sending module, configured to send a switching instruction to the second AP; the switching instruction is used for informing a second AP to send an access suggestion to the STA, and the access suggestion is sent by the second AP based on the identification information of the STA carried in the switching instruction.
CN201711227580.8A 2017-11-29 2017-11-29 Method and device for controlling terminal to actively roam Active CN108024298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711227580.8A CN108024298B (en) 2017-11-29 2017-11-29 Method and device for controlling terminal to actively roam

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711227580.8A CN108024298B (en) 2017-11-29 2017-11-29 Method and device for controlling terminal to actively roam

Publications (2)

Publication Number Publication Date
CN108024298A CN108024298A (en) 2018-05-11
CN108024298B true CN108024298B (en) 2021-01-01

Family

ID=62077667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711227580.8A Active CN108024298B (en) 2017-11-29 2017-11-29 Method and device for controlling terminal to actively roam

Country Status (1)

Country Link
CN (1) CN108024298B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449781B (en) * 2018-04-16 2020-07-17 福建科立讯通信有限公司 Method and system for realizing roaming of terminal in narrow-band wireless digital communication system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272308A (en) * 2008-05-06 2008-09-24 杭州华三通信技术有限公司 Roaming switch triggering method, access controller and access point
CN102790719A (en) * 2012-07-31 2012-11-21 福建星网锐捷网络有限公司 Message sending method and device capable of improving data transmission quality, and wireless access point
CN103167471A (en) * 2013-03-13 2013-06-19 杭州华三通信技术有限公司 Method and device for transmitting data of client moving between different APs (access points)
CN107124744A (en) * 2017-06-19 2017-09-01 深圳市优克联新技术有限公司 A kind of method for switching network and WAP
CN107222911A (en) * 2017-06-09 2017-09-29 上海斐讯数据通信技术有限公司 Wireless terminal roaming control method and system and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046594A (en) * 2001-08-01 2003-02-14 Canon Inc Wireless data communication device and its control method
JP4860381B2 (en) * 2006-07-10 2012-01-25 日本電気通信システム株式会社 Wireless communication system, system control apparatus, wireless base station, wireless communication terminal, communication control method, and communication control program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272308A (en) * 2008-05-06 2008-09-24 杭州华三通信技术有限公司 Roaming switch triggering method, access controller and access point
CN102790719A (en) * 2012-07-31 2012-11-21 福建星网锐捷网络有限公司 Message sending method and device capable of improving data transmission quality, and wireless access point
CN103167471A (en) * 2013-03-13 2013-06-19 杭州华三通信技术有限公司 Method and device for transmitting data of client moving between different APs (access points)
CN107222911A (en) * 2017-06-09 2017-09-29 上海斐讯数据通信技术有限公司 Wireless terminal roaming control method and system and device
CN107124744A (en) * 2017-06-19 2017-09-01 深圳市优克联新技术有限公司 A kind of method for switching network and WAP

Also Published As

Publication number Publication date
CN108024298A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
US9137727B2 (en) Controlled client roaming
CN104081815B (en) Request-response process for wireless network
US11711711B2 (en) Method for configuring measurement gap, access network device and terminal
US10244446B2 (en) Triggering terminal roaming by access point
US9807813B2 (en) Probe response suppression
US20160095022A1 (en) Method, apparatus, and system for connecting to network
JP2007325315A (en) Seamless channel change in wireless local area network
EP3373520A1 (en) Status detection method and wireless network node
EP3182784B1 (en) Method and apparatus for adjusting clear channel assessment (cca) threshold
CN104301957A (en) Method and device for controlling terminal to actively roam
US20200383045A1 (en) Access point selection from a set of candidates during connection with a station
EP3145237A1 (en) Processing method for dynamic channel detection, station, and access point device
US20200344829A1 (en) Device to device-based communication method and terminal
JP4976559B2 (en) Method, apparatus, and computer program for configuring a network by dynamically utilizing channel bandwidth to provide support and power saving for legacy equipment
CN109104762B (en) Method and device for adjusting WLAN network frame transmitting power
CN108024298B (en) Method and device for controlling terminal to actively roam
US10045361B2 (en) Method, apparatus, and system for establishing cooperative communication
US20230171687A1 (en) Wireless roaming method and system
EP3905736A1 (en) Device discovery method, apparatus, and system
CN110278586B (en) Frame response method and related device
JP5650282B2 (en) Radio relay apparatus and radio relay method
KR101422717B1 (en) Method and device for handoff of wireless communication system
CN109842496B (en) Method and device for determining multicast sending rate and wireless access point
WO2021181725A1 (en) Terminal device for executing call control for terminal device including multiple subscriber identity modules, base station apparatus, control method, and program
JP6669367B1 (en) Wireless communication terminal, control method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant