Control Method, Device and Wireless Router of a Wireless Router

By polling multiple antenna combinations of wireless routers, the optimal antenna combination is determined to improve signal coverage and communication quality, and the signal disconnection problem of wireless routers when terminals are moved is solved, and a stable communication connection is achieved.

CN114553276BActive Publication Date: 2025-08-01ZHEJIANG DAHUA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111592602.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2025-08-01
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

When the terminal device is moved, a wireless router is prone to signal disconnection, and adjusting the antenna angle cannot take into account both signal coverage and communication quality.

Method used

By polling multiple antenna combinations of wireless routers, the received signal strength RSSI value of the terminal is obtained, the optimal antenna combination is determined, and the terminal is controlled to communicate with the combination, and dynamically adjust to adapt to terminal position changes.

Benefits of technology

The signal coverage range of the wireless router and the communication quality between the terminal and the router are improved, and signal loss caused by the delay in antenna angle adjustment is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114553276B_ABST
    Figure CN114553276B_ABST
Patent Text Reader

Abstract

The present invention provides a control method, device and wireless router for a wireless router. The control method includes: if it is detected that at least one terminal accesses the wireless router, polling each antenna combination in a plurality of antenna combinations of the wireless router to obtain the RSSI value of each terminal in the at least one terminal corresponding to each antenna combination, where the wireless router is used to output at least two radio frequencies, each radio frequency is coupled to a plurality of antennas, each antenna combination includes at least two antennas, and each antenna in the at least two antennas is specifically one of the plurality of antennas coupled to each radio frequency, and the polarization directions of the antennas in the plurality of antennas are different; determining a target antenna combination from the plurality of antenna combinations according to the RSSI value of the received signal of each terminal corresponding to each antenna combination; and controlling the at least one terminal to communicate with the wireless router through the target antenna combination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technologies, and in particular, to a control method, device, and wireless router for a wireless router. Background Art

[0002] A wireless router is a router with a wireless coverage function used for users to access the Internet. It can convert a wired network into a wireless network (WIFI) for use by terminal devices such as mobile phones and computers. Due to the inherent directional characteristics of the antennas of the wireless router itself, the connection between it and the terminal cannot fully utilize the performance of the router. In the case of continuous movement of the terminal device, there may even be a network disconnection. Currently, the connection state between the wireless router and the terminal device is often improved by adjusting the antenna angle; however, once the antenna angle is changed, it is very easy to cause poor coverage and weak signal in some areas.

[0003] How to improve the signal coverage range of the wireless router has become an urgent technical problem to be solved. Summary of the Invention

[0004] The present invention provides a control method, device, and wireless router for a wireless router, which are used to improve the communication quality between the terminal and the wireless router while taking into account the signal coverage range of the wireless router.

[0005] In a first aspect, an embodiment of the present invention provides a control method for a wireless router, including:

[0006] If it is detected that at least one terminal accesses the wireless router, then poll each of the multiple antenna combinations of the wireless router to obtain the received signal strength RSSI values of each of the at least one terminal corresponding to each of the antenna combinations, where the wireless router is used to output at least two radio frequencies, each radio frequency is coupled to a plurality of antennas, each of the antenna combinations includes at least two antennas, and each of the at least two antennas is specifically one of the plurality of antennas coupled to each radio frequency, and the polarization directions of each of the plurality of antennas are different;

[0007] Determine a target antenna combination from the multiple antenna combinations according to the received signal strength RSSI values of each of the terminals corresponding to each of the antenna combinations;

[0008] Control the at least one terminal to communicate with the wireless router through the target antenna combination.

[0009] In one possible implementation manner, after obtaining the received signal strength RSSI values of each of the at least one terminal corresponding to each of the antenna combinations, the method further includes:

[0010] Obtain the scores of each terminal corresponding to each antenna combination according to the received signal strength RSSI values of each terminal corresponding to each antenna combination;

[0011] Determine the target antenna combination from the multiple antenna combinations according to the scores of each terminal corresponding to each antenna combination.

[0012] In one possible implementation manner, the obtaining the scores of each terminal corresponding to each antenna combination according to the received signal strength RSSI values of each terminal corresponding to each antenna combination includes:

[0013] Determine the maximum value from the received signal strength RSSI values of each terminal corresponding to each antenna combination;

[0014] Set the score of the antenna combination corresponding to the maximum value as the highest score;

[0015] Determine the RSSI difference between the antenna combination corresponding to the maximum value and other antenna combinations except the antenna combination corresponding to the maximum value;

[0016] Obtain the scores of each terminal corresponding to the other antenna combinations according to the relationship between the RSSI difference and the scores, where the scores of each terminal corresponding to the other antenna combinations are less than the highest score.

[0017] In one possible implementation manner, the determining the target antenna combination from the multiple antenna combinations according to the scores of each terminal corresponding to each antenna combination includes:

[0018] Detect whether there is an antenna combination with an RSSI value less than a preset RSSI value among each terminal corresponding to each antenna combination;

[0019] If there is, determine at least one terminal to be tested corresponding to the antenna combination with an RSSI value less than the preset RSSI value from the at least one terminal;

[0020] Obtain the first comprehensive score of each antenna combination according to the scores of each terminal to be tested corresponding to each antenna combination in the at least one terminal to be tested;

[0021] Take the combination corresponding to the maximum value of the first comprehensive score among the multiple antenna combinations as the target antenna combination. In one possible implementation manner, after detecting whether there is a combination with an RSSI value less than a preset RSSI value among each terminal corresponding to each antenna combination, the method further includes:

[0022] If not, according to the scores of each of the at least one terminal corresponding to each of the antenna combinations, obtain the second comprehensive score of each of the antenna combinations;

[0023] Take the combination corresponding to the maximum value of the second comprehensive score among the multiple antenna combinations as the target antenna combination. In one possible implementation, after controlling the at least one terminal to communicate with the wireless router through the target antenna combination, the method further includes:

[0024] After a preset time interval from the prior moment when the target terminal in the at least one terminal communicates with the wireless router through the target antenna combination, obtain the current RSSI value of the target terminal communicating with the wireless router through the target antenna combination;

[0025] If the difference between the current RSSI value and the prior RSSI value is greater than a preset value, reselect an antenna combination for the target terminal, where the prior RSSI value is specifically the RSSI value when the target terminal communicates with the wireless router through the target antenna combination at the prior moment.

[0026] In one possible implementation, the step of if the difference between the current RSSI value and the prior RSSI value is greater than a preset value, then reselect an antenna combination for the target terminal includes:

[0027] If the difference between the current RSSI value and the prior RSSI value is greater than a preset value, count once;

[0028] If the number of consecutive counts is greater than a preset number every time the preset time interval elapses, recalculate the scores of each of the terminals corresponding to each of the antenna combinations for communicating with the wireless router, and obtain the scores of each of the terminals corresponding to each of the antenna combinations after calculation;

[0029] According to the scores of each of the terminals corresponding to each of the antenna combinations after calculation, obtain the third comprehensive score of each of the antenna combinations;

[0030] Switch the target antenna combination to the antenna combination corresponding to the maximum value of the third comprehensive score, so that the target terminal communicates with the antenna combination corresponding to the maximum value of the third comprehensive score.

[0031] In a second aspect, an embodiment of the present invention further provides a control device for a wireless router, including:

[0032] An obtaining unit, configured to poll each of a plurality of antenna combinations of the wireless router if at least one terminal is detected to access the wireless router, and obtain the received signal strength indication (RSSI) value of each of the at least one terminal corresponding to each of the antenna combinations, where the wireless router is configured to output at least two radio frequencies, each radio frequency is coupled to a plurality of antennas, each of the antenna combinations includes at least two antennas, each of the at least two antennas is specifically one of the plurality of antennas coupled to each radio frequency, and the polarization directions of the antennas in the plurality of antennas are different;

[0033] A determining unit, configured to determine a target antenna combination from the plurality of antenna combinations according to the RSSI values of each of the terminals corresponding to each of the antenna combinations;

[0034] A control unit, configured to control the at least one terminal to perform a communication connection with the wireless router through the target antenna combination.

[0035] In one possible implementation manner, after the obtaining unit obtains the RSSI values of each of the terminals corresponding to each of the antenna combinations of the at least one terminal, the determining unit is further configured to:

[0036] Obtain the scores of each of the terminals corresponding to each of the antenna combinations according to the RSSI values of each of the terminals corresponding to each of the antenna combinations;

[0037] Determine the target antenna combination from the plurality of antenna combinations according to the scores of each of the terminals corresponding to each of the antenna combinations.

[0038] In one possible implementation manner, the determining unit is configured to:

[0039] Determine the maximum value from the RSSI values of each of the terminals corresponding to each of the antenna combinations;

[0040] Set the score of the antenna combination corresponding to the maximum value to the highest score;

[0041] Determine the RSSI difference between the antenna combination corresponding to the maximum value and other antenna combinations except the antenna combination corresponding to the maximum value;

[0042] Obtain the scores of each of the terminals corresponding to the other antenna combinations according to the relationship between the RSSI difference and the scores, where the scores of each of the terminals corresponding to the other antenna combinations are less than the highest score.

[0043] In one possible implementation manner, the determining unit is configured to:

[0044] Detect whether there is an antenna combination with an RSSI value less than a preset RSSI value among the antenna combinations corresponding to each of the terminals;

[0045] If there is, determine at least one terminal to be measured corresponding to the antenna combination with an RSSI value less than the preset RSSI value from the at least one terminal;

[0046] Obtain a first comprehensive score for each of the antenna combinations according to the scores of each of the terminals to be measured corresponding to each of the antenna combinations among the at least one terminal to be measured;

[0047] Take the combination corresponding to the maximum value of the first comprehensive score among the multiple antenna combinations as the target antenna combination.

[0048] In one possible implementation, after detecting whether there is a combination with an RSSI value less than a preset RSSI value among the antenna combinations corresponding to each of the terminals, the determining unit is further configured to:

[0049] If not, obtain a second comprehensive score for each of the antenna combinations according to the scores of each of the terminals corresponding to each of the antenna combinations among the at least one terminal;

[0050] Take the combination corresponding to the maximum value of the second comprehensive score among the multiple antenna combinations as the target antenna combination.

[0051] In one possible implementation, after the control unit controls the at least one terminal to communicate with the wireless router through the target antenna combination, the control device further includes a re-selection unit, and the re-selection unit is configured to:

[0052] After a preset time interval from the previous time when the target terminal in the at least one terminal communicates with the wireless router through the target antenna combination, obtain the current RSSI value of the target terminal communicating with the wireless router through the target antenna combination;

[0053] If the difference between the current RSSI value and the previous RSSI value is greater than a preset value, re-select an antenna combination for the target terminal, where the previous RSSI value is specifically the RSSI value when the target terminal communicates with the wireless router through the target antenna combination at the previous time.

[0054] In one possible implementation, the re-selection unit is configured to:

[0055] If the difference between the current RSSI value and the previous RSSI value is greater than a preset value, count once;

[0056] If the number of consecutive counts is greater than a preset number at each interval of the preset duration, recalculate the scores of each of the terminals communicating with the wireless router corresponding to each of the antenna combinations to obtain the scores of each of the terminals corresponding to each of the antenna combinations after calculation;

[0057] Obtain a third comprehensive score for each of the antenna combinations according to the scores of each of the terminals corresponding to each of the antenna combinations after calculation;

[0058] Switch the target antenna combination to the antenna combination corresponding to the maximum value of the third comprehensive score, so that the target terminal communicates with the antenna combination corresponding to the maximum value of the third comprehensive score. In a third aspect, an embodiment of the present invention further provides a wireless router, including:

[0059] A transceiver module for outputting at least two radio frequencies, a plurality of antennas coupled to each radio frequency, and a control module coupled to the transceiver module; wherein:

[0060] The control module is configured to:

[0061] If it is detected that at least one terminal accesses the wireless router, poll each of the antenna combinations in the plurality of antenna combinations of the wireless router to obtain the received signal strength RSSI values of each of the terminals in the at least one terminal corresponding to each of the antenna combinations, wherein each of the antenna combinations includes at least two antennas, and each of the at least two antennas is specifically one of the plurality of antennas coupled to each radio frequency, and the polarization directions of each of the antennas in the plurality of antennas are different;

[0062] Determine a target antenna combination from the plurality of antenna combinations according to the received signal strength RSSI values of each of the terminals corresponding to each of the antenna combinations;

[0063] Control the at least one terminal to communicate with the wireless router through the target antenna combination.

[0064] In a fourth aspect, an embodiment of the present invention further provides a control device, where the control device includes a processor, and the processor is configured to implement the steps of the control method of the wireless router as described in any one of the above when executing a computer program stored in a memory.

[0065] In a fifth aspect, an embodiment of the present invention further provides a readable storage medium, on which a computer program is stored, and the computer program implements the steps of the control method of the wireless router as described in any one of the above when executed by a processor.

[0066] The beneficial effects of the present invention are as follows:

[0067] The present invention provides a control method, device and wireless router for a wireless router. First, if at least one terminal is detected to be connected to the wireless router, each antenna combination in a plurality of antenna combinations of the wireless router is polled to obtain the received signal strength indication (RSSI) values of each terminal in the at least one terminal corresponding to each antenna combination. Herein, the wireless router is used to output at least two radio frequencies, each radio frequency is coupled to a plurality of antennas, each antenna combination includes at least two antennas, each antenna in the at least two antennas is specifically one of the plurality of antennas coupled to each radio frequency, and the polarization directions of the antennas in the plurality of antennas coupled to each radio frequency are different. In this way, it can be ensured that the overall antenna direction performance of the wireless router meets omnidirectional coverage, thereby enhancing the signal coverage range of the wireless router.

[0068] After obtaining the RSSI values of each terminal corresponding to each antenna combination, the target antenna combination can be determined from the plurality of antenna combinations according to the RSSI values. Then, at least one terminal is controlled to communicate with the wireless router through the target antenna combination. In this way, the antenna angles for ensuring the signal coverage range of the wireless router can be fixed in advance, the optimal antenna combination (i.e., the target antenna combination) is determined according to the RSSI values of each terminal corresponding to each antenna combination, and each terminal is controlled to communicate with the wireless router through the target antenna combination, thereby improving the communication quality between the terminal and the wireless router while taking into account the signal coverage range of the wireless router. Description of the Drawings

[0069] Figure 1 is a flowchart of a control method for a wireless router provided by an embodiment of the present invention;

[0070] Figure 2 is in Figure 1 a flowchart of the method after step S101;

[0071] Figure 3 is Figure 2 a flowchart of step S201 in

[0072] Figure 4 is Figure 3 a flowchart of step S304 in

[0073] Figure 5 is in Figure 4 a flowchart of the method after step S401;

[0074] Figure 6 is a flowchart of a method for a wireless router provided by an embodiment of the present invention to select a target antenna combination for a terminal;

[0075] Figure 7 is in Figure 1The method flowchart after step S103;

[0076] Figure 8 is Figure 7 the method flowchart of step S702 in

[0077] Figure 9 the method flowchart of a wireless router provided by an embodiment of the present invention for dynamically detecting the RSSI value of any terminal and selecting a target antenna combination for it;

[0078] Figure 10 the structural block diagram of a control device of a wireless router provided by an embodiment of the present invention;

[0079] Figure 11 One of the structural schematic diagrams of a wireless router further provided by an embodiment of the present invention. Detailed implementation manners

[0080] In the description and claims of the present invention and the above-mentioned drawings, "first", "second", etc. are used to distinguish different objects, rather than to describe a specific order. In addition, the term "including" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or devices.

[0081] Referring to "embodiment" herein means that a specific feature, structure or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0082] To better understand the above technical solutions, the technical solutions of the present invention will be described in detail below through the drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solutions of the present invention, rather than limitations on the technical solutions of the present invention. Without conflict, the technical features in the embodiments of the present invention and the embodiments can be combined with each other.

[0083] In the related art, the connection state between a wireless router and a terminal is often improved by rotating the antenna to adjust the angle; however, the method of adjusting the antenna angle is not applicable to the case where the external antenna is fixed; moreover, by mechanically rotating the antenna to adjust the angle, in the case of multiple terminals accessing from different angles, it is often necessary to adjust the antenna angle to adapt to different terminals, and the adjustment delay is too large compared to the packet sending delay, and it cannot play a role in sending in real time and adapting to the corresponding angle. Generally speaking, the packet has been sent out, but the antenna has not been adjusted in place yet. It can be seen that the prior art cannot improve the communication quality between the terminal and the wireless router while taking into account the signal coverage range of the wireless router.

[0084] In view of this, the embodiments of the present invention provide a control method, a device and a wireless router for a wireless router, which are used to improve the communication quality between a terminal and the wireless router while taking into account the signal coverage range of the wireless router.

[0085] As Figure 1 shown, the embodiments of the present invention provide a control method for a wireless router, and the control method includes:

[0086] S101: If it is detected that at least one terminal accesses the wireless router, then poll each of the antenna combinations in the multiple antenna combinations of the wireless router to obtain the received signal strength RSSI value of each of the at least one terminal corresponding to each of the antenna combinations, where the wireless router is used to output at least two radio frequencies, each radio frequency is coupled to a plurality of antennas, each of the antenna combinations includes at least two antennas, each of the at least two antennas is specifically one of the plurality of antennas coupled to each radio frequency, and the polarization directions of each of the antennas in the plurality of antennas are different;

[0087] It should be noted that before introducing the control method of the embodiments of the present invention, a brief introduction is given to the multiple antenna combinations and antennas set in the wireless router of the embodiments of the present invention. The wireless router can output at least two radio frequencies, and each radio frequency can be coupled to multiple antennas, thus providing more choices for terminals. Correspondingly, the wireless router can set multiple antenna combinations, and each antenna combination can include at least two antennas, and each antenna in the at least two antennas specifically is one of the multiple antennas coupled to each radio frequency. For a specific example, wireless router A can output two radio frequencies, radio frequency a and radio frequency b. Radio frequency a is coupled to antenna 01 and antenna 02, and radio frequency b is coupled to antenna 03 and antenna 04. The wireless router A can set a total of four antenna combinations including combination 1 (antenna 01, antenna 03), combination 2 (antenna 01, antenna 04), combination 3 (antenna 02, antenna 03), and combination 4 (antenna 02, antenna 04); for another example, wireless router B can output two radio frequencies, and each radio frequency can be coupled to four antennas. At this time, the wireless router B can set a total of sixteen antenna combinations. Of course, the number of radio frequency paths of the wireless router and the number of antennas coupled to each radio frequency can be set according to actual application needs, so as to realize the control of the number of antenna combinations of the wireless router. In addition, since the polarization directions of the antennas in the multiple antennas coupled to each radio frequency are different, each antenna can be set according to the polarization direction required when the signal coverage is good. After setting, there is no need to rotate the antenna, that is, there is no need to adjust the antenna angle, ensuring that the overall antenna direction performance of the wireless router meets omnidirectional coverage, thereby enhancing the signal coverage of the wireless router. Even for an external antenna router with a fixed structure, a good signal coverage can be ensured. Moreover, when multiple terminals access the wireless router and work simultaneously from different angles, there is still no need to adjust the antenna angle, avoiding signal loss caused by adjustment delay.

[0088] In the specific implementation process, if the wireless router detects that at least one terminal is connected, it polls each antenna combination in the multiple antenna combinations of the wireless router to obtain the Received Signal Strength Indication (RSSI) values of each terminal in the at least one terminal corresponding to each antenna combination. Among them, the at least one terminal can be one or multiple, and the number of terminals connected to the wireless router can be determined according to the actual application. Still taking the four antenna combinations included in the above-mentioned wireless router A as an example, if the wireless router A detects that a terminal ① is connected, the wireless router A polls each of the four antenna combinations to obtain the RSSI values of terminal ① corresponding to the four antenna combinations including combination 1, combination 2, combination 3, and combination 4. Each antenna combination includes two antennas, and the obtained RSSI value corresponding to the antenna combination can be the average of the RSSI values obtained by these two antennas. That is to say, the average of the RSSI values obtained by these two antennas is used as the RSSI value of this antenna combination. Of course, in addition to the examples listed, when the at least one terminal is multiple, the same processing concept can also be used to obtain the RSSI values of each terminal corresponding to each antenna combination, which will not be elaborated here.

[0089] S102: Determine a target antenna combination from the multiple antenna combinations according to the RSSI values of each terminal corresponding to each antenna combination;

[0090] In the specific implementation process, after obtaining the RSSI values of each terminal corresponding to each antenna combination, a target antenna combination can be determined from the multiple antenna combinations according to the RSSI values of each terminal corresponding to each antenna combination. Still taking the four antenna combinations included in the above-mentioned wireless router A as an example, if only terminal ① is currently connected, and the obtained RSSI value of it corresponding to combination 1 is -60 dB, the RSSI value corresponding to combination 2 is -62 dB, the RSSI value corresponding to combination 3 is -65 dB, and the RSSI value corresponding to combination 4 is -61 dB, in order to ensure a good connection state between each terminal and the wireless router, combination 1 can be used as the target antenna combination. Of course, the target antenna combination can be the optimal antenna combination determined according to the RSSI values of each terminal corresponding to each antenna combination. When there is only one terminal connected to the wireless router, the optimal antenna combination can be the antenna combination with the largest RSSI value; when there are multiple terminals connected to the wireless router, in addition to considering the RSSI values of each terminal corresponding to each antenna combination, other situations such as scores also need to be combined to determine the optimal antenna combination. For specific details, please refer to the relevant description in the following part.

[0091] S103: Control the at least one terminal to communicate with the wireless router through the target antenna combination.

[0092] In a specific implementation process, after determining a target antenna combination from multiple antenna combinations, at least one terminal is controlled to communicate and connect with a wireless router through the target antenna combination. Still taking the above example where only terminal ① is currently connected to wireless router A, and the RSSI values of each antenna combination corresponding to wireless router A are concerned, combination 1 can be used as the target antenna combination. Subsequently, terminal ① is controlled to communicate and connect with wireless router A through antenna 01 and antenna 03 in combination 1. Since this target antenna combination can be the optimal antenna combination, it ensures reliable and stable signal transmission between the wireless router and the terminal.

[0093] It should be noted that when any terminal accesses a wireless router, the RSSI values obtained by polling each antenna combination of the terminal can be recorded, and the scores of each antenna combination can also be recorded. Subsequently, when reselecting a target antenna combination for the terminal, the recorded relevant RSSI values and scores can be directly read. In this way, the selection efficiency of the target antenna combination is improved, and the performance of the wireless router is enhanced.

[0094] In the embodiment of the present invention, as Figure 2 shown, after step S101: obtaining the received signal strength indication (RSSI) values of each of the at least one terminal corresponding to each of the antenna combinations, the method further includes:

[0095] S201: obtaining the scores of each of the terminals corresponding to each of the antenna combinations according to the RSSI values of each of the terminals corresponding to each of the antenna combinations;

[0096] S202: determining the target antenna combination from the multiple antenna combinations according to the scores of each of the terminals corresponding to each of the antenna combinations.

[0097] In a specific implementation process, the specific implementation processes of steps S201 to S202 are as follows:

[0098] After obtaining the RSSI values of each terminal corresponding to each antenna combination in the at least one terminal, the score of each terminal corresponding to each antenna combination can be obtained according to the RSSI values of each terminal corresponding to each antenna combination; the corresponding relationship between the RSSI value and the score can be preset, and the score of each terminal corresponding to each antenna combination can be determined according to this corresponding relationship. For the specific implementation process of obtaining the score of each terminal corresponding to each antenna combination according to the RSSI values of each terminal corresponding to each antenna combination, reference can be made to the description of the relevant part below. After obtaining the score of each terminal corresponding to each antenna combination, the target antenna combination can be determined from multiple antenna combinations according to the score of each terminal corresponding to each antenna combination. For example, the antenna combination with the highest score can be used as the target antenna combination, thereby ensuring a good connection state between the corresponding terminal and the wireless router.

[0099] In the embodiment of the present invention, as Figure 3 shown, step S201: obtaining the score of each terminal corresponding to each antenna combination according to the received signal strength RSSI value of each terminal corresponding to each antenna combination includes:

[0100] S301: determining the maximum value from the received signal strength RSSI values of each terminal corresponding to each antenna combination;

[0101] S302: setting the score of the antenna combination corresponding to the maximum value as the highest score;

[0102] S303: determining the RSSI difference between the antenna combination corresponding to the maximum value and other antenna combinations except the antenna combination corresponding to the maximum value;

[0103] S304: obtaining the score of each terminal corresponding to the other antenna combinations according to the relationship between the RSSI difference and the score, where the score of each terminal corresponding to the other antenna combinations is less than the highest score.

[0104] In the specific implementation process, the specific implementation processes of steps S301 to S304 are as follows:

[0105] First, determine the maximum value from the received signal strength indication (RSSI) values of each terminal corresponding to each antenna combination. Taking the aforementioned terminal ① as an example, among the four combinations corresponding to terminal ①, the RSSI value of -60 dB corresponding to combination 1 is the maximum value. Then, set the score of the antenna combination corresponding to the maximum value as the highest score. Taking the aforementioned terminal ① as an example, using a 100-point system, the score of the antenna combination corresponding to combination 1 can be set as the highest score of 100 points. Then, determine the RSSI difference between the antenna combination corresponding to the maximum value and the other antenna combinations except the antenna combination corresponding to the maximum value. Taking the aforementioned terminal ① as an example, the RSSI difference between combination 1 and combination 2 is 2 dB, the RSSI difference between combination 1 and combination 3 is 5 dB, and the RSSI difference between combination 1 and combination 4 is 1 dB. Then, according to the relationship between the RSSI difference and the score, obtain the scores of each terminal corresponding to the other antenna combinations, where the scores of each terminal corresponding to the other antenna combinations are less than the highest score corresponding to the antenna combination corresponding to the maximum value. Taking the aforementioned terminal ① as an example, if the relationship between the RSSI difference and the score is set such that for every 1 dB decrease compared to the highest RSSI value, the score is correspondingly reduced by 10 points on the basis of 100 points, then the score of combination 2 is 80 points, the score of combination 3 is 50 points, and the score of combination 4 is 90 points. Of course, the corresponding relationship between the RSSI difference and the score can also be set, which is not limited here. In this way, the target antenna combination that meets the requirements can be determined based on the score levels of each terminal corresponding to each antenna combination.

[0106] It should be noted that when only one terminal is connected to the wireless router, the target antenna combination corresponding to the optimal RSSI value can be determined only by the level of the RSSI values of each antenna combination. If multiple terminals are connected to the wireless router, since the optimal RSSI values of different terminals may be different, the optimal criteria for each terminal will also be different accordingly. For example, for terminal ①, -60 dB is optimal, and for terminal ②, -70 dB is optimal. In the embodiments of the present invention, when multiple terminals are connected to the wireless router, for each terminal, the scores of each terminal corresponding to each antenna combination are determined respectively, and the antenna combination for the multiple terminals to communicate with the wireless router is determined according to the scores, which can ensure the communication quality between the multiple terminals and the wireless router while taking into account the signal coverage range of the wireless router.

[0107] In the embodiments of the present invention, as Figure 4 shown, step S304: According to the relationship between the RSSI difference and the score, obtain the scores of each of the terminals corresponding to the other antenna combinations, including:

[0108] S401: Detect whether there is an antenna combination with an RSSI value less than a preset RSSI value among each of the terminals corresponding to each of the antenna combinations;

[0109] S402: If yes, determine, from the at least one terminal, at least one terminal to be measured corresponding to the antenna combination with an RSSI value less than the preset RSSI value;

[0110] S403: Obtain a first comprehensive score for each of the antenna combinations according to the scores of each terminal to be measured in the at least one terminal to be measured corresponding to each of the antenna combinations;

[0111] S404: Use the combination corresponding to the maximum value of the first comprehensive score among the multiple antenna combinations as the target antenna combination.

[0112] In the specific implementation process, the specific implementation processes of steps S401 to S404 are as follows:

[0113] First, detect whether there is a combination with an RSSI value less than a preset RSSI value among the combinations corresponding to each terminal for each antenna combination. Here, the preset RSSI value is a pre-set RSSI value, which can be set according to actual application needs and is not limited here. If there is such a combination, determine at least one terminal to be measured corresponding to the antenna combination with an RSSI value less than this value from at least one terminal. For example, when terminal ② accesses wireless router A, it is detected that both terminal ① and terminal ② access wireless router A. The RSSI values of combinations 1 to 4 corresponding to terminal ② for wireless router A are -64 dB, -65 dB, -66 dB, and -62 dB respectively, and the RSSI values of combinations 1 to 4 corresponding to terminal ① for wireless router A are -60 dB, -62 dB, -65 dB, and -61 dB respectively. If the preset RSSI value is -60 dB, then there are combinations with an RSSI value less than -60 dB in the combinations corresponding to each antenna combination of terminal ① and terminal ②, and terminal ① and terminal ② can be used as the terminals to be measured. Then, obtain the first comprehensive score of each antenna combination according to the scores of each terminal to be measured corresponding to each antenna combination among the at least one determined terminals to be measured. Still taking the above-mentioned terminal ① and terminal ② as an example, the correspondence between the antenna combinations and scores of terminal ① is: combination 1 (100 points), combination 2 (80 points), combination 3 (50 points), and combination 4 (90 points); the correspondence between the antenna combinations and scores of terminal ② is: combination 1 (80 points), combination 2 (70 points), combination 3 (60 points), and combination 4 (100 points). Finally, the first comprehensive scores of each antenna combination are: combination 1 (180 points), combination 2 (150 points), combination 3 (110 points), and combination 4 (190 points). Then, use the combination corresponding to the maximum value of the first comprehensive score among multiple antenna combinations as the target antenna combination. Still taking the above-mentioned terminal ① and terminal ② as an example, combination 4 can be used as the target antenna combination of terminal ① and terminal ②. For another example, when terminal ③ accesses wireless router A, the antenna combination selection logic is triggered. If, in addition to terminal ③, terminal ① and terminal ② are both terminals to be measured with antenna combinations having an RSSI value less than the preset RSSI value in the combinations corresponding to each antenna combination, then determine the first comprehensive score of each antenna combination according to terminal ① and terminal ②, and further determine the target antenna combination. In this way, the communication quality between the wireless router and the terminals to be measured with a lower RSSI value is improved, and the communication quality between the wireless router and multiple terminals is generally ensured.

[0114] In the embodiment of the present invention, as Figure 5 shown, after step S401: detecting whether there is an antenna combination with an RSSI value less than a preset RSSI value among the combinations corresponding to each of the terminals for each of the antenna combinations, the method further includes:

[0115] S501: If not, obtain the second comprehensive score of each of the antenna combinations according to the scores of each of the terminals corresponding to each of the antenna combinations in the at least one terminal;

[0116] S502: Take the combination corresponding to the maximum value of the second comprehensive score among the multiple antenna combinations as the target antenna combination.

[0117] In the specific implementation process, the specific implementation processes of steps S501 to S502 are as follows:

[0118] First, after detecting whether there is a combination with an RSSI value less than the preset RSSI value in each of the terminals corresponding to each of the antenna combinations, if there is no combination with an RSSI value less than the preset RSSI value in each of the terminals corresponding to each of the antenna combinations, obtain the second comprehensive score of each of the antenna combinations according to the scores of each of the terminals corresponding to each of the antenna combinations; that is, the RSSI values of the antenna combinations corresponding to each of the terminals accessing the wireless router are all greater than or equal to the preset RSSI value, and obtain the second comprehensive score of the antenna combinations corresponding to each of the terminals according to the corresponding relationship between the RSSI value and the score; then, take the combination corresponding to the maximum value of the second comprehensive score among the multiple antenna combinations of the wireless router as the target antenna combination. In this way, the communication quality between each of the terminals and the wireless router is improved.

[0119] It should be noted that when the communication connection between the terminal and the wireless router is disconnected, or when a new terminal accesses the wireless router, the antenna combination selection logic will be triggered. In either case, all the terminals accessing the wireless router will be traversed to detect whether there is an antenna combination with an RSSI value less than the preset RSSI value in each of the terminals corresponding to each of the antenna combinations, and the target antenna combination will be selected for each of the terminals according to different situations.

[0120] In one exemplary embodiment, as Figure 6 shown, a method flow chart for a wireless router to select a target antenna combination for a terminal is provided. The method includes the following steps:

[0121] S10: Start;

[0122] S11: Detect that a terminal accesses or disconnects;

[0123] S12: Traverse all the terminals accessing the wireless router;

[0124] S13: Detect whether there is an antenna combination with an RSSI value less than -60 dB in each of the terminals corresponding to each of the antenna combinations;

[0125] S14: If there is, determine at least one terminal to be tested corresponding to the antenna combination with an RSSI value less than -60 dB from all the terminals;

[0126] S15: Determine the comprehensive score of each antenna combination according to the scores of each terminal to be measured corresponding to each antenna combination.

[0127] S16: If not, determine the comprehensive score of each antenna combination according to the scores of each terminal corresponding to each antenna combination among all terminals.

[0128] S17: Switch the antenna combination to which all terminals are communicatively connected to the antenna combination with the highest comprehensive score.

[0129] S18: End.

[0130] For the specific implementation process of the above steps S10 - S18, reference can be made to the description in the foregoing relevant parts, which will not be elaborated here.

[0131] In the embodiment of the present invention, as Figure 7 shown, after step S103: controlling the at least one terminal to communicatively connect with the wireless router through the target antenna combination, the method further includes:

[0132] S701: After a preset time interval from the prior moment when the target terminal among the at least one terminal communicates with the wireless router through the target antenna combination, obtain the current RSSI value of the target terminal communicating with the wireless router through the target antenna combination.

[0133] S702: If the difference between the current RSSI value and the prior RSSI value is greater than a preset value, re - select an antenna combination for the target terminal, where the prior RSSI value is specifically the RSSI value when the target terminal communicates with the wireless router through the target antenna combination at the prior moment.

[0134] In the specific implementation process, the specific implementation process of steps S701 to S702 is as follows:

[0135] First, after a preset time interval from the previous moment when the target terminal communicates with the wireless router through the target antenna combination in at least one terminal, obtain the current RSSI value of the target terminal communicating with the wireless router through the target antenna combination. Herein, the target terminal can be any terminal accessing the wireless router, and the preset time interval can be a preset duration, such as 30 seconds. That is to say, every preset time interval, the current RSSI value of the target terminal communicating with the wireless router is dynamically detected in real time. If the difference between the current RSSI value and the previous RSSI value is greater than the preset value, reselect an antenna combination for the target terminal, where the previous RSSI value is the RSSI value when the target terminal communicates with the wireless router through the target antenna combination at the previous moment. In practical applications, the specific value of the preset value can be set according to the RSSI difference for determining whether the terminal has moved. If the difference between the current RSSI value and the previous RSSI value is greater than the preset value, it indicates that the target terminal has moved. At this time, the re - learning mechanism of the wireless router can be triggered to reselect the target antenna combination for the target terminal. In this way, the most suitable antenna combination can be selected for the terminal according to the real - time change of the terminal position, thereby improving the communication quality between the terminal and the wireless router. In addition, even when the distance between the terminal and the wireless router is relatively long, the multi - antenna setting of the wireless router can still ensure the signal coverage range of the wireless router.

[0136] It should be noted that the learning mechanism of the wireless router can be to traverse all terminals accessing the wireless router to determine the RSSI values of each terminal corresponding to each antenna combination, or to determine the scores of each terminal corresponding to each antenna combination, and the process of determining the target antenna combination from multiple antenna combinations by using the methods mentioned above. Correspondingly, the re - learning mechanism of the wireless router can be to re - traverse all terminals accessing the wireless router to determine the RSSI values and scores of each terminal corresponding to each antenna combination, and re - determine the target antenna.

[0137] In the embodiment of the present invention, as Figure 8 shown, step S702: If the difference between the current RSSI value and the previous RSSI value is greater than the preset value, reselect an antenna combination for the target terminal, including:

[0138] S801: If the difference between the current RSSI value and the previous RSSI value is greater than the preset value, count once;

[0139] S802: If the number of consecutive counts is greater than the preset number every preset time interval, recalculate the scores of each of the terminals communicating with the wireless router corresponding to each of the antenna combinations to obtain the calculated scores of each of the terminals corresponding to each of the antenna combinations;

[0140] S803: Obtain the third comprehensive score of each of the antenna combinations based on the scores of each of the terminals corresponding to each of the antenna combinations calculated as described above.

[0141] S804: Switch the target antenna combination to the antenna combination corresponding to the maximum value of the third comprehensive score, so that the target terminal communicates and connects with the antenna combination corresponding to the maximum value of the third comprehensive score.

[0142] In the specific implementation process, the specific implementation processes of steps S801 to S804 are as follows:

[0143] First, if the difference between the current RSSI value and the previous RSSI value is greater than a preset value, increment the count by one, which can be for the router to re-learn and increment the count by one; if the number of consecutive counts per preset time interval is greater than a preset sampling number, re-calculate the scores of each of the terminals communicating with the wireless router corresponding to each of the antenna combinations to obtain the scores of each of the terminals corresponding to each of the antenna combinations calculated as described above; for example, every 30 seconds after a previous moment, the difference between the current RSSI value of the target terminal obtained by the wireless router and the previous RSSI value at the previous moment is greater than 5 dB for four consecutive times, and the wireless router is re-triggered to select a target antenna combination for the target terminal. Among them, the selection process of the target antenna combination can specifically refer to the description in the relevant part above and will not be elaborated here.

[0144] In one exemplary embodiment, as Figure 9 shown, a method flowchart for a wireless router to dynamically detect the RSSI value of any terminal and select a target antenna combination for the terminal is provided. The method includes the following steps:

[0145] S20: Start;

[0146] S21: Obtain the RSSI value of the terminal communicating with the wireless router every 30 seconds;

[0147] S22: Detect whether the difference between the current RSSI value and the previous RSSI value is greater than 5 dB;

[0148] S23: If not, record the current RSSI value and decrement the re-learning count by one;

[0149] S24: If so, keep the previous RSSI value unchanged and increment the re-learning count by one;

[0150] S25: Detect whether the re-learning count is greater than 3;

[0151] S26: If so, trigger the wireless router re-learning mechanism to obtain the scores of each of the antenna combinations corresponding to the terminal;

[0152] S27: Recalculate the comprehensive scores of each antenna combination to obtain the current optimal antenna combination;

[0153] S28: End.

[0154] It should be noted that after step S25, if the re - learning count is less than 3, step S21 is executed again. For the specific implementation process of steps S20 - S28, reference can be made to the description of the foregoing relevant parts, and details will not be elaborated here. In this embodiment, the order of magnitude of switching antenna combinations for any terminal is adjusted to the minute level. Even when multiple terminals are simultaneously connected to and working with the wireless router, the switching frequency of antenna combinations is reduced, the loss caused by the switching delay of antenna combinations is avoided, and the performance of the wireless router is improved.

[0155] Based on the same inventive concept, as Figure 10 shown, an embodiment of the present invention further provides a control device for a wireless router, including:

[0156] An obtaining unit 10, configured to poll each of the multiple antenna combinations of the wireless router to obtain the received signal strength RSSI values of each of the at least one terminal corresponding to each of the antenna combinations, where the wireless router is configured to output at least two radio frequencies, each radio frequency is coupled to a plurality of antennas, each of the antenna combinations includes at least two antennas, and each of the at least two antennas is specifically one of the plurality of antennas coupled to each radio frequency, and the polarization directions of each of the plurality of antennas are different;

[0157] A determining unit 20, configured to determine a target antenna combination from the multiple antenna combinations according to the received signal strength RSSI values of each of the terminals corresponding to each of the antenna combinations;

[0158] A control unit 30, configured to control the at least one terminal to perform a communication connection with the wireless router through the target antenna combination.

[0159] In the specific implementation process, since the technical problems to be solved by the control device of the wireless router are the same as those of the foregoing control method of the wireless router, for the specific implementation process of the control device, reference can be made to the description of the foregoing part, and details will not be elaborated here.

[0160] In an embodiment of the present invention, after the obtaining unit 10 obtains the received signal strength RSSI values of each of the terminals corresponding to each of the antenna combinations of the at least one terminal, the determining unit 20 is further configured to:

[0161] Obtain the scores of each terminal corresponding to each antenna combination according to the received signal strength RSSI values of each terminal corresponding to each antenna combination;

[0162] Determine the target antenna combination from the multiple antenna combinations according to the scores of each terminal corresponding to each antenna combination.

[0163] In an embodiment of the present invention, the determining unit 20 is configured to:

[0164] Determine the maximum value from the received signal strength RSSI values of each terminal corresponding to each antenna combination;

[0165] Set the score of the antenna combination corresponding to the maximum value as the highest score;

[0166] Determine the RSSI difference between the antenna combination corresponding to the maximum value and other antenna combinations except the antenna combination corresponding to the maximum value;

[0167] Obtain the scores of each terminal corresponding to the other antenna combinations according to the relationship between the RSSI difference and the scores, where the scores of each terminal corresponding to the other antenna combinations are less than the highest score.

[0168] In an embodiment of the present invention, the determining unit 20 is configured to:

[0169] Detect whether there is an antenna combination with an RSSI value less than a preset RSSI value among the antenna combinations corresponding to each terminal;

[0170] If there is, determine at least one terminal to be measured corresponding to the antenna combination with an RSSI value less than the preset RSSI value from the at least one terminal;

[0171] Obtain the first comprehensive score of each antenna combination according to the scores of each terminal to be measured corresponding to each antenna combination in the at least one terminal to be measured;

[0172] Take the combination corresponding to the maximum value of the first comprehensive score among the multiple antenna combinations as the target antenna combination.

[0173] In an embodiment of the present invention, after detecting whether there is a combination with an RSSI value less than a preset RSSI value among the antenna combinations corresponding to each terminal, the determining unit 20 is further configured to:

[0174] If not, obtain the second comprehensive score of each antenna combination according to the scores of each terminal corresponding to each antenna combination in the at least one terminal;

[0175] Take the combination corresponding to the maximum value of the second comprehensive score among the multiple antenna combinations as the target antenna combination.

[0176] In an embodiment of the present invention, after the control unit 30 controls the at least one terminal to communicate with the wireless router through the target antenna combination, the control device further includes a re-selection unit 40, and the re-selection unit 40 is configured to:

[0177] After a preset time interval from the prior moment when the target terminal in the at least one terminal communicates with the wireless router through the target antenna combination, obtain the current RSSI value of the target terminal communicating with the wireless router through the target antenna combination;

[0178] If the difference between the current RSSI value and the prior RSSI value is greater than a preset value, re-select an antenna combination for the target terminal, where the prior RSSI value is specifically the RSSI value when the target terminal communicates with the wireless router through the target antenna combination at the prior moment.

[0179] In an embodiment of the present invention, the re-selection unit 40 is configured to:

[0180] If the difference between the current RSSI value and the prior RSSI value is greater than a preset value, count once;

[0181] If, at each interval of the preset time, the continuously counted number is greater than a preset number, re-calculate the scores of each of the terminals corresponding to each of the antenna combinations for communicating with the wireless router, and obtain the calculated scores of each of the terminals corresponding to each of the antenna combinations;

[0182] Obtain a third comprehensive score of each of the antenna combinations according to the calculated scores of each of the terminals corresponding to each of the antenna combinations;

[0183] Switch the target antenna combination to the antenna combination corresponding to the maximum value of the third comprehensive score, so that the target terminal communicates with the antenna combination corresponding to the maximum value of the third comprehensive score.

[0184] Based on the same inventive concept, as Figure 11 shown, an embodiment of the present invention further provides a wireless router, including:

[0185] A transceiver module 100 for outputting at least two radio frequencies, a plurality of antennas 200 coupled to each radio frequency, and a control module 300 coupled to the transceiver module 100; wherein:

[0186] The control module 300 is configured to:

[0187] If at least one terminal is detected to be connected to the wireless router, each of the multiple antenna combinations of the wireless router is polled to obtain the received signal strength indication (RSSI) values of each of the at least one terminal corresponding to each of the antenna combinations. Each of the antenna combinations includes at least two antennas, and each of the at least two antennas is specifically one of the multiple antennas 200 coupled to each path of the radio frequency. The polarization directions of the antennas in the multiple antennas 200 are different.

[0188] Based on the RSSI values of each of the terminals corresponding to each of the antenna combinations, a target antenna combination is determined from the multiple antenna combinations.

[0189] Control the at least one terminal to communicate with the wireless router through the target antenna combination.

[0190] In the specific implementation process, since the technical problems to be solved by the wireless router are the same as those of the foregoing control method of the wireless router, the specific implementation process of the wireless router can refer to the description in the foregoing part and will not be elaborated here.

[0191] Based on the same inventive concept, an embodiment of the present invention further provides a control device. The processing device includes a processor, and the processor is configured to implement the steps of the control method of the wireless router as described in any one of the above when executing a computer program stored in a memory.

[0192] Based on the same inventive concept, an embodiment of the present invention further provides a readable storage medium, on which a computer program is stored. The computer program, when executed by a processor, implements the steps of the control method of the wireless router as described in any one of the above.

[0193] The beneficial effects of the present invention are as follows:

[0194] The present invention provides a control method, a device, and a wireless router for a wireless router. First, if at least one terminal is detected to be connected to the wireless router, each of the multiple antenna combinations of the wireless router is polled to obtain the RSSI values of each of the at least one terminal corresponding to each of the antenna combinations. The wireless router is used to output at least two paths of radio frequency, each path of radio frequency is coupled to multiple antennas, each of the antenna combinations includes at least two antennas, each of the at least two antennas is specifically one of the multiple antennas coupled to each path of the radio frequency, and the polarization directions of the antennas in the multiple antennas coupled to each path of the radio frequency are different. In this way, it can be ensured that the overall antenna direction performance of the wireless router meets omnidirectional coverage, thereby enhancing the signal coverage range of the wireless router.

[0195] After obtaining the RSSI values of each terminal corresponding to each antenna combination, the target antenna combination can be determined from multiple antenna combinations according to the RSSI values. Then, at least one terminal is controlled to communicate with the wireless router through the target antenna combination. In this way, the antenna angles for ensuring the signal coverage range of the wireless router can be fixed in advance, the optimal antenna combination (i.e., the target antenna combination) is determined according to the RSSI values of each terminal corresponding to each antenna combination, and each terminal is controlled to communicate with the wireless router through the target antenna combination, so as to improve the communication quality between the terminal and the wireless router while taking into account the signal coverage range of the wireless router.

[0196] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0197] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for realizing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0198] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device realizes the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0199] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide for realizing the functions in the process Figure 1One process or multiple processes and / or boxes Figure 1 Steps of functions specified in one box or multiple boxes.

[0200] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims

1. A control method for a wireless router, characterized in that, Including: If it is detected that at least one terminal accesses a wireless router, each of the multiple antenna combinations of the wireless router is polled to obtain the received signal strength indication (RSSI) value of each terminal in the at least one terminal corresponding to each antenna combination. Wherein, the wireless router is used to output at least two radio frequencies, each radio frequency is coupled to multiple antennas, each of the antenna combinations includes at least two antennas, and each of the at least two antennas is specifically one of the multiple antennas coupled to each radio frequency, and the polarization directions of each of the multiple antennas are different; Determine a target antenna combination from the multiple antenna combinations according to the RSSI values of each terminal corresponding to each antenna combination; Control the at least one terminal to establish a communication connection with the wireless router through the target antenna combination; Wherein, after obtaining the RSSI values of each terminal in the at least one terminal corresponding to each antenna combination, the method further includes: Obtain the scores of each terminal corresponding to each antenna combination according to the RSSI values of each terminal corresponding to each antenna combination; Determine the target antenna combination from the multiple antenna combinations according to the scores of each terminal corresponding to each antenna combination; Wherein, determining the target antenna combination from the multiple antenna combinations according to the scores of each terminal corresponding to each antenna combination includes: Detect whether there is an antenna combination with an RSSI value less than a preset RSSI value among the antenna combinations corresponding to each terminal; If so, determine at least one terminal to be tested corresponding to the antenna combination with an RSSI value less than the preset RSSI value from the at least one terminal; Obtain the first comprehensive score of each antenna combination according to the scores of each terminal to be tested corresponding to each antenna combination in the at least one terminal to be tested; Take the combination corresponding to the maximum value of the first comprehensive score among the multiple antenna combinations as the target antenna combination.

2. The control method according to claim 1, wherein Obtaining the scores of each terminal corresponding to each antenna combination according to the RSSI values of each terminal corresponding to each antenna combination includes: Determine the maximum value from the RSSI values of each terminal corresponding to each antenna combination; Set the score of the antenna combination corresponding to the maximum value as the highest score; Determine the RSSI difference between the antenna combination corresponding to the maximum value and other antenna combinations except the antenna combination corresponding to the maximum value; Obtain the scores of each terminal corresponding to the other antenna combinations according to the relationship between the RSSI difference and the scores, wherein the scores of each terminal corresponding to the other antenna combinations are less than the highest score.

3. The control method according to claim 1, wherein After detecting whether there is an antenna combination with an RSSI value less than a preset RSSI value among the antenna combinations corresponding to each terminal, the method further includes: If not, obtain the second comprehensive score of each antenna combination according to the scores of each terminal corresponding to each antenna combination in the at least one terminal; Use the combination corresponding to the maximum value of the second comprehensive score among the multiple antenna combinations as the target antenna combination.

4. The control method according to any one of claims 1-3, characterized in that, After controlling the at least one terminal to communicate with the wireless router through the target antenna combination, the method further includes: After a preset time interval from the previous time when the target terminal in the at least one terminal communicates with the wireless router through the target antenna combination, obtain the current RSSI value of the target terminal communicating with the wireless router through the target antenna combination; If the difference between the current RSSI value and the previous RSSI value is greater than a preset value, reselect an antenna combination for the target terminal, where the previous RSSI value is specifically the RSSI value when the target terminal communicates with the wireless router through the target antenna combination at the previous time.

5. The control method according to claim 4, wherein The step of "if the difference between the current RSSI value and the previous RSSI value is greater than a preset value, reselect an antenna combination for the target terminal" includes: If the difference between the current RSSI value and the previous RSSI value is greater than a preset value, count once; If, at each interval of the preset time, the continuously counted number is greater than a preset number, recalculate the scores of each of the terminals corresponding to each of the antenna combinations for communicating with the wireless router to obtain the calculated scores of each of the terminals corresponding to each of the antenna combinations; According to the calculated scores of each of the terminals corresponding to each of the antenna combinations, obtain the third comprehensive score of each of the antenna combinations; Switch the target antenna combination to the antenna combination corresponding to the maximum value of the third comprehensive score, so that the target terminal communicates with the antenna combination corresponding to the maximum value of the third comprehensive score.

6. A control device for a wireless router, characterized in that, It includes: An obtaining unit, configured to, if it is detected that at least one terminal accesses the wireless router, poll each of the antenna combinations in the multiple antenna combinations of the wireless router to obtain the received signal strength RSSI values of each of the terminals in the at least one terminal corresponding to each of the antenna combinations, where the wireless router is used to output at least two radio frequencies, each radio frequency is coupled to a plurality of antennas, each of the antenna combinations includes at least two antennas, each of the antennas in the at least two antennas is specifically one of the plurality of antennas coupled to each radio frequency, and the polarization directions of each of the antennas in the plurality of antennas are different; A determining unit, configured to determine a target antenna combination from the multiple antenna combinations according to the received signal strength RSSI values of each of the terminals corresponding to each of the antenna combinations; A control unit, configured to control the at least one terminal to communicate with the wireless router through the target antenna combination; Wherein, after the obtaining unit obtains the received signal strength RSSI values of each of the terminals in the at least one terminal corresponding to each of the antenna combinations, the determining unit is further configured to: Obtain the scores of each of the terminals corresponding to each of the antenna combinations according to the received signal strength RSSI values of each of the terminals corresponding to each of the antenna combinations. Determine the target antenna combination from the multiple antenna combinations according to the scores of each terminal corresponding to each antenna combination; Among them, the determining unit is used for: Detect whether there is an antenna combination with an RSSI value less than a preset RSSI value among the antenna combinations corresponding to each terminal; If so, determine at least one terminal to be measured corresponding to the antenna combination with an RSSI value less than the preset RSSI value from the at least one terminal; Obtain the first comprehensive score of each antenna combination according to the scores of each terminal to be measured corresponding to each antenna combination among the at least one terminal to be measured; Take the combination corresponding to the maximum value of the first comprehensive score among the multiple antenna combinations as the target antenna combination.

7. A wireless router, characterized in that, It includes: A transceiver module for outputting at least two radio frequencies, a plurality of antennas coupled to each radio frequency, and a control module coupled to the transceiver module; wherein: The control module is used for: If it is detected that at least one terminal accesses the wireless router, poll each antenna combination in the multiple antenna combinations of the wireless router to obtain the received signal strength RSSI value of each terminal corresponding to each antenna combination among the at least one terminal. Among them, each antenna combination includes at least two antennas, and each of the at least two antennas is specifically one of the multiple antennas coupled to each radio frequency, and the polarization directions of each antenna in the multiple antennas are different; Determine the target antenna combination from the multiple antenna combinations according to the received signal strength RSSI values of each terminal corresponding to each antenna combination; Control the at least one terminal to establish a communication connection with the wireless router through the target antenna combination; Among them, after obtaining the received signal strength RSSI values of each terminal corresponding to each antenna combination among the at least one terminal, it further includes: Obtain the scores of each terminal corresponding to each antenna combination according to the received signal strength RSSI values of each terminal corresponding to each antenna combination; Determine the target antenna combination from the multiple antenna combinations according to the scores of each terminal corresponding to each antenna combination; Among them, the determining the target antenna combination from the multiple antenna combinations according to the scores of each terminal corresponding to each antenna combination includes: Detect whether there is an antenna combination with an RSSI value less than a preset RSSI value among the antenna combinations corresponding to each terminal; If so, determine at least one terminal to be measured corresponding to the antenna combination with an RSSI value less than the preset RSSI value from the at least one terminal; Obtain the first comprehensive score of each antenna combination according to the scores of each terminal to be measured corresponding to each antenna combination among the at least one terminal to be measured; Take the combination corresponding to the maximum value of the first comprehensive score among the multiple antenna combinations as the target antenna combination.

8. A control device, characterized in that, The control device includes a processor, and the processor is used to implement the steps of the control method of the wireless router as described in any one of claims 1-5 when executing the computer program stored in the memory.

Citation Information

Patent Citations

  • Wireless access point

    CN104080096A

  • Antenna system, control method, processor, and camera system

    WO2021195834A1