Smart antenna control method and device, network equipment and computer program product

By using the RSSI matrix to filter the target uplink antenna mode, the problem of insufficient uplink direction signal coverage gain in the prior art is solved, and efficient uplink communication gain effect is achieved.

CN120074616APending Publication Date: 2025-05-30TP-LINK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510244780.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-28
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The existing intelligent antenna technology mainly focuses on the choice of downlink antenna mode and pays less attention to the uplink antenna mode, resulting in insufficient signal coverage gain in the uplink direction.

Method used

By using the RSSI matrix, the target uplink antenna mode that meets the preset communication performance conditions is selected based on the downlink communication training data of the associated terminal, and the intelligent antenna is controlled to perform uplink communication according to the mode.

Benefits of technology

It realizes the selection of the optimal uplink antenna mode at a lower cost, fully utilizes the advantages of directional antennas, ensures good uplink gain effects, and avoids significant deterioration in the performance of some terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120074616A_ABST
    Figure CN120074616A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent antenna control method and device, network equipment and a computer program product. The method is applied to a network device provided with an intelligent antenna, the intelligent antenna comprises M links, and each link comprises N antenna units; the method comprises the steps of determining whether a target uplink mode meeting a preset communication performance condition exists in preset NM candidate antenna modes according to RSSI matrixes corresponding to associated terminals, enabling an antenna unit to be started by each link in one candidate antenna mode, and enabling an antenna unit to be started by each link in the other candidate antenna mode; the RSSI matrix is obtained through training operation during downlink communication with the corresponding terminal; and under the condition that the target uplink mode exists, controlling the intelligent antenna to perform uplink communication with all terminals based on the target uplink mode. According to the scheme, the optimal uplink antenna mode can be selected based on low cost, so that the advantages of the directional antenna are fully played, and a good uplink gain effect is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technologies, and in particular, relates to an intelligent antenna control method, an intelligent antenna control device, a network device, and a computer program product. Background Art

[0002] Currently, a variety of intelligent antennas, including electrically tunable intelligent antennas, have emerged on the market. For an electrically tunable intelligent antenna, it has multiple hardware antenna radiators and uses an electrical switch to achieve microsecond-level switching. It can intelligently select antenna units for signal transmission and reception through an intelligent antenna algorithm. On this basis, different combinations of antenna units can form different signal radiation directions, so as to select the best transceiver antenna for stations (STAs) at different positions.

[0003] However, currently, for all associated terminals, the same fixed uplink antenna mode, such as an omnidirectional antenna mode, is often used. In fact, current intelligent antenna algorithms generally only focus on the selection of the downlink antenna mode of the intelligent antenna and rarely pay attention to the selection of the uplink antenna mode, resulting in a loss of high coverage gain in the uplink direction. Summary of the Invention

[0004] This application provides an intelligent antenna control method, an intelligent antenna control device, a network device, and a computer program product, which can select the optimal uplink antenna mode based on a relatively low cost, so as to give full play to the advantages of directional antennas and ensure good uplink gain effects.

[0005] In a first aspect, this application provides an intelligent antenna control method. The intelligent antenna control method is applied to a network device, and the network device is provided with an intelligent antenna. The intelligent antenna includes M links, and each link includes N antenna units. The intelligent antenna control method includes:

[0006] According to the RSSI matrices respectively corresponding to the associated terminals, determine whether there is a target uplink mode that meets the preset communication performance conditions among the preset N M candidate antenna modes. Among them, in a candidate antenna mode, one antenna unit is enabled for each link, the size of the RSSI matrix is M*N, and the RSSI matrix is obtained through a training operation during downlink communication with the corresponding terminal and is used to represent the RSSI when each link communicates with the terminal when enabling each antenna unit.

[0007] In the case where there is a target uplink mode, control the intelligent antenna to perform uplink communication with all terminals based on the target uplink mode.

[0008] Second aspect, the present application provides an intelligent antenna control device, which is applied to a network device. The network device is provided with an intelligent antenna, and the intelligent antenna includes M links, and each link includes N antenna units; the intelligent antenna control device includes:

[0009] A first determination module, configured to determine whether there is a target uplink mode that meets the preset communication performance conditions among the preset N M candidate antenna modes according to the RSSI matrices respectively corresponding to the associated terminals. In one candidate antenna mode, one antenna unit is enabled for each link, the size of the RSSI matrix is M*N, and the RSSI matrix is obtained through a training operation during downlink communication with the corresponding terminal, and is used to represent the RSSI when each link communicates with the terminal when enabling each antenna unit;

[0010] A control module, configured to, when there is a target uplink mode, control the intelligent antenna to perform uplink communication with all terminals based on the target uplink mode.

[0011] Third aspect, the present application provides a network device. The above network device includes an intelligent antenna, a memory, a processor, and a computer program stored in the above memory and executable on the above processor. The intelligent antenna includes M links, and each link includes N antenna units. When the processor executes the computer program, the steps of the method in the above first aspect are implemented.

[0012] Fourth aspect, the present application provides a computer-readable storage medium. The above computer-readable storage medium stores a computer program. When the above computer program is executed by a processor, the steps of the method in the above first aspect are implemented.

[0013] Fifth aspect, the present application provides a computer program product. The above computer program product includes a computer program. When the above computer program is executed by one or more processors, the steps of the method in the above first aspect are implemented.

[0014] The beneficial effects of the present application compared with the prior art are as follows: The present application relies on the RSSI matrices corresponding to the associated terminals respectively to screen out the target uplink mode. Among them, the RSSI matrix can be obtained through training operations during downlink communication with the corresponding terminal, and can represent the RSSI of each link when communicating with the terminal when each antenna unit is enabled. On the one hand, obtaining the RSSI matrix does not require additional processing resources, and it can be obtained as long as the corresponding training operation is triggered during downlink communication with the terminal; on the other hand, relying on the symmetric relationship of RSSI during two-way communication, through the RSSI matrix, the network device can quickly screen out the target uplink mode that meets the communication performance conditions, so as to realize the switching of the antenna mode used during its uplink communication. This uplink mode can make the uplink performance of the first terminal have a relatively obvious gain compared with the default omnidirectional antenna while avoiding obvious deterioration of the performance of some terminals, and at the same time, the overall performance of the uplink direction of the system is as optimal as possible. In summary, through the solution of the present application, the optimal uplink antenna mode can be selected based on a relatively low cost, so as to give full play to the advantages of the directional antenna and ensure good uplink gain effects.

[0015] It can be understood that the beneficial effects of the second to fifth aspects above can refer to the relevant descriptions in the first aspect above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0017] Figure 1 It is a schematic flowchart of the implementation of the intelligent antenna control method provided by the embodiment of the present application;

[0018] Figure 2 It is a schematic structural diagram of the intelligent antenna control device provided by the embodiment of the present application;

[0019] Figure 3 It is a schematic structural diagram of the network device provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0020] To make the objectives, features, and advantages of the present application more apparent and understandable, the following will describe the technical solutions in the embodiments of the present application clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the embodiments described below are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.

[0021] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0022] It should also be understood that the terms used in this specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in this specification of the present application and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.

[0023] It should be further understood that the term "and / or" used in this specification of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0024] As used in this specification and the appended claims, the term "if" can be interpreted as "when", "once", "in response to determining", or "in response to detecting" according to the context. Similarly, the phrase "if determined" or "if [the described condition or event] is detected" can be interpreted as meaning "once determined", "in response to determining", "once [the described condition or event] is detected", or "in response to detecting [the described condition or event]" according to the context.

[0025] In addition, in the description of the present application, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.

[0026] The following describes the intelligent antenna control method provided by the embodiments of the present application. Among them, the execution subject of the intelligent antenna control method is a network device, and the network device is provided with an intelligent antenna. In a general communication environment, the network device can be regarded as a wireless access point (Access Point, AP), which will not be elaborated here.

[0027] To facilitate understanding of the intelligent antenna control method provided by the embodiments of the present application, the following first introduces the intelligent antenna in the network device:

[0028] The smart antenna is an antenna array, which includes M links, and each link includes N antenna elements. It can be understood that for any one link, usually only one antenna element needs to be enabled, and the radiation of this antenna element can generate a corresponding beam, that is, the enabling of the antenna element is equivalent to the beam it generates; thus, each link can have N possible beam selections.

[0029] On this basis, during actual signal transmission and reception, one antenna element needs to be enabled for each link, that is, these M links all need to select one beam from the N possible beams corresponding to them. In this regard, in the embodiments of the present application, the combination formed by the beams respectively selected by these M links is called a beam combination. Since the enabling of the antenna element is equivalent to the beam it generates, the beam combination can also be called an antenna pattern; that is, the combination of the antenna elements respectively enabled by each link is called an antenna pattern. Since the smart antenna includes M links and each link includes N antenna elements, this smart antenna actually has a total of N M possible antenna patterns (that is, N M possible beam combinations). For the convenience of description, the possible antenna patterns are denoted as candidate antenna patterns.

[0030] Considering that the smart antenna control method proposed in the embodiments of the present application is implemented depending on the RSSI matrix of each terminal, and this RSSI matrix is specifically obtained through the training operation during the downlink communication between the network device and the terminal, and this RSSI matrix can be used in both the uplink communication scenario and the downlink communication scenario, so the training operation will be explained here first. For any associated terminal, this training operation is specifically: when there is a need to improve the communication with this terminal, control the smart antenna to train in turn using N training antenna patterns to obtain an M*N RSSI matrix.

[0031] It can be understood that the network device can monitor any associated terminal, so as to timely detect the possible situation where there is a need to improve the communication and handle this situation in a timely manner. Only as an example, the situation where there is a need to improve the communication with the associated terminal may include, but is not limited to, the following several types: the communication with this terminal is abnormal; this terminal is newly associated with the network device; the time since the last training of this terminal has exceeded the preset cycle duration, etc., which are not limited here.

[0032] Specifically, the network device can monitor the real-time communication quality of communicating with the terminal, and determine that its communication with the terminal is abnormal when the real-time communication quality does not meet the preset quality conditions. Only as an example, the real-time communication quality can be real-time RSSI or real-time packet loss rate, etc., and the embodiments of the present application do not limit this. Taking the real-time communication quality as real-time RSSI as an example, the quality condition can be: the difference between the real-time RSSI and the historical RSSI is greater than the preset difference threshold, and the historical RSSI can be obtained through statistical analysis within the specified historical time period, and the embodiments of the present application do not limit this quality condition.

[0033] When it is determined that there is a need to improve the communication with the associated terminal, it can be known that the current downlink antenna mode adopted by the smart antenna of the network device can no longer meet the communication requirements of the terminal, which is likely because the position of the terminal has changed. In this regard, the network device can trigger its smart antenna to enter the training state, specifically: control the smart antenna to train in N training antenna modes in sequence, so as to obtain an RSSI matrix of M*N.

[0034] On the one hand, in the above training method proposed by the embodiments of the present application, RSSI is used as the performance evaluation index of the training antenna mode, and the reason is that: RSSI has the characteristics of being easy to obtain and having a high correlation with throughput. Specifically, the measurement method of this RSSI is briefly described as follows: in a given antenna mode, send a downlink data frame to the terminal, and the data frame can be QoSData or QoS Null; then, receive the confirmation information replied by the terminal in this antenna mode, and the confirmation information can be Ack or BA frame, and measure the signal strength of the confirmation information received by each link. Thus, each link can obtain an RSSI value, that is, a total of M RSSI values are obtained; relying on the symmetry relationship of RSSI during two-way communication, the RSSI of the data sent by the network device received by the terminal (downlink communication direction) is approximately equal to the RSSI of the data sent by the terminal received by the network device (uplink communication direction), so these M RSSI values can be used as the performance evaluation index of this antenna mode.

[0035] On the other hand, in the above training method proposed by the embodiments of the present application, based on the independence of measuring RSSI for each link, there are the following special requirements for N training antenna patterns: the antenna units enabled by any link in different training antenna patterns are different; in other words, for any link, by traversing these N training antenna patterns, the smart antenna can respectively enable each antenna unit in this link, so as to obtain the RSSI when this link communicates with the terminal when each antenna unit is enabled, that is, N RSSI values. Since there are M links in total, after traversing N training antenna patterns, the network device can finally obtain M * N RSSI values, thereby obtaining an RSSI matrix, which is used to represent the RSSI when each link communicates with the terminal when each antenna unit is enabled.

[0036] For ease of understanding, the following gives an example of the simplest possible N training antenna patterns:

[0037] Training antenna pattern 1: {1, 1, 1…, 1}

[0038] Training antenna pattern 2: {2, 2, 2…, 2}

[0039] …

[0040] Training antenna pattern N: {N, N, N…, N}

[0041] Among them, "Training antenna pattern 1: {1, 1, 1…, 1}" means that in training antenna pattern 1, link 1 enables its first antenna unit, link 2 also enables its first antenna unit, and so on, until link M also enables its first antenna unit; "Training antenna pattern 2: {2, 2, 2…, 2}" means that in training antenna pattern 2, link 1 enables its second antenna unit, link 2 also enables its second antenna unit, and so on, until link M also enables its second antenna unit; and so on, "Training antenna pattern N: {N, N, N…, N}" means that in training antenna pattern N, link 1 enables its Nth antenna unit, link 2 also enables its Nth antenna unit, and so on, until link M also enables its Nth antenna unit.

[0042] From the examples of the N training antenna patterns proposed above, it can be seen that for Link 1, after traversing training antenna patterns 1 to N, all antenna units in this link are also traversed and enabled, so as to obtain the RSSI values when Link 1 enables its first, second, up to the Nth antenna unit respectively when communicating with the terminal. The number of these RSSI values is N; for Link 2, after traversing training antenna patterns 1 to N, all antenna units in this link are also traversed and enabled, so as to obtain the RSSI values when Link 2 enables its first, second, up to the Nth antenna unit respectively when communicating with the terminal. The number of these RSSI values is N; and so on. Finally, M * N RSSI values are obtained.

[0043] Of course, in the embodiments of the present application, the N training antenna patterns adopted by the network device are not unique. In fact, as long as these N training antenna patterns meet the condition that "for any link, the antenna units enabled in these N training antenna patterns of this link are all different". Further, since the position of the terminal is unknown, in order to ensure as much as possible that the smart antenna can receive the reply from the terminal when using N training antenna patterns for training, the embodiments of the present application can further limit the N training antenna patterns as follows: each training antenna pattern is an omnidirectional antenna pattern; among them, the omnidirectional antenna pattern means that the directions of the beams generated by the antenna units enabled by M links cover a specified number of directions.

[0044] As described above, after controlling the smart antenna to train in N training antenna patterns in sequence, M * N RSSI values can be finally obtained, thus forming an M * N RSSI matrix. For ease of description, the embodiments of the present application use RSSI mn to represent the elements in this RSSI matrix, where 1 ≤ m ≤ M, 1 ≤ n ≤ N, and both m and n are integers. It can be understood that the specific meaning of RSSI mn is: the RSSI when the mth link enables its nth antenna unit to communicate with the terminal.

[0045] In the downlink communication scenario, based on the RSSI matrix of any terminal, the network device can determine the target downlink mode for this terminal. The process can be specifically as follows: First, according to the RSSI matrix, determine the optimal RSSI of each link; then, determine the antenna units corresponding to the optimal RSSI of each link as the target antenna units; finally, determine the target downlink mode for the terminal based on the target antenna units. The following details this process:

[0046] Define any antenna pattern as {x 1 , x 2 , x 3 , … x M}, where xm represents the antenna unit enabled by the mth link, x m The value of is between 1 and N; accordingly, its performance evaluation index can be expressed as {RSSI 1x1 , RSSI 2x2 , RSSI 3x3 ,…RSSI MxM}. RSSI has been given in the previous article mn , and any RSSI mn The corresponding values ​​can be found in the RSSI matrix. Therefore, for each link, the network device can determine the optimal RSSI under it from the RSSI matrix; that is, the network device can determine the optimal RSSI of each link according to the RSSI matrix of the terminal. For example, let m be 1, let n be 1 to N, then you can traverse the RSSI corresponding to the first link when each antenna unit is enabled, which are RSSI11, RSSI12 to RSSI1N; among RSSI11, RSSI12 to RSSI1N, find the maximum RSSI value, which is the optimal RSSI of the first link. The method for determining the optimal RSSI of other links is similar, and will not be repeated here.

[0047] On this basis, the network device can determine the enabled antenna unit corresponding to the optimal RSSI of each link as the target antenna unit. Still taking the first link as an example, if its optimal RSSI is RSSI1x1, it can be known that the enabled antenna unit corresponding to the optimal RSSI of the first link is the x1th antenna unit, that is, the x1th antenna unit of the first link is the target antenna unit. Similarly, the target antenna unit under each link can be determined. In this way, the network device can determine M target antenna units. These M target antenna units are combined together to form a target downlink mode for the terminal. The network device can thus communicate downlink with the terminal through the target downlink mode.

[0048] Based on the above description of the concepts related to the smart antenna, training operation, RSSI matrix and target downlink mode, the smart antenna control method proposed in the embodiment of the present application is introduced below:

[0049] In the embodiment of the present application, the downlink application scenarios are further subdivided into: a scenario where the network device is associated with more than two terminals, and a scenario where the network device is associated with only one terminal. Figure 1 For a scenario where a network device is associated with more than two terminals, the smart antenna control method proposed in the embodiment of the present application is described in detail as follows:

[0050] Step 101: According to the RSSI matrix corresponding to each associated terminal, MDetermine whether there is a target uplink mode that meets the preset communication performance conditions among the N candidate antenna patterns.

[0051] As described above, for any terminal, as long as there is a need to improve the communication between the device and the terminal, the training operation based on the terminal can be triggered, so as to obtain the RSSI matrix corresponding to the terminal, and the RSSI matrix can be stored locally in the network device. When it is necessary to select a target uplink mode, the network device can read the RSSI matrices corresponding to the associated terminals respectively, and then traverse the preset N M candidate antenna patterns based on the matrix to determine whether there is a target uplink mode that meets the preset communication performance conditions among the N M candidate antenna patterns. Only as an example, the network device can set the communication performance conditions based on the following principles:

[0052] 1. In the actual application scenario, multiple terminals associated with the network device often execute different services. For example, some terminals are used to watch live broadcasts, resulting in a large traffic demand; some terminals are used to browse the web, resulting in a small traffic demand. Since it is difficult for one antenna mode to optimize the uplink performance of all terminals at the same time, when setting the communication performance conditions, it can be considered to give priority to meeting the large-traffic terminals while ensuring the basic experience of other terminals.

[0053] 2. Generally speaking, users' use of wireless traffic is usually sudden, such as using a mobile phone to browse the web. Based on this, when setting the communication performance conditions, it can be considered to give priority to meeting the terminals with sudden traffic demands and being relatively active while ensuring the basic experience of other terminals.

[0054] 3. In the home environment, there may be multiple terminals, such as smartphones, PCs, and Internet of Things devices; but when users actually use them, they often only focus on the experience of specific terminals, such as focusing on the communication experience of smartphones, and other terminals only need to meet the normal working requirements. Based on this, when setting the communication performance conditions, it can be considered to give priority to meeting the terminals that users focus on while ensuring the basic experience of other terminals.

[0055] Step 102, in the case of the existence of a target uplink mode, control the smart antenna to perform uplink communication with all terminals based on the target uplink mode.

[0056] The target uplink mode determined by the network device through step 101 has a certain generality, that is, the target uplink mode is not only for some associated terminals, but for all associated terminals. The network device can control the smart antenna to perform uplink communication with all terminals based on the target uplink mode. Of course, when the target uplink mode cannot be determined, that is, all candidate antenna modes cannot meet the preset communication performance conditions, the network device can directly use the default omnidirectional antenna mode to perform uplink communication with all terminals, which is not elaborated in this embodiment of the present application.

[0057] In some embodiments, based on the setting principle of the communication performance conditions proposed above, before step 101, the network device can first determine a first terminal and a second terminal among all associated terminals according to the terminal type and traffic demand of each terminal, where the priority of the first terminal is higher than that of the second terminal. Among them, the traffic demand of the terminal can be obtained by calculating the weighted traffic of the terminal in a specified time period (for example, within the last 3 seconds), and its calculation formula can be as follows:

[0058] RX_byte=(W1*RX_byte_0-1s+W2*RX_byte_1-2s+W3*RX_byte_2-3s) / (W1+W2+W3),W1>W2>W3

[0059] Wherein, RX_byte is the traffic demand of the terminal; RX_byte_0-1s represents the traffic of the terminal from 1 second ago to the current moment; RX_byte_1-2s represents the traffic of the terminal from 2 seconds ago to 1 second ago; RX_byte_2-3s represents the traffic of the terminal from 3 seconds ago to 2 seconds ago; W1, W2, and W3 are all preset weights, and follow the quantitative relationship of W1>W2>W3, that is, the traffic weight closer to the current moment is greater.

[0060] Specifically, the network device can preset a specified terminal type as the terminal type that needs to be considered preferentially according to the actual usage needs of the user; for example, set the terminal type of the smart phone as the terminal type that needs to be considered preferentially. Based on this, when the network device currently associates with a terminal of the specified terminal type, the terminal can be directly determined as the first terminal, and the rest of the terminals are all second terminals. However, if there are more than two terminals of the specified terminal type among all currently associated terminals, the network device can then determine the only first terminal according to the traffic demands of these more than two terminals of the specified terminal type, specifically: determine the terminal with the highest traffic demand and of the specified terminal type as the first terminal, and the rest of the terminals are all second terminals. Similarly, if there is no terminal of the specified terminal type among all currently associated terminals, the terminal with the highest traffic demand can also be directly determined as the first terminal, and the rest of the terminals are all second terminals.

[0061] Based on the above - proposed determination methods for the first terminal and the second terminal, a unique first terminal and one or more second terminals can be obtained. For the second terminals, the embodiments of the present application can further classify them based on their activity levels. Only as an example, for the second terminals, the embodiments of the present application can divide them into the following three types of active states:

[0062] High - active state, specifically referring to terminals with clear business interactions, such as terminals running video software, etc.;

[0063] Low - active state, specifically referring to terminals with very little traffic interaction and basically no requirement for throughput, such as terminals whose browsing interfaces have not been refreshed for a period of time, etc.;

[0064] Inactive state, specifically referring to terminals without traffic for a period of time, such as terminals in the screen - off state, etc.

[0065] Of course, the active state can also be divided by other methods, and the number of divided active states can also be increased or decreased according to the actual needs of users. The embodiments of the present application do not limit this.

[0066] So far, the network device can first divide all currently associated terminals into a first terminal and one or more second terminals based on the terminal type and traffic requirements; then, according to the relevant definitions of different active states, the one or more second terminals can be further divided into high - active - state terminals, low - active - state terminals, and inactive - state terminals.

[0067] On this basis, as previously described, define any antenna mode as {x 1 ,x 2 ,x 3 ,…x M}, where x m represents the antenna unit enabled by the m - th link, and the value of x m ranges from 1 to N. Assume that the network device currently associates with a total of K terminals, then RSSI mnk can be defined to represent the RSSI when the k - th (1 ≤ k ≤ K) terminal uses the n - th (1 ≤ n ≤ N) candidate antenna mode for the m - th (1 ≤ m ≤ M) link. Then, the communication performance evaluation index when the k - th terminal uses this candidate antenna mode can be expressed as {RSSI 1x1 k , RSSI 2x2 k , RSSI 3x3 k ,…RSSI MxM k}, where each RSSI value can be obtained by referring to the RSSI matrix corresponding to the k-th terminal. Based on the above definitions, the specific process of step 101 is described below:

[0068] Step 1011, according to the RSSI matrix corresponding to the first terminal, determine whether there is a first uplink mode that meets the preset first communication performance condition among the preset N M candidate antenna patterns.

[0069] When the network device selects the target uplink mode, the communication performance of the first terminal should be optimized; based on this, a corresponding first communication performance condition is set for the first terminal, and the candidate antenna pattern that meets the first communication performance condition is temporarily recorded as the first uplink mode. It should be noted that the preset N M candidate antenna patterns include a default omnidirectional antenna pattern. It has been described above that when the target uplink mode cannot be determined, the default omnidirectional antenna pattern is used for uplink communication with each terminal. Therefore, the optimization mentioned here specifically means that: compared with the default omnidirectional antenna pattern, when the first uplink mode is used, the communication performance of the first terminal is optimized. Only as an example, the network device can specifically determine the first uplink mode in the following way:

[0070] Step A1, for each other candidate antenna pattern, according to the RSSI matrix corresponding to the first terminal, determine the first RSSI of each link in the other candidate antenna pattern.

[0071] Among them, the other candidate antenna pattern refers to the candidate antenna pattern except the default omnidirectional antenna pattern.

[0072] Step A2, according to the RSSI matrix corresponding to the first terminal, determine the second RSSI of each link in the default omnidirectional antenna pattern.

[0073] Step A3, according to the first RSSI of the first link, determine the first RSSI average value, and according to the second RSSI of the second link, determine the second RSSI average value.

[0074] Among them, the first link is the first X links with the best first RSSI, and the second link is the first X links with the best second RSSI.

[0075] Step A4, in the case that the difference between the first RSSI average value and the second RSSI average value is greater than the preset first difference threshold, determine the other candidate antenna pattern as the first uplink mode.

[0076] Define MAX_AVE_RSSI_Q{ x1,x2,x3,…xM} k as the communication performance evaluation index {RSSI of the k-th terminal1x1 k , RSSI 2x2 k , RSSI 3x3 k , … RSSI MxM k} The average RSSI of the top Q best links. Then, the first communication performance condition proposed in the embodiments of the present application can be specifically expressed as the following formula: MAX_AVE_RSSI_X{ x1,x2,x3,…xM} BASE ≥MAX_AVE_RSSI_X{ 默认全向模式} BASE +T1

[0077] Where the subscript BASE represents the first terminal, BASE ∈ K; T1 represents the first difference threshold; the value of X can be determined according to the number of links M and the number of links L1 of the first terminal. Among them, in the general application scenario where M ≥ L1, X can take values in the range of L1 ≤ X ≤ M. In the special application scenario where M < L1, X can directly take the value of M; MAX_AVE_RSSI_X{ x1,x2,x3,…xM} BASE represents the first RSSI mean value of the top X best links (i.e., the first link) of the first RSSI when the first terminal selects the other candidate antenna pattern {x 1 , x 2 , x 3 , … x M}; MAX_AVE_RSSI_X{ 默认全向模式} BASE represents the second RSSI mean value of the top X best links (i.e., the second link) of the second RSSI when the first terminal selects the default omnidirectional antenna pattern. It can be understood that if an other candidate antenna pattern {x 1 , x 2 , x 3 , … x M} can make the above first communication performance condition hold, then the other candidate antenna pattern {x 1 , x 2 , x 3 , … x M} can be determined as the first uplink mode.

[0078] Step 1012, determine whether there is a second uplink mode that satisfies the preset second communication performance condition among the preset N M candidate antenna patterns according to the RSSI matrix corresponding to the second terminal.

[0079] When the network device selects a target uplink mode, it should also ensure that the communication performance of the second terminal does not deteriorate severely. Based on this, corresponding second communication performance conditions are set for the second terminal, and the candidate antenna modes that meet the second communication performance conditions are temporarily recorded as the second uplink mode. It should be noted that among the preset N M candidate antenna modes, there is a default omnidirectional antenna mode. It has been described above that when the target uplink mode cannot be determined, this default omnidirectional antenna mode is used for uplink communication with each terminal. Therefore, the so-called "not deteriorating severely" specifically means that when the second uplink mode is adopted, compared with this default omnidirectional antenna mode, the communication performance of each second terminal does not deteriorate severely. Only as an example, the network device can specifically determine the second uplink mode through the following method:

[0080] Step B1, for each other candidate antenna mode, according to the RSSI matrix corresponding to the second terminal, determine the third RSSI of each link in the other candidate antenna mode.

[0081] Step B2, according to the RSSI matrix corresponding to the second terminal, determine the fourth RSSI of each link in the default omnidirectional antenna mode.

[0082] Step B3, according to the third RSSI of the third link, determine the third RSSI average value, and according to the fourth RSSI of the fourth link, determine the fourth RSSI average value.

[0083] Among them, the third link is the top Y links with the best third RSSI, and the fourth link is the top Y links with the best fourth RSSI.

[0084] Step B4, when the difference between the third RSSI average value and the fourth RSSI average value is greater than the preset second difference threshold, determine the candidate antenna mode as the second uplink mode.

[0085] It can be understood that steps B1 - B4 are similar to steps A1 - A4. For specific references, please refer to the relevant descriptions of steps A1 - A4 above. On this basis, it has also been described above that the second terminal can be specifically divided into high - active terminals, low - active terminals, and inactive terminals. Then, for high - active terminals, low - active terminals, and inactive terminals, the network device can take the same or different values for Y respectively, and the second difference threshold can also take the same or different values. Then, define Ak to represent the active state of the k - th terminal. The second communication performance condition proposed in the embodiments of this application can be specifically expressed by the following formula:

[0086] MAX_AVE_RSSI_Y1{ x1,x2,x3,…xM} k ≥MAX_AVE_RSSI_Y1{ 默认全向模式} k–T2_1, Ak = High active state

[0087] MAX_AVE_RSSI_Y2{ x1,x2,x3,…xM} k ≥MAX_AVE_RSSI_Y2{ 默认全向模式} k –T2_2, Ak = Low active state

[0088] MAX_AVE_RSSI_Y3{ x1,x2,x3,…xM} k ≥MAX_AVE_RSSI_Y3{ 默认全向模式} k –T2_3, Ak = Inactive state

[0089] Wherein, the values of Y1, Y2 and Y3 can be determined according to the number of links M and the number of links L2 of the second terminal. Specifically, in the general application scenario where M ≥ L2, the value of Y1 is an integer greater than or equal to L2 and less than or equal to M. In the special application scenario where M < L2, Y1 can directly take the value of M; the value of Y2 is an integer less than or equal to L2; the value of Y3 is an integer less than or equal to Y2; that is, L2 ≤ Y1 ≤ M (general application scenario) or Y1 = M (special application scenario), Y2 ≤ L2, Y3 ≤ Y2; T2_1, T2_2 and T2_3 represent the second difference thresholds respectively adopted for the second terminals in different active states.

[0090] In the case where Ak = High active state, the terminal k is specifically a high active state terminal: Based on this, MAX_AVE_RSSI_Y1{ x1,x2,x3,…xM} k represents the average value of the third RSSI of the top Y1 links (i.e., the third link) with the best third RSSI when the high active state terminal k selects the other candidate antenna pattern {x 1 , x 2 , x 3 , … x M}; MAX_AVE_RSSI_Y1{ 默认全向模式} k represents the average value of the fourth RSSI of the top Y1 links (i.e., the fourth link) with the best fourth RSSI when the high active state terminal k selects the default omnidirectional antenna pattern.

[0091] In the case where Ak = Low active state, the terminal k is specifically a low active state terminal: Based on this, MAX_AVE_RSSI_Y2{ x1,x2,x3,…xM} k represents the average value of the third RSSI of the top Y2 links (i.e., the third link) with the best third RSSI when the low active state terminal k selects the other candidate antenna pattern {x 1 , x 2 , x 3 , … xM}When considering this other candidate antenna mode, the average third RSSI of the top Y2 links (i.e., the third link) with the optimal third RSSI; MAX_AVE_RSSI_Y2{ 默认全向模式} k It represents the average fourth RSSI of the top Y2 links (i.e., the fourth link) with the optimal fourth RSSI when the low-active terminal k selects the default omnidirectional antenna mode.

[0092] When Ak = inactive state, the terminal k is specifically an inactive terminal: Based on this, MAX_AVE_RSSI_Y3{ x1,x2,x3,…xM} k It represents the average third RSSI of the top Y3 links (i.e., the third link) with the optimal third RSSI when the inactive terminal k selects the other candidate antenna mode {x 1 ,x 2 ,x 3 ,…x M}; MAX_AVE_RSSI_Y3{ 默认全向模式} k It represents the average fourth RSSI of the top Y3 links (i.e., the fourth link) with the optimal fourth RSSI when the inactive terminal k selects the default omnidirectional antenna mode.

[0093] It can be understood that if an other candidate antenna mode {x 1 ,x 2 ,x 3 ,…x M} can make the above second communication performance condition hold, then this other candidate antenna mode {x 1 ,x 2 ,x 3 ,…x M} can be determined as the second uplink mode.

[0094] It can be understood that step 1011 and step 1012 can be executed in parallel; or, they can also be executed serially; when executed serially, if the step with the earlier execution order fails to determine a terminal that meets the corresponding condition, the step with the later execution order does not need to be executed anymore, and the network device can directly determine that there is no target uplink mode. For example, when step 1011 is executed first, if there is no first uplink mode, it can be directly determined that there is no target uplink mode.

[0095] Step 1013, in the case of the existence of a compatible uplink mode, determine the target uplink mode from the compatible uplink modes.

[0096] Among them, the compatible uplink mode is both the first uplink mode and the second uplink mode. That is to say, the compatible uplink mode actually refers to: a candidate antenna mode that satisfies both the first communication performance condition for the first terminal and the second communication performance condition for the second terminal. The network device can determine any compatible uplink mode as the target uplink mode; or, it can further screen among the compatible uplink modes based on the third communication performance condition according to the RSSI matrix corresponding to each terminal, so as to determine the compatible uplink mode that satisfies the third communication performance condition as the target uplink mode. Only as an example, this screening process can be briefly described as follows:

[0097] Step C1, for each compatible uplink mode, according to the RSSI matrix corresponding to each terminal, determine whether the RSSI of each link of each terminal in the compatible uplink mode is greater than the preset RSSI lower limit value, and calculate the directional total gain of the specified terminal in the compatible uplink mode.

[0098] Among them, the preset RSSI lower limit value can be set according to the actual application scenario and is not limited here.

[0099] Among them, the specified terminal is: the terminal with the specified active state. Considering that the high-active state terminal has more service interactions and the user's service perception of the high-active state terminal is relatively more obvious, the specified active state can specifically be the high-active state.

[0100] Taking the specified active state as the high-active state as an example, the directional total gain can be specifically calculated by the following formula:

[0101] ∑ Ak=高活跃态 (MAX_AVE_RSSI_Y1{ x1,x2,x3,…xM} k -MAX_AVE_RSSI_Y1{ 默认全向模式} k )*RX_byte k / ∑ Ak=高活跃态 RX_byte k

[0102] That is to say, MAX_AVE_RSSI_Y1{ x1,x2,x3,…xM} k represents the third RSSI average value of the high-active state terminal k in the compatible uplink mode {x 1 ,x 2 ,x 3 ,…x M}, and MAX_AVE_RSSI_Y1{ 默认全向模式} k) represents the fourth RSSI average value of the highly active terminal k in the default omnidirectional antenna mode. The difference between the two is multiplied by the traffic demand ratio RX_byte of the highly active terminal k k / ∑ Ak=高活跃态 RX_byte k After that, it is the directional gain of the highly active terminal k in the compatible uplink mode {x 1 ,x 2 ,x 3 ,…x M}. Thus, after calculating the directional gains of all highly active terminals in the same compatible uplink mode {x 1 ,x 2 ,x 3 ,…x M}, and then performing a summation process, the total directional gain of all highly active terminals in this compatible uplink mode can be obtained. By analogy, for each compatible uplink mode, the corresponding total directional gain can be calculated in the above way, which will not be elaborated here.

[0103] Only as an example, the gain threshold can be 0, and of course it can also be other values, which are not limited here.

[0104] Step C2, when the total directional gain is greater than the gain threshold, and the RSSI of each link of each terminal in the compatible uplink mode is greater than the RSSI lower limit value, determine the compatible uplink mode as the alternative uplink mode.

[0105] It can be understood that the alternative uplink mode selected in the above way can not only take into account the communication requirements of all terminals, but also have a positive gain for the specified terminal.

[0106] Step C3, among all the alternative uplink modes, determine the alternative uplink mode with the largest total directional gain as the target uplink mode.

[0107] If there is only one alternative uplink mode, the alternative uplink mode can be directly determined as the target uplink mode; if there are more than two alternative uplink modes, the network device can determine the alternative uplink mode with the largest total directional gain as the target uplink mode, so as to maximize the communication of the terminals in the specified state.

[0108] It should be noted that if there are untrained terminals among more than two terminals associated with the network device, step 101 can be optimized to "According to the RSSI matrices corresponding to each trained terminal, in the preset N MDetermine whether there is a target uplink mode that meets the preset communication performance conditions among the candidate antenna modes”; that is, the determination of the target uplink mode only needs to consider the trained terminals, without taking the untrained terminals into account; where an untrained terminal refers to a terminal for which no training operation has been performed, that is, a terminal without a corresponding RSSI matrix; a trained terminal refers to a terminal for which a training operation has been performed, that is, a terminal with a corresponding RSSI matrix.

[0109] For the scenario where the network device is only associated with one terminal, the intelligent antenna control method proposed in the embodiments of the present application is described in detail as follows: when the traffic demand of the only terminal is greater than the preset traffic threshold, the target downlink mode adopted by the terminal can be directly synchronized and determined as the target uplink mode; that is, in this case, the network device can use the same antenna mode to communicate with the terminal for both uplink and downlink, so as to fully utilize the directional gain of the intelligent antenna. Conversely, when the traffic demand of the only terminal is less than or equal to the preset traffic threshold, the default omnidirectional antenna mode is determined as the target uplink mode, so as to avoid affecting the access of other unassociated terminals.

[0110] In some embodiments, the network device can specifically trigger the execution of the intelligent antenna control method proposed in the embodiments of the present application to determine the target uplink mode at the following two possible times:

[0111] Time 1: The active state of any associated terminal changes, and the changed active state remains stable within a preset duration.

[0112] Time 2: The training operation for any associated terminal is completed.

[0113] It can be understood that after the active state of a certain terminal changes, or the network device completes the training operation for a certain terminal, the original target uplink mode may no longer meet the latest communication performance conditions. Therefore, the intelligent antenna control method proposed in the embodiments of the present application can be triggered to select a new target uplink mode, so that the target uplink mode always meets the communication requirements of all terminals and can obtain the maximum gain.

[0114] As can be seen from the above, the embodiments of the present application rely on the RSSI matrices respectively corresponding to the associated terminals to screen out the target uplink mode. Among them, the RSSI matrix can be obtained through the training operation during the downlink communication with the corresponding terminal, and can represent the RSSI of each link when communicating with the terminal when each antenna unit is enabled. On the one hand, the acquisition of the RSSI matrix does not require additional processing resources, and can be obtained as long as the corresponding training operation is triggered during the downlink communication with the terminal; on the other hand, relying on the symmetric relationship of the RSSI during two-way communication, through this RSSI matrix, the network device can quickly screen out the target uplink mode that meets the communication performance conditions, so as to realize the switching of the antenna mode used during its uplink communication. Further, based on multiple communication performance conditions set in the specific implementation, the found target uplink mode can, on the one hand, make the overall performance in the uplink direction as optimal as possible while avoiding obvious deterioration of the performance of some terminals; on the other hand, it can make the uplink performance of terminals with higher priorities (such as the first terminal, etc.) have a relatively obvious gain compared with the default omnidirectional mode. In summary, through the solution of the present application, the optimal uplink antenna mode can be selected in real time at a low cost, so as to give full play to the advantages of the directional antenna and ensure good uplink gain effect.

[0115] Corresponding to the intelligent antenna control method provided above, an embodiment of the present application further provides an intelligent antenna control device. The intelligent antenna control device can be integrated into a network device, and the network device includes an intelligent antenna, and the intelligent antenna includes M links, and each link includes N antenna units, which will not be elaborated here. Please refer to Figure 2 , the intelligent antenna control device 2 includes:

[0116] A first determination module 201, configured to determine whether there is a target uplink mode that meets the preset communication performance conditions among the preset N M candidate antenna modes according to the RSSI matrices respectively corresponding to the associated terminals. Among them, in a candidate antenna mode, each link enables one antenna unit, the size of the RSSI matrix is M*N, and the RSSI matrix is obtained through the training operation during the downlink communication with the corresponding terminal, and is used to represent the RSSI of each link when communicating with the terminal when each antenna unit is enabled;

[0117] A control module 202, configured to control the intelligent antenna to perform uplink communication with all terminals based on the target uplink mode when there is a target uplink mode.

[0118] In some embodiments, the intelligent antenna control method further includes:

[0119] A second determination module, configured to determine a first terminal and a second terminal according to the terminal types and traffic requirements of all associated terminals, where the priority of the first terminal is higher than that of the second terminal;

[0120] Correspondingly, the first determination module includes:

[0121] A first determination unit, configured to determine whether there is a first uplink mode that meets a preset first communication performance condition among N M preset candidate antenna modes according to the RSSI matrix corresponding to the first terminal;

[0122] A second determination unit, configured to determine whether there is a second uplink mode that meets a preset second communication performance condition among N M preset candidate antenna modes according to the RSSI matrix corresponding to the second terminal;

[0123] A third determination unit, configured to determine a target uplink mode from the compatible uplink modes when there are compatible uplink modes, where the compatible uplink modes are both the first uplink mode and the second uplink mode.

[0124] In some embodiments, one of the preset N M candidate antenna modes is a default omnidirectional antenna mode; the first determination unit includes:

[0125] A first RSSI determination subunit, configured to, for each other candidate antenna mode, determine the first RSSI of each link in the other candidate antenna mode according to the RSSI matrix corresponding to the first terminal, where the other candidate antenna mode is: a candidate antenna mode other than the default omnidirectional antenna mode;

[0126] A second RSSI determination subunit, configured to determine the second RSSI of each link in the default omnidirectional antenna mode according to the RSSI matrix corresponding to the first terminal;

[0127] A first mean determination subunit, configured to determine a first RSSI mean according to the first RSSI of the first link, and determine a second RSSI mean according to the second RSSI of the second link, where the first link is the first X links with the best first RSSI, and the second link is the first X links with the best second RSSI;

[0128] A first uplink mode determination subunit, configured to determine the other candidate antenna mode as the first uplink mode when the difference between the first RSSI mean and the second RSSI mean is greater than a preset first difference threshold.

[0129] In some embodiments, the preset N MAmong the candidate antenna modes, there is a default omnidirectional antenna mode; the second determination unit includes:

[0130] The third RSSI determination subunit is configured to, for each of the other candidate antenna modes, determine the third RSSI of each link in the other candidate antenna modes according to the RSSI matrix corresponding to the second terminal, where the other candidate antenna modes are: candidate antenna modes other than the default omnidirectional antenna mode;

[0131] The fourth RSSI determination subunit is configured to determine the fourth RSSI of each link in the default omnidirectional antenna mode according to the RSSI matrix corresponding to the second terminal;

[0132] The second mean value determination subunit is configured to determine the third RSSI mean value according to the third RSSI of the third link, and determine the fourth RSSI mean value according to the fourth RSSI of the fourth link, where the third link is the top Y links with the optimal third RSSI, and the fourth link is the top Y links with the optimal fourth RSSI;

[0133] The second uplink mode determination subunit is configured to determine that the candidate antenna mode is the second uplink mode when the difference between the third RSSI mean value and the fourth RSSI mean value is greater than a preset second difference threshold.

[0134] In some embodiments, the third determination unit may be specifically configured to determine, according to the RSSI matrix corresponding to each terminal, the compatible uplink mode that meets the preset third communication performance condition as the target uplink mode.

[0135] In some embodiments, the third determination unit includes:

[0136] The first determination subunit is configured to, for each compatible uplink mode, determine whether the RSSI of each link of each terminal in the compatible uplink mode is greater than a preset RSSI lower limit value according to the RSSI matrix corresponding to each terminal;

[0137] The calculation subunit is configured to, for each compatible uplink mode, calculate the directional total gain of a specified terminal in the compatible uplink mode, where the specified terminal is: the terminal with the specified active state;

[0138] The alternative uplink mode determination subunit is configured to determine the compatible uplink mode as the alternative uplink mode when the directional total gain is greater than the gain threshold and the RSSI of each link of each terminal in the compatible uplink mode is greater than the RSSI lower limit value;

[0139] The target uplink mode determination subunit is configured to determine the alternative uplink mode with the largest directional total gain among all the alternative uplink modes as the target uplink mode.

[0140] In some embodiments, the third determination unit may specifically be further configured to determine any compatible uplink mode as the target uplink mode.

[0141] In some embodiments, the first determination module is triggered when the active state of any associated terminal changes and the changed active state remains stable within a preset time period.

[0142] In some embodiments, the first determination module is triggered when the training operation for any associated terminal is completed.

[0143] The embodiments of the present application rely on the RSSI matrices respectively corresponding to the associated terminals to screen out the target uplink mode. Among them, the RSSI matrix can be obtained through the training operation during the downlink communication with the corresponding terminal, and can represent the RSSI of each link when communicating with the terminal when each antenna unit is enabled. On the one hand, the acquisition of the RSSI matrix does not require additional processing resources, and can be obtained as long as the corresponding training operation is triggered during the downlink communication with the terminal; on the other hand, relying on the symmetric relationship of the RSSI during two-way communication, through this RSSI matrix, the network device can quickly screen out the target uplink mode that meets the communication performance conditions, so as to realize the switching of the antenna mode used during its uplink communication. Further, based on multiple communication performance conditions set in the specific implementation, the found target uplink mode can, on the one hand, make the overall performance in the uplink direction as optimal as possible while avoiding obvious deterioration of the performance of some terminals; on the other hand, it can make the uplink performance of terminals with higher priorities (such as the first terminal, etc.) have a more obvious gain compared with the default omnidirectional mode. In summary, through the solution of the present application, the optimal uplink antenna mode can be selected in real time based on a lower cost, so as to give full play to the advantages of the directional antenna and ensure a good uplink gain effect.

[0144] Corresponding to the intelligent antenna control method provided above, the embodiments of the present application further provide a network device. Please refer to Figure 3 , the network device 3 in the embodiments of the present application includes: a memory 301, one or more processors 302 ( Figure 3 only one is shown herein) and a computer program stored on the memory 301 and executable on the processor. It should be noted that the network device further includes an intelligent antenna, which is not shown in Figure 3 . Among them, the intelligent antenna includes M links, and each link includes N antenna units; the memory 301 is used to store software programs and units, and the processor 302 executes various functional applications and controls by running the software programs and units stored in the memory 301, so as to obtain the resources corresponding to the above preset events.

[0145] Specifically, when the processor 302 runs the computer program stored in the memory 301, the following steps are implemented:

[0146] Based on the RSSI matrices respectively corresponding to the associated terminals, determine whether there is a target uplink mode that meets the preset communication performance conditions among the preset N M candidate antenna modes. In one candidate antenna mode, each link enables one antenna unit. The size of the RSSI matrix is M*N, and the RSSI matrix is obtained through training operations during downlink communication with the corresponding terminal, and is used to represent the RSSI of each link when communicating with the terminal when each antenna unit is enabled;

[0147] In the case where there is a target uplink mode, control the smart antenna to perform uplink communication with all terminals based on the target uplink mode.

[0148] Assume the above is the first possible implementation manner. Then, in the second possible implementation manner provided based on the first possible implementation manner, when the processor 302 runs the computer program stored in the memory 301, the following steps are implemented:

[0149] Among all the associated terminals, determine a first terminal and a second terminal according to the terminal types and traffic requirements of each terminal, where the priority of the first terminal is higher than that of the second terminal;

[0150] Correspondingly, based on the RSSI matrices respectively corresponding to the associated terminals, determine whether there is a target uplink mode that meets the preset communication performance conditions among the preset N M candidate antenna modes, including:

[0151] Based on the RSSI matrix corresponding to the first terminal, determine whether there is a first uplink mode that meets the preset first communication performance conditions among the preset N M candidate antenna modes;

[0152] Based on the RSSI matrix corresponding to the second terminal, determine whether there is a second uplink mode that meets the preset second communication performance conditions among the preset N M candidate antenna modes;

[0153] In the case where there is a compatible uplink mode, determine the target uplink mode from the compatible uplink modes, where the compatible uplink mode is both the first uplink mode and the second uplink mode.

[0154] In the third possible implementation manner provided based on the second possible implementation manner above, the preset N MAmong the candidate antenna patterns, there is a default omnidirectional antenna pattern; according to the RSSI matrix corresponding to the first terminal, determine whether there is a first uplink mode that meets the preset first communication performance condition among the preset N M candidate antenna patterns, including:

[0155] For each other candidate antenna pattern, according to the RSSI matrix corresponding to the first terminal, determine the first RSSI of each link in the other candidate antenna pattern, where the other candidate antenna pattern is: the candidate antenna pattern other than the default omnidirectional antenna pattern;

[0156] According to the RSSI matrix corresponding to the first terminal, determine the second RSSI of each link in the default omnidirectional antenna pattern;

[0157] According to the first RSSI of the first link, determine the first RSSI average value, and according to the second RSSI of the second link, determine the second RSSI average value, where the first link is the first X links with the best first RSSI, and the second link is the first X links with the best second RSSI;

[0158] When the difference between the first RSSI average value and the second RSSI average value is greater than the preset first difference threshold, determine the other candidate antenna pattern as the first uplink mode.

[0159] In the fourth possible implementation manner provided based on the above first possible implementation manner, among the preset N M candidate antenna patterns, there is a default omnidirectional antenna pattern; according to the RSSI matrix corresponding to the second terminal, determine whether there is a second uplink mode that meets the preset second communication performance condition among the preset N M candidate antenna patterns, including:

[0160] For each other candidate antenna pattern, according to the RSSI matrix corresponding to the second terminal, determine the third RSSI of each link in the other candidate antenna pattern, where the other candidate antenna pattern is: the candidate antenna pattern other than the default omnidirectional antenna pattern;

[0161] According to the RSSI matrix corresponding to the second terminal, determine the fourth RSSI of each link in the default omnidirectional antenna pattern;

[0162] According to the third RSSI of the third link, determine the third RSSI average value, and according to the fourth RSSI of the fourth link, determine the fourth RSSI average value, where the third link is the first Y links with the best third RSSI, and the fourth link is the first Y links with the best fourth RSSI;

[0163] When the difference between the third RSSI mean value and the fourth RSSI mean value is greater than a preset second difference threshold, determine the candidate antenna mode as the second uplink mode.

[0164] In a fifth possible implementation provided based on the second possible implementation described above, determining a target uplink mode from the compatible uplink modes includes:

[0165] Based on the RSSI matrix corresponding to each terminal, determine the compatible uplink mode that meets the preset third communication performance condition as the target uplink mode.

[0166] In a sixth possible implementation provided based on the fifth possible implementation described above, based on the RSSI matrix corresponding to each terminal, determining the compatible uplink mode that meets the preset third communication performance condition as the target uplink mode includes:

[0167] For each compatible uplink mode, based on the RSSI matrix corresponding to each terminal, determine whether the RSSI of each link of each terminal in the compatible uplink mode is greater than a preset RSSI lower limit value, and calculate the directional total gain of a specified terminal in the compatible uplink mode, where the specified terminal is: the terminal with the specified active state;

[0168] When the directional total gain is greater than the gain threshold and the RSSI of each link of each terminal in the compatible uplink mode is greater than the RSSI lower limit value, determine the compatible uplink mode as an alternative uplink mode;

[0169] Among all the alternative uplink modes, determine the alternative uplink mode with the largest directional total gain as the target uplink mode.

[0170] In a seventh possible implementation provided based on the second possible implementation described above, determining a target uplink mode from the compatible uplink modes includes:

[0171] Determine any compatible uplink mode as the target uplink mode.

[0172] In an eighth possible implementation provided based on the first possible implementation described above, or the second possible implementation described above, or the third possible implementation described above, or the fourth possible implementation described above, or the fifth possible implementation described above, or the sixth possible implementation described above, or the seventh possible implementation described above, when the processor 302 runs the computer program stored in the memory 301, the following steps are further implemented:

[0173] When the active state of any associated terminal changes and the changed active state remains stable within a preset duration, a step of triggering to determine whether there is a target uplink mode that meets the preset communication performance conditions among the preset N M candidate antenna patterns and subsequent steps are performed based on the RSSI matrices respectively corresponding to the associated terminals.

[0174] In the ninth possible implementation manner provided based on the first possible implementation manner above, or the second possible implementation manner above, or the third possible implementation manner above, or the fourth possible implementation manner above, or the fifth possible implementation manner above, or the sixth possible implementation manner above, or the seventh possible implementation manner above, when the processor 302 runs the computer program stored in the memory 301, the following steps are further implemented:

[0175] When the training operation of any associated terminal is completed, a step of triggering to determine whether there is a target uplink mode that meets the preset communication performance conditions among the preset N M candidate antenna patterns and subsequent steps are performed based on the RSSI matrices respectively corresponding to the associated terminals.

[0176] It should be understood that in the embodiments of the present application, the processor 302 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0177] The memory 301 may include a read-only memory and a random access memory, and provide instructions and data to the processor 302. A part or all of the memory 301 may further include a non-volatile random access memory. For example, the memory 301 may also store information about the device category.

[0178] The embodiments of this application rely on the RSSI matrices corresponding to each associated terminal to screen out the target uplink mode. Among them, the RSSI matrix can be obtained through training operations during downlink communication with the corresponding terminal, and can represent the RSSI of each link when communicating with the terminal when each antenna unit is enabled. On the one hand, obtaining the RSSI matrix does not require additional processing resources, and it can be obtained as long as the corresponding training operation is triggered during downlink communication with the terminal; on the other hand, relying on the symmetric relationship of RSSI during two-way communication, through this RSSI matrix, the network device can quickly screen out the target uplink mode that meets the communication performance conditions, so as to realize the switching of the antenna mode used during its uplink communication. Further, based on multiple communication performance conditions set in the specific implementation, the found target uplink mode can, on the one hand, make the overall performance in the uplink direction as optimal as possible while avoiding significant deterioration of the performance of some terminals; on the other hand, it can make the uplink performance of terminals with higher priorities (such as the first terminal, etc.) have a relatively obvious gain compared to the default omnidirectional mode. In summary, through the solution of this application, the optimal uplink antenna mode can be selected in real time at a low cost, so as to give full play to the advantages of directional antennas and ensure good uplink gain effects.

[0179] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules according to needs, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working processes of the units and modules in the above-mentioned system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.

[0180] In the above embodiments, the descriptions of each embodiment have their own emphases. For parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0181] If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-described embodiment methods of this application, it can also be completed by a computer program instructing the associated hardware. The above computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above various method embodiments can be implemented. Among them, the above computer program includes computer program code, and the above computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The above computer-readable storage medium can include: any entity or device capable of carrying the above computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer-readable memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the above computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable storage medium does not include electrical carrier signals and telecommunication signals.

[0182] The above embodiments are only used to illustrate the technical solutions of this application, rather than to limit them; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of this application, and should all be included in the protection scope of this application.

Claims

1. A smart antenna control method, characterized in that: The smart antenna control method is applied to a network device, wherein the network device is provided with a smart antenna, wherein the smart antenna includes M links, and each link includes N antenna units; The smart antenna control method comprises: According to the RSSI matrix corresponding to each associated terminal, in the preset N M Determine whether there is a target uplink mode that meets the preset communication performance condition among the candidate antenna modes, wherein in one of the candidate antenna modes, each of the links respectively enables an antenna unit, the size of the RSSI matrix is ​​M*N, and the RSSI matrix is ​​obtained through a training operation during downlink communication with the corresponding terminal, and is used to represent the RSSI of each of the links communicating with the terminal when each of the antenna units is enabled; In the case where the target uplink mode exists, the smart antenna is controlled to perform uplink communication with all the terminals based on the target uplink mode.

2. The smart antenna control method according to claim 1, characterized in that: The smart antenna control method further includes: Determine, among all the associated terminals, a first terminal and a second terminal according to the terminal type and traffic demand of each terminal, wherein the priority of the first terminal is higher than the priority of the second terminal; Accordingly, the RSSI matrix corresponding to each associated terminal is set in the preset N M Determining whether there is a target uplink mode that meets the preset communication performance conditions among the candidate antenna modes includes: According to the RSSI matrix corresponding to the first terminal, in the preset N M determining whether there is a first uplink mode that meets a preset first communication performance condition among the candidate antenna modes; According to the RSSI matrix corresponding to the second terminal, in the preset N M determining whether there is a second uplink mode that meets a preset second communication performance condition among the candidate antenna modes; In the case that a compatible uplink mode exists, a target uplink mode is determined from the compatible uplink mode, wherein the compatible uplink mode is both the first uplink mode and the second uplink mode.

3. The smart antenna control method according to claim 2, characterized in that: The preset N M The candidate antenna modes include a default omnidirectional antenna mode; the RSSI matrix corresponding to the first terminal is selected from the preset N M Determining whether there is a first uplink mode that meets a preset first communication performance condition among candidate antenna modes includes: For each other candidate antenna mode, determining, according to the RSSI matrix corresponding to the first terminal, a first RSSI of each of the links in the other candidate antenna mode, wherein the other candidate antenna mode is: a candidate antenna mode other than the default omnidirectional antenna mode; Determine, according to the RSSI matrix corresponding to the first terminal, a second RSSI of each of the links in the default omnidirectional antenna mode; Determine a first RSSI average value according to a first RSSI of a first link, and determine a second RSSI average value according to a second RSSI of a second link, wherein the first link is the first X links with the best first RSSI, and the second link is the first X links with the best second RSSI; When the difference between the first RSSI average and the second RSSI average is greater than a preset first difference threshold, the other candidate antenna mode is determined to be the first uplink mode.

4. The smart antenna control method according to claim 2, characterized in that: The preset N M The candidate antenna modes include a default omnidirectional antenna mode; the RSSI matrix corresponding to the second terminal is selected from the preset N M Determining whether there is a second uplink mode that meets a preset second communication performance condition among the candidate antenna modes includes: For each other candidate antenna mode, determining, according to the RSSI matrix corresponding to the second terminal, a third RSSI of each of the links in the other candidate antenna mode, wherein the other candidate antenna mode is: a candidate antenna mode other than the default omnidirectional antenna mode; Determine, according to the RSSI matrix corresponding to the second terminal, a fourth RSSI of each of the links in a default omnidirectional antenna mode; Determine a third RSSI average value according to a third RSSI of a third link, and determine a fourth RSSI average value according to a fourth RSSI of a fourth link, wherein the third link is the first Y links with the best third RSSI, and the fourth link is the first Y links with the best fourth RSSI; When the difference between the third RSSI average and the fourth RSSI average is greater than a preset second difference threshold, the candidate antenna mode is determined to be the second uplink mode.

5. The smart antenna control method according to claim 2, characterized in that: The determining a target uplink mode from the compatible uplink modes includes: According to the RSSI matrix corresponding to each of the terminals, the compatible uplink mode that meets the preset third communication performance condition is determined as the target uplink mode.

6. The smart antenna control method according to claim 5, characterized in that: The step of determining, according to the RSSI matrix corresponding to each of the terminals, the compatible uplink mode that satisfies a preset third communication performance condition as the target uplink mode includes: For each of the compatible uplink modes, determining, according to the RSSI matrix corresponding to each of the terminals, whether the RSSI of each link of each of the terminals in the compatible uplink mode is greater than a preset RSSI lower limit value, and calculating the directional total gain of the specified terminal in the compatible uplink mode, wherein the specified terminal is: the terminal whose active state is the specified active state; When the total directional gain is greater than a preset gain threshold, and the RSSI of each link of each terminal in the compatible uplink mode is greater than the RSSI lower limit, the compatible uplink mode is determined as an alternative uplink mode; Among all the candidate uplink modes, the candidate uplink mode with the largest total directional gain is determined as the target uplink mode.

7. The smart antenna control method according to claim 2, characterized in that: The determining a target uplink mode from the compatible uplink modes includes: Any of the compatible uplink modes is determined as the target uplink mode.

8. The smart antenna control method according to any one of claims 1 to 7, characterized in that: The smart antenna control method further comprises: When the activity state of any associated terminal changes and the changed activity state remains stable within a preset time, the RSSI matrix corresponding to each associated terminal is triggered, and the preset N M The steps and subsequent steps are to determine whether there is a target uplink mode that meets the preset communication performance conditions among the candidate antenna modes.

9. The smart antenna control method according to any one of claims 1 to 7, characterized in that: The smart antenna control method further comprises: When the training operation for any associated terminal is completed, trigger the RSSI matrix corresponding to each associated terminal, in the preset N M The steps and subsequent steps are to determine whether there is a target uplink mode that meets the preset communication performance conditions among the candidate antenna modes.

10. An intelligent antenna control device, characterized in that: The smart antenna control device is applied to a network device, the network device is provided with a smart antenna, the smart antenna includes M links, each of the links includes N antenna units; The smart antenna control device comprises: The first determination module is used to determine the RSSI matrix corresponding to each associated terminal in the preset N M Determine whether there is a target uplink mode that meets the preset communication performance condition among the candidate antenna modes, wherein in one of the candidate antenna modes, each of the links respectively enables an antenna unit, the size of the RSSI matrix is ​​M*N, and the RSSI matrix is ​​obtained through a training operation during downlink communication with the corresponding terminal, and is used to represent the RSSI of each of the links communicating with the terminal when each of the antenna units is enabled; The control module is used to control the smart antenna to perform uplink communication with all the terminals based on the target uplink mode when the target uplink mode exists.

11. A network device comprising a smart antenna, a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The smart antenna comprises M links, each link comprises N antenna units, and the processor implements the method according to any one of claims 1 to 9 when executing the computer program.

12. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 9 is implemented.