CN105978601A - Antenna switching method, receiving device and terminal - Google Patents
Antenna switching method, receiving device and terminal Download PDFInfo
- Publication number
- CN105978601A CN105978601A CN201610519377.7A CN201610519377A CN105978601A CN 105978601 A CN105978601 A CN 105978601A CN 201610519377 A CN201610519377 A CN 201610519377A CN 105978601 A CN105978601 A CN 105978601A
- Authority
- CN
- China
- Prior art keywords
- antenna
- reception quality
- signal reception
- time
- threshold
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/40—Circuits
- H04B1/401—Circuits for selecting or indicating operating mode
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01Q—ANTENNAS, i.e. RADIO AERIALS
- H01Q1/00—Details of, or arrangements associated with, antennas
- H01Q1/12—Supports; Mounting means
- H01Q1/22—Supports; Mounting means by structural association with other equipment or articles
- H01Q1/24—Supports; Mounting means by structural association with other equipment or articles with receiving set
- H01Q1/241—Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM
- H01Q1/242—Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM specially adapted for hand-held use
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01Q—ANTENNAS, i.e. RADIO AERIALS
- H01Q3/00—Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system
- H01Q3/24—Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system varying the orientation by switching energy from one active radiating element to another, e.g. for beam switching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/022—Selective call receivers
- H04W88/023—Selective call receivers with message or information receiving capability
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Radio Transmission System (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供一种天线切换方法及接收装置、终端。该方法包括:测量第一天线的信号接收质量,在确定第一天线的信号接收质量小于预设的第一门限的情况下,从至少一个第二天线中确定信号接收质量大于第一天线的信号接收质量的目标天线,目标天线为首次比较出的信号接收质量大于第一天线的信号接收质量的天线,将接收机当前耦合的第一天线切换到目标天线,以通过目标天线接收无线信号。本发明实施例提供的天线切换方法及接收装置、终端,可以实现提前退出比较阶段,缩短比较时间,进而缩短了天线选择的时间,可快速找到可用的天线。
Embodiments of the present invention provide an antenna switching method, a receiving device, and a terminal. The method includes: measuring the signal reception quality of the first antenna, and determining from at least one second antenna that the signal reception quality of the first antenna is greater than that of the first antenna when the signal reception quality of the first antenna is determined to be less than a preset first threshold. The target antenna of reception quality, the target antenna is the antenna whose signal reception quality is greater than the signal reception quality of the first antenna compared for the first time, and the first antenna currently coupled to the receiver is switched to the target antenna, so as to receive wireless signals through the target antenna. The antenna switching method, the receiving device, and the terminal provided by the embodiments of the present invention can realize early exit from the comparison phase, shorten the comparison time, further shorten the time for antenna selection, and quickly find an available antenna.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种天线切换方法及接收装置、终端。Embodiments of the present invention relate to the field of communication technologies, and in particular, to an antenna switching method, a receiving device, and a terminal.
背景技术Background technique
在移动终端领域,为了获得更佳的外观设计,越来越多的厂商使用金属外壳,用户手握移动终端的位置的不同或者金属外壳会对移动终端的天线性能产生影响,为了解决这个问题,通常都会在移动终端上设置主天线及副天线协同工作,有的甚至是三天线、四天线。而且,随着长期演进(LongTerm Evolution,简称:LTE)数据业务的发展,多天线技术可以提供丰富的通信业务。In the field of mobile terminals, in order to obtain a better appearance design, more and more manufacturers use metal casings. Different positions of users holding mobile terminals or metal casings will affect the antenna performance of mobile terminals. In order to solve this problem, Usually, a main antenna and a secondary antenna are set on the mobile terminal to work together, and some even have three or four antennas. Moreover, with the development of Long Term Evolution (LTE for short) data services, the multi-antenna technology can provide rich communication services.
对于多天线移动终端,目前主要采用天线寻优算法来进行天线的选取,具体的,需要通过比较天线的信号接收质量找到信号接收质量较大的天线,现有的天线寻优算法一般包括评估、比较、冻结三个阶段。以四根天线为例,首先在评估阶段,对多天线移动终端中当前正在实现通信的天线进行评估处理,如果当前正在实现通信的天线的信号接收质量小于门限值,则进入比较阶段。在比较阶段,通过依次对四根天线的信号接收质量进行比较,找到四根天线中信号接收质量最大的一根天线,切换并工作在该天线上,即进入冻结阶段。为了防止天线频繁比较切换,设置一个天线工作时间,整轮比较阶段结束后,切换并工作在信号接收质量最高的天线上,进入冻结阶段。天线工作时间结束后再继续进入评估阶段。继续对当前正在实现通信的天线的信号接收质量进行评估。For multi-antenna mobile terminals, the antenna optimization algorithm is currently used to select antennas. Specifically, it is necessary to find the antenna with higher signal reception quality by comparing the signal reception quality of the antennas. The existing antenna optimization algorithms generally include evaluation, Compare and freeze three stages. Taking four antennas as an example, firstly, in the evaluation stage, evaluate the antennas that are currently communicating in the multi-antenna mobile terminal. If the signal reception quality of the antennas that are currently communicating is less than the threshold value, enter the comparison stage. In the comparison stage, by comparing the signal reception quality of the four antennas in turn, find the antenna with the highest signal reception quality among the four antennas, switch and work on this antenna, that is, enter the freezing stage. In order to prevent frequent comparison and switching of antennas, set an antenna working time. After the whole round of comparison phase is over, switch and work on the antenna with the highest signal reception quality, and enter the freezing phase. Continue to the evaluation phase after the antenna working time is over. Continue to evaluate the signal reception quality of the antenna that is currently communicating.
在比较阶段,若第一轮比较出的天线的信号接收质量已经可以满足通信的要求,但是按照上述的天线寻优算法,仍然需要等所有的天线都比较完才能结束,耗时较长。In the comparison stage, if the signal reception quality of the antennas obtained in the first round of comparison can meet the communication requirements, but according to the above antenna optimization algorithm, it still needs to wait for all antennas to be compared before ending, which takes a long time.
发明内容Contents of the invention
本发明实施例提供一种天线切换方法及接收装置、终端,以解决现有技术中天线寻优耗时较长的问题。Embodiments of the present invention provide an antenna switching method, a receiving device, and a terminal, so as to solve the problem of long time-consuming antenna optimization in the prior art.
第一方面,本发明实施例提供一种天线切换方法,应用于多天线装置,多天线装置包括接收机,第一天线以及至少一个第二天线,接收机当前耦合至第一天线,并通过第一天线接收无线信号,本发明实施例提供的方法包括:测量第一天线的信号接收质量,在确定第一天线的信号接收质量小于预设的第一门限的情况下,从至少一个第二天线中确定信号接收质量大于第一天线的信号接收质量的目标天线,目标天线为首次比较出的信号接收质量大于第一天线的信号接收质量的天线。最后将接收机当前耦合的第一天线切换到目标天线,以通过目标天线接收无线信号。In the first aspect, an embodiment of the present invention provides an antenna switching method, which is applied to a multi-antenna device. The multi-antenna device includes a receiver, a first antenna, and at least one second antenna. The receiver is currently coupled to the first antenna, and through the second An antenna receives a wireless signal, and the method provided by the embodiment of the present invention includes: measuring the signal reception quality of the first antenna, and receiving the signal from at least one second antenna In determining the target antenna whose signal reception quality is greater than the signal reception quality of the first antenna, the target antenna is the antenna whose signal reception quality is greater than the signal reception quality of the first antenna compared for the first time. Finally, the first antenna currently coupled to the receiver is switched to the target antenna, so as to receive wireless signals through the target antenna.
在一种可能的设计中,目标天线的信号接收质量大于第一门限。In a possible design, the signal reception quality of the target antenna is greater than the first threshold.
本发明实施例提供的天线切换方法,在比较阶段,只要确定出大于当前处于工作状态的天线的信号接收质量的天线,则退出比较阶段,进入冻结阶段工作在确定出的目标天线上,这样可提前退出比较阶段,缩短比较时间,进而缩短了天线选择的时间,可快速找到可用的天线。In the antenna switching method provided by the embodiment of the present invention, in the comparison phase, as long as an antenna with a signal reception quality greater than that of the currently working antenna is determined, the comparison phase is exited, and the freezing phase is entered to work on the determined target antenna. Exit the comparison stage in advance, shorten the comparison time, and then shorten the antenna selection time, and quickly find the available antenna.
第二方面,本发明实施例提供一种天线切换方法,应用于多天线装置,多天线装置包括接收机,第一天线以及至少一个第二天线,接收机当前耦合至第一天线,并通过第一天线接收无线信号,本发明实施例提供的方法包括:测量第一天线的信号接收质量,在确定第一天线的信号接收质量小于预设的第一门限的情况下,从至少一个第二天线中确定出目标天线,目标天线为至少一个第二天线中信号接收质量最大的天线,最后将接收机当前耦合的第一天线切换到目标天线,以通过目标天线接收无线信号,判断目标天线的信号接收质量是否小于第一门限,若目标天线的信号接收质量小于第一门限,则在第一时间结束后,重新确定目标天线的信号接收质量与第一门限的关系,第一时间大于第二时间,第二时间为预设的天线工作时间。In the second aspect, an embodiment of the present invention provides an antenna switching method, which is applied to a multi-antenna device. The multi-antenna device includes a receiver, a first antenna, and at least one second antenna. The receiver is currently coupled to the first antenna, and through the second An antenna receives a wireless signal, and the method provided by the embodiment of the present invention includes: measuring the signal reception quality of the first antenna, and receiving the signal from at least one second antenna Determine the target antenna, the target antenna is the antenna with the highest signal reception quality among at least one second antenna, and finally switch the first antenna currently coupled to the receiver to the target antenna, so as to receive wireless signals through the target antenna and judge the signal of the target antenna Whether the reception quality is less than the first threshold, if the signal reception quality of the target antenna is less than the first threshold, after the end of the first time, re-determine the relationship between the signal reception quality of the target antenna and the first threshold, the first time is greater than the second time , the second time is the preset antenna working time.
在一种可能的设计中,若目标天线的信号接收质量大于或等于第一门限,则在第二时间结束后,重新确定目标天线的信号接收质量与第一门限的关系。In a possible design, if the signal reception quality of the target antenna is greater than or equal to the first threshold, then after the second time elapses, re-determine the relationship between the signal reception quality of the target antenna and the first threshold.
本发明实施例提供的天线切换方法,通过确定在比较阶段比较出的信号接收质量最好的第二天线的信号接收质量还是小于第一门限时,则按照第一时间工作在第一天线上,天线工作时间结束后再继续进入评估阶段,第一时间大于第二时间,第二时间为预设的天线工作时间,即在循环执行评估阶段-比较阶段-冻结阶段的过程中,若满足预设的天线工作时间延长的条件,则按照延长后的第一时间工作在所切换的天线上,在所有天线的信号接收质量都小于第一门限的情况下,就会减少天线比较的次数,提高了天线的稳定性。In the antenna switching method provided by the embodiment of the present invention, by determining that the signal reception quality of the second antenna with the best signal reception quality compared in the comparison stage is still lower than the first threshold, then work on the first antenna according to the first time, Continue to enter the evaluation stage after the antenna working time is over. The first time is greater than the second time, and the second time is the preset antenna working time. If the working time of the antenna is extended, it will work on the switched antenna according to the first time after the extension. When the signal reception quality of all antennas is less than the first threshold, the number of antenna comparisons will be reduced and the performance will be improved. Antenna stability.
在一种可能的设计中,第一时间等于自适应系数A乘以第二时间,其中1≤A≤Amax,A与循环次数成正比,Amax为预设值。天线工作时间的延长是随着循环次数逐级增加的。相比较而言,自适应延长天线工作时间的效果更好。In a possible design, the first time is equal to the adaptive coefficient A multiplied by the second time, where 1≤A≤Amax, A is proportional to the number of cycles, and Amax is a preset value. The prolongation of the working time of the antenna increases step by step with the number of cycles. In comparison, the effect of adaptively extending the working time of the antenna is better.
第三方面,本发明实施例提供一种接收装置,包括:接收机、处理器和切换装置,其中,接收机当前通过切换装置耦合至第一天线,并通过第一天线接收无线信号。处理器用于:测量接收机通过第一天线接收的无线信号的信号接收质量,并确定第一天线的信号接收质量是否小于预设的第一门限。处理器还用于:在确定第一天线的信号接收质量小于预设的第一门限情况下,从至少一个第二天线中确定信号接收质量大于第一天线的信号接收质量的目标天线,目标天线为首次比较出的信号接收质量大于第一天线的信号接收质量的天线;并控制切换装置将接收机从第一天线切换到目标天线。In a third aspect, an embodiment of the present invention provides a receiving device, including: a receiver, a processor, and a switching device, wherein the receiver is currently coupled to a first antenna through the switching device, and receives a wireless signal through the first antenna. The processor is configured to: measure the signal reception quality of the wireless signal received by the receiver through the first antenna, and determine whether the signal reception quality of the first antenna is smaller than a preset first threshold. The processor is also used to: determine the target antenna whose signal reception quality is greater than the signal reception quality of the first antenna from at least one second antenna when it is determined that the signal reception quality of the first antenna is less than the preset first threshold, and the target antenna It is the antenna whose signal receiving quality compared for the first time is greater than the signal receiving quality of the first antenna; and the switching device is controlled to switch the receiver from the first antenna to the target antenna.
在一种可能的设计中,目标天线的信号接收质量大于第一门限。In a possible design, the signal reception quality of the target antenna is greater than the first threshold.
上述第三方面以及上述第三方面的可能的设计所提供的接收装置,其有益效果可以参见上述第一方面和第一方面的可能的设计所带来的有益效果,在此不再赘述。The beneficial effects of the receiving device provided by the third aspect and the possible design of the third aspect above can be referred to the beneficial effects brought by the first aspect and the possible design of the first aspect, and will not be repeated here.
第四方面,本发明实施例提供一种接收装置,包括:接收机、处理器和切换装置,其中,接收机当前通过切换装置耦合至第一天线,并通过第一天线接收无线信号。处理器用于:测量接收机通过第一天线接收的无线信号的信号接收质量,并确定第一天线的信号接收质量是否小于预设的第一门限。处理器还用于:在确定第一天线的信号接收质量小于预设的第一门限情况下,从至少一个第二天线中确定出目标天线,目标天线为至少一个第二天线中信号接收质量最大的天线,并控制切换装置将接收机从第一天线切换到目标天线。处理器还用于:判断出目标天线的信号接收质量小于第一门限时,则在第一时间结束后,重新确定目标天线的信号接收质量与第一门限的关系,第一时间大于第二时间,第二时间为预设的天线工作时间。In a fourth aspect, an embodiment of the present invention provides a receiving device, including: a receiver, a processor, and a switching device, wherein the receiver is currently coupled to a first antenna through the switching device, and receives a wireless signal through the first antenna. The processor is configured to: measure the signal reception quality of the wireless signal received by the receiver through the first antenna, and determine whether the signal reception quality of the first antenna is smaller than a preset first threshold. The processor is further configured to: determine the target antenna from at least one second antenna when it is determined that the signal reception quality of the first antenna is less than the preset first threshold, and the target antenna is the one with the highest signal reception quality among the at least one second antenna antenna, and control the switching device to switch the receiver from the first antenna to the target antenna. The processor is also used for: when it is judged that the signal reception quality of the target antenna is less than the first threshold, then after the end of the first time, re-determine the relationship between the signal reception quality of the target antenna and the first threshold, and the first time is greater than the second time , the second time is the preset antenna working time.
在一种可能的设计中,处理器还用于:判断出目标天线的信号接收质量大于或等于第一门限时,则在第二时间结束后,重新确定目标天线的信号接收质量与第一门限的关系。In a possible design, the processor is further configured to: when it is determined that the signal reception quality of the target antenna is greater than or equal to the first threshold, after the end of the second time, re-determine the signal reception quality of the target antenna and the first threshold Relationship.
在一种可能的设计中,第一时间等于自适应系数A乘以第二时间,其中1≤A≤Amax,A与循环次数成正比,Amax为预设值。In a possible design, the first time is equal to the adaptive coefficient A multiplied by the second time, where 1≤A≤Amax, A is proportional to the number of cycles, and Amax is a preset value.
上述第四方面以及上述第四方面的各可能的设计所提供的接收装置,其有益效果可以参见上述第二方面和第二方面的各可能的设计所带来的有益效果,在此不再赘述。The beneficial effects of the receiving device provided by the above fourth aspect and each possible design of the above fourth aspect can be referred to the beneficial effects brought by the above second aspect and each possible design of the second aspect, and will not be repeated here. .
第五方面,本发明提供一种终端,包括第一天线、至少一个第二天线以及第三方面或第三方面的可能的设计所提供的接收装置。In a fifth aspect, the present invention provides a terminal, including a first antenna, at least one second antenna, and the receiving device provided in the third aspect or a possible design of the third aspect.
第六方面,本发明提供一种终端,包括第一天线、至少一个第二天线以及第四方面或第四方面的各可能的设计所提供的接收装置。In a sixth aspect, the present invention provides a terminal, including a first antenna, at least one second antenna, and the receiving device provided in the fourth aspect or each possible design of the fourth aspect.
本发明实施例提供的天线切换方法及接收装置、终端,在比较阶段,只要确定出大于当前处于工作状态的天线的信号接收质量的天线,则退出比较阶段,进入冻结阶段工作在确定出的目标天线上,这样可提前退出比较阶段,缩短比较时间,进而缩短了天线选择的时间,可快速找到可用的天线。In the antenna switching method, receiving device, and terminal provided by the embodiments of the present invention, in the comparison phase, as long as the antenna whose signal reception quality is greater than that of the antenna in the current working state is determined, the comparison phase will exit and enter the freezing phase to work on the determined target. In this way, the comparison stage can be exited in advance, the comparison time can be shortened, and the antenna selection time can be shortened, and an available antenna can be quickly found.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明实施例的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the embodiments of the present invention, and those skilled in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本发明天线切换方法中天线切换过程的各个阶段示意图;1 is a schematic diagram of each stage of the antenna switching process in the antenna switching method of the present invention;
图2为现有的天线切换方法中比较切换的流程示意图;FIG. 2 is a schematic flow diagram of comparative switching in an existing antenna switching method;
图3为本发明天线切换方法实施例一的流程图;FIG. 3 is a flow chart of Embodiment 1 of the antenna switching method of the present invention;
图4为一种根据至少一个第二天线的信号接收质量确定出目标天线的方法流程图;Fig. 4 is a flow chart of a method for determining a target antenna according to the signal reception quality of at least one second antenna;
图5为本发明天线切换方法中比较切换的流程示意图;FIG. 5 is a schematic flow diagram of comparative switching in the antenna switching method of the present invention;
图6为本发明天线切换方法实施例二的流程图;FIG. 6 is a flow chart of Embodiment 2 of the antenna switching method of the present invention;
图7为本发明天线切换方法实施例三的流程图;FIG. 7 is a flow chart of Embodiment 3 of the antenna switching method of the present invention;
图8为本发明接收装置实施例一的结构示意图;FIG. 8 is a schematic structural diagram of Embodiment 1 of the receiving device of the present invention;
图9为本发明接收装置实施例二的结构示意图;FIG. 9 is a schematic structural diagram of Embodiment 2 of the receiving device of the present invention;
图10为本发明终端实施例一的结构示意图。FIG. 10 is a schematic structural diagram of Embodiment 1 of a terminal according to the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明实施例一部分实施例,而不是全部的实施例。基于本发明实施例中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明实施例保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments in the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the embodiments of the present invention.
本发明实施例提供的天线切换方法及接收装置、终端,可用于多天线终端中,由于金属外壳或用户手握终端的位置的不同会对终端的天线性能产生影响,从而引起多天线之间的切换的场景,或者其它原因造成的天线性能变差需要切换的场景,为了保证终端正常的通讯功能,需要尽快的找到可用的天线,基于对天线稳定性的考虑,需要尽量减少天线切换的次数。下面结合附图详细说明本发明实施例提供的天线切换方法及接收装置、终端。The antenna switching method, receiving device, and terminal provided by the embodiments of the present invention can be used in a multi-antenna terminal. Since the difference in the position of the metal casing or the user's hand holding the terminal will affect the performance of the antenna of the terminal, it will cause the difference between the multiple antennas. In the switching scenario, or the scenario where the antenna performance is degraded due to other reasons and needs to be switched, in order to ensure the normal communication function of the terminal, it is necessary to find an available antenna as soon as possible. Based on the consideration of antenna stability, it is necessary to reduce the number of antenna switching as much as possible. The antenna switching method, receiving device, and terminal provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图1为本发明天线切换方法中天线切换过程的各个阶段示意图,如图1所示,包括评估阶段、比较阶段、冻结阶段三个阶段,终端在评估阶段对当前天线做评估,如果当前处于工作状态的天线的信号接收质量小于门限值,则进入比较阶段。在比较阶段通过依次与终端的其它天线的信号接收质量做比较,比较出信号接收质量较好的天线并切换到该天线上。为了防止天线频繁比较切换,设置一个天线工作时间,整轮比较阶段结束后,工作在比较出的信号接收质量较好的天线上,进入冻结阶段。天线工作时间结束后再继续进入评估阶段,对当前工作的天线做评估,若当前工作的天线的信号接收质量不小于门限值,则继续停留在当前工作的天线上。Figure 1 is a schematic diagram of each stage of the antenna switching process in the antenna switching method of the present invention. As shown in Figure 1, it includes three stages: the evaluation stage, the comparison stage, and the freezing stage. The terminal evaluates the current antenna in the evaluation stage. If it is currently working The signal receiving quality of the antenna in the state is less than the threshold value, and then enters the comparison stage. In the comparison stage, by comparing with the signal reception quality of other antennas of the terminal in turn, an antenna with better signal reception quality is compared and switched to the antenna. In order to prevent frequent comparison and switching of antennas, set an antenna working time. After the whole round of comparison phase is over, it will work on the antenna with better signal reception quality compared and enter the freezing phase. After the antenna working time is over, continue to enter the evaluation stage, and evaluate the currently working antenna. If the signal reception quality of the currently working antenna is not less than the threshold value, it will continue to stay on the currently working antenna.
现有技术中,依次比较终端的所有天线的信号接收质量,确定出所有天线中信号接收质量最大的天线为第一天线,由于每次在比较阶段,对所有的天线都进行比较,则整个比较过程持续的时间较长,图2为现有的天线切换方法中比较切换的流程示意图,如图2所示,以四根天线为例,初始位置在天线(ANT)2,天线(ANT)0的信号接收质量最好。当天线2的信号接收质量变差,开始进入比较阶段,进行一轮比较。首先进行左右旋比较,切换到天线0,然后进行上下切比较,维持在天线0,接着进行对角切比较,仍然维持在天线0,四根天线比较完,确定出了信号接收质量最好的天线,将会冻结在天线0上一段时间。从上述过程可以发现,天线0的信号接收质量已经足够好,但是现有技术中仍然需要等所有天线都比较完才能结束,耗时较长。为解决这一问题,本发明实施例提出下述解决方法,可提前退出比较阶段,缩短比较时间,即缩短天线选择的时间。In the prior art, the signal reception quality of all antennas of the terminal is compared in turn, and the antenna with the highest signal reception quality among all antennas is determined to be the first antenna. Since all antennas are compared each time in the comparison stage, the entire comparison The duration of the process is relatively long, and Fig. 2 is a schematic diagram of a comparative switching process in an existing antenna switching method. As shown in Fig. 2, taking four antennas as an example, the initial position is antenna (ANT) 2, antenna (ANT) 0 The best signal reception quality. When the signal reception quality of antenna 2 deteriorates, a comparison phase is started and a round of comparison is performed. First, compare left and right, switch to antenna 0, then compare up and down, keep it at antenna 0, then perform diagonal comparison, still keep it at antenna 0, after comparing the four antennas, the antenna with the best signal reception quality is determined , will freeze on antenna 0 for a while. From the above process, it can be found that the signal reception quality of antenna 0 is good enough, but in the prior art, it still needs to wait for all antennas to be compared before ending, which takes a long time. In order to solve this problem, the embodiment of the present invention proposes the following solution, which can exit the comparison stage in advance and shorten the comparison time, that is, shorten the antenna selection time.
图3为本发明天线切换方法实施例一的流程图,本实施例的方法应用于多天线装置,多天线装置包括接收机,第一天线以及至少一个第二天线,接收机当前耦合至第一天线,并通过第一天线接收无线信号,如图3所示,本实施例的方法可以包括:3 is a flow chart of Embodiment 1 of the antenna switching method of the present invention. The method of this embodiment is applied to a multi-antenna device. The multi-antenna device includes a receiver, a first antenna, and at least one second antenna. The receiver is currently coupled to the first antenna, and receive a wireless signal through the first antenna, as shown in Figure 3, the method of this embodiment may include:
S1、测量第一天线的信号接收质量。S1. Measure the signal reception quality of the first antenna.
S2、在确定第一天线的信号接收质量小于预设的第一门限的情况下,从至少一个第二天线中确定信号接收质量大于第一天线的信号接收质量的目标天线,目标天线为首次比较出的信号接收质量大于第一天线的信号接收质量的天线。S2. When it is determined that the signal reception quality of the first antenna is less than the preset first threshold, determine the target antenna whose signal reception quality is greater than the signal reception quality of the first antenna from at least one second antenna, and the target antenna is the first comparison An antenna whose signal reception quality is greater than that of the first antenna.
其中,第一门限满足多天线装置的最低工作信号接收质量。Wherein, the first threshold meets the minimum working signal receiving quality of the multi-antenna device.
S3、将接收机当前耦合的第一天线切换到目标天线,以通过目标天线接收无线信号。S3. Switch the first antenna currently coupled to the receiver to the target antenna, so as to receive wireless signals through the target antenna.
也就是说,天线切换之前,接收机耦合到第一天线,天线切换之后,接收机耦合到目标天线。That is, before the antenna is switched, the receiver is coupled to the first antenna, and after the antenna is switched, the receiver is coupled to the target antenna.
具体地,在评估阶段评估第一天线的信号接收质量,小于第一门限时,则进入比较阶段,从至少一个第二天线中确定出目标天线,只要比较出目标天线的信号接收质量大于第一天线,即可退出比较阶段,目标天线的信号接收质量大于第一天线有多种可能,可能目标天线的信号接收质量大于第一门限,也可能小于第一门限,但是通过这种方式,在终端天线数目较多时,不用将所有的天线都比较完,因此可提前退出比较阶段,缩短比较时间,即缩短天线选择的时间。Specifically, in the evaluation stage, the signal reception quality of the first antenna is evaluated, and when it is less than the first threshold, then enters the comparison stage, and the target antenna is determined from at least one second antenna, as long as the signal reception quality of the target antenna is greater than the first threshold. Antenna, that is, exit the comparison stage. There are many possibilities that the signal reception quality of the target antenna is greater than the first antenna. The signal reception quality of the target antenna may be greater than the first threshold or less than the first threshold. When the number of antennas is large, it is not necessary to compare all the antennas, so the comparison stage can be exited in advance to shorten the comparison time, that is, shorten the antenna selection time.
较优的,目标天线的信号接收质量大于第一门限。在评估阶段评估第一天线的信号接收质量,小于第一门限时,则进入比较阶段,从至少一个第二天线中确定出目标天线,只要比较出目标天线的信号接收质量大于第一门限,也就是只要比较出可用的天线即可退出比较阶段,不用将所有的天线都比较完,因此可提前退出比较阶段,缩短比较时间,即缩短天线选择的时间,这样就可尽快的找到可用的天线,保证了多天线装置正常的通讯功能。Preferably, the signal reception quality of the target antenna is greater than the first threshold. In the evaluation stage, the signal reception quality of the first antenna is evaluated, and if it is less than the first threshold, then enter the comparison stage, and the target antenna is determined from at least one second antenna, as long as the signal reception quality of the target antenna is greater than the first threshold, it is also That is, as long as the available antennas are compared, the comparison stage can be exited. It is not necessary to compare all the antennas. Therefore, the comparison stage can be exited in advance, and the comparison time can be shortened, that is, the antenna selection time can be shortened, so that the available antennas can be found as soon as possible. The normal communication function of the multi-antenna device is guaranteed.
具体来说,在比较阶段根据至少一个第二天线的信号接收质量确定出目标天线,图4为一种根据至少一个第二天线的信号接收质量确定出目标天线的方法流程图,如图4所示,具体可以为:Specifically, in the comparison stage, the target antenna is determined according to the signal reception quality of at least one second antenna. FIG. 4 is a flowchart of a method for determining the target antenna according to the signal reception quality of at least one second antenna, as shown in FIG. 4 Specifically, it can be:
S21、将接收机当前耦合的第一天线切换到某一天线上。S21. Switch the first antenna currently coupled to the receiver to a certain antenna.
具体来说,该天线是随机比较的多天线装置的天线中除当前工作的第一天线之外的一根天线,要获取天线的信号接收质量,必须先切换到天线上,然后获取该天线的信号接收质量。Specifically, this antenna is an antenna other than the currently working first antenna among the antennas of the multi-antenna device for random comparison. To obtain the signal reception quality of the antenna, you must first switch to the antenna, and then obtain the Signal reception quality.
S22、确定所切换到的天线的信号接收质量是否大于第一门限,若是,执行S23。若否,执行S24。S22. Determine whether the signal reception quality of the switched antenna is greater than the first threshold, and if so, perform S23. If not, execute S24.
S23、则比较阶段结束。第一门限满足多天线装置的最低工作信号接收质量,也就是确保找到可用天线,不一定是最优的天线。此时已确定出目标天线,则直接工作在目标天线上。S23, the comparison phase ends. The first threshold satisfies the minimum working signal receiving quality of the multi-antenna device, that is, to ensure that an available antenna is found, not necessarily an optimal antenna. At this point, the target antenna has been determined, then work directly on the target antenna.
S24、进入下一轮比较,执行类似S21-S23的过程。S24. Go to the next round of comparison and perform a process similar to S21-S23.
类似地,切换到下一个天线上,比较下一个天线与第一轮切换的天线的信号接收质量,若该轮切换的天线的信号接收质量大于第一门限,则比较阶段结束。否则继续下一轮。Similarly, switch to the next antenna, and compare the signal reception quality of the next antenna with the antenna switched in the first round. If the signal reception quality of the antenna switched in this round is greater than the first threshold, the comparison phase ends. Otherwise continue to the next round.
通过本实施的上述方法,可以实现在确保找到可用天线的前提下,提前退出比较阶段,缩短比较时间,进而缩短了天线选择的时间,可快速找到可用的天线。Through the above method of this implementation, it can be realized that the comparison stage can be exited in advance under the premise of ensuring that an available antenna can be found, the comparison time can be shortened, and the antenna selection time can be shortened, and an available antenna can be quickly found.
下面采用一个具体的实施例,对图4所示方法实施例的技术方案进行详细说明。A specific embodiment is used below to describe the technical solution of the method embodiment shown in FIG. 4 in detail.
图5为本发明天线切换方法中比较切换的流程示意图,如图5所示,以四根天线为例,其中各个天线的信号接收质量分别为:QANT0=-80dB,QANT1=-70dB,QANT2=-90dB,QANT3=-60dB,且第一门限Qthreshold为-75dB。Fig. 5 is the flowchart schematic diagram of comparison switching in the antenna switching method of the present invention, as shown in Fig. 5, is example with four antennas, wherein the signal reception quality of each antenna is respectively: Q ANT0 =-80dB, Q ANT1 =-70dB, Q ANT2 =-90dB, Q ANT3 =-60dB, and the first threshold Q threshold is -75dB.
首先,初始ANT2信号接收质量小于第一门限,进入比较阶段。First, the receiving quality of the initial ANT2 signal is less than the first threshold, and enters the comparison stage.
在比较阶段,首先进行左右旋比较,比较QANT2和QANT0,通过天线采样测量,切换到ANT0,但是QANT0小于Qthreshold,继续比较。In the comparison stage, firstly perform left-right rotation comparison, compare Q ANT2 and Q ANT0 , switch to ANT0 through antenna sampling measurement, but Q ANT0 is smaller than Q threshold , and continue the comparison.
接着,将QANT0和QANT1进行比较,切换到ANT1,此时QANT1大于Qthreshold,则退出比较阶段,提前进入冻结阶段,工作在ANT1上。Next, compare Q ANT0 and Q ANT1 , switch to ANT1, and at this time, Q ANT1 is greater than Q threshold , then exit the comparison phase, enter the freezing phase in advance, and work on ANT1.
显然,上述方法可以实现在确保找到可用天线的前提下,提前退出比较阶段,缩短比较时间,进而缩短了天线选择的时间,可快速找到可用的天线。Apparently, the above method can exit the comparison stage in advance under the premise of ensuring that an available antenna can be found, shortening the comparison time, thereby shortening the antenna selection time, and quickly finding an available antenna.
需要说明的是,多天线装置可根据不同业务类别的需求选择采用两种比较阶段中确定出目标天线的方法,当某类业务对时间要求高,需要快速找到可用天线,对天线的性能要求不是很高,则采用提前退出比较阶段的方法,当某类业务对天线的性能要求很高,则采用一般的比较方法,即确定出所有天线中性能最好的天线作为目标天线。It should be noted that the multi-antenna device can choose to use two methods of determining the target antenna in the comparison stage according to the requirements of different service categories. When a certain type of service has high time requirements and needs to quickly find an available antenna, the performance requirements of the antenna are not If it is very high, adopt the method of exiting the comparison stage ahead of time. When a certain type of service requires very high antenna performance, use the general comparison method, that is, determine the antenna with the best performance among all antennas as the target antenna.
本发明实施例还提供一种天线切换方法及接收装置、终端,用于解决现有的天线切换方法中,冻结阶段的天线工作时间是固定设置的,无论天线信号接收质量的好坏都是不变的,因此当所有天线信号接收质量都小于评估阶段的门限(简称评估门限)时,就会重复不停地进入比较阶段,造成天线频繁比较切换,稳定性较差。本发明实施例通过判定在比较阶段比较出的信号接收质量最好的天线的信号接收质量还是小于该评估门限时,天线工作时间延长,工作在比较阶段比较出的信号接收质量最好的天线上的时间延长,天线工作时间结束后再继续进入评估阶段,这样就减少了天线比较的次数,提高了天线的稳定性。下面结合附图详细说明。The embodiment of the present invention also provides an antenna switching method, a receiving device, and a terminal, which are used to solve the problem that in the existing antenna switching method, the working time of the antenna in the freezing stage is fixed, and it does not matter whether the quality of the antenna signal reception is good or bad. Therefore, when the receiving quality of all antenna signals is less than the threshold of the evaluation stage (referred to as the evaluation threshold), it will repeatedly enter the comparison stage, resulting in frequent antenna comparison switching and poor stability. In the embodiment of the present invention, by judging that the signal reception quality of the antenna with the best signal reception quality compared in the comparison stage is still lower than the evaluation threshold, the working time of the antenna is extended, and the antenna works on the antenna with the best signal reception quality compared in the comparison stage. The time of the antenna is extended, and the antenna will continue to enter the evaluation stage after the working time of the antenna is over, which reduces the number of antenna comparisons and improves the stability of the antenna. Describe in detail below in conjunction with accompanying drawing.
图6为本发明天线切换方法实施例二的流程图,本实施例的方法应用于多天线装置,多天线装置包括接收机,第一天线以及至少一个第二天线,接收机当前耦合至第一天线,并通过第一天线接收无线信号,如图6所示,本实施例的方法可以包括:6 is a flow chart of Embodiment 2 of the antenna switching method of the present invention. The method of this embodiment is applied to a multi-antenna device. The multi-antenna device includes a receiver, a first antenna, and at least one second antenna. The receiver is currently coupled to the first antenna, and receive a wireless signal through the first antenna, as shown in Figure 6, the method of this embodiment may include:
S1、测量第一天线的信号接收质量。S1. Measure the signal reception quality of the first antenna.
S2、在确定第一天线的信号接收质量小于预设的第一门限的情况下,从至少一个第二天线中确定出目标天线,目标天线的信号接收质量为至少一个第二天线中信号接收质量最大的天线。S2. When it is determined that the signal reception quality of the first antenna is less than the preset first threshold, determine the target antenna from at least one second antenna, and the signal reception quality of the target antenna is the signal reception quality of at least one second antenna largest antenna.
具体来说,在评估阶段对当前工作的第一天线做评估,确定第一天线的信号接收质量小于第一门限时,进入比较阶段,在比较阶段依次比较多天线装置的所有天线的信号接收质量,确定出所有天线中信号接收质量最大的天线为目标天线,其中的第一门限是评估阶段设置的门限,可根据现有技术中的值设置。Specifically, in the evaluation stage, the first antenna currently working is evaluated, and when it is determined that the signal reception quality of the first antenna is less than the first threshold, the comparison stage is entered, and the signal reception quality of all antennas of the multi-antenna device is compared sequentially in the comparison stage , the antenna with the highest signal reception quality among all the antennas is determined as the target antenna, and the first threshold is the threshold set in the evaluation stage, which can be set according to the value in the prior art.
其中,从至少一个第二天线中确定出目标天线,具体可以为:依次比较多天线装置的第一天线与至少一个第二天线的信号接收质量,确定出所有天线中信号接收质量最大的天线为目标天线。以多天线装置有四根天线为例,依次比较四根天线的信号接收质量,确定出四根天线中信号接收质量最大的天线,将该天线作为目标天线。具体如何获得每根天线的信号接收质量,可以是通过天线切换,切换到某一根天线上时,由处理器对切换到的天线进行采样测量,获取该天线的信号接收质量。Wherein, determining the target antenna from at least one second antenna may be specifically: comparing the signal reception quality of the first antenna of the multi-antenna device and at least one second antenna in turn, and determining the antenna with the highest signal reception quality among all antennas is target antenna. Taking the multi-antenna device with four antennas as an example, the signal reception quality of the four antennas is compared in turn, and the antenna with the highest signal reception quality among the four antennas is determined, and this antenna is used as the target antenna. Specifically, how to obtain the signal reception quality of each antenna may be through antenna switching. When switching to a certain antenna, the processor samples and measures the switched antenna to obtain the signal reception quality of the antenna.
S3、将接收机当前耦合的第一天线切换到目标天线。S3. Switch the first antenna currently coupled to the receiver to the target antenna.
S4、判断目标天线的信号接收质量是否小于第一门限。S4. Determine whether the signal reception quality of the target antenna is less than a first threshold.
若是,即目标天线的信号接收质量小于第一门限,则在第一时间结束后,重新确定目标天线的信号接收质量与第一门限的关系(返回执行S2),即就是再次进入评估阶段,继续执行上述操作,第一时间大于第二时间。If so, that is, the signal reception quality of the target antenna is less than the first threshold, then after the end of the first time, re-determine the relationship between the signal reception quality of the target antenna and the first threshold (return to execute S2), that is, enter the evaluation stage again, continue Executing the above operations, the first time is greater than the second time.
其中,第二时间为预设的天线工作时间,当目标天线的信号接收质量还是小于第一门限,也就是说所有天线的信号接收质量均不好时,则按照第一时间工作在目标天线上,第一时间结束后再继续进入评估阶段。即就是在循环执行评估阶段-比较阶段-冻结阶段的过程中,若满足第二时间延长的条件,则按照延长的天线工作时间工作在所切换的天线上,这样就减少了天线比较的次数,提高了天线的稳定性。Wherein, the second time is the preset antenna working time, when the signal reception quality of the target antenna is still lower than the first threshold, that is to say, when the signal reception quality of all antennas is not good, then work on the target antenna according to the first time , continue to enter the evaluation stage after the end of the first time. That is, in the process of cyclically executing the evaluation stage-comparison stage-freeze stage, if the second time extension condition is satisfied, the antenna will be switched according to the extended antenna working time, thus reducing the number of antenna comparisons, Improved antenna stability.
若目标天线的信号接收质量大于或等于第一门限,则在第二时间结束后,重新确定目标天线的信号接收质量与第一门限的关系(返回执行S2),即就是再次进入评估阶段,继续执行上述操作。也就是说,判断出并非所有的天线信号接收质量均不好时,按照预设的第二时间工作。If the signal reception quality of the target antenna is greater than or equal to the first threshold, then after the second time ends, re-determine the relationship between the signal reception quality of the target antenna and the first threshold (return to execute S2), that is, enter the evaluation stage again, continue Do the above. That is to say, when it is judged that not all antennas have poor signal reception quality, work according to the preset second time.
进一步地,作为一种可实施的方式,预先设置的第一时间等于自适应系数A乘以第二时间,其中1≤A≤Amax,A与循环次数成正比,Amax为预设值。例如,A按照循环次数逐级加1,第一轮A为1,第二轮A为2,第三轮A为3……,又如,A按照循环次数逐级加0.5,第一轮A为1,第二轮A为1.5,第三轮A为2……,还可以是别的方式逐级增加,具体可按照实际的应用场景进行设置,当然,逐级增加后的A的值也不能太大,需满足不大于Amax,Amax为根据实际场景或经验值做出的预设值。Further, as an implementable manner, the preset first time is equal to the adaptive coefficient A multiplied by the second time, where 1≤A≤Amax, A is proportional to the number of cycles, and Amax is a preset value. For example, A increases by 1 step by step according to the number of cycles, the first round of A is 1, the second round of A is 2, the third round of A is 3..., and for another example, A is incremented by 0.5 according to the number of cycles, the first round of A is is 1, the second round A is 1.5, the third round A is 2..., and it can also be increased step by step in other ways, which can be set according to the actual application scenario. Of course, the value of A after the step-by-step increase is also It should not be too large, and must not be greater than Amax. Amax is a preset value based on actual scenarios or empirical values.
本实施例提供的天线切换方法,通过确定在比较阶段比较出的信号接收质量最好的目标天线的信号接收质量还是小于第一门限时,则按照第一时间工作在第一天线上,第一时间结束后再继续进入评估阶段,第一时间大于第二时间,第二时间为预设的天线工作时间,即在循环执行评估阶段-比较阶段-冻结阶段的过程中,若满足预设的天线工作时间延长的条件,则按照延长后的第一时间工作在所切换的天线上,当所有天线的信号接收质量都小于第一门限时,这样就减少了天线比较的次数,提高了天线的稳定性。The antenna switching method provided in this embodiment works on the first antenna according to the first time by determining that the signal reception quality of the target antenna with the best signal reception quality compared in the comparison stage is still lower than the first threshold. Continue to enter the evaluation stage after the time is over. The first time is greater than the second time. The second time is the preset antenna working time. If the working time is extended, it will work on the switched antenna according to the first time after the extension. When the signal reception quality of all antennas is less than the first threshold, this reduces the number of antenna comparisons and improves the stability of the antenna. sex.
下面采用一个具体的实施例,详细说明本发明天线切换方法中预先设置的第一时间等于自适应系数A乘以第二时间,其中1≤A≤Amax,A与循环次数成正比,Amax为预设值时的详细过程。以Amax=3为例,图7为本发明天线切换方法实施例二的流程图,如图7所示,本实施例的方法包括:A specific embodiment is used below to describe in detail that the preset first time in the antenna switching method of the present invention is equal to the adaptive coefficient A multiplied by the second time, where 1≤A≤Amax, A is proportional to the number of cycles, and Amax is the preset The detailed process when setting the value. Taking Amax=3 as an example, FIG. 7 is a flow chart of Embodiment 2 of the antenna switching method of the present invention. As shown in FIG. 7, the method of this embodiment includes:
S31、在评估阶段确定当前工作的第一天线的信号接收质量小于第一门限。S31. In the evaluation phase, determine that the signal reception quality of the currently working first antenna is less than a first threshold.
S32、依次比较多天线装置的第一天线与至少一个第二天线的信号接收质量,确定出所有天线中信号接收质量最大的天线,作为目标天线,同时将接收机当前耦合的第一天线切换到目标天线上。S32. Comparing the signal reception quality of the first antenna of the multi-antenna device and at least one second antenna in turn, determining the antenna with the highest signal reception quality among all antennas as the target antenna, and simultaneously switching the first antenna currently coupled to the receiver to on the target antenna.
S33、判断目标天线的信号接收质量是否小于第一门限,是则执行S34,否则执行S35。S33 , judging whether the signal reception quality of the target antenna is lower than the first threshold, if yes, execute S34 , otherwise execute S35 .
S34、A++,A不大于3,第一时间=第二时间×A。S34, A++, A is not greater than 3, first time=second time×A.
S35、A=1,第一时间=第二时间×A。S35, A=1, first time=second time×A.
S36、在第一时间结束后,进入评估阶段,循环执行上述操作。S36. After the end of the first time period, enter the evaluation stage, and perform the above operations in a loop.
本实施例中,天线工作时间的延长是随着循环次数逐级增加的。相比较而言,自适应延长天线工作时间的效果更好。In this embodiment, the prolongation of the working time of the antenna increases step by step with the number of cycles. In comparison, the effect of adaptively extending the working time of the antenna is better.
图8为本发明接收装置实施例一的结构示意图,如图8所示,本实施例的接收装置可以包括:接收机11、处理器12和切换装置13,其中,接收机11当前通过切换装置13耦合至第一天线,并通过第一天线接收无线信号。处理器12用于:测量接收机11通过第一天线接收的无线信号的信号接收质量,并确定第一天线的信号接收质量是否小于预设的第一门限。处理器12还用于:在确定第一天线的信号接收质量小于预设的第一门限情况下,从至少一个第二天线中确定信号接收质量大于第一天线的信号接收质量的目标天线,目标天线为首次比较出的信号接收质量大于第一天线的信号接收质量的天线,并控制切换装置13将接收机当前耦合的第一天线切换到目标天线。FIG. 8 is a schematic structural diagram of Embodiment 1 of the receiving device of the present invention. As shown in FIG. 8, the receiving device of this embodiment may include: a receiver 11, a processor 12, and a switching device 13, wherein the receiver 11 currently passes through the switching device 13 is coupled to the first antenna, and receives wireless signals through the first antenna. The processor 12 is configured to: measure the signal reception quality of the wireless signal received by the receiver 11 through the first antenna, and determine whether the signal reception quality of the first antenna is smaller than a preset first threshold. The processor 12 is further configured to: determine the target antenna whose signal reception quality is greater than the signal reception quality of the first antenna from at least one second antenna when it is determined that the signal reception quality of the first antenna is lower than the preset first threshold, and the target antenna The antenna is the antenna whose signal receiving quality is greater than that of the first antenna compared for the first time, and the switching device 13 is controlled to switch the first antenna currently coupled to the receiver to the target antenna.
本实施例中的处理器12可以是由多个具有不同功能的处理器集成的,可以是如系统级芯片(System on Chip,简称SOC),或者是用于通信的通信处理器,基带处理器,调制解调器以及其它的数字信号处理器(DSP)或者现场可编辑门阵列(FPGA)电路。本实施例中的切换装置13可以是切换开关或者其它实现相应的切换功能的硬件,例如由MOS、CMOS组成的逻辑电路,切换装置13根据处理器12的指令进行不同天线之间的切换。The processor 12 in this embodiment may be integrated by a plurality of processors with different functions, such as a system-on-chip (System on Chip, referred to as SOC), or a communication processor for communication, a baseband processor , modem and other digital signal processor (DSP) or field programmable gate array (FPGA) circuit. The switching device 13 in this embodiment may be a switch or other hardware that implements corresponding switching functions, such as a logic circuit composed of MOS and CMOS. The switching device 13 switches between different antennas according to the instructions of the processor 12 .
较优地,目标天线的信号接收质量大于第一门限。也就是只要比较出可用的天线即可退出比较阶段,不用将所有的天线都比较完,因此可提前退出比较阶段,缩短比较时间,即缩短天线选择的时间。Preferably, the signal reception quality of the target antenna is greater than the first threshold. That is, as long as the available antennas are compared, the comparison stage can be exited, and it is not necessary to compare all the antennas. Therefore, the comparison stage can be exited in advance, and the comparison time can be shortened, that is, the antenna selection time can be shortened.
本发明实施例提供的接收装置,可以执行图3所示方法实施例,其实现原理类似,在此不再赘述。The receiving device provided by the embodiment of the present invention can execute the method embodiment shown in FIG. 3 , and its implementation principle is similar, so it will not be repeated here.
本实施例提供的接收装置,在比较阶段,只要确定出大于当前处于工作状态的天线的信号接收质量的天线,则退出比较阶段,进入冻结阶段工作在确定出的目标天线上,这样可提前退出比较阶段,缩短比较时间,进而缩短了天线选择的时间,可快速找到可用的天线。In the receiving device provided by this embodiment, in the comparison phase, as long as an antenna whose signal receiving quality is greater than that of the currently working antenna is determined, it exits the comparison phase and enters the freezing phase to work on the determined target antenna, so that it can exit in advance In the comparison stage, the comparison time is shortened, thereby shortening the antenna selection time, and the available antenna can be quickly found.
图9为本发明接收装置实施例二的结构示意图,如图9所示,本实施例的接收装置可以包括:接收机21、处理器22和切换装置23,其中,接收机21当前通过切换装置23耦合至第一天线,并通过第一天线接收无线信号。处理器22用于:测量接收机21通过第一天线接收的无线信号的信号接收质量,并确定第一天线的信号接收质量是否小于预设的第一门限。处理器22还用于:在确定第一天线的信号接收质量小于预设的第一门限情况下,从至少一个第二天线中确定出目标天线,目标天线为至少一个第二天线中信号接收质量最大的天线;并控制切换装置将接收机从第一天线切换到目标天线。处理器22还用于:判断出目标天线的信号接收质量小于第一门限时,则在第一时间结束后,重新确定目标天线的信号接收质量与第一门限的关系,第一时间大于第二时间,第二时间为预设的天线工作时间。FIG. 9 is a schematic structural diagram of Embodiment 2 of the receiving device of the present invention. As shown in FIG. 9, the receiving device of this embodiment may include: a receiver 21, a processor 22, and a switching device 23, wherein the receiver 21 currently passes through the switching device 23 is coupled to the first antenna, and receives wireless signals through the first antenna. The processor 22 is configured to: measure the signal reception quality of the wireless signal received by the receiver 21 through the first antenna, and determine whether the signal reception quality of the first antenna is less than a preset first threshold. The processor 22 is also configured to: determine the target antenna from at least one second antenna when it is determined that the signal reception quality of the first antenna is less than the preset first threshold, and the target antenna is the signal reception quality of the at least one second antenna the largest antenna; and controlling the switching means to switch the receiver from the first antenna to the target antenna. The processor 22 is also used for: when it is judged that the signal reception quality of the target antenna is less than the first threshold, then after the end of the first time, re-determine the relationship between the signal reception quality of the target antenna and the first threshold, and the first time is greater than the second threshold. time, the second time is the preset antenna working time.
即就是说,当目标天线的信号接收质量还是小于第一门限,也就是说所有天线的信号接收质量均不好时,则按照第一时间工作在目标天线上,第一时间结束后再继续进入评估阶段。在循环执行评估阶段-比较阶段-冻结阶段的过程中,若满足第二时间延长的条件,则按照延长的天线工作时间(即第一时间)工作在所切换的天线上,这样就减少了天线比较的次数,提高了天线的稳定性。That is to say, when the signal reception quality of the target antenna is still lower than the first threshold, that is to say, when the signal reception quality of all antennas is not good, work on the target antenna according to the first time, and continue to enter after the first time is over. evaluation stage. In the process of cyclically executing the evaluation phase-comparison phase-freeze phase, if the second time extension condition is satisfied, the antenna will be switched according to the extended antenna working time (i.e. the first time), thus reducing the number of antennas The number of comparisons improves the stability of the antenna.
若目标天线的信号接收质量大于或等于第一门限,则处理器22在第二时间结束后,重新确定目标天线的信号接收质量与第一门限的关系。即就是再次进入评估阶段,判断出并非所有的天线信号接收质量均不好时,按照预设的第二时间工作。If the signal reception quality of the target antenna is greater than or equal to the first threshold, the processor 22 re-determines the relationship between the signal reception quality of the target antenna and the first threshold after the second time elapses. That is, when entering the evaluation stage again and judging that not all the antenna signal reception quality is poor, work according to the preset second time.
进一步地,第一时间等于自适应系数A乘以第二时间,其中1≤A≤Amax,A与循环次数成正比,Amax为预设值。Further, the first time is equal to the adaptive coefficient A multiplied by the second time, where 1≤A≤Amax, A is proportional to the number of cycles, and Amax is a preset value.
本发明实施例提供的接收装置,可以执行图6所示方法实施例,其实现原理类似,在此不再赘述。The receiving device provided by the embodiment of the present invention can execute the method embodiment shown in FIG. 6 , and its implementation principle is similar, so details are not repeated here.
本实施例方式中的接收装置,通过确定在比较阶段比较出的信号接收质量最好的第二天线的信号接收质量还是小于第一门限时,则按照第一时间工作在第一天线上,第一时间结束后再继续进入评估阶段,第一时间大于第二时间,第二时间为预设的天线工作时间,即在循环执行评估阶段-比较阶段-冻结阶段的过程中,若满足预设的天线工作时间延长的条件,则按照延长后的第一时间工作在所切换的天线上,当所有天线的信号接收质量都小于第一门限时,这样就减少了天线比较的次数,提高了天线的稳定性。The receiving device in this embodiment, by determining that the signal reception quality of the second antenna with the best signal reception quality compared in the comparison stage is still lower than the first threshold, works on the first antenna according to the first time, and the second antenna Continue to enter the evaluation stage after the first time is over. The first time is greater than the second time, and the second time is the preset antenna working time. If the working time of the antenna is extended, it will work on the switched antenna at the first time after the extension. When the signal reception quality of all antennas is less than the first threshold, this reduces the number of antenna comparisons and improves the performance of the antenna. stability.
图10为本发明终端实施例一的结构示意图,如图10所示,本实施例的终端可以包括:第一天线1、至少一个第二天线2以及图8所示的接收装置或者图9所示的接收装置,图10中以图8所示的接收装置为例,接收装置接收机11、处理器12和切换装置13。本实施例的终端可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。FIG. 10 is a schematic structural diagram of Embodiment 1 of the terminal of the present invention. As shown in FIG. 10 , the terminal in this embodiment may include: a first antenna 1, at least one second antenna 2, and the receiving device shown in FIG. 8 or the receiving device shown in FIG. 9 The receiving device shown in FIG. 10 takes the receiving device shown in FIG. 8 as an example, the receiving device receiver 11, processor 12 and switching device 13. The terminal in this embodiment can execute the foregoing method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本发明实施例的技术方案,而非对其限制;尽管参照前述各实施例对本发明实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, not to limit them; although the embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art It should be understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the embodiments of the present invention. The scope of the technical solutions of each embodiment.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610519377.7A CN105978601A (en) | 2016-07-04 | 2016-07-04 | Antenna switching method, receiving device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610519377.7A CN105978601A (en) | 2016-07-04 | 2016-07-04 | Antenna switching method, receiving device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105978601A true CN105978601A (en) | 2016-09-28 |
Family
ID=56953656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610519377.7A Pending CN105978601A (en) | 2016-07-04 | 2016-07-04 | Antenna switching method, receiving device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105978601A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106452550A (en) * | 2016-10-14 | 2017-02-22 | 珠海市魅族科技有限公司 | Antenna switching method and apparatus |
CN107318152A (en) * | 2017-06-02 | 2017-11-03 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal and its double antenna control method and storage medium |
CN107743175A (en) * | 2017-10-31 | 2018-02-27 | 广东欧珀移动通信有限公司 | Terminal, antenna component, device with storage function, and antenna switching method |
CN108039897A (en) * | 2018-02-08 | 2018-05-15 | 广东欧珀移动通信有限公司 | Antenna switching method, device, storage medium and electronic equipment |
CN109120324A (en) * | 2018-11-01 | 2019-01-01 | 联想(北京)有限公司 | Electronic equipment and method of controlling antenna |
WO2019072175A1 (en) * | 2017-10-12 | 2019-04-18 | 华为技术有限公司 | Method and device for switching antennas |
WO2019120273A1 (en) * | 2017-12-22 | 2019-06-27 | 中兴通讯股份有限公司 | Mobile terminal and antenna switching method |
CN110544834A (en) * | 2018-05-28 | 2019-12-06 | 华硕电脑股份有限公司 | Antenna system and its reset method |
CN110828975A (en) * | 2018-08-07 | 2020-02-21 | 北京小米移动软件有限公司 | Electronic device |
CN110959259A (en) * | 2017-06-14 | 2020-04-03 | 索尼公司 | Adaptive antenna configuration |
CN112984944A (en) * | 2019-12-18 | 2021-06-18 | 佛山市云米电器科技有限公司 | Refrigerator with antenna function and antenna control method |
CN113242075A (en) * | 2021-06-16 | 2021-08-10 | 中国人民解放军91388部队 | Microwave transmission method and device, electronic equipment and storage medium |
WO2021217336A1 (en) * | 2020-04-27 | 2021-11-04 | 深圳市大疆创新科技有限公司 | Antenna switching method for unmanned aerial vehicle, control terminal, and unmanned aerial vehicle |
CN114389625A (en) * | 2020-10-19 | 2022-04-22 | 华为技术有限公司 | Transmission system, transmission signal switching method, medium, and user equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1658531A (en) * | 2004-02-16 | 2005-08-24 | 三菱电机株式会社 | Antenna switching device |
CN103248410A (en) * | 2012-02-03 | 2013-08-14 | 瑞昱半导体股份有限公司 | Wireless communication circuit supporting antenna diversity mechanism |
US20130307727A1 (en) * | 2012-05-21 | 2013-11-21 | Qualcomm Incorporated | Devices, methods, and systems for antenna switching based on look-back |
CN103607362A (en) * | 2013-11-27 | 2014-02-26 | 上海电机学院 | Method for eliminating multifrequency deviation under high-speed mobile environment through multiple antennas |
-
2016
- 2016-07-04 CN CN201610519377.7A patent/CN105978601A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1658531A (en) * | 2004-02-16 | 2005-08-24 | 三菱电机株式会社 | Antenna switching device |
CN103248410A (en) * | 2012-02-03 | 2013-08-14 | 瑞昱半导体股份有限公司 | Wireless communication circuit supporting antenna diversity mechanism |
US20130307727A1 (en) * | 2012-05-21 | 2013-11-21 | Qualcomm Incorporated | Devices, methods, and systems for antenna switching based on look-back |
CN103607362A (en) * | 2013-11-27 | 2014-02-26 | 上海电机学院 | Method for eliminating multifrequency deviation under high-speed mobile environment through multiple antennas |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106452550A (en) * | 2016-10-14 | 2017-02-22 | 珠海市魅族科技有限公司 | Antenna switching method and apparatus |
CN107318152A (en) * | 2017-06-02 | 2017-11-03 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal and its double antenna control method and storage medium |
US11134395B2 (en) | 2017-06-14 | 2021-09-28 | Sony Group Corporation | Adaptive antenna configuration |
CN110959259A (en) * | 2017-06-14 | 2020-04-03 | 索尼公司 | Adaptive antenna configuration |
WO2019072175A1 (en) * | 2017-10-12 | 2019-04-18 | 华为技术有限公司 | Method and device for switching antennas |
CN109660276B (en) * | 2017-10-12 | 2020-11-17 | 华为技术有限公司 | Antenna switching method and device |
CN109660276A (en) * | 2017-10-12 | 2019-04-19 | 华为技术有限公司 | A kind of antenna switching method and equipment |
CN107743175A (en) * | 2017-10-31 | 2018-02-27 | 广东欧珀移动通信有限公司 | Terminal, antenna component, device with storage function, and antenna switching method |
CN107743175B (en) * | 2017-10-31 | 2021-02-09 | Oppo广东移动通信有限公司 | Terminal, antenna assembly, device with storage function and antenna switching method |
WO2019120273A1 (en) * | 2017-12-22 | 2019-06-27 | 中兴通讯股份有限公司 | Mobile terminal and antenna switching method |
CN108039897A (en) * | 2018-02-08 | 2018-05-15 | 广东欧珀移动通信有限公司 | Antenna switching method, device, storage medium and electronic equipment |
CN110544834A (en) * | 2018-05-28 | 2019-12-06 | 华硕电脑股份有限公司 | Antenna system and its reset method |
CN110544834B (en) * | 2018-05-28 | 2021-05-07 | 华硕电脑股份有限公司 | Antenna system and restarting method thereof |
CN110828975A (en) * | 2018-08-07 | 2020-02-21 | 北京小米移动软件有限公司 | Electronic device |
CN110828975B (en) * | 2018-08-07 | 2021-09-07 | 北京小米移动软件有限公司 | Electronic device |
CN109120324A (en) * | 2018-11-01 | 2019-01-01 | 联想(北京)有限公司 | Electronic equipment and method of controlling antenna |
CN112984944A (en) * | 2019-12-18 | 2021-06-18 | 佛山市云米电器科技有限公司 | Refrigerator with antenna function and antenna control method |
WO2021217336A1 (en) * | 2020-04-27 | 2021-11-04 | 深圳市大疆创新科技有限公司 | Antenna switching method for unmanned aerial vehicle, control terminal, and unmanned aerial vehicle |
CN114389625A (en) * | 2020-10-19 | 2022-04-22 | 华为技术有限公司 | Transmission system, transmission signal switching method, medium, and user equipment |
CN113242075A (en) * | 2021-06-16 | 2021-08-10 | 中国人民解放军91388部队 | Microwave transmission method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105978601A (en) | Antenna switching method, receiving device and terminal | |
CN107528606B (en) | Antenna switching method and device and mobile terminal | |
US9356672B2 (en) | Apparatus and methods for adaptive antenna diversity in a multi-antenna system | |
CN102647767B (en) | Method, device and terminal device for reselecting and measuring cell | |
WO2016179804A1 (en) | Methods and devices for beam selection | |
US20140011499A1 (en) | Multimode Handover Method and Multimode Terminal | |
ES2700287T3 (en) | Mobile communication terminal and signal transmission procedure of a mobile communication terminal | |
CN110692206A (en) | Performance based antenna selection for user equipment | |
JP2016530824A5 (en) | ||
CN107534475A (en) | A kind of method and wireless communication terminal of the transmission power of control wireless communication terminal | |
CN104753579A (en) | Signal receiving method and signal receiving system of mobile terminal | |
US20130095820A1 (en) | Wireless communication terminal and control method for the same | |
US20140342770A1 (en) | Method for selecting an antenna set and wireless communication device utilizing the same | |
CN111464222B (en) | Method, apparatus, device and computer readable storage medium for receiving transmission signal | |
CN104041116A (en) | Method and device for implementing cell reselection | |
WO2022100274A1 (en) | Method and apparatus for determining working mode of terminal antenna, and terminal and storage medium | |
CN112970207A (en) | Method and device for controlling receiving antenna | |
KR100910911B1 (en) | Wireless communication destination selection method and device | |
CN203326990U (en) | Wireless communication device | |
US20240421839A1 (en) | Digital pre-distortion calibration of a radio frequency power amplifier | |
US11139874B2 (en) | Controlling method and communication device for adjusting the state of a plurality of antennas | |
JP4888312B2 (en) | Wireless LAN terminal and wireless control method | |
CN109327855B (en) | A kind of multimode terminal measurement cell selection method | |
CN106792882A (en) | Network estimation method and device | |
KR20130004668A (en) | Mobile communication terminal and operating method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160928 |
|
RJ01 | Rejection of invention patent application after publication |