Disclosure of Invention
In view of the above problems, the present invention provides an inter-antenna roaming apparatus, system and method, and a wireless access point, which effectively solve the technical problem that the antenna connected to the terminal device cannot be dynamically adjusted in the existing wireless communication device.
The technical scheme provided by the invention is as follows:
an inter-antenna roaming device is applied to a wireless communication device supporting Multi-User Multiple-Input Multiple-Output (MU-MIMO), and the wireless communication device includes Multiple antennas, and the wireless communication device is in communication connection with at least one terminal device through the Multiple antennas, and the inter-antenna roaming device includes:
the judging module is used for judging whether an antenna switching request sent by any terminal equipment in communication connection with the wireless communication equipment is received;
the connection releasing module is used for releasing the physical communication between the terminal equipment and the current connected antenna according to the judgment result of the judging module;
and the antenna switching module is used for reselecting the antenna to be connected with the terminal equipment according to the release of the connection release module so as to realize the roaming among the antennas in the wireless communication equipment.
In the technical scheme, the inter-antenna roaming device receives an antenna switching request sent by the terminal equipment, immediately clears the physical communication between the inter-antenna roaming device and the terminal equipment, and reselects the antenna to be connected with the terminal equipment, so that the inter-antenna roaming is realized, the terminal equipment is always in an optimal working state, the utilization rate of network resources is improved, and the user experience is improved.
Further preferably, the judging module is further configured to judge the number of antennas connected to the terminal device that sends the antenna switching request in the wireless communication device;
and the antenna switching module reselects a corresponding number of antennas according to the number of the antennas judged by the judging module to be connected with the terminal equipment.
In the technical scheme, the corresponding number of antennas are equipped for communication according to the requirements of the terminal equipment, so that the corresponding number of antennas are reselected to be connected with the antennas in the process of antenna switching, and the wireless communication equipment is ensured to work in the optimal state.
Further preferably, the inter-antenna roaming device further comprises a parameter clearing module connected with the connection release module,
when the connection releasing module releases the physical communication between the terminal equipment and the antenna which is connected currently, the parameter clearing module clears the wireless channel parameter of the communication between the terminal equipment and the antenna.
Further preferably, the inter-antenna roaming device further comprises a parameter learning module respectively connected to the connection release module and the parameter clearing module,
the parameter learning module acquires new wireless channel parameters of communication between each antenna and the terminal equipment according to information interaction between the wireless communication equipment and the terminal equipment, wherein the wireless channel parameters comprise signal intensity of wireless signals of each antenna received by the terminal equipment;
and the antenna switching module selects the antenna connected with the terminal equipment according to the signal intensity of the wireless signal of each antenna received by the terminal equipment, which is acquired by the parameter learning module.
In the technical scheme, after physical communication between the terminal equipment and the antenna currently connected in the wireless communication equipment is released, the wireless channel parameters are cleared immediately, then the wireless channel parameters of the communication between the terminal equipment and each antenna in the wireless communication equipment are learned again, and the wireless communication equipment selects the optimal antenna to communicate with the terminal equipment according to the learned result.
The invention also provides a wireless access point which comprises the inter-antenna roaming device.
In the technical scheme, the wireless access equipment supports the MU-MIMO technology, and after the terminal equipment accesses the wireless network through the wireless access point, the terminal equipment is switched among the antennas according to the current connection state, so that the terminal equipment roams among the antennas, the terminal equipment is ensured to work in the optimal state, and network resources are fully utilized.
The invention also provides a roaming system between antennas, which comprises the wireless access point and at least one terminal device in communication connection with the wireless access point, wherein the wireless access point comprises a plurality of antennas, and the terminal device establishes communication connection with at least one antenna,
the terminal equipment generates an antenna switching request according to the signal intensity of the wireless signal of the currently connected antenna and sends the antenna switching request to the wireless access point;
the wireless access point removes the physical communication with the terminal equipment according to the antenna switching request sent by the terminal equipment, and reselects the antenna to be connected with the terminal equipment, so that the roaming among the antennas in the wireless access point is realized.
Further preferably, the terminal device includes:
the signal intensity acquisition module is used for acquiring the signal intensity of the wireless signal of the current connecting antenna;
the comparison module is used for comparing the signal intensity acquired by the signal intensity acquisition module with a preset signal intensity threshold;
and the switching request generating module is used for generating an antenna switching request according to the comparison result of the comparison module, sending the antenna switching request to the wireless access point and requesting to switch the connecting antenna.
In the technical scheme, the terminal equipment judges whether the antenna needs to be switched according to the signal intensity of the wireless signal of the receiving antenna, and if the intensity of the current received wireless signal is smaller than a preset signal intensity threshold value, the terminal equipment judges that the antenna needs to be switched, generates an antenna switching request and sends the antenna switching request to the wireless access point, so that the antenna switching is realized.
The invention also provides an inter-antenna roaming method, which is applied to wireless communication equipment supporting MU-MIMO, wherein the wireless communication equipment comprises a plurality of antennas, the wireless communication equipment is in communication connection with at least one terminal device through the plurality of antennas, and the inter-antenna roaming method comprises the following steps:
s1, judging whether an antenna switching request sent by any terminal equipment in communication connection with the wireless communication equipment is received, if so, jumping to S2;
s2, releasing the physical communication between the terminal equipment and the current connected antenna;
s3 reselects the antenna to connect to the terminal device, thereby enabling roaming between antennas in the wireless communication device.
In the technical scheme, when an antenna switching request sent by the terminal equipment is received, the physical communication between the terminal equipment and the terminal equipment is removed immediately, and the antenna is reselected to be connected with the terminal equipment, so that the roaming among the antennas is realized, the terminal equipment is always in the optimal working state, the utilization rate of network resources is improved, and the user experience is improved.
Further preferably, after the step S2, the method further includes the following steps:
s4 clears the radio channel parameters of the communication between the terminal device and the antenna.
Further preferably, step S3 includes:
s31, acquiring new wireless channel parameters of communication between each antenna and the terminal equipment, wherein the wireless channel parameters comprise the signal intensity of wireless signals of each antenna received by the terminal equipment;
s32 selects an antenna connected to the terminal device according to the acquired signal strength of the wireless signal of each antenna received by the terminal device.
In the technical scheme, after physical communication between the terminal equipment and the antenna currently connected in the wireless communication equipment is released, the wireless channel parameters are cleared immediately, then the wireless channel parameters of the communication between the terminal equipment and each antenna in the wireless communication equipment are learned again, and the wireless communication equipment selects the optimal antenna to communicate with the terminal equipment according to the learned result.
Further preferably, before step S1, the method further includes a step of generating, by the terminal device, an antenna switching request according to the signal strength of the wireless signal of the currently connected antenna, and specifically includes:
s01, acquiring the signal strength of the wireless signal of the current connecting antenna;
s02, comparing the acquired signal intensity with a preset signal intensity threshold value;
and S03, generating an antenna switching request according to the comparison result, sending the antenna switching request to the wireless access point, and requesting to switch the connection antenna.
In the technical scheme, the terminal equipment judges whether the antenna needs to be switched according to the signal intensity of the wireless signal of the receiving antenna, and if the intensity of the current received wireless signal is smaller than a preset signal intensity threshold value, the terminal equipment judges that the antenna needs to be switched, generates an antenna switching request and sends the antenna switching request to the wireless access point, so that the antenna switching is realized.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
The invention provides an inter-antenna roaming device which is applied to wireless communication equipment supporting MU-MIMO, wherein the wireless communication equipment comprises a plurality of antennas, and the wireless communication equipment (such as a wireless router and the like) is in communication connection with at least one terminal device (such as a smart phone, a tablet computer and the like) through the plurality of antennas. Referring to fig. 1, a schematic diagram of an embodiment of the inter-antenna roaming apparatus 100 is shown, the inter-antenna roaming apparatus 100 includes: the antenna cutting device comprises a judging module 110, a connection releasing module 120 and an antenna cutting module 130, wherein the connection releasing module 120 is respectively connected with the judging module 110 and the antenna cutting module 130.
In the working process, the inter-antenna roaming apparatus 100 first determines, by the determining module 110, whether an antenna switching request sent by any terminal device in communication connection with the wireless communication device is received, and immediately releases, by the connection releasing module 120, physical communication between the terminal device and a currently connected antenna if it is determined that an antenna switching request sent by a terminal device is received; then, the antenna switching module 130 reselects the antenna to connect with the terminal device, so as to implement the switching of the terminal device connecting antenna, that is, implement the roaming between the wireless communication device antenna and the antenna, ensure that the terminal device is always in the optimal working state, improve the utilization rate of network resources, and simultaneously improve the user experience.
In this embodiment, in the process of releasing the physical communication between the terminal device and the antenna connected to the terminal device by the connection release module 120, instead of releasing the association between the terminal device and the wireless communication device, the connection between the terminal device and the antenna is released in the physical layer of the OSI (Open System interconnection) model of the computer network, that is, after the connection release module 120 releases the physical communication between the terminal device and the antenna, the terminal device is still associated with the antenna communication device. The reason is that the association relationship between the terminal device and the wireless communication device is realized by a Media Access Control (MAC) layer in the OSI model, and specifically, the association is with communication ports of different frequency bands, such as 2.4GHz/5GHz, and the like; the terminal device is specifically connected to which antenna in the wireless communication device, and the connection is defined by the physical layer. Therefore, in the roaming process between the antennas in the embodiment, the terminal device and the wireless communication device are always associated, and the IP address does not need to be reallocated by a Dynamic Host Configuration Protocol (DHCP), although the terminal device can not communicate instantaneously in the switching process, the whole process is at the millisecond level, and the user cannot even perceive the IP address, and on the contrary, the terminal device is ensured to be always in the optimal working state through the roaming between the antennas, and the user experience is improved.
In an example, the antenna switching request is an Action Frame sent by the terminal device, and a Vendor Specific IE (user-defined parameter) is built in the Action Frame, and the Specific content is "reselect an antenna" and the like, and is defined according to actual requirements.
In addition, in this embodiment, the determining module 110 is further configured to determine the number of antennas connected to the terminal device that sends the antenna switching request in the wireless communication device, so that the antenna switching module 130 reselects a corresponding number of antennas to connect to the terminal device according to the number of antennas determined by the determining module 110. For example, if the wireless communication device includes 4 antennas (including antenna 1, antenna 2, antenna 3, and antenna 4), and the terminal device is a2 × 2 device, the wireless communication device is equipped with two antennas to establish a communication connection with the terminal device, and after receiving an antenna switching request sent by the terminal, the wireless communication device reselects the two antennas to re-establish a communication connection with the terminal device. Of course, in other embodiments, the wireless communication device reselects the antennas according to the specific content in the antenna switching request sent by the terminal device, for example, if the antenna switching request includes "reselect two antennas", the wireless communication device reselects two antennas to reestablish the communication connection with the terminal device; for another example, if the antenna switching request includes "reselect an antenna to replace antenna 1" (the terminal device is connected to the wireless communication device through at least antenna 1), the wireless communication device releases the physical communication between antenna 1 and the terminal device, reselects an antenna to reestablish a communication connection with the terminal device, and so on.
As shown in fig. 2, in the present embodiment, the inter-antenna roaming device 100 includes a determination module 110, a connection release module 120, and an antenna removal module 130, and further includes a parameter clearing module 140 connected to the connection release module 120, and a parameter learning module 150 connected to the connection release module 120 and the parameter clearing module 140, respectively.
In the working process, the inter-antenna roaming apparatus 100 first determines, by the determining module 110, whether an antenna switching request sent by any terminal device in communication connection with the wireless communication device is received, and immediately releases, by the connection releasing module 120, physical communication between the terminal device and a currently connected antenna if it is determined that an antenna switching request sent by a terminal device is received; and clears the wireless channel parameters of the communication between the terminal device and the antenna through the parameter clearing module 140. Then, the parameter learning module 150 learns new wireless channel parameters according to information interaction between the wireless communication device and the terminal device, wherein the wireless channel parameters specifically include signal strength of wireless signals of each antenna received by the terminal device; the antenna switching module 130 selects an antenna connected to the terminal device according to the signal strength of the wireless signal of each antenna received by the terminal device, which is obtained by the parameter learning module 150.
In the embodiment, after physical communication between the terminal equipment and the antenna currently connected in the wireless communication equipment is released, the wireless channel parameters are cleared immediately, the wireless channel parameters of communication between the terminal equipment and each antenna in the wireless communication equipment are learned again, and the wireless communication equipment selects the antenna with the strongest signal intensity received by the terminal equipment to establish communication with the terminal equipment according to the learning result, so that the terminal equipment is always in a stronger signal state, and the communication quality is ensured.
In other embodiments, the antenna switching module may select an optimal antenna comprehensively according to other parameters in the wireless channel parameters, such as Signal-to-Noise Ratio (SNR), in addition to the Received Signal Strength Indication (RSSI).
The invention also provides a wireless access point, and particularly the wireless access point comprises the inter-antenna roaming device 100. And the wireless access point supports MU-MIMO and comprises a plurality of antennas, so that the wireless access point is in communication connection with at least one terminal device through the plurality of antennas.
In the working process, after the terminal equipment supporting MU-MIMO is accessed into the wireless network through the wireless access point, an antenna switching request is sent to the wireless access point according to the current connection state, the wireless access point receives the antenna switching request, immediately judges the antenna connected with the terminal equipment in the wireless access point, clears the wireless channel parameters of the terminal equipment and the current connected antenna, and carries out information interaction with the terminal equipment again to learn new wireless channel parameters, so that the optimal antenna is selected according to the learned new wireless channel parameters, the communication connection between the terminal equipment is reestablished, the roaming among the antennas in the wireless access point is realized, the terminal equipment is ensured to work in the optimal state, and network resources are fully utilized.
The present invention further provides an inter-antenna roaming system, as shown in fig. 3, as can be seen from the figure, the inter-antenna roaming system includes the above-mentioned wireless access point 10 and at least one terminal device 20 (including terminal device 1, terminal device 2, …, and terminal device n as shown in the figure) in communication connection with the wireless access point 10, where the terminal device 20 supports MU-MIMO, the wireless access point 10 includes multiple antennas, and the terminal device 20 establishes communication connection with at least one antenna.
In the working process, after the terminal device 20 accesses the wireless network through the wireless access point 10, an antenna switching request is sent to the wireless access point 10 according to the current connection state, the wireless access point 10 receives the antenna switching request, immediately judges the antenna connected with the terminal device 20 in the wireless access point 10, and clears the wireless channel parameters of the terminal device 20 and the antenna currently connected; then, information interaction is performed again with the terminal device 20, new wireless channel parameters are learned, an optimal antenna is selected according to the learned new wireless channel parameters, communication connection with the terminal device 20 is reestablished, roaming between the antennas in the wireless access point 10 is achieved, the terminal device 20 is guaranteed to work in an optimal state, and network resources are fully utilized.
The above embodiment is modified to obtain the present embodiment, and as shown in fig. 4, in this embodiment, the terminal device 20 includes: the system comprises a signal strength obtaining module 21, a comparing module 22 and a switching request generating module 23, wherein the comparing module 22 is connected with the signal strength obtaining module 21 and the switching request generating module 23 respectively.
In the working process, after the terminal device 20 establishes a communication connection with the wireless access point 10, the signal strength obtaining module 21 in the terminal device 20 obtains the signal strength of the wireless signal of the currently connected antenna periodically (for example, 10 min/time, 30 min/time, etc.); the signal intensity acquired by the signal intensity acquisition module 21 is compared with a preset signal intensity threshold value by the comparison module 22; if the comparison result of the comparison module 22 is that the strength of the current received signal is smaller than the preset signal strength threshold, the switching request generation module 23 generates an antenna switching request, and sends the antenna switching request to the wireless access point 10 to request for switching the connection antenna. After receiving the antenna switching request, the wireless access point 10 immediately determines the antenna connected to the terminal device 20 in the wireless access point 10, and removes the wireless channel parameters between the terminal device 20 and the currently connected antenna; then, information interaction is performed again with the terminal device 20, new wireless channel parameters are learned, an optimal antenna is selected according to the learned new wireless channel parameters, communication connection with the terminal device 20 is reestablished, roaming between the antennas in the wireless access point 10 is achieved, the terminal device 20 is guaranteed to work in an optimal state, and network resources are fully utilized.
In other embodiments, the signal strength obtaining module 21 determines whether to obtain the strength of the received signal according to whether the terminal device 20 moves, and as for determining whether the terminal device 20 moves, any existing method may be adopted, such as obtaining the current location information by a positioning module in the terminal device 20, and determining whether to obtain the strength of the received signal by determining whether the distance that the terminal location information moves exceeds a preset distance, so as to determine whether to switch the connection antenna.
In an example, if the preset signal strength threshold is-50 dbm (decibel millivolt) and the signal strength obtaining module 21 obtains that the received wireless signal strength of the currently connected antenna is-70 dbm, the comparison module 22 determines that antenna switching is required, the switching request generating module 23 generates an Action Frame with a Vendor Specific IE built therein according to the determination result of the comparison module 22, and specifically, the content of the Vendor Specific IE is "reselect antenna", and sends the Action Frame to the wireless access point 10.
Fig. 5 is a flowchart illustrating an embodiment of an inter-antenna roaming method according to the present invention, in which the inter-antenna roaming method is specifically applied to a wireless communication device supporting MU-MIMO, and the wireless communication device includes multiple antennas, and the wireless communication device is communicatively connected to at least one terminal device through the multiple antennas. As can be seen from the figure, the inter-antenna roaming method includes: s1, judging whether an antenna switching request sent by any terminal equipment in communication connection with the wireless communication equipment is received, if so, jumping to S2; s2, releasing the physical communication between the terminal equipment and the current connected antenna; s3 reselects the antenna to connect to the terminal device, thereby enabling roaming between antennas in the wireless communication device.
In the working process, firstly, judging whether an antenna switching request sent by any terminal equipment in communication connection with the wireless communication equipment is received, and immediately releasing the physical communication between the terminal equipment and the currently connected antenna if the antenna switching request sent by the terminal equipment is judged to be received; and then, the antenna is reselected to be connected with the terminal equipment, so that the switching of the terminal equipment and the antenna is realized, namely the roaming between the antenna of the wireless communication equipment and the antenna is realized, the terminal equipment is ensured to be always in the optimal working state, the utilization rate of network resources is improved, and the user experience is improved.
In this embodiment, in the process of releasing the physical communication between the terminal device and the antenna connected thereto, instead of releasing the association between the terminal device and the wireless communication device, that is, after the physical communication between the terminal device and the antenna is released, the connection between the terminal device and the antenna in the physical layer of the OSI (Open System interconnection) model of the computer network is released. The reason is that the association relationship between the terminal device and the wireless communication device is realized by the MAC layer in the OSI model, and specifically, the association is with communication ports of different frequency bands; the terminal device is specifically connected to which antenna in the wireless communication device, and the connection is defined by the physical layer. Therefore, in the roaming process between the antennas in the embodiment, the terminal equipment and the wireless communication equipment are always associated without redistributing the IP address by using the DHCP, although the terminal equipment can have the situation of instant communication failure in the switching process, the whole process is at the millisecond level, and a user can not even perceive the terminal equipment.
In an example, the antenna switching request is an Action Frame sent by the terminal device, and a Vendor Specific IE (user-defined parameter) is built in the Action Frame, and the Specific content is "reselect an antenna" and the like, and is defined according to actual requirements.
In addition, in the present embodiment, after receiving the antenna switching request, the number of antennas connected to the terminal device that transmitted the antenna switching request in the wireless communication device is further determined, so that the corresponding number of antennas is reselected according to the determined number of antennas to connect to the terminal device. For example, if the wireless communication device includes 4 antennas (including antenna 1, antenna 2, antenna 3, and antenna 4), and the terminal device is a2 × 2 device, the wireless communication device is equipped with two antennas to establish a communication connection with the terminal device, and after receiving an antenna switching request sent by the terminal, the wireless communication device reselects the two antennas to re-establish a communication connection with the terminal device. Of course, in other embodiments, the wireless communication device reselects the antennas according to the specific content in the antenna switching request sent by the terminal device, for example, if the antenna switching request includes "reselect two antennas", the wireless communication device reselects two antennas to reestablish the communication connection with the terminal device; for another example, if the antenna switching request includes "reselect an antenna to replace antenna 1" (the terminal device is connected to the wireless communication device through at least antenna 1), the wireless communication device releases the physical communication between antenna 1 and the terminal device, reselects an antenna to reestablish a communication connection with the terminal device, and so on.
As shown in fig. 6, the inter-antenna roaming method according to the present embodiment includes: s1, judging whether an antenna switching request sent by any terminal equipment in communication connection with the wireless communication equipment is received, if so, jumping to S2; s2, releasing the physical communication between the terminal equipment and the current connected antenna; s4, clearing the wireless channel parameter of the communication between the terminal device and the antenna; s31, acquiring new wireless channel parameters of communication between each antenna and the terminal equipment, wherein the wireless channel parameters comprise the signal intensity of wireless signals of each antenna received by the terminal equipment; s32 selects an antenna connected to the terminal device according to the acquired signal strength of the wireless signal of each antenna received by the terminal device.
In the working process, firstly, judging whether an antenna switching request sent by any terminal equipment in communication connection with the wireless communication equipment is received, and immediately releasing the physical communication between the terminal equipment and the currently connected antenna if the antenna switching request sent by the terminal equipment is judged to be received; and clearing the wireless channel parameters of the communication between the terminal equipment and the antenna. Then, information interaction between the wireless communication equipment and the terminal equipment is carried out, and new wireless channel parameters are learned, wherein the wireless channel parameters specifically comprise the signal intensity of each antenna wireless signal received by the terminal equipment; therefore, the antenna connected with the terminal equipment is selected according to the signal intensity of the wireless signals of the antenna received by the terminal equipment, which is acquired by the parameter learning module. It should be noted that, in other embodiments, the optimal antenna may be selected comprehensively according to other parameters, such as SNR, in addition to the strength of the received signal.
As shown in fig. 7, the inter-antenna roaming method according to the present embodiment includes: s01, acquiring the signal strength of the wireless signal of the current connecting antenna; s02, comparing the acquired signal intensity with a preset signal intensity threshold value; s03, generating an antenna switching request according to the comparison result, sending the antenna switching request to the wireless access point, and requesting to switch the connection antenna; s1, judging whether an antenna switching request sent by any terminal equipment in communication connection with the wireless communication equipment is received, if so, jumping to S2; s2, releasing the physical communication between the terminal equipment and the current connected antenna; s4, clearing the wireless channel parameter of the communication between the terminal device and the antenna; s31, acquiring new wireless channel parameters of communication between each antenna and the terminal equipment, wherein the wireless channel parameters comprise the signal intensity of wireless signals of each antenna received by the terminal equipment; s32 selects an antenna connected to the terminal device according to the acquired signal strength of the wireless signal of each antenna received by the terminal device.
In the working process, after the terminal equipment establishes communication connection with the wireless access point, the terminal equipment periodically (for example, 10 min/time, 30 min/time and the like) acquires the signal intensity of the wireless signal of the current connecting antenna; comparing the acquired signal intensity with a preset signal intensity threshold; and if the comparison result shows that the intensity of the current received signal is smaller than the preset signal intensity threshold value, generating an antenna switching request, sending the antenna switching request to the wireless access point, and requesting to switch the connection antenna. After receiving the antenna switching request, the wireless access point immediately judges an antenna connected with the terminal equipment in the wireless access point and clears wireless channel parameters of the terminal equipment and the currently connected antenna; and then, information interaction is carried out with the terminal equipment again, new wireless channel parameters are learned, an optimal antenna is selected according to the learned new wireless channel parameters, communication connection with the terminal equipment is reestablished, roaming between the antennas in the wireless access point is realized, the terminal equipment is ensured to work in an optimal state, and network resources are fully utilized.
In other embodiments, it may also be determined whether to acquire the strength of the received signal according to whether the terminal device moves, and as for determining whether the terminal device moves, any existing method may be adopted, for example, current location information is acquired through a positioning module in the terminal device, and whether to acquire the strength of the received signal is determined by determining whether the distance that the terminal location information moves exceeds a preset distance, so as to determine whether to switch the connection antenna.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.