






技术领域technical field
本申请涉及通信技术领域,具体涉及一种天线选择方法、装置及终端。The present application relates to the field of communication technologies, and in particular, to an antenna selection method, device, and terminal.
背景技术Background technique
对于具有两根及以上天线的用户设备,其所有天线可以作为接收天线,用于接收信号;而其中一根天线作为发送天线,用于发送信号。在实际应用中,用户设备由于手握等因素,导致发送天线发送的信号质量较差,因此,需要切换天线,以提高用户设备发射信号的质量。For a user equipment with two or more antennas, all of its antennas can be used as receiving antennas to receive signals; and one of the antennas can be used as transmit antennas to send signals. In practical applications, the quality of the signal sent by the transmitting antenna is poor due to factors such as hand holding of the user equipment. Therefore, it is necessary to switch the antenna to improve the quality of the signal transmitted by the user equipment.
用户设备实时计算下行每根天线的接收信号的强度,并比较当前发送天线接收信号的信号强度和其他天线接收信号的信号强度。当当前发送天线接收信号的信号强度比其他天线接收信号的信号强度差6db时,进行天线切换。该方案根据下行信号,即接收信号,的信号强度,进行天线切换,在上行受限场景无法及时切换天线。The user equipment calculates the strength of the received signal of each downlink antenna in real time, and compares the signal strength of the received signal of the current transmitting antenna with the signal strength of the received signal of other antennas. When the signal strength of the signal received by the current transmitting antenna is 6db worse than the signal strength of the signal received by other antennas, antenna switching is performed. In this scheme, antenna switching is performed according to the signal strength of the downlink signal, that is, the received signal, and the antenna cannot be switched in time in the uplink limited scenario.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种天线选择方法、装置及终端,可以在发送天线的无线通信链路不满足预设条件时,及时切换发送天线。Embodiments of the present application provide an antenna selection method, device, and terminal, which can switch the transmitting antenna in time when the wireless communication link of the transmitting antenna does not meet a preset condition.
第一方面,本申请实施例提供了一种天线选择方法,应用于终端,所述终端包括第一天线和第二天线;所述方法包括:监测所述第一天线对应的无线通信链路的质量;当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线的第一接收信号质量和所述第二天线的第二接收信号质量;当所述第二接收信号质量大于所述第一接收信号质量时,在第二预设时间内通过所述第一天线和所述第二天线轮流向基站发送信号;测量在所述第二预设时间内所述第一天线的第一发送信号质量和所述第二天线的第二发送信号质量;当所述第二发送信号质量大于所述第一发送信号质量时,使用所述第二天线向所述基站发送信号。In a first aspect, an embodiment of the present application provides an antenna selection method, which is applied to a terminal, where the terminal includes a first antenna and a second antenna; the method includes: monitoring a wireless communication link corresponding to the first antenna quality; when the quality of the wireless communication link meets the antenna switching activation condition, measure the first received signal quality of the first antenna and the second received signal quality of the second antenna within a first preset time; When the quality of the second received signal is greater than the quality of the first received signal, send a signal to the base station through the first antenna and the second antenna in turn within a second preset time; Set the quality of the first transmitted signal of the first antenna and the quality of the second transmitted signal of the second antenna within a time period; when the quality of the second transmitted signal is greater than the quality of the first transmitted signal, use the quality of the second transmitted signal An antenna transmits a signal to the base station.
结合第一方面,在第一方面第一种可能的实现方式中,所述方法还包括:当所述第一发送信号质量大于或等于所述第二发送信号质量时,通过所述第一天线和所述第二天线轮流向所述基站发送信号。With reference to the first aspect, in a first possible implementation manner of the first aspect, the method further includes: when the quality of the first transmitted signal is greater than or equal to the quality of the second transmitted signal, using the first antenna and the second antenna in turn to transmit signals to the base station.
当通过第二天线发送的信号质量不大于通过第一天线发送的信号质量时,通过第一天线和第二天线轮流发送信号,从而可以增加终端信号发射成功的概率,改善用户通信体验。When the quality of the signal sent through the second antenna is not greater than the quality of the signal sent through the first antenna, the first antenna and the second antenna take turns sending signals, thereby increasing the probability of successful signal transmission of the terminal and improving user communication experience.
结合第一方面,在第一方面第二种可能的实现方式中,所述无线通信链路的质量包括上行无线通信链路的质量和/或下行无线通信链路的质量。With reference to the first aspect, in a second possible implementation manner of the first aspect, the quality of the wireless communication link includes the quality of the uplink wireless communication link and/or the quality of the downlink wireless communication link.
在该实现方式中,可以根据发送天线的上行无线通信链路的质量是否符合天线切换启动条件,来判断是否启动天线切换,从而可以在上行链路受限的情况下,启动天线切换,解决了在下行链路良好,上行链路受限的情况下,无法切换天线的问题。在该实现方式中,也可以根据发送天线的下行无线通信链路的质量是否符合天线切换启动条件,来判断是否启动天线切换,解决了下行链路差值较小时无法切换天线的问题。In this implementation, it is possible to determine whether to start the antenna switching according to whether the quality of the uplink wireless communication link of the transmitting antenna meets the antenna switching start condition, so that the antenna switching can be started when the uplink is limited, which solves the problem. The problem of inability to switch antennas when the downlink is good and the uplink is limited. In this implementation, it is also possible to determine whether to start the antenna switching according to whether the quality of the downlink wireless communication link of the transmitting antenna meets the antenna switching start condition, which solves the problem that the antenna cannot be switched when the downlink difference is small.
结合第一方面,在第一方面第三种可能的实现方式中,所述无线通信链路为上行无线通信链路,所述上行无线通信链路的质量为重传率和/或频谱效率。With reference to the first aspect, in a third possible implementation manner of the first aspect, the wireless communication link is an uplink wireless communication link, and the quality of the uplink wireless communication link is retransmission rate and/or spectral efficiency.
重传率直接影响时延,频谱效率直接影响吞吐量,两者均直接反映了用户的通信体验。在该实现方式中,选择这两者或者两者之一作为发送天线上行无线通信链路的质量指标,以判断是否符合天线切换启动条件,可以改善用户的通信体验。The retransmission rate directly affects the delay, and the spectral efficiency directly affects the throughput, both of which directly reflect the user's communication experience. In this implementation, the two or one of the two is selected as the quality indicator of the uplink wireless communication link of the transmitting antenna to determine whether the antenna switching activation condition is met, which can improve the communication experience of the user.
结合第一方面第三种可能的实现方式,在第一方面第四种可能的实现方式中,所述上行无线通信链路的质量为重传率,所述天线切换启动条件为所述重传率大于重传率门限;或,In combination with the third possible implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect, the quality of the uplink wireless communication link is a retransmission rate, and the antenna switching activation condition is the retransmission rate is greater than the retransmission rate threshold; or,
所述上行无线通信链路的质量为频谱效率,所述天线切换启动条件为所述频谱效率大于频谱效率门限。The quality of the uplink wireless communication link is spectral efficiency, and the antenna switching activation condition is that the spectral efficiency is greater than a spectral efficiency threshold.
重传率直接影响时延,频谱效率直接影响吞吐量,两者均直接反映了用户的通信体验。在该实现方式中,在通过发送天线发送的信号的重传率大于其预设门限和/或频谱效率小于其预设门限时,可启动天线切换,可改善用户的通信体验。The retransmission rate directly affects the delay, and the spectral efficiency directly affects the throughput, both of which directly reflect the user's communication experience. In this implementation, when the retransmission rate of the signal sent by the transmitting antenna is greater than the preset threshold and/or the spectral efficiency is less than the preset threshold, the antenna switching can be started, which can improve the communication experience of the user.
结合第一方面,在第一方面第五种可能的实现方式中,所述无线通信链路为下行无线通信链路,所述下行无线通信链路的质量为信号与干扰加噪声比SINR和参考信号接收功率RSRP;所述天线切换启动条件为所述SINR小于SINR门限,和/或所述RSRP小于RSRP门限。With reference to the first aspect, in a fifth possible implementation manner of the first aspect, the wireless communication link is a downlink wireless communication link, and the quality of the downlink wireless communication link is a signal-to-interference-plus-noise ratio SINR and a reference Signal received power RSRP; the antenna switching start condition is that the SINR is less than the SINR threshold, and/or the RSRP is less than the RSRP threshold.
SINR直接影响数据包的解码成功率,RSRP表征信号强度。在该实现方式中,在通过发送天线接收的信号的SINR小于其预设门限和/或RSRP小于其预设门限时,可改善用户的通信体验。SINR directly affects the decoding success rate of data packets, and RSRP represents the signal strength. In this implementation manner, when the SINR and/or the RSRP of the signal received through the transmitting antenna is smaller than the preset threshold and/or the RSRP is smaller than the preset threshold, the communication experience of the user can be improved.
结合第一方面,在第一方面第六种可能的实现方式中,在所述当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线的第一接收信号质量和所述第二天线的第二接收信号质量之前;所述方法还包括:确定所述终端的当前业务类型;根据所述当前业务类型确定所述天线切换启动条件。With reference to the first aspect, in a sixth possible implementation manner of the first aspect, when the quality of the wireless communication link meets the antenna switching start condition, measure the first antenna within a first preset time before the first received signal quality of the second antenna and the second received signal quality of the second antenna; the method further includes: determining the current service type of the terminal; and determining the antenna switching start condition according to the current service type.
不同业务类型需求的通信条件不同,在该实现方式中,根据终端当前业务类型确定天线切换启动条件,从而在发送天线的无线通信链路的质量符合当前业务类型对应的天线切换启动条件时,启动天线切换,从而可以进一步提升用户通信体验,以及不必要的天线频繁切换。The communication conditions required by different service types are different. In this implementation, the antenna switching start condition is determined according to the current service type of the terminal, so that when the quality of the wireless communication link of the transmitting antenna meets the antenna switching start condition corresponding to the current service type, start Antenna switching, which can further improve the user's communication experience, and unnecessary frequent antenna switching.
结合第一方面,在第一方面第七种可能的实现方式中,所述第一接收信号质量为SINR和RSRP;所述第二接收信号质量为SINR和RSRP。With reference to the first aspect, in a seventh possible implementation manner of the first aspect, the first received signal quality is SINR and RSRP; the second received signal quality is SINR and RSRP.
SINR直接影响数据包的解码成功率,RSRP表征信号强度。在该实现方式中,将SINR和RSRP作为接收信号的质量指标,比较不同天线之间的接收信号质量,使得比较结果较为直观和准确。SINR directly affects the decoding success rate of data packets, and RSRP represents the signal strength. In this implementation, the SINR and RSRP are used as quality indicators of the received signal, and the received signal quality between different antennas is compared, so that the comparison result is more intuitive and accurate.
结合第一方面,在第一方面第八种可能的实现方式中,所述当所述第二接收信号质量大于所述第一接收信号质量时,在第二预设时间内通过所述第一天线和所述第二天线轮流向所述基站发送信号,包括:当所述第二接收信号质量大于所述第一接收信号质量,并符合预设切换条件时,在所述第二预设时间内通过所述第一天线和所述第二天线轮流向所述基站发送信号。With reference to the first aspect, in an eighth possible implementation manner of the first aspect, when the quality of the second received signal is greater than the quality of the first received signal, pass the first The antenna and the second antenna send signals to the base station in turn, including: when the quality of the second received signal is greater than the quality of the first received signal and meets a preset switching condition, at the second preset time The signal is sent to the base station through the first antenna and the second antenna in turn.
在实际应用中,可能出现这种情况,虽然通过其他天线接收的信号质量大于通过发送天线接收的信号质量,但通过其他天线接收的信号质量也较差。在这种情况下,即使进行了天线切换,但对通信的改善不大。因此,在这种情况下,不必要进行天线切换。在该实现方式中,在切换天线前,还要求通过其他天线接收的信号质量大于预设切换条件,从而可以避免前述情况下的不必要的天线切换。In practical applications, it may happen that although the quality of the signal received through other antennas is greater than the quality of the signal received through the transmitting antenna, the quality of the signal received through other antennas is also poorer. In this case, even with antenna switching, there is little improvement in communication. Therefore, in this case, antenna switching is unnecessary. In this implementation manner, before switching antennas, it is also required that the quality of signals received through other antennas is greater than the preset switching condition, so that unnecessary antenna switching in the foregoing situation can be avoided.
结合第一方面,在第一方面第九种可能的实现方式中,所述第一发送信号质量和所述第二发送信号质量由频谱效率和质量反馈信息确定。With reference to the first aspect, in a ninth possible implementation manner of the first aspect, the quality of the first transmitted signal and the quality of the second transmitted signal are determined by spectral efficiency and quality feedback information.
在该实现方式中,基于频谱效率和质量反馈信息确定的发送信号质量,可反映数据传输效率,据此选择发送天线,可改善用户通信体验。In this implementation manner, the transmitted signal quality determined based on the spectral efficiency and the quality feedback information can reflect the data transmission efficiency, and the transmitting antenna is selected accordingly to improve the user's communication experience.
结合第一方面第九种可能的实现方式,在第一方面第十种可能的实现方式中,所述质量反馈信息包括以下任一种:With reference to the ninth possible implementation manner of the first aspect, in the tenth possible implementation manner of the first aspect, the quality feedback information includes any of the following:
ACK、NACK、新数据指示。ACK, NACK, new data indication.
在该实现方式中,将ACK、NACK、新数据指示作为反馈信息进行发送信号质量的计算,使得计算结果更为准确和客观。In this implementation manner, ACK, NACK, and new data indication are used as feedback information to calculate the quality of the transmitted signal, so that the calculation result is more accurate and objective.
第二方面,本申请实施例提供了一种终端,所述终端包括处理器、存储器、第一天线和第二天线;所述处理器用于监测所述第一天线对应的无线通信链路的质量;所述处理器还用于当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线的第一接收信号质量和所述第二天线的第二接收信号质量;所述处理器用于当所述第二接收信号质量大于所述第一接收信号质量时,在第二预设时间内通过所述第一天线和所述第二天线轮流向基站发送信号;所述处理器还用于测量在所述第二预设时间内所述第一天线的第一发送信号质量和所述第二天线的第二发送信号质量;所述处理器还用于当所述第二发送信号质量大于所述第一发送信号质量时,使用所述第二天线向所述基站发送信号。In a second aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor, a memory, a first antenna, and a second antenna; the processor is configured to monitor the quality of a wireless communication link corresponding to the first antenna The processor is further configured to measure the first received signal quality of the first antenna and the signal quality of the second antenna within a first preset time when the quality of the wireless communication link meets the antenna switching start condition second received signal quality; the processor is configured to, when the quality of the second received signal is greater than the quality of the first received signal, pass the first antenna and the second antenna to alternate directions within a second preset time The base station transmits signals; the processor is further configured to measure the quality of the first transmitted signal of the first antenna and the quality of the second transmitted signal of the second antenna within the second preset time; the processor is further when the quality of the second transmission signal is greater than the quality of the first transmission signal, using the second antenna to send a signal to the base station.
结合第二方面,在第二方面第一种可能的实现方式中,所述处理器还用于当所述第一发送信号质量大于或等于所述第二发送信号质量时,通过所述第一天线和所述第二天线轮流向所述基站发送信号。With reference to the second aspect, in a first possible implementation manner of the second aspect, the processor is further configured to, when the quality of the first transmitted signal is greater than or equal to the quality of the second transmitted signal, pass the first The antenna and the second antenna alternately transmit signals to the base station.
结合第二方面,在第二方面第二种可能的实现方式中,所述无线通信链路的质量包括上行无线通信链路的质量和/或下行无线通信链路的质量。With reference to the second aspect, in a second possible implementation manner of the second aspect, the quality of the wireless communication link includes the quality of the uplink wireless communication link and/or the quality of the downlink wireless communication link.
结合第二方面,在第二方面第三种可能的实现方式中,所述无线通信链路为上行无线通信链路,所述上行无线通信链路的质量为重传率和/或频谱效率。With reference to the second aspect, in a third possible implementation manner of the second aspect, the wireless communication link is an uplink wireless communication link, and the quality of the uplink wireless communication link is retransmission rate and/or spectral efficiency.
结合第二方面第三种可能的实现方式,在第二方面第四种可能的实现方式中,所述上行无线通信链路的质量为重传率,所述天线切换启动条件为所述重传率大于重传率门限;或,所述上行无线通信链路的质量为频谱效率,所述天线切换启动条件为所述频谱效率大于频谱效率门限。With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the quality of the uplink wireless communication link is a retransmission rate, and the antenna switching start condition is the retransmission The rate is greater than the retransmission rate threshold; or, the quality of the uplink wireless communication link is spectrum efficiency, and the antenna switching activation condition is that the spectrum efficiency is greater than the spectrum efficiency threshold.
结合第二方面,在第二方面第五种可能的实现方式中,所述无线通信链路为下行无线通信链路,所述下行无线通信链路的质量为信号与干扰加噪声比SINR和参考信号接收功率RSRP;所述天线切换启动条件为所述SINR小于SINR门限,和/或所述RSRP小于RSRP门限。With reference to the second aspect, in a fifth possible implementation manner of the second aspect, the wireless communication link is a downlink wireless communication link, and the quality of the downlink wireless communication link is a signal-to-interference-plus-noise ratio SINR and a reference Signal received power RSRP; the antenna switching start condition is that the SINR is less than the SINR threshold, and/or the RSRP is less than the RSRP threshold.
结合第二方面,在第二方面第六种可能的实现方式中,在所述当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线的第一接收信号质量和所述第二天线的第二接收信号质量之前;所述处理器还用于确定所述终端的当前业务类型;根据所述当前业务类型确定所述天线切换启动条件。With reference to the second aspect, in a sixth possible implementation manner of the second aspect, when the quality of the wireless communication link meets the antenna switching start condition, measure the first antenna within a first preset time before the first received signal quality of the second antenna and the second received signal quality of the second antenna; the processor is further configured to determine the current service type of the terminal; and determine the antenna switching start condition according to the current service type.
结合第二方面,在第二方面第七种可能的实现方式中,所述第一接收信号质量为SINR和RSRP;所述第二接收信号质量为SINR和RSRP。With reference to the second aspect, in a seventh possible implementation manner of the second aspect, the first received signal quality is SINR and RSRP; the second received signal quality is SINR and RSRP.
结合第二方面,在第二方面第八种可能的实现方式中,所述处理器还用于当所述第二接收信号质量大于所述第一接收信号质量,并符合预设切换条件时,在所述第二预设时间内通过所述第一天线和所述第二天线轮流向所述基站发送信号。With reference to the second aspect, in an eighth possible implementation manner of the second aspect, the processor is further configured to: when the quality of the second received signal is greater than the quality of the first received signal and meets a preset switching condition, Signals are sent to the base station through the first antenna and the second antenna in turn within the second preset time.
结合第二方面,在第二方面第九种可能的实现方式中,所述第一发送信号质量和所述第二发送信号质量由频谱效率和质量反馈信息确定。With reference to the second aspect, in a ninth possible implementation manner of the second aspect, the quality of the first transmitted signal and the quality of the second transmitted signal are determined by spectral efficiency and quality feedback information.
结合第二方面第九中可能的实现方式,在第二方面第十种可能的实现方式中,所述质量反馈信息包括以下任一种:With reference to the ninth possible implementation manner of the second aspect, in a tenth possible implementation manner of the second aspect, the quality feedback information includes any of the following:
ACK、NACK、新数据指示。ACK, NACK, new data indication.
第三方面,本申请实施例还提供了一种天线选择装置,所述装置设置于终端,所述终端包括第一天线和第二天线;所述装置包括:In a third aspect, an embodiment of the present application further provides an antenna selection apparatus, where the apparatus is provided in a terminal, and the terminal includes a first antenna and a second antenna; the apparatus includes:
监测单元,用于监测所述第一天线对应的无线通信链路的质量;a monitoring unit, configured to monitor the quality of the wireless communication link corresponding to the first antenna;
第一测量单元,用于当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线的第一接收信号质量和所述第二天线的第二接收信号质量;A first measurement unit, configured to measure the first received signal quality of the first antenna and the first received signal quality of the second antenna within a first preset time when the quality of the wireless communication link meets the antenna switching start condition. 2. Received signal quality;
发送单元,用于当所述第二接收信号质量大于所述第一接收信号质量时,在第二预设时间内通过所述第一天线和所述第二天线轮流向基站发送信号;a sending unit, configured to send a signal to the base station in turn through the first antenna and the second antenna within a second preset time when the quality of the second received signal is greater than the quality of the first received signal;
第二测量单元,用于测量在所述第二预设时间内所述第一天线的第一发送信号质量和所述第二天线的第二发送信号质量;a second measurement unit, configured to measure the quality of the first transmission signal of the first antenna and the quality of the second transmission signal of the second antenna within the second preset time;
所述发送单元还用于当所述第二发送信号质量大于所述第一发送信号质量时,使用所述第二天线向所述基站发送信号。The sending unit is further configured to use the second antenna to send a signal to the base station when the quality of the second sending signal is greater than the quality of the first sending signal.
结合第三方面,在第三方面第一种可能的实现方式中,所述发送单元还用于当所述第一发送信号质量大于或等于所述第二发送信号质量时,通过所述第一天线和所述第二天线轮流向所述基站发送信号。With reference to the third aspect, in a first possible implementation manner of the third aspect, the sending unit is further configured to, when the quality of the first sent signal is greater than or equal to the quality of the second sent signal, pass the first The antenna and the second antenna alternately transmit signals to the base station.
结合第三方面,在第三方面第二种可能的实现方式中,所述无线通信链路的质量包括上行无线通信链路的质量和/或下行无线通信链路的质量。With reference to the third aspect, in a second possible implementation manner of the third aspect, the quality of the wireless communication link includes the quality of the uplink wireless communication link and/or the quality of the downlink wireless communication link.
结合第三方面,在第三方面第三种可能的实现方式中,所述无线通信链路为上行无线通信链路,所述上行无线通信链路的质量为重传率和/或频谱效率。With reference to the third aspect, in a third possible implementation manner of the third aspect, the wireless communication link is an uplink wireless communication link, and the quality of the uplink wireless communication link is retransmission rate and/or spectral efficiency.
结合第三方面第三种可能的实现方式,在第三方面第四种可能的实现方式中,所述上行无线通信链路的质量为重传率,所述天线切换启动条件为所述重传率大于重传率门限;或,所述上行无线通信链路的质量为频谱效率,所述天线切换启动条件为所述频谱效率大于频谱效率门限。With reference to the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the quality of the uplink wireless communication link is a retransmission rate, and the antenna switching start condition is the retransmission The rate is greater than the retransmission rate threshold; or, the quality of the uplink wireless communication link is spectrum efficiency, and the antenna switching activation condition is that the spectrum efficiency is greater than the spectrum efficiency threshold.
结合第三方面,在第三方面第五种可能的实现方式中,所述无线通信链路为下行无线通信链路,所述下行无线通信链路的质量为信号与干扰加噪声比SINR和参考信号接收功率RSRP;所述天线切换启动条件为所述SINR小于SINR门限,和/或所述RSRP小于RSRP门限。With reference to the third aspect, in a fifth possible implementation manner of the third aspect, the wireless communication link is a downlink wireless communication link, and the quality of the downlink wireless communication link is a signal-to-interference-plus-noise ratio SINR and a reference Signal received power RSRP; the antenna switching start condition is that the SINR is less than the SINR threshold, and/or the RSRP is less than the RSRP threshold.
结合第三方面,在第三方面第六种可能的实现方式中,所述装置还包括确定单元;在所述当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线的第一接收信号质量和所述第二天线的第二接收信号质量之前;所述确定单元用于确定所述终端的当前业务类型;根据所述当前业务类型确定所述天线切换启动条件。With reference to the third aspect, in a sixth possible implementation manner of the third aspect, the apparatus further includes a determining unit; when the quality of the wireless communication link meets the antenna switching start condition, in the first preset before measuring the first received signal quality of the first antenna and the second received signal quality of the second antenna within a time period; the determining unit is used to determine the current service type of the terminal; determine according to the current service type The antenna switching enable condition.
结合第三方面,在第三方面第七种可能的实现方式中,所述第一接收信号质量为SINR和RSRP;所述第二接收信号质量为SINR和RSRP。With reference to the third aspect, in a seventh possible implementation manner of the third aspect, the first received signal quality is SINR and RSRP; the second received signal quality is SINR and RSRP.
结合第三方面,在第三方面第八种可能的实现方式中,所述发送单元还用于当所述第二接收信号质量大于所述第一接收信号质量,并符合预设切换条件时,在所述第二预设时间内通过所述第一天线和所述第二天线轮流向所述基站发送信号。With reference to the third aspect, in an eighth possible implementation manner of the third aspect, the sending unit is further configured to: when the quality of the second received signal is greater than the quality of the first received signal and meets a preset switching condition, Signals are sent to the base station through the first antenna and the second antenna in turn within the second preset time.
结合第三方面,在第三方面第九种可能的实现方式中,所述第一发送信号质量和所述第二发送信号质量由频谱效率和质量反馈信息确定。With reference to the third aspect, in a ninth possible implementation manner of the third aspect, the quality of the first transmitted signal and the quality of the second transmitted signal are determined by spectral efficiency and quality feedback information.
结合第三方面第九中可能的实现方式,在第三方面第十种可能的实现方式中,所述质量反馈信息包括以下任一种:With reference to the ninth possible implementation manner of the third aspect, in a tenth possible implementation manner of the third aspect, the quality feedback information includes any of the following:
ACK、NACK、新数据指示。ACK, NACK, new data indication.
第四方面,本申请实施例提供了一种用于天线选择的集成电路,包括:In a fourth aspect, an embodiment of the present application provides an integrated circuit for antenna selection, including:
存储器,用于存储指令;memory for storing instructions;
以及与所述存储器耦合的处理器,用于执行所述指令,以实现第一方面所述的方法。and a processor coupled to the memory for executing the instructions to implement the method of the first aspect.
第五方面,本申请实施例提供了一种芯片系统,所述芯片系统包括:处理器,所述处理器用于执行指令以使得安装有所述芯片系统的终端执行第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip system, where the chip system includes: a processor, where the processor is configured to execute an instruction, so that a terminal installed with the chip system executes the method of the first aspect.
第六方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质包括计算机指令,当所述计算机指令在终端上运行时,使得所述终端执行第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer storage medium, where the computer storage medium includes computer instructions, which, when the computer instructions are executed on a terminal, cause the terminal to execute the method described in the first aspect.
第七方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品包含的程序代码被终端中的处理器执行时,实现第一方面所述的方法。In a seventh aspect, an embodiment of the present application provides a computer program product, and when program codes included in the computer program product are executed by a processor in a terminal, the method described in the first aspect is implemented.
本申请实施例提供的天线选择方法、终端及装置,可通过当前时刻的发送天线对应的无线通信链路的质量是否符合天线切换启动条件(而非是通过第一天线接收信号强度和第二天线接收信号强度的差值是否满足预设门限),来判断是否启动第一天线和第二天线接收信号质量的测量;当第二天线接收信号质量大于第一天线接收信号质量时,即当第二天线对应的下行无线通信链路的质量大于第一天线对应的下行无线通信链路的质量时,通过第一天线和第二天线轮流发送信号,并判断两者发送信号的质量,进而决定是否将第二天线作为新的发送天线。因此,本实施例提供的方案可以从通信设备的多个天线中选择出下行链路和上行链路均较好的天线,并将该天线作为发送天线,提高了用户通信体验。并且本实施例提供的方案克服了当两根天线下行信号强度差异较小时,无法切换天线的问题。The antenna selection method, terminal, and device provided by the embodiments of the present application can determine whether the quality of the wireless communication link corresponding to the transmitting antenna at the current moment complies with the antenna switching activation condition (instead of receiving the signal strength and the second antenna through the first antenna). Whether the difference between the received signal strengths meets the preset threshold) is used to determine whether to start the measurement of the received signal quality of the first antenna and the second antenna; when the received signal quality of the second antenna is greater than that of the first antenna, that is, when the second antenna receives signal quality When the quality of the downlink wireless communication link corresponding to the antenna is greater than the quality of the downlink wireless communication link corresponding to the first antenna, the first antenna and the second antenna are used to send signals in turn, and the quality of the signals sent by the two is judged, and then it is decided whether to The second antenna acts as a new transmit antenna. Therefore, the solution provided in this embodiment can select an antenna with better downlink and uplink from multiple antennas of a communication device, and use this antenna as a transmitting antenna, which improves user communication experience. And the solution provided by this embodiment overcomes the problem that the antenna cannot be switched when the downlink signal strength difference between the two antennas is small.
附图说明Description of drawings
图1为本申请实施例提供的一种无线通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a wireless communication system according to an embodiment of the present application;
图2为本申请实施例提供的一种终端的结构示意图;FIG. 2 is a schematic structural diagram of a terminal according to an embodiment of the present application;
图3为本申请实施例提供的一种弱信号场景示意图;FIG. 3 is a schematic diagram of a weak signal scenario provided by an embodiment of the present application;
图4为本申请实施例提供的一种天线选择方法的流程图FIG. 4 is a flowchart of an antenna selection method provided by an embodiment of the present application
图5为本申请实施例提供的另一种天线选择方法的流程图;FIG. 5 is a flowchart of another antenna selection method provided by an embodiment of the present application;
图6为本申请实施例提供的一种终端的示意性框图;FIG. 6 is a schematic block diagram of a terminal according to an embodiment of the present application;
图7为本申请实施例提供的一种天线选择装置的示意性框图。FIG. 7 is a schematic block diagram of an antenna selection apparatus according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本发明实施例中的技术方案进行描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, but not all, embodiments of the present invention.
图1示出了一种无线通信系统,包括终端100和基站200。FIG. 1 shows a wireless communication system including a terminal 100 and a base station 200 .
基站200具体的可以是第五代(5th generation,5G)移动通信系统中的通用节点B(generation node B,gNB)、第四代(4th generation,4G)移动通信系统中的演进节点B(evolutional node B,eNB或eNodeB)以及其他可能的无线接入技术中的基站。基站NodeB、演进型基站eNodeB、第五代(the fifth generation,5G)通信系统中的基站、未来通信系统中的基站等等。The base station 200 may specifically be a general node B (generation node B, gNB) in the fifth generation (5th generation, 5G) mobile communication system, and an evolution node B (evolutional node B) in the fourth generation (4th generation, 4G) mobile communication system. node B, eNB or eNodeB) and other possible base stations in radio access technologies. A base station NodeB, an evolved base station eNodeB, a base station in the fifth generation (5G) communication system, a base station in a future communication system, and so on.
终端100包括但不限于:手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(Virtual Reality,VR)终端设备、增强现实(Augmented Reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。The terminal 100 includes but is not limited to: a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (Virtual Reality, VR) terminal device, an augmented reality (Augmented Reality, AR) terminal device, industrial control Wireless terminals in (industrial control), wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, and transportation safety wireless terminals, wireless terminals in smart cities, wireless terminals in smart homes, and so on.
终端100具有至少两根天线,其中包括第一天线和第二天线。在第一通信设备和第二通信设备进行无线通信时,第一通信设备的一根天线(例如第一天线)可用作主集天线,其余天线(例如第二天线)用作分集天线。第一通信设备的主集天线也可以称为发送天线,用于发送信号和接收信号。第一通信设备的分集天线也可以称为空闲天线,用于接收信号。The terminal 100 has at least two antennas, including a first antenna and a second antenna. When the first communication device and the second communication device perform wireless communication, one antenna of the first communication device (eg, the first antenna) can be used as the main antenna, and the other antennas (eg, the second antenna) can be used as the diversity antennas. The main set of antennas of the first communication device may also be referred to as transmit antennas for transmitting and receiving signals. The diversity antennas of the first communication device, which may also be referred to as idle antennas, are used to receive signals.
图2示出了终端100的结构示意图。FIG. 2 shows a schematic structural diagram of the terminal 100 .
终端100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The terminal 100 may include a
可以理解的是,本发明实施例示意的结构并不构成对终端100的具体限定。在本申请另一些实施例中,终端100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the terminal 100 . In other embodiments of the present application, the terminal 100 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the
终端100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the terminal 100 may be implemented by the antenna 1, the antenna 2, the
天线1和天线2用于发射和接收电磁波信号。终端100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在终端100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(lownoise amplifier,LNA)等。移动通信模块150可以由包括天线1的至少两根天线接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the
无线通信模块160可以提供应用在终端100上的包括无线局域网(wireless localarea networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequencymodulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 may provide applications on the terminal 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system ( global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the
在一些实施例中,终端100的包括天线1的至少两根天线和移动通信模块150耦合,天线2和无线通信模块160耦合,使得终端100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobilecommunications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband codedivision multiple access,WCDMA),时分码分多址(time-division code divisionmultiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenithsatellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, at least two antennas including the antenna 1 of the terminal 100 are coupled to the
移动通信模块150耦合有至少两根天线时,一般选择信道状态较好的天线用作发送天线,以发射信号。When the
根据一种方案,可以基于发射天线选择(transmitter antenna selection,TAS)/多天线选择(multiple antenna selection,MAS)技术进行天线选择。对于TAS/MAS技术。调制解调处理器会实时计算每根天线的接收信号强度,然后通过设定的两根天线间信号差异门限(比如6db)来判断是否需要切天线,以选择信道状态较好的天线来发送信号。在实际应用中,会存在如图3所示的弱信号场景,手机的各天线接收信号的参考信号接收功率(reference signal receiving power,RSRP),波动幅度较小,例如一直在1db小范围内波动,并且总体都已接近手机解调灵敏度极限。在这种场景下,两根天线之间的RSRP之间的差值最大为2db,不能满足切换信号差异门限(比如6db)。使得手机不会进行发射天线的切换,从而影响用户的通信体验。在实际应用中,还会存在这样的场景,手机上有两根发射天线,设定左天线与基站距离更近,信号相对较好(比如比右天线高2db),但此时因为手机的两根发射天线接收信号强度差异较小,不满足切换信号差异门限(比如6db),手机不会进行发射天线的切换,则手机始终无法切换到信号较好的左天线进行信号发射。从而影响用户的通信体验。According to one solution, antenna selection may be performed based on a transmit antenna selection (transmitter antenna selection, TAS)/multiple antenna selection (multiple antenna selection, MAS) technology. For TAS/MAS technology. The modulation and demodulation processor will calculate the received signal strength of each antenna in real time, and then judge whether it is necessary to cut the antenna through the set signal difference threshold (such as 6db) between the two antennas, so as to select the antenna with better channel status to send the signal . In practical applications, there will be a weak signal scenario as shown in Figure 3. The reference signal receiving power (RSRP) of the signal received by each antenna of the mobile phone has a small fluctuation range, for example, it has been fluctuating within a small range of 1db , and are generally close to the mobile phone demodulation sensitivity limit. In this scenario, the difference between the RSRPs between the two antennas is at most 2db, which cannot meet the handover signal difference threshold (for example, 6db). The mobile phone will not switch the transmitting antenna, thereby affecting the communication experience of the user. In practical applications, there will also be such a scenario. There are two transmitting antennas on the mobile phone. The distance between the left antenna and the base station is set to be closer, and the signal is relatively good (for example, 2db higher than the right antenna). The difference of the received signal strength of the root transmitting antenna is small, and the difference threshold of the switching signal (such as 6db) is not met, and the mobile phone will not switch the transmitting antenna, so the mobile phone cannot always switch to the left antenna with better signal for signal transmission. This affects the user's communication experience.
本申请实施例提供了一种天线选择方法,可以应用于终端100。参考图4,该方法包括如下步骤。This embodiment of the present application provides an antenna selection method, which can be applied to the terminal 100 . Referring to Figure 4, the method includes the following steps.
步骤402,监测第一天线对应的无线通信链路的质量。Step 402: Monitor the quality of the wireless communication link corresponding to the first antenna.
第一天线可以为终端100的天线1,在当前时刻其作为终端100的发送天线,用于发送信号。第一天线对应的无线通信链路的质量可以包括上行无线通信链路的质量,也可以包括下行无线通信链路的质量,也可以包括上行无线通信链路的质量和下行无线通信链路的质量。The first antenna may be the antenna 1 of the terminal 100, which is used as the transmitting antenna of the terminal 100 at the current moment to transmit signals. The quality of the wireless communication link corresponding to the first antenna may include the quality of the uplink wireless communication link, may also include the quality of the downlink wireless communication link, and may also include the quality of the uplink wireless communication link and the quality of the downlink wireless communication link. .
在一些实施例中,第一天线对应的无线通信链路的质量可以包括上行无线通信链路的质量。In some embodiments, the quality of the wireless communication link corresponding to the first antenna may include the quality of the uplink wireless communication link.
在这些实施例的一个示例中,所述上行无线通信链路的质量具体可以为通过第一天线发送的信号的重传率。对于通过第一天线发送的任意信号,当其达到基站200时,基站200会进行检错,然后向终端100返回质量反馈信息。若基站200接收正确,则返回的质量反馈信息为确认应答(Acknowledgement,ACK)或第一新数据指示(New Date Indicator,NDI),第一NDI用于指示终端100发送新数据。若基站200接收错误,则返回的质量反馈信息为否定应答(Negative-acknowledgement,NACK))或第二NDI,第二NDI用于指示终端100重传数据。In one example of these embodiments, the quality of the uplink wireless communication link may specifically be the retransmission rate of the signal sent through the first antenna. For any signal sent through the first antenna, when it reaches the base station 200, the base station 200 will perform error detection, and then return quality feedback information to the terminal 100. If the base station 200 receives correctly, the returned quality feedback information is an acknowledgment (Acknowledgement, ACK) or a first new data indicator (New Date Indicator, NDI), and the first NDI is used to instruct the terminal 100 to send new data. If the base station 200 receives an error, the returned quality feedback information is a negative acknowledgement (Negative-acknowledgement, NACK) or a second NDI, and the second NDI is used to instruct the terminal 100 to retransmit the data.
终端100可以记录通过第一天线发送的信号的个数,以及记录这些信号对应的质量反馈信息。然后每隔一预设时间段,计算该预设时间段内通过第一天线发送的信号的重传率。在一个例子中,该预设时间段可以根据经验或试验确定。The terminal 100 may record the number of signals sent through the first antenna, and record the quality feedback information corresponding to these signals. Then, at every preset time period, the retransmission rate of the signal sent through the first antenna within the preset time period is calculated. In one example, the preset time period may be determined empirically or experimentally.
在这些实施例的另一个示例中,所述上行无线通信链路的质量具体可以为通过第一天线发送的信号的误块率(Block Error Rate,BER)。对于通过第一天线发送的任意数据块(Block),若其被基站200正确接收,基站200向终端100返回表示确认的质量反馈信息(ACK或第一新数据指示);若其没有被基站200正确接收,基站200向终端100返回表示否定的质量反馈信息(NACK或第二新数据指示)。如此,对于任一数据块,终端100可以根据其对应的质量反馈信息确定其是否被基站200正确接收,如果没有被正确接收则认为该数据块为出错数据块。终端100可以根据初传数据块总数和出错的数据块计算误块率。In another example of these embodiments, the quality of the uplink wireless communication link may specifically be a block error rate (Block Error Rate, BER) of the signal sent through the first antenna. For any data block (Block) sent through the first antenna, if it is correctly received by the base station 200, the base station 200 returns to the terminal 100 quality feedback information (ACK or first new data indication) indicating confirmation; if it is not received by the base station 200 If it is received correctly, the base station 200 returns negative quality feedback information (NACK or second new data indication) to the terminal 100. In this way, for any data block, the terminal 100 can determine whether it is correctly received by the base station 200 according to its corresponding quality feedback information, and if it is not received correctly, the data block is regarded as an error data block. The terminal 100 may calculate the block error rate according to the total number of initially transmitted data blocks and the erroneous data blocks.
在这些实施例的一个示例中,所述上行无线通信链路的质量具体可以为通过第一天线发送的信号的频谱效率(spectral efficiency)。基站200在调度终端100时,可以通过下行控制信息(downlink control information,DCI)通知终端100发送信号的调制与编码策略(modulation and coding scheme,MCS)等级(index),可以通过MCS Index和频谱效率对照表,获取频谱效率。其中,表1示出了一种MCS Index与频谱效率的对照表。In one example of these embodiments, the quality of the uplink wireless communication link may specifically be the spectral efficiency (spectral efficiency) of the signal sent through the first antenna. When scheduling the terminal 100, the base station 200 can notify the terminal 100 of the modulation and coding strategy (modulation and coding scheme, MCS) level (index) of the transmitted signal through downlink control information (DCI), and can use the MCS Index and spectral efficiency. Check the table for spectral efficiency. Among them, Table 1 shows a comparison table between MCS Index and spectral efficiency.
表1:MCS index table for PUSCH with transform precoding and 64QAMTable 1: MCS index table for PUSCH with transform precoding and 64QAM
为了避免瞬时短期信号掉底,导致天线切换频繁启动,终端100可以每隔一预设时间段,计算在预设时间段内通过第一天线发送的多个信号的频谱效率的平均值,作为上行无线通信链路的质量。在一个例子中,该预设时间段可以根据经验或试验确定。在一个例子中,平均值可以为加权平均值。具体的,可以对该预设时间段进行划分,将其分为多个子时间段,每一子时间段可以称为单位时间。对于该预设时间段的多个单位时间,分别设置不同的权重。容易理解,越接近当前时刻的单位时间,其对应的频谱效率的参考意义就越大。因此,对于所述多个单位时间,按照时间维度上的从前至后,各单位时间的权重依次增大。以预设时间段为3秒,单位时间为3个为例。按照时间维度上的从前至后,该3个单位时间分别为第一单位时间、第二单位时间、第三单位时间。可以设定第一单位时间对应的权重为第二单位时间对应的权重为第三单位时间对应的权重为In order to prevent the instantaneous short-term signal from dropping to the bottom, causing frequent antenna switching, the terminal 100 may calculate the average value of the spectral efficiencies of the multiple signals sent through the first antenna within the preset time period at every preset time period, as the uplink The quality of the wireless communication link. In one example, the preset time period may be determined empirically or experimentally. In one example, the average may be a weighted average. Specifically, the preset time period may be divided into a plurality of sub-time periods, and each sub-time period may be referred to as a unit time. For multiple unit times of the preset time period, different weights are respectively set. It is easy to understand that the closer to the unit time of the current moment, the greater the reference significance of the corresponding spectral efficiency. Therefore, for the plurality of unit times, the weight of each unit time increases sequentially from front to back in the time dimension. Take the preset time period as 3 seconds and the unit time as 3 as an example. From front to back in the time dimension, the three unit times are the first unit time, the second unit time, and the third unit time, respectively. The weight corresponding to the first unit time can be set as The weight corresponding to the second unit time is The weight corresponding to the third unit time is
需要说明的是,上文仅对各单位时间对应的权重进行举例说明,并非限定。在实际应用时,各单位时间对应的权重可以根据经验或试验进行具体设定。将在某单位时间发送的信号对应的频谱效率乘以该单位时间的权重,再参与加和运算,然后结合该预设时间段内发送的信号的个数,计算得到加权平均值。It should be noted that the above only illustrates the weights corresponding to each unit time by way of example, and is not limited. In practical application, the weight corresponding to each unit time can be specifically set according to experience or experiments. Multiply the spectral efficiency corresponding to the signal sent in a certain unit time by the weight of the unit time, and then participate in the summation operation, and then combine with the number of signals sent in the preset time period to calculate the weighted average.
在这些实施例的一个示例中,所述上行无线通信链路的质量可以为通过第一天线发送的信号的重传率、误块率、频谱效率中的任意两种的组合。In one example of these embodiments, the quality of the uplink wireless communication link may be a combination of any two of the retransmission rate, block error rate, and spectral efficiency of the signal sent through the first antenna.
在这些实施例的一个示例中,所述上行无线通信链路的质量可以为通过第一天线发送的信号的重传率、误块率、频谱效率的组合。In one example of these embodiments, the quality of the uplink wireless communication link may be a combination of retransmission rate, block error rate, and spectral efficiency of the signal sent through the first antenna.
在一些实施例中,第一天线对应的无线通信链路的质量可以包括下行无线通信链路的质量。In some embodiments, the quality of the wireless communication link corresponding to the first antenna may include the quality of the downlink wireless communication link.
在这些实施例的一个示例中,所述下行无线通信链路的质量具体可以为通过第一天线接收的信号的信号与干扰加噪声比(signal to interference plus noise ratio,SINR)。为了避免瞬时信号掉底,导致天线切换频繁启动,终端100可以每隔一预设时间段,计算该预设时间段内通过第一天线接收的多个信号的SINR的平均值,作为所述下行无线通信链路的质量。在一个例子中,该预设时间段可以根据经验或试验确定。在一个例子中,SINR的平均值可以为加权平均值。SINR的加权平均值的计算可以参考上文中关于计算频谱效率加权平均值的描述,此处不再赘述。In one example of these embodiments, the quality of the downlink wireless communication link may specifically be a signal to interference plus noise ratio (signal to interference plus noise ratio, SINR) of a signal received through the first antenna. In order to prevent the instantaneous signal from dropping to the bottom, causing the antenna switching to be started frequently, the terminal 100 may calculate the average value of the SINRs of the multiple signals received through the first antenna within the preset time period at every preset time period, as the downlink The quality of the wireless communication link. In one example, the preset time period may be determined empirically or experimentally. In one example, the average of the SINRs may be a weighted average. For the calculation of the weighted average value of the SINR, reference may be made to the above description about calculating the weighted average value of the spectral efficiency, which will not be repeated here.
在这些实施例的一个示例中,所述下行无线通信链路的质量具体可以为通过第一天线接收的信号的参考信号接收功率(reference signal receiving power,RSRP)。为了避免瞬时信号掉底,导致天线切换频繁启动,终端100可以每隔一预设时间段,计算在该预设时间段内通过第一天线接收的多个信号的RSRP的平均值,作为下行无线通信链路的质量。在一个例子中,该预设时间段可以根据经验或试验确定。在一个例子中,平均值可以为加权平均值。RSRP的加权平均值的计算可以参考上文中关于计算频谱效率加权平均值的描述,此处不再赘述。In an example of these embodiments, the quality of the downlink wireless communication link may specifically be a reference signal receiving power (RSRP) of a signal received through the first antenna. In order to prevent the instantaneous signal from dropping to the bottom and causing frequent antenna switching, the terminal 100 may calculate the average value of the RSRPs of the multiple signals received through the first antenna during the preset time period, as the downlink wireless The quality of the communication link. In one example, the preset time period may be determined empirically or experimentally. In one example, the average may be a weighted average. For the calculation of the weighted average value of the RSRP, reference may be made to the above description on calculating the weighted average value of the spectral efficiency, which will not be repeated here.
在这些实施例的一个示例中,所述下行无线通信链路的质量具体可以为通过第一天线接收的信号的RSRP和SINR。In one example of these embodiments, the quality of the downlink wireless communication link may specifically be RSRP and SINR of the signal received through the first antenna.
在一些实施例中,第一天线对应的无线通信链路的质量可以包括上行无线通信链路的质量和下行无线通信链路的质量。具体的,第一天线对应的无线通信链路的质量可以为通过第一天线发送的信号的重传率、误块率、频谱效率中的至少一种,和,通过第一天线接收的信号的RSRP、SINR中的至少一种的的组合。例如,第一天线对应的无线通信链路的质量为通过第一天线发送的信号的重传率和通过第一天线接收的信号的RSRP的组合;再例如,第一天线对应的无线通信链路的质量为通过第一天线发送的信号的频谱效率和通过第一天线接收的信号的SINR的组合;等等,此处不再一一列举。In some embodiments, the quality of the wireless communication link corresponding to the first antenna may include the quality of the uplink wireless communication link and the quality of the downlink wireless communication link. Specifically, the quality of the wireless communication link corresponding to the first antenna may be at least one of the retransmission rate, block error rate, and spectral efficiency of the signal sent through the first antenna, and the quality of the signal received through the first antenna. A combination of at least one of RSRP and SINR. For example, the quality of the wireless communication link corresponding to the first antenna is the combination of the retransmission rate of the signal sent through the first antenna and the RSRP of the signal received through the first antenna; for another example, the wireless communication link corresponding to the first antenna The quality of is the combination of the spectral efficiency of the signal transmitted through the first antenna and the SINR of the signal received through the first antenna; etc., which are not listed one by one here.
需要说明的是,为了描述方便,在本申请实施例中,可以将重传率、误块率、频谱效率、SINR、RSRP称为无线通信链路的质量指标,即重传率、误块率、频谱效率、SINR、RSRP分别为无线通信链路的一种质量指标。It should be noted that, for the convenience of description, in the embodiments of this application, retransmission rate, block error rate, spectral efficiency, SINR, and RSRP may be referred to as quality indicators of wireless communication links, that is, retransmission rate, block error rate , spectral efficiency, SINR, and RSRP are respectively a quality index of a wireless communication link.
步骤404,判断第一天线对应的无线通信链路的质量是否符合天线切换启动条件。
终端在监测第一天线对应的无线通信链路的质量时,可以判断无线通信链路的质量是否满足天线切换启动条件。如果满足天线切换启动条件,则执行步骤406,如果不满足天线切换启动条件,则继续监测第一天线对应的无线通信链路的质量。其中,天线切换启动条件可以是提前预设的,也可以是由基站下发的,还可以是动态调整的,本发明实施例对天线切换启动条件不做限定。When monitoring the quality of the wireless communication link corresponding to the first antenna, the terminal may judge whether the quality of the wireless communication link satisfies the antenna switching start condition. If the antenna switching activation condition is satisfied, step 406 is executed, and if the antenna switching activation condition is not satisfied, the quality of the wireless communication link corresponding to the first antenna is continued to be monitored. Wherein, the antenna switching start condition may be preset in advance, may be issued by the base station, or may be dynamically adjusted, and the embodiment of the present invention does not limit the antenna switching start condition.
具体来说,天线切换启动条件可以与无线通信链路和无线通信链路的质量有关,也可以与终端的业务类型有关。Specifically, the antenna switching start condition may be related to the wireless communication link and the quality of the wireless communication link, and may also be related to the service type of the terminal.
例如,在一些实施例中,终端监测的是第一天线上行通信链路的质量,若上行通信链路的质量为重传率,此时天线切换启动条件可以是预设的重传率门限。步骤404包括判断该重传率是否大于该重传率门限。如果该重传率大于该重传率门限,则可以执行步骤406。For example, in some embodiments, the terminal monitors the quality of the uplink communication link of the first antenna. If the quality of the uplink communication link is the retransmission rate, the antenna switching start condition may be a preset retransmission rate threshold. Step 404 includes determining whether the retransmission rate is greater than the retransmission rate threshold. If the retransmission rate is greater than the retransmission rate threshold, step 406 may be performed.
重传率直接影响时延,直接了反映用户的通信体验。在重传率大于预设门限时,启动天线切换,可提高用户的通信体验。The retransmission rate directly affects the delay and directly reflects the user's communication experience. When the retransmission rate is greater than the preset threshold, the antenna switching is started, which can improve the communication experience of the user.
若上行通信链路的质量为误块率,此时天线切换启动条件可以是预设的误块率门限。步骤404包括判断该误块率是否大于该误块率门限。如果该误块率大于该误块率门限,则可以执行步骤406。If the quality of the uplink communication link is the block error rate, the antenna switching start condition may be a preset block error rate threshold. Step 404 includes determining whether the block error rate is greater than the block error rate threshold. If the block error rate is greater than the block error rate threshold, step 406 may be performed.
误块率直接影响丢包率,直接反映了用户的通信体验。在误块率大于预设门限时,启动天线切换,可提高用户的通信体验。The block error rate directly affects the packet loss rate and directly reflects the user's communication experience. When the block error rate is greater than the preset threshold, the antenna switching is started, which can improve the communication experience of the user.
若上行通信链路的质量为频谱效率,此时天线切换启动条件可以是预设的频谱效率门限。步骤404包括判断该频谱效率是否小于该频谱效率门限。如果该频谱效率小于该频谱效率门限,则可以执行步骤406。If the quality of the uplink communication link is spectral efficiency, the antenna switching activation condition may be a preset spectral efficiency threshold. Step 404 includes determining whether the spectral efficiency is less than the spectral efficiency threshold. If the spectral efficiency is less than the spectral efficiency threshold, step 406 may be performed.
频谱效率直接影响吞吐量,直接反映了用户的通信体验。在频谱效率小于预设门限时,启动天线切换,可提高用户的通信体验。Spectral efficiency directly affects throughput and directly reflects the user's communication experience. When the spectral efficiency is less than the preset threshold, the antenna switching is started, which can improve the communication experience of the user.
若上行通信链路的质量为重传率和误块率,此时天线切换启动条件可以是预设的重传率门限和预设的误块率门限。步骤404包括判断该重传率是否大于该重传率门限以及该误块率是否大于该误块率门限。在一个例子中,如果该重传率大于该重传率门限,或者,该误块率大于该误块率门限,则可以执行步骤406。在一个例子中,如果该重传率大于该重传率门限,且该误块率大于该误块率门限,则可以执行步骤406。If the quality of the uplink communication link is the retransmission rate and the block error rate, the antenna switching activation conditions may be a preset retransmission rate threshold and a preset block error rate threshold. Step 404 includes determining whether the retransmission rate is greater than the retransmission rate threshold and whether the block error rate is greater than the block error rate threshold. In one example, if the retransmission rate is greater than the retransmission rate threshold, or the block error rate is greater than the block error rate threshold, step 406 may be performed. In one example, if the retransmission rate is greater than the retransmission rate threshold, and the block error rate is greater than the block error rate threshold, step 406 may be performed.
若上行通信链路的质量为重传率和频谱效率,此时天线切换启动条件可以是预设的重传率门限和预设的频谱效率门限。步骤404包括判断该重传率是否大于该重传率门限以及该频谱效率是否小于该误块率门限。If the quality of the uplink communication link is the retransmission rate and the spectral efficiency, the antenna switching activation conditions may be a preset retransmission rate threshold and a preset spectral efficiency threshold. Step 404 includes determining whether the retransmission rate is greater than the retransmission rate threshold and whether the spectral efficiency is less than the block error rate threshold.
在一个例子中,如果该重传率大于该重传率门限,或者,该频谱效率小于该频谱效率门限,则可以执行步骤406。In one example, if the retransmission rate is greater than the retransmission rate threshold, or the spectral efficiency is less than the spectral efficiency threshold, step 406 may be performed.
在一个例子中,如果该重传率大于该重传率门限,且该频谱效率小于该频谱效率门限,则可以执行步骤406。In one example, if the retransmission rate is greater than the retransmission rate threshold, and the spectral efficiency is less than the spectral efficiency threshold, step 406 may be performed.
若上行通信链路的质量为误块率和频谱效率,此时天线切换启动条件可以是预设的误块率门限和预设的频谱效率门限。步骤404包括判断该误块率是否大于该误块率门限以及该频谱效率是否小于该误块率门限。If the quality of the uplink communication link is the block error rate and the spectral efficiency, the antenna switching start condition may be a preset block error rate threshold and a preset spectrum efficiency threshold. Step 404 includes determining whether the block error rate is greater than the block error rate threshold and whether the spectral efficiency is less than the block error rate threshold.
在一个例子中,如果该误块率大于该误块率门限,或者,该频谱效率小于该频谱效率门限,则可以执行步骤406。In one example, if the block error rate is greater than the block error rate threshold, or the spectral efficiency is less than the spectral efficiency threshold, step 406 may be performed.
在一个例子中,如果该误块率大于该误块率门限,且该频谱效率小于该频谱效率门限,则可以执行步骤406。In one example, if the block error rate is greater than the block error rate threshold, and the spectral efficiency is less than the spectral efficiency threshold, step 406 may be performed.
若上行通信链路的质量为重传率、误块率和频谱效率,此时天线切换启动条件可以是预设的重传率门限、预设的误块率门限和预设的频谱效率门限。步骤404包括判断该重传率是否大于该重传率门限、该误块率是否大于该误块率门限以及该频谱效率是否小于该误块率门限。If the quality of the uplink communication link is retransmission rate, block error rate and spectral efficiency, the antenna switching activation conditions may be preset retransmission rate threshold, preset block error rate threshold and preset spectrum efficiency threshold. Step 404 includes determining whether the retransmission rate is greater than the retransmission rate threshold, whether the block error rate is greater than the block error rate threshold, and whether the spectral efficiency is less than the block error rate threshold.
在一个例子中,如果该重传率大于该重传率门限,或者,该误块率大于该误块率门限,或者,该频谱效率小于该频谱效率门限,则可以执行步骤406。In one example, if the retransmission rate is greater than the retransmission rate threshold, or the block error rate is greater than the block error rate threshold, or the spectral efficiency is less than the spectral efficiency threshold, step 406 may be performed.
在一个例子中,如果该重传率大于该重传率门限,且该误块率大于该误块率门限,则可以执行步骤406。如果该重传率大于该重传率门限,且该频谱效率小于该频谱效率门限,则可以执行步骤406。如果该误块率大于该误块率门限,且该频谱效率小于该频谱效率门限,则可以执行步骤406。In one example, if the retransmission rate is greater than the retransmission rate threshold, and the block error rate is greater than the block error rate threshold, step 406 may be performed. If the retransmission rate is greater than the retransmission rate threshold, and the spectral efficiency is less than the spectral efficiency threshold, step 406 may be performed. If the block error rate is greater than the block error rate threshold, and the spectral efficiency is less than the spectral efficiency threshold, step 406 may be performed.
在一个例子中,如果该误块率大于该误块率门限,该误块率大于该误块率门限,且该频谱效率小于该频谱效率门限,则可以执行步骤406。In one example, if the block error rate is greater than the block error rate threshold, the block error rate is greater than the block error rate threshold, and the spectral efficiency is less than the spectral efficiency threshold, step 406 may be performed.
在这些实施例中,可以通过发送天线的上行无线通信链路的质量,来决定是否进行天线切换,从而可以在发送天线的上行无线通信链路较差,而发送天线的下行无线通信链路的质量与其他天线的下行无线通信链路的质量的差值不满足切换信号差异门限(比如6bp)时,就可以启动天线切换。In these embodiments, whether to perform antenna switching can be determined according to the quality of the uplink wireless communication link of the transmitting antenna, so that the uplink wireless communication link of the transmitting antenna is poor, and the downlink wireless communication link of the transmitting antenna is poor. When the difference between the quality and the quality of the downlink wireless communication link of other antennas does not meet the switching signal difference threshold (for example, 6bp), the antenna switching can be started.
在另一些实施例中,终端监测的是第一天线下行通信链路的质量,若下行通信链路的质量为SINR,此时天线切换启动条件可以是预设的SINR门限。步骤404包括判断该SINR是否小于该SINR门限。如果该SINR小于该SINR门限,则可以执行步骤406。In other embodiments, what the terminal monitors is the quality of the downlink communication link of the first antenna. If the quality of the downlink communication link is SINR, the antenna switching start condition may be a preset SINR threshold at this time. Step 404 includes determining whether the SINR is less than the SINR threshold. If the SINR is less than the SINR threshold, step 406 may be performed.
SINR直接影响数据包的解码成功率。根据通过第一天线接收的信号的SINR,来决定是否启动天线切换,从而可以避免在连续解码失败而需要不断的重传,也不会触发天线切换的情况。SINR directly affects the decoding success rate of data packets. Whether to activate the antenna switching is determined according to the SINR of the signal received through the first antenna, so that continuous retransmission is required when continuous decoding fails, and the antenna switching is not triggered.
若下行通信链路的质量为RSRP,此时天线切换启动条件可以是预设的RSRP门限。步骤404包括判断该RSRP是否小于该RSRP门限。如果该RSRP小于该RSRP门限,则可以执行步骤406。If the quality of the downlink communication link is RSRP, the antenna switching start condition may be a preset RSRP threshold at this time. Step 404 includes determining whether the RSRP is less than the RSRP threshold. If the RSRP is less than the RSRP threshold, step 406 may be performed.
若下行通信链路的质量为SINR和RSRP,此时天线切换启动条件可以是预设的SINR门限和预设的RSRP门限。步骤404包括判断该RSRP是否小于该RSRP门限。如果该RSRP小于该RSRP门限,则可以执行步骤406。If the quality of the downlink communication link is SINR and RSRP, the antenna switching start condition may be a preset SINR threshold and a preset RSRP threshold at this time. Step 404 includes determining whether the RSRP is less than the RSRP threshold. If the RSRP is less than the RSRP threshold, step 406 may be performed.
在一个例子中,如果该SINR小于该SINR门限,或者,该RSRP小于该RSRP门限,则可以执行步骤406。In one example, if the SINR is less than the SINR threshold, or the RSRP is less than the RSRP threshold, step 406 may be performed.
在一个例子中,如果该SINR小于该SINR门限,且该RSRP小于该RSRP门限,则可以执行步骤406。In one example, if the SINR is less than the SINR threshold and the RSRP is less than the RSRP threshold, step 406 may be performed.
在这些实施例中,可以通过发送天线的下行无线通信链路的质量是否满足预设门限,来决定是否进行天线切换,从而可以在发送天线的下行无线通信链路的质量较差,而发送天线的下行无线通信链路的质量与其他天线的下行无线通信链路的质量的差值不满足切换信号差异门限(比如6bp)时,就可以启动天线切换。In these embodiments, whether to perform antenna switching may be determined according to whether the quality of the downlink wireless communication link of the transmission antenna meets a preset threshold, so that the quality of the downlink wireless communication link of the transmission antenna is poor, and the transmission antenna When the difference between the quality of the downlink wireless communication link of the first antenna and the quality of the downlink wireless communication link of other antennas does not meet the switching signal difference threshold (for example, 6bp), the antenna switching can be started.
在另一些实施例中,终端监测的是第一天线上行通信链路的质量和下行通信链路的质量。具体的,上行通信链路的质量可以为重传率、误块率、频谱效率中的至少一种,下行通信链路的质量可以为SINR、RSRP中的至少一种。In other embodiments, the terminal monitors the quality of the uplink communication link and the quality of the downlink communication link of the first antenna. Specifically, the quality of the uplink communication link may be at least one of retransmission rate, block error rate, and spectral efficiency, and the quality of the downlink communication link may be at least one of SINR and RSRP.
例如,若上行通信链路的质量为重传率,下行通信链路的质量为SINR。此时天线切换启动条件可以是预设的重传率门限和预设的SINR门限。步骤404包括判断该重传率是否大于该重传率门限和判断该SINR是否小于该SINR门限。For example, if the quality of the uplink communication link is the retransmission rate, and the quality of the downlink communication link is the SINR. In this case, the antenna switching start condition may be a preset retransmission rate threshold and a preset SINR threshold. Step 404 includes determining whether the retransmission rate is greater than the retransmission rate threshold and determining whether the SINR is less than the SINR threshold.
在一个例子中,如果该重传率大于该重传率门限,或该SINR小于该SINR门限,则可以执行步骤406。In one example, if the retransmission rate is greater than the retransmission rate threshold, or the SINR is less than the SINR threshold, step 406 may be performed.
在一个例子中,如果该重传率大于该重传率门限,且该SINR小于该SINR门限,则可以执行步骤406。In one example, if the retransmission rate is greater than the retransmission rate threshold and the SINR is less than the SINR threshold, step 406 may be performed.
例如,若上行通信链路的质量为重传率和频谱效率,下行通信链路的质量为SINR。此时天线切换启动条件可以是预设的重传率门限、预设的频谱效率门限和预设的SINR门限。步骤404包括判断该重传率是否大于该重传率门限、判断该频谱效率是否小于该频谱效率门限和判断该SINR是否小于该SINR门限。For example, if the quality of the uplink communication link is retransmission rate and spectral efficiency, and the quality of the downlink communication link is SINR. At this time, the antenna switching start condition may be a preset retransmission rate threshold, a preset spectral efficiency threshold, and a preset SINR threshold. Step 404 includes judging whether the retransmission rate is greater than the retransmission rate threshold, judging whether the spectral efficiency is less than the spectral efficiency threshold, and judging whether the SINR is less than the SINR threshold.
在一个例子中,如果该重传率大于该重传率门限,或该频谱效率小于该频谱效率门限,或该SINR小于该SINR门限,则可以执行步骤406。In one example, if the retransmission rate is greater than the retransmission rate threshold, or the spectral efficiency is less than the spectral efficiency threshold, or the SINR is less than the SINR threshold, step 406 may be performed.
在一个例子中,如果该重传率大于该重传率,且该频谱效率小于该频谱效率门限,则可以执行步骤406。或者,如果该重传率大于该重传率,且该SINR小于该SINR门限,则可以执行步骤406。或者,如果该频谱效率小于该频谱效率门限,且该SINR小于该SINR门限,则可以执行步骤406。In one example, if the retransmission rate is greater than the retransmission rate and the spectral efficiency is less than the spectral efficiency threshold, step 406 may be performed. Alternatively, if the retransmission rate is greater than the retransmission rate and the SINR is less than the SINR threshold, step 406 may be performed. Alternatively, if the spectral efficiency is less than the spectral efficiency threshold, and the SINR is less than the SINR threshold, step 406 may be performed.
在一个例子中,如果该重传率大于该重传率门限,该频谱效率小于该频谱效率门限,且该SINR小于该SINR门限,则可以执行步骤406。In one example, if the retransmission rate is greater than the retransmission rate threshold, the spectral efficiency is less than the spectral efficiency threshold, and the SINR is less than the SINR threshold, step 406 may be performed.
天线切换启动条件可以是预设的误块率门限和预设的SINR门限,也可以是预设的重传率和预设的RSRP门限,也可以是预设的频谱效率门限和预设的SINR门限,也可以是预设的重传率门限、预设的频谱效率门限、预设的SINR门限等等,此处不再一一列举。在一个例子中,对于终端监测的多个无线通信链路的质量指标,当其中至少一个质量指标不满足其对应的质量门限时,可以认为终端的无线通信链路的质量符合天线切换启动条件。可以参考上文介绍,此处不再一一列举。在一个例子中,对于终端监测的多个无线通信链路的质量指标,当所述多个无线通信链路的质量指标均不满足各自对应的质量门限时,可以认为终端的无线通信链路的质量符合天线切换启动条件。具体可以参考上文介绍,此处不再一一列举。The antenna switching start condition can be a preset block error rate threshold and a preset SINR threshold, a preset retransmission rate and a preset RSRP threshold, or a preset spectral efficiency threshold and a preset SINR threshold The threshold may also be a preset retransmission rate threshold, a preset spectral efficiency threshold, a preset SINR threshold, etc., which will not be listed one by one here. In an example, when at least one of the quality indicators of multiple wireless communication links monitored by the terminal does not meet its corresponding quality threshold, it may be considered that the quality of the wireless communication link of the terminal meets the antenna switching start condition. You can refer to the above introduction, and will not list them one by one here. In an example, for the quality indicators of multiple wireless communication links monitored by the terminal, when the quality indicators of the multiple wireless communication links do not meet the respective corresponding quality thresholds, it may be considered that the wireless communication links of the terminal have The quality meets the antenna switching activation conditions. For details, please refer to the above introduction, which will not be listed here.
在一些实施例中,在步骤404之前,本申请实施例提供的天线选择方法还包括:步骤400,确定所述终端的当前业务类型;根据所述当前业务类型确定所述天线切换启动条件。In some embodiments, before
可以根据各种业务类型的服务质量(quality of service,QoS),为所述各种业务类型分别预设天线切换启动条件。使得当第一天线对应的无线通信链路的质量符合终端100当前业务类型对应天线切换启动条件时,可以启动天线切换。According to the quality of service (QoS) of various service types, antenna switching activation conditions may be preset for the various service types respectively. So that when the quality of the wireless communication link corresponding to the first antenna meets the antenna switching start condition corresponding to the current service type of the terminal 100, the antenna switching can be started.
在一些实施例中,不同的业务类型的天线切换启动条件可以为不同种类或不同数量的质量门限。例如,设定存在a、b、c、d、e质量门限。A业务类型的天线切换启动条件可以为e质量门限,B业务类型的天线切换启动条件可以为a、b、c,C业务类型的天线切换启动条件可以为a、d质量门限,等等。In some embodiments, the antenna switching activation conditions for different service types may be different types or different numbers of quality thresholds. For example, assume that there are a, b, c, d, e quality thresholds. The starting condition for antenna switching of service type A may be the e quality threshold, the starting condition for antenna switching of service type B may be a, b, and c, and the starting condition for antenna switching of service type C may be a, d quality threshold, and so on.
更具体地,以语音业务为例,其天线切换启动条件可以为预设的重传率门限,相应地,步骤402监测的第一天线的无线通信链路的质量为重传率。More specifically, taking the voice service as an example, the antenna switching activation condition may be a preset retransmission rate threshold. Correspondingly, the quality of the wireless communication link of the first antenna monitored in
语音业务对延迟(对应重传率)要求较高,当对吞吐量要求较低(对应频谱效率),以及语音业务的实时性有一定的容错率,对误块率要求较低,所以语音业务的天线切换启动条件可包括预设的重传率门限,以在通过发送天线发送的信号的重传率较高时,可以启动天线切换,提供用户语音通信的体验。Voice services have higher requirements for delay (corresponding to retransmission rate), while lower requirements for throughput (corresponding to spectral efficiency), and the real-time nature of voice services have a certain error tolerance rate and lower block error rate requirements, so voice services The antenna switching activation condition may include a preset retransmission rate threshold, so that when the retransmission rate of the signal sent through the transmitting antenna is high, the antenna switching can be activated to provide the user with the experience of voice communication.
再以数据业务为例,其天线切换启动条件可以包括预设的重传率门限、预设的频谱效率门限、预设的误块率门限。相应地,步骤402监测的第一天线的无线通信链路的质量为重传率、频谱效率、误块率。当通过第一天线发送的信号的重传率、频谱效率、误块率中的任一项不满足其对应门限时,则第一天线对应的无线通信链路的质量符合天线切换启动条件,可以启动天线切换。Taking the data service as an example again, the antenna switching activation conditions may include a preset retransmission rate threshold, a preset spectral efficiency threshold, and a preset block error rate threshold. Correspondingly, the quality of the wireless communication link of the first antenna monitored in
数据业务对吞吐量要求较高,对误块率要求较高,对时延要求也较高。因此,数据业务对应的天线切换启动条件包括重传率门限、误块率门限、频谱效率门限,以在通过发送天线发送的信号的重传率较高或误块率较高或频谱效率较低时,可以启动天线切换,提供用户语音通信的体验。Data services have higher requirements for throughput, higher requirements for block error rate, and higher requirements for delay. Therefore, the antenna switching activation conditions corresponding to the data service include a retransmission rate threshold, a block error rate threshold, and a spectral efficiency threshold, so that the signal sent through the transmitting antenna has a higher retransmission rate, a higher block error rate, or a lower spectral efficiency. When , antenna switching can be started to provide the user with the experience of voice communication.
在另一些实施例中,不同业务类型的天线切换启动条件包括的质量门限的种类和个数可以相同,当质量门限的数值可以不同。例如,设定存在a、b、c、d、e质量门限。对于D、E、F这三个业务类型,其天线切换启动条件均可以为a、b、c质量门限。但三者各自对应的a、b、c质量门限的数值可以不同。In other embodiments, the types and numbers of quality thresholds included in the antenna switching activation conditions of different service types may be the same, and the values of the quality thresholds may be different. For example, assume that there are a, b, c, d, e quality thresholds. For the three service types D, E, and F, the starting conditions for antenna switching can all be a, b, and c quality thresholds. However, the values of the a, b, and c quality thresholds corresponding to the three may be different.
更具体地,以语音业务和数据业务为例,两者的天线切换启动条件都包括预设的重传率门限、预设的频谱效率门限、预设的误块率门限。但是,相较语音业务对应的预设的频谱效率门限,数据业务的对应频谱效率门限较高;相较语音业务对应的预设的误块率门限,数据业务的对应预设的误块率门限较低。因为相较语音业务,数据业务对吞吐量要求以及对误块率要求均较高。More specifically, taking the voice service and the data service as an example, the antenna switching activation conditions for both include a preset retransmission rate threshold, a preset spectral efficiency threshold, and a preset block error rate threshold. However, compared with the preset spectral efficiency threshold corresponding to the voice service, the corresponding spectral efficiency threshold of the data service is higher; compared with the preset block error rate threshold corresponding to the voice service, the preset block error rate threshold corresponding to the data service lower. Because compared with voice services, data services have higher requirements on throughput and block error rate.
在这些实施例的一个示例中,步骤400可以在步骤402之前执行,可根据当前业务类型对应的天线切换启动条件的质量门限,确定在步骤402中监测的质量指标。以数据业务为例,其对应的天线切换启动条件包括重传率门限、误块率门限、频谱效率门限,则在步骤402中,可具体监测重传率、误块率、频谱效率。In an example of these embodiments, step 400 may be performed before
在一些实施例中,天线切换启动条件可以为基站可以根据基站自身状态为终端下发天线切换启动条件。例如,基站可以根据其接入的终端的数量的变化,而为终端下发不同的天线切换启动条件。再例如,基站可以将其预设的天线切换启动条件下发给新接入的终端;等等,此处不再一一列举。In some embodiments, the antenna switching start condition may be that the base station may issue the antenna switching start condition to the terminal according to the state of the base station itself. For example, the base station may issue different antenna switching activation conditions to the terminals according to the change in the number of terminals accessed by the base station. For another example, the base station may issue its preset antenna switching activation conditions to the newly accessed terminal; etc., which will not be listed one by one here.
在这些实施例中,终端所接入的基站的状态参与终端发送天线的切换,可以在终端各天线的无线通信链路均较差的情况下,避免频繁触发天线切换启动。In these embodiments, the state of the base station to which the terminal is accessed participates in the switching of the terminal's transmit antenna, which can avoid frequent triggering of antenna switching initiation when the wireless communication link of each antenna of the terminal is poor.
在一些实施例中,天线切换启动条件可以为终端可以动态调整天线切换启动条件,例如,可以根据时间进行动态调整。更具体地,可以在一天中,当进入凌晨0点时,调整天线切换启动条件;当进入到早上6点时,再调整天线切换启动条件。容易理解,在一天中,一般凌晨0点-早上6点间的网络状态较好,而其他时间段的网络状态相对较差。据此,动态调整天线切换启动条件,可以在终端各天线的无线通信链路均较差的情况下,避免频繁触发天线切换启动。In some embodiments, the antenna switching starting condition may be that the terminal can dynamically adjust the antenna switching starting condition, for example, it can be dynamically adjusted according to time. More specifically, during the day, when entering 0:00 in the morning, the antenna switching activation condition can be adjusted; when entering 6:00 am, the antenna switching activation condition can be adjusted again. It is easy to understand that in a day, the network status is generally good between 0:00 am and 6:00 am, while the network status in other time periods is relatively poor. Accordingly, by dynamically adjusting the antenna switching activation conditions, it is possible to avoid frequent triggering of antenna switching activation when the wireless communication link of each antenna of the terminal is poor.
本申请实施例不对无线通信链路的质量门限的数值进行具体限定。This embodiment of the present application does not specifically limit the value of the quality threshold of the wireless communication link.
在一些实施例中,无线通信链路的质量门限的数值可以为终端100能够提供正常无线通信服务的无线通信链路质量门限值,具体可以根据经验或者试验得出。In some embodiments, the value of the quality threshold of the wireless communication link may be the quality threshold of the wireless communication link that the terminal 100 can provide a normal wireless communication service, which may be specifically obtained according to experience or experiments.
步骤406,当第一天线对应的无线通信链路的质量符合天线切换启动条件时,测量通过第一天线接收的信号质量和通过第二天线接收的信号质量。Step 406, when the quality of the wireless communication link corresponding to the first antenna meets the antenna switching activation condition, measure the quality of the signal received through the first antenna and the quality of the signal received through the second antenna.
当第一天线对应的无线通信链路的质量符合天线切换启动条件时,说明第一天线对应的无线通信链路的质量较差,可能影响终端100和基站200之间的无线通信。此时可以启动对测量集合中各根天线对应的下行无线通信链路的测量。所述测量集合为终端100的两个或两个以上天线构成的集合,其中,包括第一天线和第二天线。对于所述测量集合中的任一根天线,对其对应的下行无线通信链路的测量具体为,测量通过其接收的信号质量。When the quality of the wireless communication link corresponding to the first antenna meets the antenna switching activation condition, it indicates that the quality of the wireless communication link corresponding to the first antenna is poor, which may affect wireless communication between the terminal 100 and the base station 200 . At this time, the measurement of the downlink wireless communication link corresponding to each antenna in the measurement set can be started. The measurement set is a set formed by two or more antennas of the terminal 100, including a first antenna and a second antenna. For any antenna in the measurement set, the measurement of the corresponding downlink wireless communication link is specifically to measure the quality of the signal received through it.
对于所述测量集合中的任一根天线,可以测量预设时间段内通过其接收的信号质量,以避免瞬时短期信号掉底而引发的天线的频繁切换。此处的预设时间段可以称为第一预设时间。第一预设时间的长度可以为3秒,也可以为其他时间长度。在实际应用时,具体可以根据经验或试验进行调整。为方便描述,在本申请实施例中,在第一预设时间内通过第一天线接收的信号质量称为第一接收信号质量,在第一预设时间内通过第二天线接收的信号质量称为第二接收信号质量。For any antenna in the measurement set, the quality of the signal received by it within a preset time period can be measured, so as to avoid frequent switching of antennas caused by instantaneous short-term signal drop. The preset time period here may be referred to as the first preset time. The length of the first preset time may be 3 seconds, or may be other time lengths. In practical application, it can be adjusted according to experience or experiments. For convenience of description, in this embodiment of the present application, the quality of the signal received through the first antenna within the first preset time is called the first received signal quality, and the quality of the signal received through the second antenna during the first preset time is called the quality of the first received signal. is the second received signal quality.
具体的,以第一天线为例,容易理解,在第一预设时间内,通过第一天线可接收多个信号,可以测量该多个信号的质量,然后计算该多个信号质量的平均值,以得到第一接收信号质量。第二接收信号质量以及所述测量集合的其他天线的接收信号质量可以参考前述方式计算得到。Specifically, taking the first antenna as an example, it is easy to understand that within the first preset time, multiple signals can be received through the first antenna, the quality of the multiple signals can be measured, and then the average value of the multiple signal qualities can be calculated , to obtain the first received signal quality. The second received signal quality and the received signal qualities of other antennas in the measurement set may be calculated by referring to the foregoing manner.
在一些实施例中,多个信号质量的平均值可以为加权平均值。此处多个信号质量的权重可以参考在步骤402中关于频谱效率权重的介绍,此处不再赘述。In some embodiments, the average of the plurality of signal qualities may be a weighted average. Here, for the weights of the multiple signal qualities, reference may be made to the introduction on the spectral efficiency weights in
以第一天线为例,可以将在第一预设时间内第一天线对应的各接收信号质量乘以各自接收时刻所在的单位时间的权重,然后加和,再除以信号的个数,得到的加权平均值可作为第一接收信号质量。具体的,设定第一接收信号质量为其可以通过公式(1)计算得到。Taking the first antenna as an example, the quality of each received signal corresponding to the first antenna in the first preset time can be multiplied by the weight of the unit time at which the respective receiving moment is located, then added up, and then divided by the number of signals to obtain The weighted average of can be used as the first received signal quality. Specifically, the first received signal quality is set to be It can be calculated by formula (1).
其中,n表示在第一预设时间内第一天线对应的接收信号的个数;Zi表示在第一预设时间内通过第一天线接收的第i个信号的质量;θ表示第一预设时间的各个单位时间构成的集合;设定第i个信号的接收时刻在第一预设时间的第j个单位时间内,aij表示第i个信号的接收时刻所在的单位时间的权重。Among them, n represents the number of received signals corresponding to the first antenna within the first preset time; Zi represents the quality of the i-th signal received by the first antenna within the first preset time; θ represents the first preset time. Suppose the set of each unit time of time; Suppose that the receiving moment of the ith signal is within the jth unit time of the first preset time, and aij represents the weight of the unit time where the receiving moment of the ith signal is located.
第二接收信号质量以及所述测量集合的其他天线的接收信号质量可以参考上述方式计算得到。The second received signal quality and the received signal qualities of other antennas in the measurement set may be calculated with reference to the foregoing manner.
在一些实施例中,对于所述测量集合中的任一根天线,其接收的信号质量具体为其接收的信号的SINR。在一个例子中,当步骤402中第一天线对应的无线通信链路质量为SINR,并且在第一预设时间内通过第一天线接收的信号的SINR大于天线切换启动条件中的SINR门限时,可再执行步骤402。In some embodiments, for any antenna in the measurement set, the received signal quality is specifically the SINR of the received signal. In an example, when the quality of the wireless communication link corresponding to the first antenna in
在一些实施例中,对于所述测量集合中的任一根天线,其接收的信号质量具体为其接收的信号的RSRP。在一个例子中,当步骤402中第一天线对应的无线通信链路质量为RSRP,并且在第一预设时间内通过第一天线接收的信号的RSRP大于天线切换启动条件中的RSRP门限时,可再执行步骤402。In some embodiments, for any antenna in the measurement set, the received signal quality is specifically the RSRP of the received signal. In one example, when the quality of the wireless communication link corresponding to the first antenna in
在一些实施例中,对于所述测量集合中的任一根天线,其接收的信号质量具体为其接收的信号的SINR和RSRP。在一个例子中,当步骤402中第一天线对应的无线通信链路质量为SINR和RSRP,并且在第一预设时间内,通过第一天线接收的信号的SINR大于天线切换启动条件中的SINR门限,以及通过第一天线接收的信号的RSRP大于天线切换启动条件中的RSRP门限时,可再执行步骤402。In some embodiments, for any antenna in the measurement set, the received signal quality is specifically the SINR and RSRP of the received signal. In an example, when the quality of the wireless communication link corresponding to the first antenna in
在一些实施例中,当所述测量集合为包括第一天线在内的两根以上天线构成的集合时,所述测量集合可以分为第一天线和测量子集,所述测量子集为所述测量集合中第一天线之外的天线构成的集合。第二天线并非指某根具体的天线,而是指按照特定的选择条件从所述测量子集中选择出的天线。具体的,步骤406还可以包括:在第一预设时间内测量通过所述测量子集中各根天线接收的信号质量;根据通过所述测量子集中各根天线接收的信号质量,对所述测量子集中各根天线进行排序;根据排序的结果确定所述第二天线。In some embodiments, when the measurement set is a set composed of two or more antennas including the first antenna, the measurement set may be divided into a first antenna and a measurement subset, and the measurement subset is the A set consisting of antennas other than the first antenna in the measurement set. The second antenna does not refer to a specific antenna, but refers to an antenna selected from the measurement subset according to a specific selection condition. Specifically, step 406 may further include: measuring the signal quality received by each antenna in the measurement subset within a first preset time; The antennas in the subset are sorted; the second antenna is determined according to the sorting result.
在一个例子中,可以按照通过所述测量子集中各根天线接收的信号质量从高到低的顺序,对所述测量子集中各根天线进行排序;将排在首位的天线作为所述第二天线。In one example, the antennas in the measurement subset may be sorted in descending order of the quality of the signals received by the antennas in the measurement subset; the antenna at the top is used as the second antenna antenna.
在一个例子中,可以按照通过所述测量子集中各根天线接收的信号质量从低到高的顺序,对所述测量子集中各根天线进行排序;将排在末位的天线作为所述第二天线。In one example, the antennas in the measurement subset may be sorted according to the order of signal quality received by the antennas in the measurement subset from low to high; Two antennas.
在一个例子中,通过所述测量子集中各根天线接收的信号质量具体为SINR和RSRP。在该例子中,对于任一根天线,其SINR相较其RSRP,具有较高优先级。即,对于任意两根天线,例如A天线和B天线,当A天线的接收信号的SINR大于B天线的接收信号的SINR时,无论两者的接收信号的RSRP孰高孰低,就可认为A天线的接收信号的质量大于B天线的接收信号的质量。当A天线的接收信号的SINR等于B天线的接收信号的RSRP时,如果A天线的接收信号的RSRP大于B天线的接收信号的RSRP,则可认为A天线的接收信号的质量大于B天线的接收信号的质量。因此,在根据通过所述测量子集中各根天线接收的信号质量,对所述测量子集中各根天线进行排序时,根据所述测量子集中各根天线对应的SINR,对所述测量子集中各根天线进行排序;当所述测量子集中两根或两根以上的天线对应的SINR相等时,再根据SINR相等的天线对应的RSRP对这些天线进行排序。In an example, the signal quality received by each antenna in the measurement subset is specifically SINR and RSRP. In this example, for any antenna, its SINR has a higher priority than its RSRP. That is, for any two antennas, such as the A antenna and the B antenna, when the SINR of the received signal of the A antenna is greater than the SINR of the B antenna, no matter the RSRP of the two received signals is higher or lower, it can be considered that A The quality of the received signal of the antenna is greater than the quality of the received signal of the B antenna. When the SINR of the received signal of the A antenna is equal to the RSRP of the received signal of the B antenna, if the RSRP of the received signal of the A antenna is greater than the RSRP of the B antenna, it can be considered that the quality of the received signal of the A antenna is greater than that of the B antenna. the quality of the signal. Therefore, when sorting the antennas in the measurement subset according to the signal quality received by the antennas in the measurement subset, according to the SINR corresponding to each antenna in the measurement subset, the measurement subset The antennas are sorted; when the SINRs corresponding to two or more antennas in the measurement subset are equal, the antennas are sorted according to the RSRPs corresponding to the antennas with equal SINRs.
步骤408,判断通过第二天线接收的信号质量是否大于通过第一天线接收的信号质量。Step 408: Determine whether the quality of the signal received through the second antenna is greater than the quality of the signal received through the first antenna.
在一些实施例中,判断步骤406测量得到的第二接收信号质量是否大于步骤406测量得到第一接收信号质量。若第二接收信号质量大于第一接收信号质量,说明第二天线的下行无线通信链路比第一天线的下行无线通信链路好,执行步骤410。若第一接收信号质量大于或等于第二接收信号质量,执行步骤402。In some embodiments, it is determined whether the quality of the second received signal measured in step 406 is greater than the quality of the first received signal measured in step 406 . If the quality of the second received signal is greater than the quality of the first received signal, it means that the downlink wireless communication link of the second antenna is better than the downlink wireless communication link of the first antenna, and step 410 is performed. If the quality of the first received signal is greater than or equal to the quality of the second received signal,
在这些实施例的一个示例中,第一接收信号质量为通过所述第一天线接收的信号的SINR,第二接收信号质量为通过所述第二天线接收的信号的SINR。步骤408具体包括判断通过所述第二天线接收的信号的SINR是否大于所述通过所述第一天线接收的信号的SINR。当判断结果为是时,执行步骤410;否则,执行步骤402。In one example of these embodiments, the first received signal quality is the SINR of the signal received by the first antenna and the second received signal quality is the SINR of the signal received by the second antenna. Step 408 specifically includes determining whether the SINR of the signal received through the second antenna is greater than the SINR of the signal received through the first antenna. When the judgment result is yes, step 410 is performed; otherwise,
在这些实施例的一个示例中,第一接收信号质量为通过所述第一天线接收的信号的RSRP,第二接收信号质量为通过所述第二天线接收的信号的RSRP。步骤408具体包括判断通过所述第二天线接收的信号的RSRP是否大于通过所述第一天线接收的信号的RSRP。当判断结果为是时,执行步骤410;否则,执行步骤402。In one example of these embodiments, the first received signal quality is the RSRP of the signal received by the first antenna and the second received signal quality is the RSRP of the signal received by the second antenna. Step 408 specifically includes determining whether the RSRP of the signal received through the second antenna is greater than the RSRP of the signal received through the first antenna. When the judgment result is yes, step 410 is performed; otherwise,
在这些实施例的一个示例中,第一接收信号质量为通过所述第一天线接收的信号的SINR和RSRP,第二接收信号质量为通过所述第二天线接收的信号的SINR和RSRP。步骤408具体包括判断通过所述第二天线接收的信号的SINR是否大于通过所述第一天线接收的信号的SINR,通过所述第二天线接收的信号的RSRP是否大于通过所述第一天线接收的信号的RSRP。当判断结果均为是时,执行步骤410;否则,执行步骤402。In one example of these embodiments, the first received signal quality is the SINR and RSRP of the signal received by the first antenna, and the second received signal quality is the SINR and RSRP of the signal received by the second antenna. Step 408 specifically includes determining whether the SINR of the signal received through the second antenna is greater than the SINR of the signal received through the first antenna, and whether the RSRP of the signal received through the second antenna is greater than that of the signal received through the first antenna. RSRP of the signal. When the judgment results are all yes, go to step 410; otherwise, go to step 402.
在这些实现方式中,根据第二接收信号质量是否大于第一接收信号,来决定是否切换天线,可以避免将新发送天线切换到比原发送天线的下行无线通信链路还差的天线上。In these implementations, whether to switch the antenna is determined according to whether the quality of the second received signal is greater than that of the first received signal, which can avoid switching the new transmit antenna to an antenna that is worse than the downlink wireless communication link of the original transmit antenna.
在一些实施例中,步骤408还包括判断第二接收信号质量是否符合预设切换条件,如果第二接收信号质量符合预设切换条件,且大于第一接收信号质量,执行步骤410。否则,执行步骤402。In some embodiments, step 408 further includes judging whether the quality of the second received signal meets the preset switching condition, and if the quality of the second received signal meets the preset switching condition and is greater than the quality of the first received signal,
在这些实施例的一个示例中,第一接收信号质量为通过所述第一天线接收的信号的SINR,第二接收信号质量为通过所述第二天线接收的信号的SINR。预设切换条件包括预设切换SINR门限。步骤408具体还包括判断通过所述第二天线接收的信号的SINR是否大于通过所述第一天线接收的信号的SINR,通过所述第二天线接收的信号的SINR是否大于预设切换SINR门限。当判断结果均为是时,执行步骤410;否则,执行步骤402。In one example of these embodiments, the first received signal quality is the SINR of the signal received by the first antenna and the second received signal quality is the SINR of the signal received by the second antenna. The preset switching condition includes a preset switching SINR threshold. Step 408 further includes determining whether the SINR of the signal received through the second antenna is greater than the SINR of the signal received through the first antenna, and whether the SINR of the signal received through the second antenna is greater than a preset switching SINR threshold. When the judgment results are all yes, go to step 410; otherwise, go to step 402.
在这些实施例的一个示例中,第一接收信号质量为通过所述第一天线接收的信号的RSRP,第二接收信号质量为通过所述第二天线接收的信号的RSRP。预设切换条件包括预设切换RSRP门限。步骤408具体还包括判断通过所述第二天线接收的信号的RSRP是否大于通过所述第一天线接收的信号的RSRP,通过所述第二天线接收的信号的RSRP是否大于预设切换RSRP门限。当判断结果均为是时,执行步骤410;否则,执行步骤402。In one example of these embodiments, the first received signal quality is the RSRP of the signal received by the first antenna and the second received signal quality is the RSRP of the signal received by the second antenna. The preset handover condition includes a preset handover RSRP threshold. Step 408 further includes determining whether the RSRP of the signal received through the second antenna is greater than the RSRP of the signal received through the first antenna, and whether the RSRP of the signal received through the second antenna is greater than a preset switching RSRP threshold. When the judgment results are all yes, go to step 410; otherwise, go to step 402.
在这些实施例的一个示例中,第一接收信号质量为通过所述第一天线接收的信号的SINR和RSRP,第二接收信号质量为通过所述第二天线接收的信号的SINR和RSRP。预设切换条件包括预设切换SINR门限和预设切换RSRP门限。步骤408具体还包括判断通过所述第二天线接收的信号的SINR是否大于通过所述第一天线接收的信号的SINR,通过所述第二天线接收的信号的RSRP是否大于通过所述第一天线接收的信号的RSRP,通过所述第二天线接收的信号的SINR是否大于预设切换SINR门限,通过所述第二天线接收的信号的RSRP是否大于预设切换RSRP门限。当判断结果均为是时,执行步骤410;否则,执行步骤402。In one example of these embodiments, the first received signal quality is the SINR and RSRP of the signal received by the first antenna, and the second received signal quality is the SINR and RSRP of the signal received by the second antenna. The preset switching conditions include a preset switching SINR threshold and a preset switching RSRP threshold. Step 408 further includes determining whether the SINR of the signal received through the second antenna is greater than the SINR of the signal received through the first antenna, and whether the RSRP of the signal received through the second antenna is greater than that of the first antenna. RSRP of the received signal, whether the SINR of the signal received through the second antenna is greater than the preset switching SINR threshold, and whether the RSRP of the signal received through the second antenna is greater than the preset switching RSRP threshold. When the judgment results are all yes, go to step 410; otherwise, go to step 402.
在这些实现方式中,根据第二接收信号质量是否大于第一接收信号,以及第二接收信号质量是否符合切换条件,来决定是否切换天线,可以有效避免将新发送天线切换到下行无线通信链路较差的天线上。In these implementations, whether to switch the antenna is determined according to whether the quality of the second received signal is greater than that of the first received signal and whether the quality of the second received signal meets the switching conditions, which can effectively avoid switching the new transmit antenna to the downlink wireless communication link on a poor antenna.
步骤410,通过第一天线和第二天线轮流发送信号。In
通过第二天线的接收的信号的质量比通过第一天线的接收的信号的质量高。终端100通过第二天线和第一天线轮流发送信号,以进一步评估两者发送的信号的质量。The quality of the received signal through the second antenna is higher than that of the received signal through the first antenna. The terminal 100 transmits signals alternately through the second antenna and the first antenna to further evaluate the quality of the signals transmitted by the two.
在一些实施例中,所述通过第一天线和第二天线轮流发送信号具体为在不同的时刻分别通过第一天线和第二天线发送信号。In some embodiments, the sending of signals through the first antenna and the second antenna in turn is specifically to send signals through the first antenna and the second antenna at different times, respectively.
在这些实施例的一个例子中,所述第一天线和第二天线在不同的发送时刻发送信号包括通过第一天线发送第一信号,通过第二天线发送第二信号;其中,第一信号的发送时刻和第二信号的发送时刻相邻。In an example of these embodiments, the sending of signals by the first antenna and the second antenna at different transmission times includes sending the first signal through the first antenna, and sending the second signal through the second antenna; wherein the first signal is transmitted through the second antenna. The transmission time is adjacent to the transmission time of the second signal.
步骤412,测量通过第一天线发送的信号质量和通过第二天线发送的信号质量。Step 412, measure the quality of the signal sent through the first antenna and the quality of the signal sent through the second antenna.
在通过第一天线和第二天线轮流发送信号时,可以测量预设时间段内第一天线和第二天线各自对应的发送信号质量,以避免瞬时短期信号掉底而引发的天线的频繁切换。此处的预设时间段可以称为第二预设时间段。第二预设时间段的长度可以为3秒,也可以为其他时间长度。在实际应用时,具体可以根据经验或试验进行调整。为方便描述,在本申请实施例中,在第二预设时间段内通过第一天线发送的信号质量称为第一发送信号质量,在第二预设时间段内通过第二天线发送的信号质量称为第二发送信号质量。When signals are sent alternately through the first antenna and the second antenna, the signal quality corresponding to the first antenna and the second antenna can be measured within a preset time period, so as to avoid frequent switching of antennas caused by instantaneous short-term signal drop. The preset time period here may be referred to as a second preset time period. The length of the second preset time period may be 3 seconds, or may be other time lengths. In practical application, it can be adjusted according to experience or experiments. For the convenience of description, in this embodiment of the present application, the quality of the signal sent through the first antenna in the second preset time period is called the first transmitted signal quality, and the quality of the signal sent through the second antenna during the second preset time period The quality is referred to as the second transmit signal quality.
具体的,以第一天线为例,容易理解,在第二预设时间内,通过第二天线可发送多个信号,可以测量该多个信号的质量,然后计算该多个信号质量的平均值,以得到第一发送信号质量。第二发送信号质量可以参考前述方式计算得到。Specifically, taking the first antenna as an example, it is easy to understand that within the second preset time, multiple signals can be sent through the second antenna, the quality of the multiple signals can be measured, and then the average value of the multiple signal qualities can be calculated , to obtain the first transmitted signal quality. The quality of the second transmitted signal may be calculated by referring to the foregoing method.
在一个示例中,该多个信号质量的平均值可以为加权平均值。此处多个信号质量的权重可以参考在步骤402中关于频谱效率权重的介绍,此处不再赘述。In one example, the average of the plurality of signal qualities may be a weighted average. Here, for the weights of the multiple signal qualities, reference may be made to the introduction on the spectral efficiency weights in
以第一天线为例,可以将在第二预设时间段内第一天线对应的各发送信号质量乘以各自发送时刻所在的单位时间的权重,然后加和,再除以发送信号的个数,得到的加权平均值可作为第一发送信号质量。具体的,设定第一发送信号质量为其可以通过公式(2)计算得到。Taking the first antenna as an example, the quality of each transmitted signal corresponding to the first antenna in the second preset time period can be multiplied by the weight of the unit time at which the respective transmission moment is located, then added up, and then divided by the number of transmitted signals. , and the obtained weighted average value can be used as the quality of the first transmitted signal. Specifically, the quality of the first transmitted signal is set to be It can be calculated by formula (2).
其中,m表示在第二预设时间段内第一天线对应的发送信号的个数;Z'i表示在第二预设时间段内第一天线对应的第i个发送信号的质量;θ'表示第二预设时间段的各个单位时间构成的集合;设定第i个信号的发送时刻在第二预设时间段的第j个单位时间内,a'ij表示第i个信号的发送时刻所在的单位时间的权重。Among them, m represents the number of transmitted signals corresponding to the first antenna in the second preset time period; Z'i represents the quality of the i-th transmitted signal corresponding to the first antenna in the second preset time period; θ' Represents the set formed by each unit time of the second preset time period; it is set that the sending moment of the i-th signal is within the j-th unit time of the second preset time period, and a'ij represents the sending moment of the i-th signal The weight of the unit time where it is located.
第二发送信号质量可以参考上述方式计算得到。The quality of the second transmitted signal may be calculated and obtained by referring to the above method.
在一个示例中,在步骤412中,对于在所述第二预设时间段内通过所述第一天线发送的多个信号中的任一信号,例如第一信号,可以获取其MCS等级(MCS index),并根据第一信号的MCS等级确定第一信号对应的频谱效率。MCS等级具体获取方式以及确定频谱效率的方式可以参考本说明书对步骤402的介绍,此处不再赘述。再获取第一信号对应的质量反馈信息。质量反馈信息具体可以为ACK、NACK、新数据指示中的任一种。质量反馈信息的介绍可以参考本说明书对步骤402的介绍,在此不再赘述。In one example, in step 412, for any signal, such as the first signal, among the plurality of signals sent through the first antenna within the second preset time period, its MCS level (MCS level) may be obtained. index), and determine the spectral efficiency corresponding to the first signal according to the MCS level of the first signal. For the specific acquisition method of the MCS level and the method of determining the spectral efficiency, reference may be made to the introduction of
可以设定ACK或用于指示发送新数据的新数据指示对应离散值1,设定NACK或用于指示重传数据的新数据指示对应离散值0。将第一信号的频谱效率乘以第一信号对应的质量反馈信息对应的离散值,得到第一信号的质量。换言之,当第一信号对应的质量反馈信息为ACK或用于指示发送新数据的新数据指示时,第一信号的质量即为其频谱效率;当第一信号对应的质量反馈信息为NACK或用于指示重传的新数据指示时,第一信号的质量即为0。ACK or a new data indication used to indicate sending of new data may be set to correspond to a discrete value of 1, and NACK or a new data indication used to indicate retransmission of data may be set to a discrete value of 0. The quality of the first signal is obtained by multiplying the spectral efficiency of the first signal by the discrete value corresponding to the quality feedback information corresponding to the first signal. In other words, when the quality feedback information corresponding to the first signal is ACK or a new data indication used to instruct sending new data, the quality of the first signal is its spectral efficiency; when the quality feedback information corresponding to the first signal is NACK or a new data indication The quality of the first signal is 0 when the new data indicating retransmission is indicated.
参考上述方法,可以得到在所述第二预设时间段内通过所述第一天线发送的多个信号的质量,然后基于多个信号的质量计算得到第一发送信号质量,具体计算方式可以参考上一示例的介绍。Referring to the above method, the quality of multiple signals sent by the first antenna within the second preset time period can be obtained, and then the quality of the first sent signal can be calculated based on the quality of the multiple signals. For the specific calculation method, please refer to Introduction to the previous example.
第二发送信号质量可以参考上述方式得到。The quality of the second transmitted signal may be obtained by referring to the foregoing manner.
步骤414,判断通过第二天线发送的信号质量是否大于通过第一天线发送的信号质量。Step 414: Determine whether the quality of the signal sent through the second antenna is greater than the quality of the signal sent through the first antenna.
具体的,判断第二发送信号是否大于第一发送信号质量。若第二发送信号质量大于第一发送信号质量,说明第二天线的上行无线通信链路比第一天线的上行无线通信链路好,则执行步骤416,即将第二天线作为终端100新的发送天线,以发送信号。Specifically, it is determined whether the quality of the second transmitted signal is greater than that of the first transmitted signal. If the quality of the second transmitted signal is greater than the quality of the first transmitted signal, indicating that the uplink wireless communication link of the second antenna is better than the uplink wireless communication link of the first antenna, then step 416 is executed, that is, the second antenna is used as a new transmission by the terminal 100 antenna to transmit the signal.
若第一发送信号质量大于或等于第二发送信号质量,说明第二天线的上行无线通信链路和第一天线的上行无线通信链路可能均较差。在一些实施例中,可以执行步骤418,即通过第一天线和第二天线轮流发送信号。从而可以在第一天线和第二天线的上行无线通信链路均较差的情况下,增加终端100的信号发射成功的概率。在另一些实施例中,可以终止第一天和第二天线轮流发送信号,而通过第一天线或第二天线单独发送信号。If the quality of the first transmitted signal is greater than or equal to the quality of the second transmitted signal, it indicates that both the uplink wireless communication link of the second antenna and the uplink wireless communication link of the first antenna may be poor. In some embodiments,
在本实施例提供的方案中,通过第一天线对应的无线通信链路的质量是否满足预设门限(而非是通过第一天线接收信号强度和第二天线接收信号强度的差值是否满足预设门限),来判断是否启动第一天线和第二天线接收信号质量的测量;当第二天线接收信号质量大于第一天线接收信号质量时,即当第二天线对应的下行无线通信链路的质量大于第一天线对应的下行无线通信链路的质量时,通过第一天线和第二天线轮流发送信号,并判断两者发送信号的质量,进而决定后续通过第二天线发送信号,还是第二天线和第一天线轮流发送信号。本实施例提供的方案可以从通信设备的多个天线中选择出下行链路和上行链路均较好的天线,并将该天线作为发送天线,提高了用户通信体验。并且本实施例提供的方案克服了当两根天线下行信号强度差异较小时,无法切换天线的问题。In the solution provided by this embodiment, whether the quality of the wireless communication link corresponding to the first antenna satisfies the preset threshold (not whether the difference between the received signal strength of the first antenna and the received signal strength of the second antenna satisfies the preset threshold) set a threshold) to judge whether to start the measurement of the received signal quality of the first antenna and the second antenna; when the quality of the received signal of the second antenna is greater than the quality of the received signal of the first antenna, that is, when the downlink wireless communication link corresponding to the second antenna is When the quality is greater than the quality of the downlink wireless communication link corresponding to the first antenna, the first antenna and the second antenna are used to send signals in turn, and the quality of the signals sent by the two is judged, and then it is decided whether to send signals through the second antenna or the second antenna. The antenna and the first antenna alternately transmit signals. The solution provided in this embodiment can select an antenna with better downlink and uplink from multiple antennas of a communication device, and use this antenna as a transmission antenna, which improves user communication experience. And the solution provided by this embodiment overcomes the problem that the antenna cannot be switched when the downlink signal strength difference between the two antennas is small.
本申请实施例还提供了一种天线选择方法,应用于终端,所述终端包括第一天线和第二天线,参考图5,该天线选择方法包括如下步骤。An embodiment of the present application further provides an antenna selection method, which is applied to a terminal, where the terminal includes a first antenna and a second antenna. Referring to FIG. 5 , the antenna selection method includes the following steps.
502、监测所述第一天线对应的无线通信链路的质量。502. Monitor the quality of the wireless communication link corresponding to the first antenna.
步骤502可以参照图4中的步骤402实现,在此不再赘述。Step 502 can be implemented with reference to step 402 in FIG. 4 , and details are not repeated here.
504、当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线的第一接收信号质量和所述第二天线的第二接收信号质量。504. When the quality of the wireless communication link meets the antenna switching activation condition, measure the first received signal quality of the first antenna and the second received signal quality of the second antenna within a first preset time.
步骤504可以参照图4中的步骤404和步骤406实现,在此不再赘述。Step 504 can be implemented with reference to step 404 and step 406 in FIG. 4 , and details are not repeated here.
506、当所述第二接收信号质量大于所述第一接收信号质量时,在第二预设时间内通过所述第一天线和所述第二天线轮流向基站发送信号。506. When the quality of the second received signal is greater than the quality of the first received signal, send a signal to the base station through the first antenna and the second antenna alternately within a second preset time.
步骤506可以参考图4中的步骤408和步骤410实现,在此不再赘述。Step 506 may be implemented with reference to step 408 and step 410 in FIG. 4 , and details are not described herein again.
508、测量在所述第二预设时间内所述第一天线的第一发送信号质量和所述第二天线的第二发送信号质量。508. Measure the quality of the first transmission signal of the first antenna and the quality of the second transmission signal of the second antenna within the second preset time.
步骤508可以参考图4中步骤412实现,在此不再赘述。Step 508 can be implemented with reference to step 412 in FIG. 4 , and details are not repeated here.
510、当所述第二发送信号质量大于所述第一发送信号质量时,使用所述第二天线向所述基站发送信号。510. When the quality of the second transmitted signal is greater than the quality of the first transmitted signal, use the second antenna to transmit a signal to the base station.
步骤510可以参考图4中步骤414和步骤416实现,在此不再赘述。Step 510 may be implemented with reference to
在一些实施例中,图5所述的天线选择方法还包括:步骤512、当所述第一发送信号质量大于或等于所述第二发送信号质量时,通过所述第一天线和所述第二天线轮流向所述基站发送信号。In some embodiments, the antenna selection method shown in FIG. 5 further includes: Step 512: when the quality of the first transmitted signal is greater than or equal to the quality of the second transmitted signal, select the The two antennas transmit signals to the base station in turn.
步骤512可以参考图4中步骤414和步骤418实现,在此不再赘述。Step 512 can be implemented with reference to
在一些实施例中,所述无线通信链路的质量包括上行无线通信链路的质量和/或下行无线通信链路的质量。In some embodiments, the quality of the wireless communication link includes the quality of the uplink wireless communication link and/or the quality of the downlink wireless communication link.
在这些实施例中,对于上行无线通信链路的质量,可以参考图4步骤402中有关上行无线通信链路的质量介绍。对于下行无线通信链路的质量,可以参考图4步骤402中有关下行无线通信链路的质量介绍,在此不再赘述。In these embodiments, for the quality of the uplink wireless communication link, reference may be made to the introduction about the quality of the uplink wireless communication link in
在一些实施例中,所述无线通信链路为上行无线通信链路,所述上行无线通信链路的质量为重传率和/或频谱效率,在此不再赘述。In some embodiments, the wireless communication link is an uplink wireless communication link, and the quality of the uplink wireless communication link is retransmission rate and/or spectral efficiency, which will not be repeated here.
在这些实施例中,对于上行无线通信链路、重传率、频谱效率可以参考图4步骤402中有关上行无线通信链路的介绍,在此不再赘述。In these embodiments, for the uplink wireless communication link, the retransmission rate, and the spectral efficiency, reference may be made to the introduction about the uplink wireless communication link in
在这些实施例的一个示例中,所述上行无线通信链路的质量为重传率,所述天线切换启动条件为所述重传率大于重传率门限。具体可参考图4步骤404中有关天线切换启动条件的介绍,在此不再赘述。In one example of these embodiments, the quality of the uplink wireless communication link is a retransmission rate, and the antenna switching activation condition is that the retransmission rate is greater than a retransmission rate threshold. For details, reference may be made to the introduction of the antenna switching activation condition in
在这些实施例的另一个示例中,所述上行无线通信链路的质量为频谱效率,所述天线切换启动条件为所述频谱效率大于频谱效率门限。具体可参考图4步骤404中有关天线切换启动条件的介绍,在此不再赘述。In another example of these embodiments, the quality of the uplink wireless communication link is spectral efficiency, and the antenna switching initiation condition is that the spectral efficiency is greater than a spectral efficiency threshold. For details, reference may be made to the introduction of the antenna switching activation condition in
在一些实施例中,所述无线通信链路为下行无线通信链路,所述下行无线通信链路的质量为信号与干扰加噪声比SINR和参考信号接收功率RSRP;所述天线切换启动条件为所述SINR小于SINR门限,和/或所述RSRP小于RSRP门限。具体可参考图4步骤404中有关天线切换启动条件的介绍,在此不再赘述。In some embodiments, the wireless communication link is a downlink wireless communication link, and the quality of the downlink wireless communication link is a signal-to-interference-plus-noise ratio SINR and a reference signal received power RSRP; the antenna switching activation condition is The SINR is less than the SINR threshold, and/or the RSRP is less than the RSRP threshold. For details, reference may be made to the introduction of the antenna switching activation condition in
在一些实施例中,在所述当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线的第一接收信号质量和所述第二天线的第二接收信号质量之前;图5所示的天线选择方法还包括:步骤500、确定所述终端的当前业务类型;根据所述当前业务类型确定所述天线切换启动条件。In some embodiments, when the quality of the wireless communication link meets the antenna switching activation condition, measuring the first received signal quality of the first antenna and the second antenna within a first preset time The antenna selection method shown in FIG. 5 further includes:
步骤500可参考图4中400的介绍,在此不再赘述。For
在一些实施例中,,所述第一接收信号质量为SINR和RSRP;所述第二接收信号质量为SINR和RSRP。In some embodiments, the first received signal quality is SINR and RSRP; the second received signal quality is SINR and RSRP.
在一些实施例中,所述当所述第二接收信号质量大于所述第一接收信号质量时,在第二预设时间内通过所述第一天线和所述第二天线轮流向所述基站发送信号,包括:当所述第二接收信号质量大于所述第一接收信号质量,并符合预设切换条件时,在所述第二预设时间内通过所述第一天线和所述第二天线轮流向所述基站发送信号。具体可以参考图4中步骤408和步骤410的介绍,在此不再赘述。In some embodiments, when the quality of the second received signal is greater than the quality of the first received signal, the first antenna and the second antenna take turns to the base station within a second preset time. Sending a signal includes: when the quality of the second received signal is greater than the quality of the first received signal and meets a preset switching condition, passing the first antenna and the second antenna within the second preset time The antennas in turn transmit signals to the base station. For details, reference may be made to the introduction of step 408 and step 410 in FIG. 4 , which will not be repeated here.
在一些实施例中,所述第一发送信号质量和所述第二发送信号质量由频谱效率和质量反馈信息确定。具体可以参考图4中步骤412的介绍,在此不再赘述。In some embodiments, the first transmit signal quality and the second transmit signal quality are determined by spectral efficiency and quality feedback information. For details, reference may be made to the introduction of step 412 in FIG. 4 , which will not be repeated here.
在这些实施例的一个示例,所述质量反馈信息包括以下任一种:In an example of these embodiments, the quality feedback information includes any of the following:
ACK、NACK、新数据指示。ACK, NACK, new data indication.
关于ACK、NACK、新数据指示,可以参考图4中步骤412对ACK、NACK、新数据指示的介绍。Regarding ACK, NACK, and new data indication, reference may be made to the introduction of ACK, NACK, and new data indication in step 412 in FIG. 4 .
在本申请实施例提供的天线选择方法,可以通过第一天线对应的无线通信链路的质量是否满足预设门限(而非是通过第一天线接收信号强度和第二天线接收信号强度的差值是否满足预设门限),来判断是否启动第一天线和第二天线接收信号质量的测量;当第二天线接收信号质量大于第一天线接收信号质量时,即当第二天线对应的下行无线通信链路的质量大于第一天线对应的下行无线通信链路的质量时,通过第一天线和第二天线轮流发送信号,并判断两者发送信号的质量,进而决定后续通过第二天线发送信号,还是第二天线和第一天线轮流发送信号。本实施例提供的方案可以从通信设备的多个天线中选择出下行链路和上行链路均较好的天线,并将该天线作为发送天线,提高了用户通信体验。并且本实施例提供的方案克服了当两根天线下行信号强度差异较小时,无法切换天线的问题。In the antenna selection method provided in this embodiment of the present application, whether the quality of the wireless communication link corresponding to the first antenna meets a preset threshold (instead of using the difference between the received signal strength of the first antenna and the received signal strength of the second antenna) meet the preset threshold), to judge whether to start the measurement of the received signal quality of the first antenna and the second antenna; when the quality of the received signal of the second antenna is greater than the quality of the received signal of the first antenna, that is, when the downlink wireless communication corresponding to the second antenna When the quality of the link is greater than the quality of the downlink wireless communication link corresponding to the first antenna, the first antenna and the second antenna are used to send signals in turn, and the quality of the signals sent by the two is judged, and then it is decided to send signals through the second antenna subsequently. Again, the second antenna and the first antenna transmit signals in turn. The solution provided in this embodiment can select an antenna with better downlink and uplink from multiple antennas of a communication device, and use this antenna as a transmission antenna, which improves user communication experience. And the solution provided by this embodiment overcomes the problem that the antenna cannot be switched when the downlink signal strength difference between the two antennas is small.
本申请实施例提供了一种终端600。如图6所示,所述终端600包括处理器610、存储器620、第一天线630a和第二天线630b;其中,This embodiment of the present application provides a terminal 600 . As shown in FIG. 6 , the terminal 600 includes a processor 610, a memory 620, a first antenna 630a and a second antenna 630b; wherein,
所述处理器610用于监测所述第一天线630a对应的无线通信链路的质量;The processor 610 is configured to monitor the quality of the wireless communication link corresponding to the first antenna 630a;
所述处理器610还用于当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线630a的第一接收信号质量和所述第二天线630b的第二接收信号质量;The processor 610 is further configured to measure the quality of the first received signal of the first antenna 630a and the quality of the second antenna within a first preset time when the quality of the wireless communication link meets the antenna switching start condition the second received signal quality of 630b;
所述处理器610用于当所述第二接收信号质量大于所述第一接收信号质量时,在第二预设时间内通过所述第一天线630a和所述第二天线630b轮流向基站发送信号;The processor 610 is configured to transmit to the base station in turn through the first antenna 630a and the second antenna 630b within a second preset time when the quality of the second received signal is greater than the quality of the first received signal Signal;
所述处理器610还用于测量在所述第二预设时间内所述第一天线630a的第一发送信号质量和所述第二天线630b的第二发送信号质量;The processor 610 is further configured to measure the first transmit signal quality of the first antenna 630a and the second transmit signal quality of the second antenna 630b within the second preset time;
所述处理器610还用于当所述第二发送信号质量大于所述第一发送信号质量时,使用所述第二天线630b向所述基站发送信号。The processor 610 is further configured to use the second antenna 630b to send a signal to the base station when the quality of the second transmitted signal is greater than the quality of the first transmitted signal.
在一些实施例中,所述处理器610还用于当所述第一发送信号质量大于或等于所述第二发送信号质量时,通过所述第一天线630a和所述第二天线630b轮流向所述基站发送信号。In some embodiments, the processor 610 is further configured to, when the quality of the first transmitted signal is greater than or equal to the quality of the second transmitted signal, use the first antenna 630a and the second antenna 630b to take turns to The base station transmits the signal.
在一些实施例中,所述无线通信链路的质量包括上行无线通信链路的质量和/或下行无线通信链路的质量。In some embodiments, the quality of the wireless communication link includes the quality of the uplink wireless communication link and/or the quality of the downlink wireless communication link.
在一些实施例中,所述无线通信链路为上行无线通信链路,所述上行无线通信链路的质量为重传率和/或频谱效率。In some embodiments, the wireless communication link is an uplink wireless communication link, and the quality of the uplink wireless communication link is retransmission rate and/or spectral efficiency.
在这些实施例的一个示例中,所述上行无线通信链路的质量为重传率,所述天线切换启动条件为所述重传率大于重传率门限;或,所述上行无线通信链路的质量为频谱效率,所述天线切换启动条件为所述频谱效率大于频谱效率门限。In an example of these embodiments, the quality of the uplink wireless communication link is a retransmission rate, and the antenna switching activation condition is that the retransmission rate is greater than a retransmission rate threshold; or, the uplink wireless communication link The quality is spectral efficiency, and the antenna switching activation condition is that the spectral efficiency is greater than the spectral efficiency threshold.
在一些实施例中,所述无线通信链路为下行无线通信链路,所述下行无线通信链路的质量为信号与干扰加噪声比SINR和参考信号接收功率RSRP;所述天线切换启动条件为所述SINR小于SINR门限,和/或所述RSRP小于RSRP门限。In some embodiments, the wireless communication link is a downlink wireless communication link, and the quality of the downlink wireless communication link is a signal-to-interference-plus-noise ratio SINR and a reference signal received power RSRP; the antenna switching activation condition is The SINR is less than the SINR threshold, and/or the RSRP is less than the RSRP threshold.
在一些实施例中,在所述当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线630a的第一接收信号质量和所述第二天线630b的第二接收信号质量之前;所述处理器610还用于确定所述终端的当前业务类型;根据所述当前业务类型确定所述天线切换启动条件。In some embodiments, when the quality of the wireless communication link meets the antenna switching activation condition, the first received signal quality of the first antenna 630a and the second received signal quality of the first antenna 630a are measured within a first preset time. Before the second received signal quality of the antenna 630b; the processor 610 is further configured to determine the current service type of the terminal; and determine the antenna switching start condition according to the current service type.
在一些实施例中,所述第一接收信号质量为SINR和RSRP;所述第二接收信号质量为SINR和RSRP。In some embodiments, the first received signal quality is SINR and RSRP; the second received signal quality is SINR and RSRP.
在一些实施例中,所述处理器610还用于当所述第二接收信号质量大于所述第一接收信号质量,并符合预设切换条件时,在所述第二预设时间内通过所述第一天线630a和所述第二天线630b轮流向所述基站发送信号。In some embodiments, the processor 610 is further configured to, when the quality of the second received signal is greater than the quality of the first received signal and meet a preset switching condition, pass the The first antenna 630a and the second antenna 630b transmit signals to the base station in turn.
在一些实施例中,所述第一发送信号质量和所述第二发送信号质量由频谱效率和质量反馈信息确定。In some embodiments, the first transmit signal quality and the second transmit signal quality are determined by spectral efficiency and quality feedback information.
在这些实施例的一个示例中,所述质量反馈信息包括以下任一种:In one example of these embodiments, the quality feedback information includes any of the following:
ACK、NACK、新数据指示。ACK, NACK, new data indication.
终端600的部件的功能可以参照图4或图5所示的方法实施例实现,此次不再不赘述。The functions of the components of the terminal 600 may be implemented with reference to the method embodiment shown in FIG. 4 or FIG. 5 , which will not be repeated here.
在本申请实施例提供的终端,可以通过第一天线对应的无线通信链路的质量是否满足预设门限(而非是通过第一天线接收信号强度和第二天线接收信号强度的差值是否满足预设门限),来判断是否启动第一天线和第二天线接收信号质量的测量;当第二天线接收信号质量大于第一天线接收信号质量时,即当第二天线对应的下行无线通信链路的质量大于第一天线对应的下行无线通信链路的质量时,通过第一天线和第二天线轮流发送信号,并判断两者发送信号的质量,进而决定后续通过第二天线发送信号,还是第二天线和第一天线轮流发送信号。本实施例提供的方案可以从通信设备的多个天线中选择出下行链路和上行链路均较好的天线,并将该天线作为发送天线,提高了用户通信体验。并且本实施例提供的方案克服了当两根天线下行信号强度差异较小时,无法切换天线的问题。In the terminal provided in this embodiment of the present application, whether the quality of the wireless communication link corresponding to the first antenna satisfies a preset threshold (rather than whether the difference between the received signal strength of the first antenna and the received signal strength of the second antenna meets the preset threshold), to determine whether to start the measurement of the received signal quality of the first antenna and the second antenna; when the quality of the received signal of the second antenna is greater than the quality of the received signal of the first antenna, that is, when the downlink wireless communication link corresponding to the second antenna When the quality of the downlink wireless communication link corresponding to the first antenna is greater than the quality of the downlink wireless communication link corresponding to the first antenna, the first antenna and the second antenna are used to send signals in turn, and the quality of the signals sent by the two is judged. The second antenna and the first antenna alternately transmit signals. The solution provided in this embodiment can select an antenna with better downlink and uplink from multiple antennas of a communication device, and use this antenna as a transmission antenna, which improves user communication experience. And the solution provided by this embodiment overcomes the problem that the antenna cannot be switched when the downlink signal strength difference between the two antennas is small.
本申请实施例还提供了一种天线选择装置700,所述装置700设置于终端,所述终端包括第一天线和第二天线。参考图7,所述装置700包括:监测单元720、第一测量单元730、发送单元740、第二测量单元750。其中,An embodiment of the present application further provides an antenna selection apparatus 700, where the apparatus 700 is provided in a terminal, and the terminal includes a first antenna and a second antenna. Referring to FIG. 7 , the apparatus 700 includes: a
监测单元720,用于监测所述第一天线对应的无线通信链路的质量;a
第一测量单元730,用于当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线的第一接收信号质量和所述第二天线的第二接收信号质量;The
发送单元740,用于当所述第二接收信号质量大于所述第一接收信号质量时,在第二预设时间内通过所述第一天线和所述第二天线轮流向基站发送信号;A sending
第二测量单元750,用于测量在所述第二预设时间内所述第一天线的第一发送信号质量和所述第二天线的第二发送信号质量;A second measurement unit 750, configured to measure the quality of the first transmission signal of the first antenna and the quality of the second transmission signal of the second antenna within the second preset time;
所述发送单元740还用于当所述第二发送信号质量大于所述第一发送信号质量时,使用所述第二天线向所述基站发送信号。The sending
在一些实施例中,所述装置700还包括确定单元710。在所述当所述无线通信链路的质量符合天线切换启动条件时,在第一预设时间内测量所述第一天线的第一接收信号质量和所述第二天线的第二接收信号质量之前;所述确定单元710用于确定所述终端的当前业务类型;根据所述当前业务类型确定所述天线切换启动条件。In some embodiments, the apparatus 700 further includes a
应理解的是,监测单元720可以用于执行图4中的402,第一测量单元730可以用于执行图4中的406,发送单元740可以用于执行图4中的410、416、418,第二测量单元750可以用于执行图4中的412,以及确定单元710可用于执行图4中的400。上文已经对图4中的每一步骤进行了详细地阐述,这里不再重复赘述。It should be understood that the
上文主要从方法流程的角度对本申请实施例提供的天线选择装置进行了介绍。可以理解的是,各个终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The antenna selection apparatus provided by the embodiments of the present application has been described above mainly from the perspective of method flow. It can be understood that, in order to realize the above-mentioned functions, each terminal includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据图4所示的方法实施例和图5所示的方法实施例对终端等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the terminal and the like may be divided into functional modules according to the method embodiment shown in FIG. 4 and the method embodiment shown in FIG. 5 . For example, each function module may be divided corresponding to each function, or two or two More than one function is integrated in one processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
在本申请实施例提供的装置,可以通过第一天线对应的无线通信链路的质量是否满足预设门限(而非是通过第一天线接收信号强度和第二天线接收信号强度的差值是否满足预设门限),来判断是否启动第一天线和第二天线接收信号质量的测量;当第二天线接收信号质量大于第一天线接收信号质量时,即当第二天线对应的下行无线通信链路的质量大于第一天线对应的下行无线通信链路的质量时,通过第一天线和第二天线轮流发送信号,并判断两者发送信号的质量,进而决定后续通过第二天线发送信号,还是第二天线和第一天线轮流发送信号。本实施例提供的方案可以从通信设备的多个天线中选择出下行链路和上行链路均较好的天线,并将该天线作为发送天线,提高了用户通信体验。并且本实施例提供的方案克服了当两根天线下行信号强度差异较小时,无法切换天线的问题。In the device provided in this embodiment of the present application, whether the quality of the wireless communication link corresponding to the first antenna satisfies a preset threshold (rather than whether the difference between the received signal strength of the first antenna and the received signal strength of the second antenna meets the preset threshold), to determine whether to start the measurement of the received signal quality of the first antenna and the second antenna; when the quality of the received signal of the second antenna is greater than the quality of the received signal of the first antenna, that is, when the downlink wireless communication link corresponding to the second antenna When the quality of the downlink wireless communication link corresponding to the first antenna is greater than the quality of the downlink wireless communication link corresponding to the first antenna, the first antenna and the second antenna are used to send signals in turn, and the quality of the signals sent by the two is judged. The second antenna and the first antenna alternately transmit signals. The solution provided in this embodiment can select an antenna with better downlink and uplink from multiple antennas of a communication device, and use this antenna as a transmission antenna, which improves user communication experience. And the solution provided by this embodiment overcomes the problem that the antenna cannot be switched when the downlink signal strength difference between the two antennas is small.
本申请实施例提供了一种用于天线选择的集成电路。所述集成电路包括存储器,与存储器耦合的处理器。存储器可以存储指令以及天线切换启动条件。处理器用于执行存储器存储的指令,以实现图4或图5所示的天线选择方法。Embodiments of the present application provide an integrated circuit for antenna selection. The integrated circuit includes a memory, and a processor coupled to the memory. The memory may store instructions as well as antenna switching initiation conditions. The processor is configured to execute the instructions stored in the memory to implement the antenna selection method shown in FIG. 4 or FIG. 5 .
本申请实施例提供了一种芯片系统,所述芯片系统包括:处理器,所述处理器用于执行指令以使得安装有所述芯片系统的终端执行图4或图5所示的天线选择方法。An embodiment of the present application provides a chip system, where the chip system includes: a processor, where the processor is configured to execute an instruction, so that a terminal installed with the chip system executes the antenna selection method shown in FIG. 4 or FIG. 5 .
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(centralprocessing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signalprocessor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。It can be understood that, the processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application-specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. A general-purpose processor may be a microprocessor or any conventional processor.
本申请的实施例中的存储器可以易失性存储器(volatile memory)或非易失性存储器,例如寄存器等。具体地,易失性存储器是指当电源供应中断后,内部存放的数据便会丢失的存储器。目前,易失性存储器主要是随机存取存储器(random access memory,RAM),包括静态随机存取存储器(static RAM,SRAM)和动态随机存取存储器(dynamic RAM,DRAM)。非易失性存储器是指即使电源供应中断,内部存放的数据也不会因此丢失的存储器。常见的非易失性存储器包括只读存储器(read only memory,ROM)、光盘、磁盘、固态硬盘以及基于闪存(flash memory)技术的各种存储卡等。The memory in the embodiment of the present application may be a volatile memory or a non-volatile memory, such as a register and the like. Specifically, the volatile memory refers to the memory in which the data stored inside will be lost when the power supply is interrupted. At present, volatile memory is mainly random access memory (random access memory, RAM), including static random access memory (static RAM, SRAM) and dynamic random access memory (dynamic RAM, DRAM). Non-volatile memory refers to memory whose internal data will not be lost even if the power supply is interrupted. Common non-volatile memories include read only memory (ROM), optical disks, magnetic disks, solid-state hard disks, and various memory cards based on flash memory (flash memory) technology.
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器、闪存、只读存储器、可编程只读存储器(programmable rom,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electricallyEPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于终端中。The method steps in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions. Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory, flash memory, read only memory, programmable read only memory (programmable rom, PROM), erasable programmable read only memory (erasable PROM) , EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, removable hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage medium may reside in an ASIC. Alternatively, the ASIC may be located in the terminal.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions can be sent from one website site, computer, server, or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) , computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。It can be understood that, the various numbers and numbers involved in the embodiments of the present application are only for the convenience of description, and are not used to limit the scope of the embodiments of the present application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910406458.XACN110278015B (en) | 2019-05-16 | 2019-05-16 | Antenna selection method, device and terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910406458.XACN110278015B (en) | 2019-05-16 | 2019-05-16 | Antenna selection method, device and terminal |
| Publication Number | Publication Date |
|---|---|
| CN110278015A CN110278015A (en) | 2019-09-24 |
| CN110278015Btrue CN110278015B (en) | 2021-02-09 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910406458.XAActiveCN110278015B (en) | 2019-05-16 | 2019-05-16 | Antenna selection method, device and terminal |
| Country | Link |
|---|---|
| CN (1) | CN110278015B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111726145B (en)* | 2020-06-30 | 2021-12-21 | 展讯通信(上海)有限公司 | Uplink transmission selection method and terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103414507A (en)* | 2013-07-26 | 2013-11-27 | 北京小米科技有限责任公司 | Mobile terminal and method and device for switching antennas of mobile terminal |
| WO2016044977A1 (en)* | 2014-09-22 | 2016-03-31 | 华为技术有限公司 | Processing method and apparatus for service signal and customer premise equipment |
| CN106209180B (en)* | 2015-04-30 | 2020-06-02 | 中兴通讯股份有限公司 | Downlink antenna selection method and device of distributed base station |
| US9867139B1 (en)* | 2016-01-18 | 2018-01-09 | Amazon Technologies, Inc. | Antenna switching for transmission diversity |
| CN107613103A (en)* | 2017-08-30 | 2018-01-19 | 努比亚技术有限公司 | A kind of multiple antennas polling method, communication terminal and computer-readable recording medium |
| CN107666345A (en)* | 2017-08-30 | 2018-02-06 | 努比亚技术有限公司 | A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium |
| CN107645313A (en)* | 2017-08-30 | 2018-01-30 | 努比亚技术有限公司 | Antenna switching method, multi-antenna terminal and computer-readable recording medium |
| CN107612581A (en)* | 2017-08-30 | 2018-01-19 | 努比亚技术有限公司 | Antenna handover trigger control method, communication terminal and computer-readable recording medium |
| CN107645325A (en)* | 2017-08-30 | 2018-01-30 | 努比亚技术有限公司 | Antenna handover trigger control method, communication terminal and computer-readable recording medium |
| CN109660276B (en)* | 2017-10-12 | 2020-11-17 | 华为技术有限公司 | Antenna switching method and device |
| Publication number | Publication date |
|---|---|
| CN110278015A (en) | 2019-09-24 |
| Publication | Publication Date | Title |
|---|---|---|
| US9794889B2 (en) | Power adjustment method and apparatus | |
| US20130326551A1 (en) | Wireless multimedia quality of experience reporting | |
| JP2022505296A (en) | Data transmission method and terminal device | |
| KR101983210B1 (en) | Transmit power determining method and apparatus | |
| CN115209455A (en) | Beam failure recovery method, device and system | |
| WO2020200097A1 (en) | Antenna switching method and apparatus for terminal device | |
| US9813988B2 (en) | Method and device for data transmission in wireless local area network | |
| CN110677874B (en) | Transmission rate control method, terminal, and computer storage medium | |
| JP7259066B2 (en) | Power control method and power control device | |
| US20100157819A1 (en) | Transmission device, transmission method, system lsi, and program | |
| WO2015077987A1 (en) | Method, base station and user equipment for selecting and configuring transmission mode | |
| WO2021104035A1 (en) | Uplink data transmission method and apparatus, terminal device, and storage medium | |
| US20250088982A1 (en) | Data transmission method, program product, and electronic device | |
| CN119213824A (en) | Interference reduction for wireless communications using interference cancellation and selective power control | |
| WO2023185616A1 (en) | Psfch transmission method and apparatus, and chip and module device | |
| CN110278015B (en) | Antenna selection method, device and terminal | |
| CN110708722B (en) | Transmission rate control method, terminal, and computer storage medium | |
| US20200178186A1 (en) | Access Method And Access Device | |
| US20240340680A1 (en) | Selective learning for ue reported values | |
| TW201644294A (en) | Optimizing applications behavior in a device for power and performance | |
| WO2019095932A1 (en) | Communication method and apparatus | |
| CN116781216A (en) | Data feedback method, device, terminal node and storage medium | |
| CN118451668A (en) | Discontinuous transmission detection for HARQ feedback | |
| WO2019191885A1 (en) | Method and device for transmitting configuration information, and method and device for receiving configuration information | |
| CN117156417A (en) | Communication method and related device |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |