[go: up one dir, main page]

CN110166077B - Performance optimization method, apparatus, computer storage medium and terminal device - Google Patents

Performance optimization method, apparatus, computer storage medium and terminal device Download PDF

Info

Publication number
CN110166077B
CN110166077B CN201910439337.5A CN201910439337A CN110166077B CN 110166077 B CN110166077 B CN 110166077B CN 201910439337 A CN201910439337 A CN 201910439337A CN 110166077 B CN110166077 B CN 110166077B
Authority
CN
China
Prior art keywords
working mode
switch
connection state
terminal
mode
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.)
Active
Application number
CN201910439337.5A
Other languages
Chinese (zh)
Other versions
CN110166077A (en
Inventor
张洲川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910439337.5A priority Critical patent/CN110166077B/en
Publication of CN110166077A publication Critical patent/CN110166077A/en
Application granted granted Critical
Publication of CN110166077B publication Critical patent/CN110166077B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details 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/38Transceivers, 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/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transceivers (AREA)

Abstract

The embodiment of the application discloses a performance optimization method, a performance optimization device, a computer storage medium and terminal equipment, wherein the method comprises the following steps: determining the working mode of the terminal equipment; the working modes comprise a first working mode and a second working mode, wherein the first working mode is that the terminal equipment is in a global system for mobile communications (GSM) mode, and the second working mode is that the terminal equipment is in other modes except the GSM mode; controlling the selector switch to be in a corresponding connection state according to the determined working mode; the first working mode corresponds to a first connection state of the change-over switch, and the second working mode corresponds to a second connection state of the change-over switch; and when the working mode is a first working mode, carrying out grounding treatment through the first connection state of the selector switch, and optimizing the radio frequency performance of the terminal equipment.

Description

性能优化方法、装置以及计算机存储介质和终端设备Performance optimization method, apparatus, computer storage medium and terminal device

技术领域technical field

本申请涉及通信技术领域,尤其涉及一种性能优化方法、装置以及计算机存储介质和终端设备。The present application relates to the field of communication technologies, and in particular, to a performance optimization method and apparatus, as well as a computer storage medium and a terminal device.

背景技术Background technique

随着通信技术的日益发展,全球移动通信系统(Global System for MobileCommunication,GSM)俗称“全球通”,是目前应用最为成熟、网络覆盖面最广的移动通信标准。当GSM进行功率发射时,由于其发射功率会通过耦合链路形成功率泄露,从而导致无线电频谱输出(Output Radio Frequency Spectrum,ORFS)射频指标的性能较差,临近第三代合作计划(3rd Generation Partnership Project,3GPP)标准。With the increasing development of communication technology, the Global System for Mobile Communication (GSM), commonly known as "GSM", is a mobile communication standard with the most mature application and widest network coverage at present. When GSM transmits power, its transmit power will form power leakage through the coupling link, resulting in poor performance of Radio Frequency Spectrum (ORFS) radio frequency indicators, which is close to the 3rd Generation Partnership (3rd Generation Partnership) Project, 3GPP) standard.

现有的解决方案是在耦合链路上增加衰减网络,以减小GSM的功率泄露,从而改善了ORFS射频指标的性能。然而该解决方案存在很大的局限性:一方面,当衰减网络较大时,会影响耦合链路中的反馈接收机(Feedback Receiver,FBRX)的检测精度,导致功率控制出现异常;另一方面,该解决方案只能相对改善ORFS射频指标的性能,干扰依然存在,这样随着发射功率的增加,ORFS射频指标仍然会存在性能失败(fail)的风险。The existing solution is to increase the attenuation network on the coupling link to reduce the power leakage of GSM, thereby improving the performance of the ORFS radio frequency index. However, this solution has great limitations: on the one hand, when the attenuation network is large, it will affect the detection accuracy of the Feedback Receiver (FBRX) in the coupled link, resulting in abnormal power control; on the other hand , this solution can only relatively improve the performance of the ORFS radio frequency index, and the interference still exists, so as the transmit power increases, the ORFS radio frequency index still has the risk of performance failure (fail).

发明内容SUMMARY OF THE INVENTION

本申请的主要目的在于提出一种性能优化方法、装置以及计算机存储介质和终端设备,不仅可以保证FBRX的检测精度,避免了功率控制出现异常的问题;而且还可以改善GSM的ORFS射频性能,使其完全满足企业标准,同时还降低了该性能fail的风险。The main purpose of this application is to propose a performance optimization method, device, computer storage medium and terminal equipment, which can not only ensure the detection accuracy of FBRX and avoid the problem of abnormal power control, but also improve the ORFS radio frequency performance of GSM, so that the It fully meets enterprise standards while also reducing the risk of this performance fail.

为达到上述目的,本申请的技术方案是这样实现的:In order to achieve the above-mentioned purpose, the technical scheme of the present application is achieved in this way:

第一方面,本申请实施例提供了一种性能优化方法,所述方法包括:In a first aspect, an embodiment of the present application provides a performance optimization method, the method includes:

确定终端设备的工作模式;其中,所述工作模式包括第一工作模式和第二工作模式,所述第一工作模式为所述终端设备处于GSM模式,所述第二工作模式为所述终端设备处于除GSM模式之外的其他模式;Determine the working mode of the terminal device; wherein, the working mode includes a first working mode and a second working mode, the first working mode is that the terminal device is in GSM mode, and the second working mode is that the terminal device is in the GSM mode in a mode other than the GSM mode;

根据确定的工作模式,控制切换开关处于对应的连接状态;其中,所述第一工作模式对应所述切换开关的第一连接状态,所述第二工作模式对应所述切换开关的第二连接状态;According to the determined working mode, the switch is controlled to be in a corresponding connection state; wherein, the first working mode corresponds to the first connection state of the switch, and the second working mode corresponds to the second connection state of the switch ;

当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化。When the working mode is the first working mode, grounding processing is performed through the first connection state of the switch to optimize the radio frequency performance of the terminal device.

第二方面,本申请实施例提供了一种性能优化装置,其特征在于,所述性能优化装置包括确定单元、控制单元和优化单元,其中,In a second aspect, an embodiment of the present application provides a performance optimization device, characterized in that the performance optimization device includes a determination unit, a control unit, and an optimization unit, wherein,

所述确定单元,配置为确定终端设备的工作模式;其中,所述工作模式包括第一工作模式和第二工作模式,所述第一工作模式为所述终端设备处于全球移动通信系统GSM模式,所述第二工作模式为所述终端设备处于除GSM模式之外的其他模式;The determining unit is configured to determine a working mode of the terminal device; wherein, the working mode includes a first working mode and a second working mode, and the first working mode is that the terminal device is in the Global System for Mobile Communications GSM mode, The second working mode is that the terminal device is in a mode other than the GSM mode;

所述控制单元,配置为根据确定的工作模式,控制切换开关处于对应的连接状态;其中,所述第一工作模式对应所述切换开关的第一连接状态,所述第二工作模式对应所述切换开关的第二连接状态;The control unit is configured to control the switch to be in a corresponding connection state according to the determined operation mode; wherein the first operation mode corresponds to the first connection state of the switch, and the second operation mode corresponds to the the second connection state of the switch;

所述优化单元,配置为当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化。The optimizing unit is configured to perform grounding processing through the first connection state of the switch when the working mode is the first working mode, so as to optimize the radio frequency performance of the terminal device.

第三方面,本申请实施例提供了一种性能优化装置,所述性能优化装置包括:存储器和处理器;其中,In a third aspect, an embodiment of the present application provides a performance optimization apparatus, where the performance optimization apparatus includes: a memory and a processor; wherein,

所述存储器,用于存储能够在所述处理器上运行的计算机程序;the memory for storing a computer program executable on the processor;

所述处理器,用于在运行所述计算机程序时,执行如第一方面所述的方法的步骤。The processor is configured to execute the steps of the method according to the first aspect when running the computer program.

第四方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质存储有性能优化程序,所述性能优化程序被至少一个处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a performance optimization program, and when the performance optimization program is executed by at least one processor, implements the steps of the method according to the first aspect .

第五方面,本申请实施例提供了一种终端设备,所述终端设备至少包括如第二方面或第三方面所述的性能优化装置。In a fifth aspect, an embodiment of the present application provides a terminal device, where the terminal device at least includes the performance optimization apparatus described in the second aspect or the third aspect.

本申请实施例所提供的一种性能优化方法、装置以及计算机存储介质和终端设备,该方法应用于性能优化装置,该性能优化装置位于终端设备内。首先确定终端设备的工作模式;其中,所述工作模式包括第一工作模式和第二工作模式,所述第一工作模式为所述终端设备处于GSM模式,所述第二工作模式为所述终端设备处于除GSM模式之外的其他模式;再根据确定的工作模式,控制切换开关处于对应的连接状态;其中,所述第一工作模式对应所述切换开关的第一连接状态,所述第二工作模式对应所述切换开关的第二连接状态;最后当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化;这样,与现有的解决方案相比,通过在耦合链路上增加了切换开关,不仅可以保证FBRX的检测精度,避免了功率控制出现异常的问题;而且还可以改善GSM的ORFS射频性能,使其完全满足企业标准,同时降低了该性能fail的风险。A performance optimization method and apparatus, a computer storage medium, and a terminal device provided by the embodiments of the present application are applied to a performance optimization apparatus, and the performance optimization apparatus is located in the terminal device. First determine the working mode of the terminal device; wherein, the working mode includes a first working mode and a second working mode, the first working mode is that the terminal device is in GSM mode, and the second working mode is that the terminal is in the GSM mode The device is in a mode other than the GSM mode; then, according to the determined working mode, the switch is controlled to be in a corresponding connection state; wherein, the first working mode corresponds to the first connection state of the switch, and the second The working mode corresponds to the second connection state of the switch; finally, when the working mode is the first working mode, grounding processing is performed through the first connection state of the switch to optimize the radio frequency performance of the terminal device ; In this way, compared with the existing solution, by adding a switch on the coupling link, it can not only ensure the detection accuracy of FBRX, and avoid the problem of abnormal power control; but also can improve the ORFS radio frequency performance of GSM, Make it fully compliant with enterprise standards while reducing the risk of that performance fail.

附图说明Description of drawings

图1为本申请实施例提供的一种传统型射频电路的组成结构示意图;1 is a schematic diagram of the composition and structure of a conventional radio frequency circuit provided by an embodiment of the present application;

图2为本申请实施例提供的另一种传统型射频电路的组成结构示意图;2 is a schematic diagram of the composition and structure of another conventional radio frequency circuit provided by an embodiment of the present application;

图3为本申请实施例提供的一种性能优化方法的流程示意图;3 is a schematic flowchart of a performance optimization method provided by an embodiment of the present application;

图4为本申请实施例提供的一种改进型射频电路的组成结构示意图;4 is a schematic diagram of the composition and structure of an improved radio frequency circuit provided by an embodiment of the present application;

图5为本申请实施例提供的另一种改进型射频电路的组成结构示意图;5 is a schematic diagram of the composition and structure of another improved radio frequency circuit provided by an embodiment of the present application;

图6A为本申请实施例提供的一种GSM850频段测试的射频性能曲线对比示意图;6A is a schematic diagram comparing radio frequency performance curves of a GSM850 frequency band test provided by an embodiment of the application;

图6B为本申请实施例提供的一种PCS1900频段测试的射频性能曲线对比示意图;6B is a schematic diagram comparing radio frequency performance curves of a PCS1900 frequency band test provided by an embodiment of the application;

图7为本申请实施例提供的一种性能优化装置的组成结构示意图;FIG. 7 is a schematic diagram of the composition and structure of a performance optimization device provided by an embodiment of the present application;

图8为本申请实施例提供的一种性能优化装置的具体硬件结构示意图;8 is a schematic diagram of a specific hardware structure of a performance optimization apparatus provided by an embodiment of the present application;

图9为本申请实施例提供的一种终端设备的组成结构示意图。FIG. 9 is a schematic diagram of the composition and structure of a terminal device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

随着GSM通信技术的不断发展,GSM网络大规模建设日趋成熟。GSM网络可以配置有GSM850、GSM900、DCS1800和PCS1900等四个频段,简称为“GSM四频”。在GSM网络中,可以通过ORFS来衡量射频指标的性能;其中,ORFS又可以分为GSM调制频谱(Spectrum due toModulation)和开关频谱(Spectrum due to Switching)。这里,GSM调制频谱是指数字比特信息经调制后在临近频带上所产生的频谱,主要是防止带外频谱辐射,避免引起相邻频道的干扰;开关频谱是指由于功率切换而在标称载频的临近频带上产生的射频频谱,即由于调制突发的上升和下降沿而产生的在其标称载频的不同偏品处(主要是在相邻频道)的射频功率,主要目的是防止频段切换时的开关脉冲对相邻频道产生干扰。With the continuous development of GSM communication technology, the large-scale construction of GSM network is becoming more and more mature. The GSM network can be configured with four frequency bands, GSM850, GSM900, DCS1800 and PCS1900, referred to as "GSM quad-band". In a GSM network, the performance of radio frequency indicators can be measured by ORFS; wherein, ORFS can be further divided into GSM modulation spectrum (Spectrum due to Modulation) and switching spectrum (Spectrum due to Switching). Here, the GSM modulation spectrum refers to the spectrum generated in the adjacent frequency band after the digital bit information is modulated, mainly to prevent out-of-band spectrum radiation and avoid the interference of adjacent channels; The radio frequency spectrum generated on the adjacent frequency band of the frequency, that is, the radio frequency power at different offsets of its nominal carrier frequency (mainly in adjacent channels) due to the rising and falling edges of the modulation burst, the main purpose is to prevent The switching pulses during frequency band switching cause interference to adjacent channels.

参见图1,其示出了本申请实施例提供的一种传统型射频电路的组成结构示意图。如图1所示,传统型射频电路10可以包括无线收发器(Wireless Transceiver,WTR)110、功率放大器(Power Amplifier,PA)120、滤波器(filter)130、天线开关模组(Antenna SwitchModule,ASM)140、耦合器(couple)150和天线(Antenna,ANT)160;其中,无线收发器110可以包括有反馈接收机(Feedback Receiver,FBRX)1101、晶体振荡器(Crystal Oscillator,XO)1102和数模转换(Digital to Analog,DA)1103。这样,当GSM网络工作时,无线收发器110通过DA端口输出GSM的发射信号,该发射信号通过功率放大器120进行功率放大,以得到该发射信号的发射功率,然后再依次经过滤波器130和天线开关模组140到达耦合器150,最后该发射信号按照所得到的发射功率由天线160向外发射,以此形成发射链路。在该过程中,由于发射功率在耦合器150处会存在功率泄露,所泄露的功率会沿着耦合链路泄露到FBRX端口,然后在无线收发器110内部由FBRX再继续泄露到XO和DA,从而导致ORFS射频指标的性能出现异常。例如,以某厂商MSM8953+MTR2965平台为例,当GSM进行最大功率发射时,其ORFS射频指标的性能很差,临界3GPP标准,而且出现异常的频点正好位于XO 19.2MHz的倍频上。Referring to FIG. 1 , it shows a schematic structural diagram of a conventional radio frequency circuit provided by an embodiment of the present application. As shown in FIG. 1 , the conventional radio frequency circuit 10 may include a wireless transceiver (WTR) 110 , a power amplifier (PA) 120 , a filter (filter) 130 , and an antenna switch module (ASM). ) 140, a coupler (couple) 150 and an antenna (Antenna, ANT) 160; wherein, the wireless transceiver 110 may include a feedback receiver (Feedback Receiver, FBRX) 1101, a crystal oscillator (Crystal Oscillator, XO) 1102 and a digital Analog conversion (Digital to Analog, DA) 1103. In this way, when the GSM network is working, the wireless transceiver 110 outputs the GSM transmission signal through the DA port, the transmission signal is amplified by the power amplifier 120 to obtain the transmission power of the transmission signal, and then passes through the filter 130 and the antenna in sequence The switch module 140 reaches the coupler 150, and finally the transmission signal is transmitted outward from the antenna 160 according to the obtained transmission power, thereby forming a transmission chain. In this process, since the transmit power will leak at the coupler 150, the leaked power will leak to the FBRX port along the coupling link, and then continue to leak to the XO and DA from the FBRX inside the wireless transceiver 110, As a result, the performance of the ORFS radio frequency indicators is abnormal. For example, taking a manufacturer's MSM8953+MTR2965 platform as an example, when GSM transmits at maximum power, its ORFS RF performance is very poor, bordering the 3GPP standard, and the abnormal frequency is located at the XO 19.2MHz multiplier.

具体地,基于图1所示的传统型射频电路,其发射功率会沿着虚线箭头方向表示的耦合路径进行功率泄露。当无线收发器110通过DA端口输出GSM的发射信号时,该发射信号通过功率放大器120进行功率放大以得到发射功率,然后再依次经过滤波器130和天线开关模组140到达耦合器150,大部分发射功率会通过天线160发射出去;而少部分发射功率会沿着耦合链路泄露到FBRX中,再继续泄露到XO和DX输出,从而形成杂散,严重影响到ORFS射频指标的性能。Specifically, based on the conventional radio frequency circuit shown in FIG. 1 , the transmit power will leak along the coupling path indicated by the dashed arrow direction. When the wireless transceiver 110 outputs the GSM transmit signal through the DA port, the transmit signal is amplified by the power amplifier 120 to obtain the transmit power, and then reaches the coupler 150 through the filter 130 and the antenna switch module 140 in sequence. The transmit power will be transmitted through the antenna 160; however, a small part of the transmit power will leak into the FBRX along the coupling link, and then continue to leak to the XO and DX outputs, thereby forming spurious and seriously affecting the performance of the ORFS radio frequency index.

现有的解决方案是在图1的耦合链路上增加衰减网络,通过衰减网络降低GSM发射功率在耦合链路上的功率泄露,减小干扰,从而改善ORFS射频指标的性能。如图2所示,在图1所示的传统型射频电路的基础上,传统型射频电路10还可以包括衰减网络170。其中,衰减网络170可以对泄露的发射功率进行衰减,从而减小了GSM发射功率的泄露,可以达到改善ORFS射频指标的性能的目的。然而,这种解决方案存在很大的局限性,一方面,由于FBRX端口具有一个动态接收范围,当衰减网络很大时,将会影响FBRX的检测精度,导致功率控制出现异常;另一方面,该解决方案只能相对地改善ORFS射频指标的性能,干扰依然存在;虽然ORFS射频指标的性能有所改善,可以满足3GPP标准,但是余量较小,这样随着GSM发射功率的增加,该性能仍然会存在fail的风险。The existing solution is to add an attenuation network on the coupling link in Figure 1, and reduce the power leakage of the GSM transmit power on the coupled link through the attenuation network, reduce interference, and improve the performance of the ORFS radio frequency index. As shown in FIG. 2 , on the basis of the conventional radio frequency circuit shown in FIG. 1 , the conventional radio frequency circuit 10 may further include an attenuation network 170 . The attenuation network 170 can attenuate the leaked transmit power, thereby reducing the leakage of the GSM transmit power, and can achieve the purpose of improving the performance of the ORFS radio frequency index. However, this solution has great limitations. On the one hand, since the FBRX port has a dynamic receiving range, when the attenuation network is large, it will affect the detection accuracy of the FBRX, resulting in abnormal power control; on the other hand, This solution can only improve the performance of the ORFS radio frequency index relatively, and the interference still exists; although the performance of the ORFS radio frequency index has been improved and can meet the 3GPP standard, the margin is small, so that with the increase of GSM transmit power, the performance There is still a risk of fail.

本申请实施例提供了一种性能优化方法,该方法应用于性能优化装置,该性能优化装置位于终端设备内。通过确定终端设备的工作模式;其中,所述工作模式包括第一工作模式和第二工作模式,所述第一工作模式为所述终端设备处于GSM模式,所述第二工作模式为所述终端设备处于除GSM模式之外的其他模式;根据确定的工作模式,控制切换开关处于对应的连接状态;其中,所述第一工作模式对应所述切换开关的第一连接状态,所述第二工作模式对应所述切换开关的第二连接状态;当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化;这样,不仅可以保证FBRX的检测精度,避免了功率控制出现异常的问题;而且还可以改善GSM的ORFS射频性能,使其完全满足企业标准,同时降低了该性能fail的风险。The embodiment of the present application provides a performance optimization method, and the method is applied to a performance optimization apparatus, and the performance optimization apparatus is located in a terminal device. By determining the working mode of the terminal device; wherein, the working mode includes a first working mode and a second working mode, the first working mode is that the terminal device is in GSM mode, and the second working mode is that the terminal The device is in a mode other than the GSM mode; according to the determined work mode, the switch is controlled to be in a corresponding connection state; wherein the first work mode corresponds to the first connection state of the switch, and the second work mode The mode corresponds to the second connection state of the switch; when the working mode is the first working mode, grounding processing is performed through the first connection state of the switch to optimize the radio frequency performance of the terminal device; in this way , not only can ensure the detection accuracy of FBRX and avoid the problem of abnormal power control; but also can improve the ORFS radio frequency performance of GSM, so that it fully meets the enterprise standard, and at the same time reduces the risk of performance failure.

下面将结合附图对本申请各实施例进行详细描述。The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

参见图3,其示出了本申请实施例提供的一种性能优化方法的流程示意图。如图3所示,该方法可以包括:Referring to FIG. 3 , it shows a schematic flowchart of a performance optimization method provided by an embodiment of the present application. As shown in Figure 3, the method may include:

S301:确定终端设备的工作模式;其中,所述工作模式包括第一工作模式和第二工作模式,所述第一工作模式为所述终端设备处于GSM模式,所述第二工作模式为所述终端设备处于除GSM模式之外的其他模式;S301: Determine a working mode of a terminal device; wherein, the working mode includes a first working mode and a second working mode, the first working mode is that the terminal device is in a GSM mode, and the second working mode is the The terminal device is in a mode other than the GSM mode;

需要说明的是,第一工作模式表示终端设备的发射功率不需要进行功率闭环控制的模式,比如GSM模式;第二工作模式表示终端设备的发射功率需要进行功率闭环控制的模式,可以为终端设备处于除GSM模式之外的其他模式,例如码分多址(Code DivisionMultiple Access,CDMA)模式、宽带码分多址(Wideband Code Division MultipleAccess,WCDMA)模式、时分同步码分多址(Time Division-Synchronous Code DivisionMultiple Access,TD-SCDMA)模式、时分长期演进(Time Division Long Term Evolution,TD-LTE)模式和频分双工长期演进(Frequency Division Duplexing Long TermEvolution,FDD-LTE)模式等,本申请实施例不作具体限定。It should be noted that the first working mode represents a mode in which the transmit power of the terminal equipment does not require power closed-loop control, such as the GSM mode; the second working mode represents a mode in which the transmit power of the terminal equipment needs to be subjected to power closed-loop control, which can be a terminal device In other modes than GSM, such as Code Division Multiple Access (CDMA) mode, Wideband Code Division Multiple Access (WCDMA) mode, Time Division Synchronous Code Division Multiple Access (Time Division-Synchronous) Code Division Multiple Access (TD-SCDMA) mode, Time Division Long Term Evolution (TD-LTE) mode, Frequency Division Duplexing Long Term Evolution (Frequency Division Duplexing Long Term Evolution, FDD-LTE) mode, etc., the embodiments of the present application There is no specific limitation.

对于工作模式的确定,可以通过终端设备当前的网络参数来判断。因此,在一些实施例中,对于S301来说,所述确定终端设备的工作模式,可以包括:The determination of the working mode can be determined by the current network parameters of the terminal device. Therefore, in some embodiments, for S301, the determining the working mode of the terminal device may include:

S301a:获取所述终端设备当前的网络参数;S301a: obtain the current network parameters of the terminal device;

需要说明的是,网络参数用于表征所述终端设备的网络连接方式,该网络参数可以包括但不限于服务集标识(Service Set Identifier,SSID)、移动国家码(MobileCountry Code,MCC)、移动网络号码(Mobile Network Code,移动网络号码)、接入点名称(Access Point Name,APN)、端口代理(proxy port)、账号名(Account Name)、用户名和密码等,本申请实施例不作具体限定。It should be noted that the network parameters are used to characterize the network connection mode of the terminal device, and the network parameters may include but are not limited to Service Set Identifier (SSID), Mobile Country Code (MCC), mobile network Number (Mobile Network Code, mobile network number), access point name (Access Point Name, APN), port proxy (proxy port), account name (Account Name), user name and password, etc., are not specifically limited in the embodiments of this application.

S301b:若获取的网络参数符合GSM网络参数,则确定所述工作模式为第一工作模式;S301b: if the acquired network parameters conform to the GSM network parameters, determine that the working mode is the first working mode;

S301c:若获取的网络参数不符合GSM网络参数,则确定所述工作模式为第二工作模式。S301c: If the acquired network parameters do not conform to the GSM network parameters, determine that the working mode is the second working mode.

需要说明的是,在获取到当前的网络参数之后,通过对该网络参数进行判断,当该网络参数符合GSM网络参数时,执行步骤S301b;当该网络参数不符合GSM网络参数时,执行步骤S301c。It should be noted that, after obtaining the current network parameters, by judging the network parameters, when the network parameters conform to the GSM network parameters, step S301b is executed; when the network parameters do not conform to the GSM network parameters, step S301c is executed .

这样,在获取到当前的网络参数之后,如果获取到的网络参数符合GSM网络参数,表明了终端设备处于GSM模式,那么可以确定出该工作模式为第一工作模式;如果获取到的网络参数不符合GSM网络参数,表明了终端设备处于其它模式,那么可以确定出该工作模式为第二工作模式。In this way, after obtaining the current network parameters, if the obtained network parameters conform to the GSM network parameters, indicating that the terminal device is in the GSM mode, it can be determined that the working mode is the first working mode; if the obtained network parameters do not Complying with the GSM network parameters, indicating that the terminal device is in other modes, it can be determined that the working mode is the second working mode.

S302:根据确定的工作模式,控制切换开关处于对应的连接状态;其中,所述第一工作模式对应所述切换开关的第一连接状态,所述第二工作模式对应所述切换开关的第二连接状态;S302: Control the switch to be in a corresponding connection state according to the determined operation mode; wherein the first operation mode corresponds to the first connection state of the switch, and the second operation mode corresponds to the second connection state of the switch. Connection Status;

需要说明的是,当确定的工作模式为第一工作模式时,控制切换开关处于第一连接状态;当确定的工作模式为第二工作模式时,控制切换开关处于第二连接状态。It should be noted that when the determined work mode is the first work mode, the control switch is in the first connection state; when the determined work mode is the second work mode, the control switch is in the second connection state.

还需要说明的是,切换开关可以为单刀双掷(Single Pole Double Throw,SPDT)开关,也可以为单刀单掷(Single Pole Single Throw,SPST)开关,甚至也可以为单刀多掷(Single Pole Multi-Throw,SPMT)开关,本申请实施例不作具体限定。在本申请实施例中,切换开关通常选择为单刀双掷开关。It should also be noted that the switch can be a Single Pole Double Throw (SPDT) switch, a Single Pole Single Throw (SPST) switch, or even a Single Pole Multi Throw (Single Pole Multi Throw) switch. -Throw, SPMT) switch, which is not specifically limited in this embodiment of the present application. In the embodiment of the present application, the switch is usually selected as a single-pole double-throw switch.

为了优化终端设备的射频性能,在一些实施例中,所述切换开关位于耦合链路中;其中,所述耦合链路的方向与发射链路的方向相反。In order to optimize the radio frequency performance of the terminal device, in some embodiments, the switch is located in a coupling link; wherein the direction of the coupling link is opposite to the direction of the transmitting link.

需要说明的是,为了减小终端设备的功率泄露以改善终端设备的射频性能,则需要增加发射链路端口与FBRX端口之间的隔离度,这时候可以通过在耦合链路上增加切换开关来实现。其中,根据图2所示的传统型射频电路,发射链路为从无线收发器110中的DA端口输出发射信号后,依次通过功率放大器120、滤波器130、天线开关模组140和耦合器150所形成的链路,最后通过天线160发射出去;耦合链路为耦合器150和无线收发器110中的FBRX端口之间形成的链路,两者的方向是相反的;这样,在耦合链路上增加切换开关,通过控制切换开关的连接状态可以增加发射链路端口与FBRX端口之间的隔离度,从而减小了终端设备的功率泄露,可以达到优化终端设备的射频性能的目的。It should be noted that in order to reduce the power leakage of the terminal equipment and improve the radio frequency performance of the terminal equipment, it is necessary to increase the isolation between the transmit link port and the FBRX port. accomplish. Among them, according to the traditional radio frequency circuit shown in FIG. 2 , the transmission chain is that after the transmission signal is output from the DA port in the wireless transceiver 110 , the transmission signal passes through the power amplifier 120 , the filter 130 , the antenna switch module 140 and the coupler 150 in sequence. The formed link is finally transmitted through the antenna 160; the coupling link is the link formed between the coupler 150 and the FBRX port in the wireless transceiver 110, and the directions of the two are opposite; thus, in the coupling link By adding a switch on the top of the switch, the isolation between the transmit link port and the FBRX port can be increased by controlling the connection state of the switch, thereby reducing the power leakage of the terminal device and optimizing the radio frequency performance of the terminal device.

S303:当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化。S303: When the working mode is the first working mode, perform grounding processing through the first connection state of the switch to optimize the radio frequency performance of the terminal device.

需要说明的是,当工作模式为第一工作模式时,此时不需要对终端设备进行功率检测,可以将切换开关切换到第一连接状态;当工作模式为第二工作模式时,此时需要对终端设备进行功率检测,这时候可以将切换开关切换到第二连接状态;这样,当终端设备处于第一工作模式时,比如GSM模式,切换开关处于第一连接状态,通过接地处理可以增加切换开关的隔离度,即增加了发射链路端口与反馈接收机端口之间的隔离度,从而减小了终端设备的功率泄露,实现了终端设备的射频性能的优化,比如改善了ORFS射频指标的性能。It should be noted that when the working mode is the first working mode, there is no need to perform power detection on the terminal device at this time, and the switch can be switched to the first connection state; when the working mode is the second working mode, it needs to be Perform power detection on the terminal device, at this time, the switch can be switched to the second connection state; in this way, when the terminal device is in the first working mode, such as GSM mode, the switch is in the first connection state, and the switching can be increased by grounding processing. The isolation degree of the switch increases the isolation degree between the transmitting chain port and the feedback receiver port, thereby reducing the power leakage of the terminal equipment and realizing the optimization of the radio frequency performance of the terminal equipment, such as improving the ORFS radio frequency index. performance.

在本申请实施例中,首先确定终端设备的工作模式;其中,所述工作模式包括第一工作模式和第二工作模式,所述第一工作模式为所述终端设备处于GSM模式,所述第二工作模式为所述终端设备处于除GSM模式之外的其他模式;再根据确定的工作模式,控制切换开关处于对应的连接状态;其中,所述第一工作模式对应所述切换开关的第一连接状态,所述第二工作模式对应所述切换开关的第二连接状态;最后当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化;这样,与现有的解决方案相比,通过在耦合链路上增加了切换开关,不仅可以保证FBRX的检测精度,避免了功率控制出现异常的问题;而且还可以改善GSM的ORFS射频性能,使其完全满足企业标准,同时降低了该性能fail的风险。In the embodiment of the present application, the working mode of the terminal device is first determined; wherein, the working mode includes a first working mode and a second working mode, the first working mode is that the terminal device is in the GSM mode, and the first working mode is in the GSM mode. The second working mode is that the terminal device is in other modes except the GSM mode; and then according to the determined working mode, the switch is controlled to be in a corresponding connection state; wherein, the first working mode corresponds to the first working mode of the switch. connection state, the second operation mode corresponds to the second connection state of the switch; finally, when the operation mode is the first operation mode, grounding processing is performed through the first connection state of the switch, and the The radio frequency performance of the terminal equipment is optimized; in this way, compared with the existing solution, by adding a switch on the coupling link, it can not only ensure the detection accuracy of the FBRX, but also avoid the problem of abnormal power control; Improve the ORFS RF performance of GSM to fully meet enterprise standards while reducing the risk of this performance failing.

在一些实施例中,所述切换开关为单刀双掷开关;其中,所述切换开关包括第一接线端、第二接线端和第三接线端;其中,所述第三接线端与所述切换开关的刀相连。In some embodiments, the switch is a single-pole double-throw switch; wherein the switch includes a first terminal, a second terminal and a third terminal; wherein the third terminal and the switch The knife of the switch is connected.

需要说明的是,由于单刀双掷开关包括有三个接线端,且第三接线端与切换开关的刀相连。其中,切换开关通过将刀闭合到第一接线端或者第二接线端,可以实现切换开关的两种连接状态(包括第一连接状态和第二连接状态)。然而切换开关在耦合链路中的连接方式是可以不同的,从而导致接地处理方式也是不同的;比如可以是将反馈接收器端口接地,也可以是将射频链路端口接地;下面将结合图4或图5所示的改进型射频电路对其进行详细描述。It should be noted that, because the SPDT switch includes three terminals, and the third terminal is connected to the pole of the switch. Wherein, the switch can realize two connection states (including the first connection state and the second connection state) of the switch by closing the knife to the first terminal or the second terminal. However, the connection method of the switch in the coupling link can be different, resulting in different grounding processing methods; for example, the feedback receiver port can be grounded, or the RF link port can be grounded; the following will be combined with Figure 4 Or the improved radio frequency circuit shown in FIG. 5 will be described in detail.

参见图4,其示出了本申请实施例提供的一种改进型射频电路的组成结构示意图。如图4所示,与传统型射频电路10相比,改进型射频电路20还可以包括切换开关210,其中,切换开关210为单刀双掷开关,它包括第一接线端(用1表示)、第二接线端(用2表示)和第三接线端(与刀连接)。在图4中,切换开关210的第三接线端连接到FBRX端口,切换开关210的第一接线端连接到衰减网络,切换开关210的第二接线端连接到地;这样,切换开关210的第一连接状态为第三接线端连接到第二接线端(即切换开关210的刀闭合到2处),切换开关210的第二连接状态为第三接线端连接到第一接线端(即切换开关210的刀闭合到1处)。Referring to FIG. 4 , it shows a schematic diagram of the composition and structure of an improved radio frequency circuit provided by an embodiment of the present application. As shown in FIG. 4, compared with the conventional radio frequency circuit 10, the improved radio frequency circuit 20 may further include a switch 210, wherein the switch 210 is a single-pole double-throw switch, which includes a first terminal (represented by 1), The second terminal (denoted by 2) and the third terminal (connected to the knife). In FIG. 4, the third terminal of the switch 210 is connected to the FBRX port, the first terminal of the switch 210 is connected to the attenuation network, and the second terminal of the switch 210 is connected to ground; thus, the first terminal of the switch 210 is connected to the ground; A connection state is that the third terminal is connected to the second terminal (ie, the switches of the switch 210 are closed to 2), and the second connection state of the switch 210 is that the third terminal is connected to the first terminal (ie, the switch The knife of 210 is closed to 1).

基于图4所示的改进型射频电路,在本申请的另一实施例中,所述第一接线端与发射链路端口连接,所述第二接线端与地连接,所述第三接线端与反馈接收器端口连接;对于S302来说,所述根据确定的工作模式,控制切换开关处于对应的连接状态,可以包括:Based on the improved radio frequency circuit shown in FIG. 4 , in another embodiment of the present application, the first terminal is connected to a transmission link port, the second terminal is connected to ground, and the third terminal is Connect to the feedback receiver port; for S302, the controlling the switch to be in a corresponding connection state according to the determined working mode may include:

S302a-1:当所述工作模式为第一工作模式时,控制所述切换开关处于第一连接状态,将反馈接收器端口连接到地;其中,所述第一连接状态为所述切换开关的刀闭合至所述第二接线端;S302a-1: When the working mode is the first working mode, control the switch to be in a first connection state, and connect the feedback receiver port to the ground; wherein the first connection state is the connection state of the switch. the knife is closed to the second terminal;

S302a-2:当所述工作模式为第二工作模式时,控制所述切换开关处于第二连接状态,将反馈接收器端口连接到发射链路端口;其中,所述第二连接状态为所述切换开关的刀闭合至所述第一接线端。S302a-2: When the working mode is the second working mode, control the switch to be in a second connection state, and connect the feedback receiver port to the transmission link port; wherein the second connection state is the The knife of the switch is closed to the first terminal.

进一步地,在一些实施例中,对于S303来说,所述当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化,可以包括:Further, in some embodiments, for S303, when the working mode is the first working mode, the grounding process is performed through the first connection state of the switch, and the radio frequency performance of the terminal device is affected. To optimize, can include:

S303a-1:当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态将所述反馈接收器端口连接到地,增加所述反馈接收器端口和所述发射链路端口之间的隔离度,以优化所述终端设备的射频性能。S303a-1: When the working mode is the first working mode, connect the feedback receiver port to the ground through the first connection state of the switch, and add the feedback receiver port and the transmit chain isolation between ports to optimize the RF performance of the end device.

进一步地,在一些实施例中,该方法还可以包括:Further, in some embodiments, the method may also include:

S303a-2:当所述工作模式为第二工作模式时,通过所述切换开关的第二连接状态将所述反馈接收器端口连接到所述发射链路端口,实现所述终端设备的功率检测。S303a-2: When the working mode is the second working mode, connect the feedback receiver port to the transmission link port through the second connection state of the switch to implement power detection of the terminal device .

需要说明的是,发射链路端口可以是衰减网络的端口,也可以是耦合器的端口(当耦合链路中没有衰减网络时,切换开关的第三接线端可以直接连接至耦合器的端口),还可以是耦合链路中其他器件的端口;在实际应用中,根据实际电路情况以及就近连接原则进行确定,本申请实施例不作具体限定。在图4中,发射链路端口表示了衰减网络侧的端口。It should be noted that the port of the transmit link can be the port of the attenuation network or the port of the coupler (when there is no attenuation network in the coupling link, the third terminal of the switch can be directly connected to the port of the coupler) , and may also be the port of other devices in the coupling link; in practical application, it is determined according to the actual circuit situation and the principle of nearest connection, which is not specifically limited in this embodiment of the present application. In Figure 4, the transmit link ports represent the ports on the side of the attenuation network.

还需要说明的是,当终端设备处于第一工作模式时,例如GSM模式,此时不需要通过反馈接收器端口进行功率检测,可以将切换开关的第二接线端与第三接线端连接(即将切换开关的刀闭合至第二接线端),使其处于第一连接状态,也就实现了反馈接收器端口的接地处理方式,该接地处理方式可以增加反馈接收器端口和发射链路端口之间的隔离度,从而减小了所述终端设备的功率泄露;当终端设备处于第二工作模式时,例如除GSM模式之外的其他模式,此时需要通过反馈接收器端口进行功率检测,可以将切换开关的第一接线端与第三接线端连接(即将切换开关的刀闭合至第一接线端),使其处于第二连接状态,也就实现了终端设备的正常功率检测。It should also be noted that when the terminal device is in the first working mode, such as GSM mode, it is not necessary to perform power detection through the feedback receiver port at this time, and the second terminal of the switch can be connected to the third terminal. The knife of the switch is closed to the second terminal), so that it is in the first connection state, which also realizes the grounding processing method of the feedback receiver port, which can increase the distance between the feedback receiver port and the transmitting link port. The isolation degree of the terminal device is reduced, thereby reducing the power leakage of the terminal device; when the terminal device is in the second working mode, such as other modes except the GSM mode, power detection needs to be performed through the feedback receiver port at this time. The first terminal of the switch is connected to the third terminal (that is, the knife of the switch is closed to the first terminal), so that it is in the second connection state, which also realizes the normal power detection of the terminal device.

以图4为例,切换开关210的第三接线端与刀连接,且第三接线端连接到FBRX端口;切换开关210的第一接线端用1表示,且第一接线端连接到衰减网络;切换开关210的第二接线端用2表示,且第二接线端连接到地;这里,切换开关210的第一连接状态为第三接线端连接到第二接线端(即切换开关210的刀闭合到2处),切换开关210的第二连接状态为第三接线端连接到第一接线端(即切换开关210的刀闭合到1处)。这样,当终端设备处于GSM模式时,此时不需要通过FBRX端口进行功率检测,可以控制切换开关210的刀闭合到2处,将FBRX端口直接连接到地,通过该接地处理方式可以加大衰减网络侧与FBRX端口之间的隔离度,从而减小了终端设备的功率泄露,可以达到优化终端设备的射频性能的目的,例如改善了GSM的ORFS射频性能;当终端设备处于其他模式而GSM模式不工作时,此时需要通过FBRX端口进行功率检测,可以控制切换开关210的刀闭合到1处,将FBRX端口与衰减网络侧连接,从而实现了对终端设备的正常功率检测;这样,通过一个切换开关,就能够完美解决GSM模式下功率泄露的问题,从而优化了终端设备的射频性能。Taking FIG. 4 as an example, the third terminal of the switch 210 is connected to the blade, and the third terminal is connected to the FBRX port; the first terminal of the switch 210 is represented by 1, and the first terminal is connected to the attenuation network; The second terminal of the switch 210 is denoted by 2, and the second terminal is connected to ground; here, the first connection state of the switch 210 is that the third terminal is connected to the second terminal (ie, the blade of the switch 210 is closed. to 2), the second connection state of the switch 210 is that the third terminal is connected to the first terminal (ie, the knife of the switch 210 is closed to 1). In this way, when the terminal device is in GSM mode, it is not necessary to perform power detection through the FBRX port at this time, and the switches of the switch 210 can be controlled to be closed to two positions, and the FBRX port can be directly connected to the ground, and the attenuation can be increased by this grounding processing method. The isolation between the network side and the FBRX port reduces the power leakage of the terminal equipment, which can achieve the purpose of optimizing the radio frequency performance of the terminal equipment, such as improving the ORFS radio frequency performance of GSM; when the terminal equipment is in other modes and the GSM mode When it is not working, it is necessary to perform power detection through the FBRX port at this time, and the knife of the switch 210 can be controlled to close to 1, and the FBRX port is connected to the attenuation network side, so as to realize the normal power detection of the terminal equipment; in this way, through a The switch can perfectly solve the problem of power leakage in GSM mode, thereby optimizing the radio frequency performance of the terminal device.

参见图5,其示出了本申请实施例提供的另一种改进型射频电路的组成结构示意图。如图5所示,该切换开关210的连接方式与图4中的切换开关210的连接方式是不同的。在图5中,切换开关210的第三接线端连接到衰减网络,切换开关210的第一接线端连接到FBRX端口,切换开关210的第二接线端连接到地;这样,切换开关210的第一连接状态为第三接线端连接到第二接线端(即切换开关210的刀闭合到2处),切换开关210的第二连接状态为第三接线端连接到第一接线端(即切换开关210的刀闭合到1处)。Referring to FIG. 5 , it shows a schematic diagram of the composition and structure of another improved radio frequency circuit provided by an embodiment of the present application. As shown in FIG. 5 , the connection manner of the switch 210 is different from the connection manner of the switch 210 in FIG. 4 . In FIG. 5, the third terminal of the switch 210 is connected to the attenuation network, the first terminal of the switch 210 is connected to the FBRX port, and the second terminal of the switch 210 is connected to ground; thus, the first terminal of the switch 210 is connected to the ground; A connection state is that the third terminal is connected to the second terminal (ie, the switches of the switch 210 are closed to 2), and the second connection state of the switch 210 is that the third terminal is connected to the first terminal (ie, the switch The knife of 210 is closed to 1).

基于图5所示的改进型射频电路,在本申请的又一实施例中,所述第一接线端与反馈收发器端口连接,所述第二接线端与地连接,所述第三接线端与发射链路端口连接;对于S302来说,所述根据确定的工作模式,控制切换开关处于对应的连接状态,可以包括:Based on the improved radio frequency circuit shown in FIG. 5 , in yet another embodiment of the present application, the first terminal is connected to the feedback transceiver port, the second terminal is connected to ground, and the third terminal is connected to the ground. Connect to the transmission link port; for S302, the controlling the switch to be in a corresponding connection state according to the determined working mode may include:

S302b-1:当所述工作模式为第一工作模式时,控制所述切换开关处于第一连接状态,将发射链路端口连接到地;其中,所述第一连接状态为所述切换开关的刀闭合至所述第二接线端;S302b-1: When the working mode is the first working mode, control the switch to be in a first connection state, and connect the transmission link port to the ground; wherein, the first connection state is the connection state of the switch the knife is closed to the second terminal;

S302b-2:当所述工作模式为第二工作模式时,控制所述切换开关处于第二连接状态,将反馈接收器端口连接到发射链路端口;其中,所述第二连接状态为所述切换开关的刀闭合至所述第一接线端。S302b-2: When the working mode is the second working mode, control the switch to be in a second connection state, and connect the feedback receiver port to the transmission link port; wherein the second connection state is the The knife of the switch is closed to the first terminal.

进一步地,在一些实施例中,对于S303来说,所述当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化,可以包括:Further, in some embodiments, for S303, when the working mode is the first working mode, the grounding process is performed through the first connection state of the switch, and the radio frequency performance of the terminal device is affected. To optimize, can include:

S303b-1:当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态将所述发射链路端口连接到地,增加所述反馈接收器端口和所述发射链路端口之间的隔离度,以优化所述终端设备的射频性能。S303b-1: When the working mode is the first working mode, connect the transmit link port to the ground through the first connection state of the switch, and add the feedback receiver port and the transmit link isolation between ports to optimize the RF performance of the end device.

进一步地,在一些实施例中,该方法还可以包括:Further, in some embodiments, the method may also include:

S303b-2:当所述工作模式为第二工作模式时,通过所述切换开关的第二连接状态将所述反馈接收器端口连接到所述发射链路端口,实现所述终端设备的功率检测。S303b-2: When the working mode is the second working mode, connect the feedback receiver port to the transmission link port through the second connection state of the switch to implement power detection of the terminal device .

需要说明的是,发射链路端口可以是衰减网络的端口,也可以是耦合器的端口(当耦合链路中没有衰减网络时,切换开关的第三接线端可以直接连接至耦合器的端口),还可以是耦合链路中其他器件的端口;在实际应用中,根据实际电路情况以及就近连接原则进行确定,本申请实施例不作具体限定。在图5中,发射链路端口仍然表示了衰减网络侧的端口。It should be noted that the port of the transmit link can be the port of the attenuation network or the port of the coupler (when there is no attenuation network in the coupling link, the third terminal of the switch can be directly connected to the port of the coupler) , and may also be the port of other devices in the coupling link; in practical application, it is determined according to the actual circuit situation and the principle of nearest connection, which is not specifically limited in this embodiment of the present application. In Figure 5, the transmit link ports still represent the ports on the attenuating network side.

还需要说明的是,当终端设备处于第一工作模式时,例如GSM模式,此时不需要通过反馈接收器端口进行功率检测,可以将切换开关的第二接线端与第三接线端连接(即将切换开关的刀闭合至第二接线端),使其处于第一连接状态,也就实现了发射链路端口的接地处理方式,该接地处理方式也可以增加反馈接收器端口和发射链路端口之间的隔离度,从而减小了所述终端设备的功率泄露;当终端设备处于第二工作模式时,例如除GSM模式之外的其他模式,此时需要通过反馈接收器端口进行功率检测,可以将切换开关的第一接线端与第三接线端连接(即将切换开关的刀闭合至第一接线端),使其处于第二连接状态,也就实现了终端设备的正常功率检测。It should also be noted that when the terminal device is in the first working mode, such as GSM mode, it is not necessary to perform power detection through the feedback receiver port at this time, and the second terminal of the switch can be connected to the third terminal. The knife of the switch is closed to the second terminal), so that it is in the first connection state, which also realizes the grounding processing method of the transmitting link port. This grounding processing method can also increase the difference between the feedback receiver port and the transmitting link port. Therefore, the power leakage of the terminal device is reduced; when the terminal device is in the second working mode, such as other modes other than the GSM mode, power detection needs to be performed through the feedback receiver port, which can be The first terminal of the switch is connected to the third terminal (that is, the knife of the switch is closed to the first terminal), so that it is in the second connection state, which also realizes the normal power detection of the terminal device.

以图5为例,切换开关210的第三接线端与刀连接,且第三接线端连接到衰减网络;切换开关210的第一接线端用1表示,且第一接线端连接到FBRX端口;切换开关210的第二接线端用2表示,且第二接线端连接到地;这里,切换开关210的第一连接状态为第三接线端连接到第二接线端(即切换开关210的刀闭合到2处),切换开关210的第二连接状态为第三接线端连接到第一接线端(即切换开关210的刀闭合到1处)。这样,当终端设备处于GSM模式时,此时不需要通过FBRX端口进行功率检测,可以控制切换开关210的刀闭合到2处,将衰减网络侧直接连接到地,即实现了射频链路端口的接地处理,通过该接地处理方式也可以加大发射链路端口与FBRX端口之间的隔离度,从而减小了终端设备的功率泄露,可以达到优化终端设备的射频性能的目的,例如改善了GSM的ORFS射频性能;当终端设备处于其他模式而GSM模式不工作时,此时需要通过FBRX端口进行功率检测,可以控制切换开关210的刀闭合到1处,将FBRX端口与衰减网络侧连接,从而实现了对终端设备的正常功率检测;这样,通过一个切换开关,就能够完美解决GSM模式下功率泄露的问题,从而优化了终端设备的射频性能。Taking FIG. 5 as an example, the third terminal of the switch 210 is connected to the blade, and the third terminal is connected to the attenuation network; the first terminal of the switch 210 is represented by 1, and the first terminal is connected to the FBRX port; The second terminal of the switch 210 is denoted by 2, and the second terminal is connected to ground; here, the first connection state of the switch 210 is that the third terminal is connected to the second terminal (ie, the blade of the switch 210 is closed. to 2), the second connection state of the switch 210 is that the third terminal is connected to the first terminal (ie, the knife of the switch 210 is closed to 1). In this way, when the terminal device is in the GSM mode, it is not necessary to perform power detection through the FBRX port at this time, and the switches of the switch 210 can be controlled to be closed to 2 positions, and the attenuation network side is directly connected to the ground, that is, the radio frequency link port is realized. Grounding processing. This grounding processing method can also increase the isolation between the transmitting link port and the FBRX port, thereby reducing the power leakage of the terminal equipment, and optimizing the radio frequency performance of the terminal equipment. When the terminal device is in other modes and the GSM mode does not work, the power detection needs to be performed through the FBRX port, and the knife of the switch 210 can be controlled to be closed to 1, and the FBRX port is connected to the attenuation network side, thereby The normal power detection of the terminal equipment is realized; in this way, through a switch, the problem of power leakage in the GSM mode can be perfectly solved, thereby optimizing the radio frequency performance of the terminal equipment.

在实际应用中,以某厂商为例,假定反馈接收器所接收的最小功率要求是-15dBm,为了避免GSM模式下功率泄露所导致ORFS射频性能较差的问题,则要求在反馈接收器端口处的泄露功率至少比-15dBm要低10dB。这样,假定GSM的发射功率是33dBm,耦合器的耦合因子是23dB,衰减网络是6dB,那么通过计算,33dBm-23dB-6dB=4dB,是完全不能满足要求的。这时候根据现有的解决方案可以通过增加衰减网络来改善,但是当衰减网络过大时,会超出反馈接收器端口的功率检测范围,从而降低了反馈接收器端口的功率检测精度。例如,假定发射功率是23dBm,耦合器的耦合因子是23dB,当衰减网络超过15dB之后,虽然减小了功率泄露,但是会影响反馈接收器端口的功率检测,也就是说,这两者是一个矛盾的过程,而且现有的解决方案无法更好地解决该问题。In practical applications, taking a manufacturer as an example, it is assumed that the minimum power requirement received by the feedback receiver is -15dBm. The leakage power is at least 10dB lower than -15dBm. In this way, assuming that the transmit power of GSM is 33dBm, the coupling factor of the coupler is 23dB, and the attenuation network is 6dB, then by calculation, 33dBm-23dB-6dB=4dB, which is completely unsatisfactory. At this time, according to the existing solution, it can be improved by adding an attenuation network, but when the attenuation network is too large, the power detection range of the feedback receiver port will be exceeded, thereby reducing the power detection accuracy of the feedback receiver port. For example, assuming that the transmit power is 23dBm and the coupling factor of the coupler is 23dB, when the attenuation network exceeds 15dB, although the power leakage is reduced, it will affect the power detection of the feedback receiver port, that is, the two are a contradictory process, and existing solutions do not better address the problem.

而本申请实施例中,在现有的解决方案的基础上增加了切换开关,并且通过接地处理来加大发射链路端口对反馈接收器端口的隔离度,从而降低了发射功率被泄露到反馈接收器端口以及再泄露到XO和DA上,也就解决了功率泄露干扰ORFS射频指标的问题。具体地,假定GSM的发射功率是33dBm,耦合器的耦合因子是23dB,衰减网络是6dB,切换开关的第一接线端和第二接线端之间的隔离度为35dB,那么通过计算,33dBm-23dB-6dB-35dB=-31dBm<-25dBm,是完全可以满足要求的。However, in the embodiment of the present application, a switch is added on the basis of the existing solution, and the isolation of the transmit link port to the feedback receiver port is increased by grounding processing, thereby reducing the leakage of transmit power to the feedback receiver port. The receiver port and then leaking to the XO and DA also solve the problem of power leakage interfering with the ORFS RF specifications. Specifically, assuming that the transmit power of GSM is 33dBm, the coupling factor of the coupler is 23dB, the attenuation network is 6dB, and the isolation between the first terminal and the second terminal of the switch is 35dB, then by calculation, 33dBm- 23dB-6dB-35dB=-31dBm<-25dBm, which can fully meet the requirements.

针对现有的解决方案下的射频性能和本申请实施例下的射频性能,可以参见图6A和图6B所示的射频性能曲线对比示例。在图6A中,以GSM850频段为例进行射频性能测试;在图6B中,以PCS1900频段为例进行射频性能测试。无论是图6A还是图6B,灰色实线表示为现有的解决方案下测试得到的ORFS射频性能曲线,即没有在耦合链路中增加切换开关;黑色实线表示为本申请实施例下测试得到的ORFS射频性能曲线,即在耦合链路中有增加切换开关;灰色加粗虚线表示为衡量标准;其中,衡量标准可以是3GPP标准,也可以为企业标准,企业标准通常比3GPP标准更为严格。从图6A和图6B中可以看到,灰色加粗虚线表示为企业标准,而黑色实线完全在该虚线之下;也就是说,本申请实施例增加切换开关之后,ORFS射频性能改善非常明显,已经完全满足企业标准。For the radio frequency performance under the existing solution and the radio frequency performance under the embodiments of the present application, reference may be made to the comparison examples of radio frequency performance curves shown in FIG. 6A and FIG. 6B . In FIG. 6A , the radio frequency performance test is performed by taking the GSM850 frequency band as an example; in FIG. 6B , the radio frequency performance test is performed by taking the PCS1900 frequency band as an example. No matter in FIG. 6A or FIG. 6B , the gray solid line represents the ORFS radio frequency performance curve obtained under the test of the existing solution, that is, no switch is added to the coupling link; the black solid line represents the test obtained under the embodiment of the present application The ORFS RF performance curve, that is, there is a switch in the coupling link; the gray bold dashed line represents the measurement standard; the measurement standard can be 3GPP standard or enterprise standard, and enterprise standard is usually stricter than 3GPP standard . It can be seen from FIG. 6A and FIG. 6B that the bold gray dashed line represents the enterprise standard, and the solid black line is completely below the dashed line; that is to say, after the switch is added in the embodiment of the present application, the RF performance of the ORFS is significantly improved. , has fully met enterprise standards.

上述实施例提供了一种性能优化方法,通过确定终端设备的工作模式;其中,所述工作模式包括第一工作模式和第二工作模式,所述第一工作模式为所述终端设备处于GSM模式,所述第二工作模式为所述终端设备处于除GSM模式之外的其他模式;根据确定的工作模式,控制切换开关处于对应的连接状态;其中,所述第一工作模式对应所述切换开关的第一连接状态,所述第二工作模式对应所述切换开关的第二连接状态;当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化;这样,与现有的解决方案相比,通过在耦合链路上增加了切换开关,不仅可以保证FBRX的检测精度,避免了功率控制出现异常的问题;而且还可以增加发射链路端口与反馈接收器端口之间的隔离度,从而解决了GSM模式下功率泄露的问题,极大程度地改善了GSM的ORFS射频性能,使其完全满足企业标准,同时还降低了该性能fail的风险。The above embodiments provide a performance optimization method by determining a working mode of a terminal device; wherein, the working mode includes a first working mode and a second working mode, and the first working mode is that the terminal device is in a GSM mode , the second working mode is that the terminal device is in a mode other than the GSM mode; according to the determined working mode, the switch is controlled to be in a corresponding connection state; wherein, the first working mode corresponds to the switch The first connection state of the switch, the second operation mode corresponds to the second connection state of the switch; when the operation mode is the first operation mode, the grounding process is performed through the first connection state of the switch, and the The radio frequency performance of the terminal equipment is optimized; in this way, compared with the existing solution, by adding a switch on the coupling link, not only the detection accuracy of the FBRX can be ensured, but the problem of abnormal power control is avoided; and It can also increase the isolation between the transmit chain port and the feedback receiver port, thus solving the problem of power leakage in GSM mode, greatly improving the ORFS RF performance of GSM, making it fully meet the enterprise standard, and at the same time. Reduced risk of this performance fail.

基于前述实施例相同的发明构思,参见图7,其示出了本申请实施例提供的一种性能优化装置70的组成,该性能优化装置70位于终端设备内,该性能优化装置70可以包括:确定单元701、控制单元702、优化单元703和切换开关704,其中,Based on the same inventive concept of the foregoing embodiments, referring to FIG. 7 , it shows the composition of a performance optimization apparatus 70 provided by an embodiment of the present application. The performance optimization apparatus 70 is located in a terminal device, and the performance optimization apparatus 70 may include: A determination unit 701, a control unit 702, an optimization unit 703 and a switch 704, wherein,

所述确定单元701,配置为确定终端设备的工作模式;其中,所述工作模式包括第一工作模式和第二工作模式,所述第一工作模式为所述终端设备处于GSM模式,所述第二工作模式为所述终端设备处于除GSM模式之外的其他模式;The determining unit 701 is configured to determine the working mode of the terminal device; wherein, the working mode includes a first working mode and a second working mode, the first working mode is that the terminal device is in a GSM mode, and the first working mode is in the GSM mode. The second working mode is that the terminal device is in other modes except the GSM mode;

所述控制单元702,配置为根据确定的工作模式,控制切换开关704处于对应的连接状态;其中,所述第一工作模式对应所述切换开关704的第一连接状态,所述第二工作模式对应所述切换开关704的第二连接状态;The control unit 702 is configured to control the switch 704 to be in a corresponding connection state according to the determined operation mode; wherein the first operation mode corresponds to the first connection state of the switch 704, and the second operation mode corresponding to the second connection state of the switch 704;

所述优化单元703,配置为当所述工作模式为第一工作模式时,通过所述切换开关704的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化。The optimizing unit 703 is configured to perform grounding processing through the first connection state of the switch 704 when the working mode is the first working mode, so as to optimize the radio frequency performance of the terminal device.

在上述方案中,所述确定单元701,具体配置为获取所述终端设备当前的网络参数;以及若获取的网络参数符合GSM网络参数,则确定所述工作模式为第一工作模式;以及若获取的网络参数不符合GSM网络参数,则确定所述工作模式为第二工作模式。In the above solution, the determining unit 701 is specifically configured to obtain the current network parameters of the terminal device; and if the obtained network parameters conform to the GSM network parameters, determine that the working mode is the first working mode; and if obtaining If the network parameters do not conform to the GSM network parameters, it is determined that the working mode is the second working mode.

在上述方案中,所述切换开关704位于耦合链路中;其中,所述耦合链路的方向与发射链路的方向相反。In the above solution, the switch 704 is located in the coupling link; wherein the direction of the coupling link is opposite to the direction of the transmitting link.

在上述方案中,所述切换开关704为单刀双掷开关;其中,所述切换开关704包括第一接线端、第二接线端和第三接线端;其中,所述第三接线端与所述切换开关704的刀相连。In the above solution, the switch 704 is a single-pole, double-throw switch; wherein, the switch 704 includes a first terminal, a second terminal and a third terminal; wherein the third terminal and the The blades of the toggle switch 704 are connected.

在上述方案中,所述第一接线端与发射链路端口连接,所述第二接线端与地连接,所述第三接线端与反馈接收器端口连接;其中,In the above solution, the first terminal is connected to the transmit link port, the second terminal is connected to ground, and the third terminal is connected to the feedback receiver port; wherein,

所述控制单元702,具体配置为当所述工作模式为第一工作模式时,控制所述切换开关704处于第一连接状态,将反馈接收器端口连接到地;其中,所述第一连接状态为所述切换开关704的刀闭合至所述第二接线端;以及当所述工作模式为第二工作模式时,控制所述切换开关704处于第二连接状态,将反馈接收器端口连接到发射链路端口;其中,所述第二连接状态为所述切换开关704的刀闭合至所述第一接线端。The control unit 702 is specifically configured to control the switch 704 to be in a first connection state when the working mode is the first working mode, and connect the feedback receiver port to the ground; wherein the first connection state closing the blade of the switch 704 to the second terminal; and when the operating mode is the second operating mode, controlling the switch 704 to be in a second connection state, connecting the feedback receiver port to the transmitter Link port; wherein, the second connection state is that the blade of the switch 704 is closed to the first terminal.

在上述方案中,所述优化单元703,具体配置为当所述工作模式为第一工作模式时,通过所述切换开关704的第一连接状态将所述反馈接收器端口连接到地,增加所述反馈接收器端口和所述发射链路端口之间的隔离度,以优化所述终端设备的射频性能。In the above solution, the optimization unit 703 is specifically configured to connect the feedback receiver port to the ground through the first connection state of the switch 704 when the working mode is the first working mode, and increase all the isolation between the feedback receiver port and the transmit link port to optimize the radio frequency performance of the terminal device.

在上述方案中,所述第一接线端与反馈接收器端口连接,所述第二接线端与地连接,所述第三接线端与发射链路端口连接;其中,In the above solution, the first terminal is connected to the feedback receiver port, the second terminal is connected to ground, and the third terminal is connected to the transmit link port; wherein,

所述控制单元702,具体配置为当所述工作模式为第一工作模式时,控制所述切换开关704处于第一连接状态,将发射链路端口连接到地;其中,所述第一连接状态为所述切换开关704的刀闭合至所述第二接线端;以及当所述工作模式为第二工作模式时,控制所述切换开关704处于第二连接状态,将反馈接收器端口连接到发射链路端口;其中,所述第二连接状态为所述切换开关704的刀闭合至所述第一接线端。The control unit 702 is specifically configured to, when the working mode is the first working mode, control the switch 704 to be in a first connection state, and connect the transmission link port to the ground; wherein, the first connection state closing the blade of the switch 704 to the second terminal; and when the operating mode is the second operating mode, controlling the switch 704 to be in a second connection state, connecting the feedback receiver port to the transmitter Link port; wherein, the second connection state is that the blade of the switch 704 is closed to the first terminal.

在上述方案中,所述优化单元703,具体配置为当所述工作模式为第一工作模式时,通过所述切换开关704的第一连接状态将所述发射链路端口连接到地,增加所述反馈接收器端口和所述发射链路端口之间的隔离度,以优化所述终端设备的射频性能。In the above solution, the optimization unit 703 is specifically configured to connect the transmission link port to the ground through the first connection state of the switch 704 when the working mode is the first working mode, and increase the number of isolation between the feedback receiver port and the transmit link port to optimize the radio frequency performance of the terminal device.

在上述方案中,参见图7,所述性能优化装置70还包括检测单元705,配置为当所述工作模式为第二工作模式时,通过所述切换开关704的第二连接状态将所述反馈接收器端口连接到所述发射链路端口,实现所述终端设备的功率检测。In the above solution, referring to FIG. 7 , the performance optimization device 70 further includes a detection unit 705 configured to, when the working mode is the second working mode, use the second connection state of the switch 704 to send the feedback A receiver port is connected to the transmit link port, enabling power detection of the terminal device.

可以理解地,在本实施例中,“单元”可以是部分电路、部分处理器、部分程序或软件等等,当然也可以是模块,还可以是非模块化的。而且在本实施例中的各组成部分可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。It can be understood that, in this embodiment, a "unit" may be a part of a circuit, a part of a processor, a part of a program or software, etc., of course, it may also be a module, and it may also be non-modular. Moreover, each component in this embodiment may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of software function modules.

所述集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or The part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, and includes several instructions for making a computer device (which can be It is a personal computer, a server, or a network device, etc.) or a processor (processor) that executes all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes: U disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.

因此,本实施例提供了一种计算机存储介质,该计算机存储介质存储有性能优化程序,所述性能优化程序被至少一个处理器执行时实现前述实施例中任一项所述的性能优化方法。Therefore, this embodiment provides a computer storage medium storing a performance optimization program, which implements the performance optimization method described in any one of the foregoing embodiments when the performance optimization program is executed by at least one processor.

基于上述性能优化装置70的组成以及计算机存储介质,参见图8,其示出了本申请实施例提供的性能优化装置70的具体硬件结构,可以包括:网络接口801、存储器802和处理器803;各个组件通过总线系统804耦合在一起。可理解,总线系统804用于实现这些组件之间的连接通信。总线系统804除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统804。其中,网络接口801,用于在与其他外部网元之间进行收发信息过程中,信号的接收和发送;Based on the composition of the above performance optimization apparatus 70 and the computer storage medium, see FIG. 8 , which shows the specific hardware structure of the performance optimization apparatus 70 provided by the embodiment of the present application, which may include: a network interface 801, a memory 802, and a processor 803; The various components are coupled together by a bus system 804 . It will be appreciated that the bus system 804 is used to implement connection communication between these components. In addition to the data bus, the bus system 804 also includes a power bus, a control bus, and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 804 in FIG. 8 . Among them, the network interface 801 is used for receiving and sending signals in the process of sending and receiving information with other external network elements;

存储器802,用于存储能够在处理器803上运行的计算机程序;a memory 802 for storing computer programs that can be executed on the processor 803;

处理器803,用于在运行所述计算机程序时,执行:The processor 803 is configured to, when running the computer program, execute:

确定终端设备的工作模式;其中,所述工作模式包括第一工作模式和第二工作模式,所述第一工作模式为所述终端设备处于全球移动通信系统GSM模式,所述第二工作模式为所述终端设备处于除GSM模式之外的其他模式;Determine the working mode of the terminal device; wherein, the working mode includes a first working mode and a second working mode, the first working mode is that the terminal device is in the Global System for Mobile Communications GSM mode, and the second working mode is The terminal device is in a mode other than the GSM mode;

根据确定的工作模式,控制切换开关处于对应的连接状态;其中,所述第一工作模式对应所述切换开关的第一连接状态,所述第二工作模式对应所述切换开关的第二连接状态;According to the determined working mode, the switch is controlled to be in a corresponding connection state; wherein, the first working mode corresponds to the first connection state of the switch, and the second working mode corresponds to the second connection state of the switch ;

当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化。When the working mode is the first working mode, grounding processing is performed through the first connection state of the switch to optimize the radio frequency performance of the terminal device.

可以理解,本申请实施例中的存储器802可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本文描述的系统和方法的存储器802旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 802 in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be Read-Only Memory (ROM), Programmable ROM (PROM), Erasable Programmable Read-Only Memory (EPROM), Erasable Programmable Read-Only Memory (EPROM), Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct memory bus random access memory (DirectRambus RAM, DRRAM). The memory 802 of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.

而处理器803可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器803中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器803可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器802,处理器803读取存储器802中的信息,结合其硬件完成上述方法的步骤。The processor 803 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 803 or an instruction in the form of software. The above-mentioned processor 803 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the methods disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory 802, and the processor 803 reads the information in the memory 802, and completes the steps of the above method in combination with its hardware.

可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It will be appreciated that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Device (DSP Device, DSPD), programmable logic Devices (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein may be implemented through modules (eg, procedures, functions, etc.) that perform the functions described herein. Software codes may be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.

可选地,作为另一个实施例,处理器803还配置为在运行所述计算机程序时,执行前述实施例中任一项所述的性能优化方法。Optionally, as another embodiment, the processor 803 is further configured to execute the performance optimization method described in any one of the foregoing embodiments when running the computer program.

需要注意的是,本申请实施例中,终端设备可以是诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备等移动式终端,也可以是诸如数字电视、台式计算机等固定式终端,本申请实施例不作具体限定。参见图9,其示出了本申请实施例提供的一种终端设备90的组成结构示意图。如图9所示,终端设备90至少包括有如前述实施例中所涉及的任意一种性能优化装置70。It should be noted that, in this embodiment of the present application, the terminal device may be, for example, a mobile phone, a tablet computer, a notebook computer, a handheld computer, a personal digital assistant (Personal Digital Assistant, PDA), a portable media player (Portable Media Player, PMP) , a mobile terminal such as a navigation device, a wearable device, etc., or a stationary terminal such as a digital TV, a desktop computer, etc., which is not specifically limited in the embodiments of the present application. Referring to FIG. 9 , it shows a schematic structural diagram of a terminal device 90 provided by an embodiment of the present application. As shown in FIG. 9 , the terminal device 90 includes at least any one of the performance optimization apparatuses 70 involved in the foregoing embodiments.

需要说明的是,在本申请中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this application, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements , but also other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined under the condition of no conflict to obtain new method embodiments.

本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in the several product embodiments provided in this application can be combined arbitrarily without conflict to obtain a new product embodiment.

本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in several method or device embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (12)

1.一种性能优化方法,其特征在于,所述方法包括:1. a performance optimization method, is characterized in that, described method comprises: 确定终端设备的工作模式;其中,所述工作模式包括第一工作模式和第二工作模式,所述第一工作模式为所述终端设备处于全球移动通信系统GSM模式,所述第二工作模式为所述终端设备处于除GSM模式之外的其他模式;Determine the working mode of the terminal device; wherein, the working mode includes a first working mode and a second working mode, the first working mode is that the terminal device is in the Global System for Mobile Communications GSM mode, and the second working mode is The terminal device is in a mode other than the GSM mode; 根据确定的工作模式,控制切换开关处于对应的连接状态;其中,所述第一工作模式对应所述切换开关的第一连接状态,所述第二工作模式对应所述切换开关的第二连接状态;According to the determined working mode, the switch is controlled to be in a corresponding connection state; wherein, the first working mode corresponds to the first connection state of the switch, and the second working mode corresponds to the second connection state of the switch ; 当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化;When the working mode is the first working mode, grounding processing is performed through the first connection state of the switch to optimize the radio frequency performance of the terminal device; 其中,所述当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化,包括:Wherein, when the working mode is the first working mode, performing grounding processing through the first connection state of the switch to optimize the radio frequency performance of the terminal device, including: 当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态将无线收发器的反馈接收器端口连接到地,增加所述反馈接收器端口和发射链路端口之间的隔离度,以优化所述终端设备的射频性能。When the working mode is the first working mode, the feedback receiver port of the wireless transceiver is connected to the ground through the first connection state of the switch, and the connection between the feedback receiver port and the transmission link port is increased. isolation to optimize the RF performance of the end equipment. 2.根据权利要求1所述的方法,其特征在于,所述确定终端设备的工作模式,包括:2. The method according to claim 1, wherein the determining the working mode of the terminal device comprises: 获取所述终端设备当前的网络参数;obtain the current network parameters of the terminal device; 若获取的网络参数符合GSM网络参数,则确定所述工作模式为第一工作模式;If the acquired network parameters conform to the GSM network parameters, then determine that the working mode is the first working mode; 若获取的网络参数不符合GSM网络参数,则确定所述工作模式为第二工作模式。If the acquired network parameters do not conform to the GSM network parameters, it is determined that the working mode is the second working mode. 3.根据权利要求1所述的方法,其特征在于,所述切换开关位于耦合链路中;其中,所述耦合链路的方向与发射链路的方向相反。3. The method of claim 1, wherein the switch is located in a coupling link; wherein the direction of the coupling link is opposite to the direction of the transmitting link. 4.根据权利要求1所述的方法,其特征在于,所述切换开关为单刀双掷开关;其中,所述切换开关包括第一接线端、第二接线端和第三接线端;其中,所述第三接线端与所述切换开关的刀相连。4. The method according to claim 1, wherein the switch is a single-pole double-throw switch; wherein the switch comprises a first terminal, a second terminal and a third terminal; wherein the The third terminal is connected to the blade of the switch. 5.根据权利要求4所述的方法,其特征在于,所述第一接线端与发射链路端口连接,所述第二接线端与地连接,所述第三接线端与反馈接收器端口连接;所述根据确定的工作模式,控制切换开关处于对应的连接状态,包括:5. The method of claim 4, wherein the first terminal is connected to a transmit link port, the second terminal is connected to ground, and the third terminal is connected to a feedback receiver port ; The control switch is in a corresponding connection state according to the determined working mode, including: 当所述工作模式为第一工作模式时,控制所述切换开关处于第一连接状态,将反馈接收器端口连接到地;其中,所述第一连接状态为所述切换开关的刀闭合至所述第二接线端;When the working mode is the first working mode, the switch is controlled to be in a first connection state, and the feedback receiver port is connected to the ground; wherein, the first connection state is that the blade of the switch is closed to all the second terminal; 当所述工作模式为第二工作模式时,控制所述切换开关处于第二连接状态,将反馈接收器端口连接到发射链路端口;其中,所述第二连接状态为所述切换开关的刀闭合至所述第一接线端。When the working mode is the second working mode, the switch is controlled to be in a second connection state, and the feedback receiver port is connected to the transmission link port; wherein the second connection state is the pole of the switch. closed to the first terminal. 6.根据权利要求4所述的方法,其特征在于,所述第一接线端与反馈接收器端口连接,所述第二接线端与地连接,所述第三接线端与发射链路端口连接;所述根据确定的工作模式,控制切换开关处于对应的连接状态,包括:6. The method of claim 4, wherein the first terminal is connected to a feedback receiver port, the second terminal is connected to ground, and the third terminal is connected to a transmit link port ; The control switch is in a corresponding connection state according to the determined working mode, including: 当所述工作模式为第一工作模式时,控制所述切换开关处于第一连接状态,将发射链路端口连接到地;其中,所述第一连接状态为所述切换开关的刀闭合至所述第二接线端;When the working mode is the first working mode, the switch is controlled to be in a first connection state, and the transmission link port is connected to the ground; wherein, the first connection state is that the switch of the switch is closed to all the second terminal; 当所述工作模式为第二工作模式时,控制所述切换开关处于第二连接状态,将反馈接收器端口连接到发射链路端口;其中,所述第二连接状态为所述切换开关的刀闭合至所述第一接线端。When the working mode is the second working mode, the switch is controlled to be in a second connection state, and the feedback receiver port is connected to the transmission link port; wherein the second connection state is the pole of the switch. closed to the first terminal. 7.根据权利要求6所述的方法,其特征在于,所述当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化,包括:7 . The method according to claim 6 , wherein when the working mode is the first working mode, grounding processing is performed according to the first connection state of the switch, and the radio frequency of the terminal device is regulated. 8 . Performance optimizations, including: 当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态将所述发射链路端口连接到地,增加所述反馈接收器端口和所述发射链路端口之间的隔离度,以优化所述终端设备的射频性能。When the working mode is the first working mode, the transmission link port is connected to the ground through the first connection state of the switch, and the connection between the feedback receiver port and the transmission link port is increased. isolation to optimize the RF performance of the end equipment. 8.根据权利要求7所述的方法,其特征在于,所述方法还包括:8. The method according to claim 7, wherein the method further comprises: 当所述工作模式为第二工作模式时,通过所述切换开关的第二连接状态将所述反馈接收器端口连接到所述发射链路端口,实现所述终端设备的功率检测。When the working mode is the second working mode, the feedback receiver port is connected to the transmission link port through the second connection state of the switch, so as to realize the power detection of the terminal device. 9.一种性能优化装置,其特征在于,所述性能优化装置包括确定单元、控制单元、优化单元和切换开关,其中,9. A performance optimization device, characterized in that the performance optimization device comprises a determination unit, a control unit, an optimization unit and a switch, wherein, 所述确定单元,配置为确定终端设备的工作模式;其中,所述工作模式包括第一工作模式和第二工作模式,所述第一工作模式为所述终端设备处于GSM模式,所述第二工作模式为所述终端设备处于除GSM模式之外的其他模式;The determining unit is configured to determine a working mode of the terminal device; wherein, the working mode includes a first working mode and a second working mode, the first working mode is that the terminal device is in a GSM mode, and the second working mode is The working mode is that the terminal device is in a mode other than the GSM mode; 所述控制单元,配置为根据确定的工作模式,控制切换开关处于对应的连接状态;其中,所述第一工作模式对应所述切换开关的第一连接状态,所述第二工作模式对应所述切换开关的第二连接状态;The control unit is configured to control the switch to be in a corresponding connection state according to the determined operation mode; wherein the first operation mode corresponds to the first connection state of the switch, and the second operation mode corresponds to the the second connection state of the switch; 所述优化单元,配置为当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化;The optimization unit is configured to perform grounding processing through the first connection state of the switch when the working mode is the first working mode, so as to optimize the radio frequency performance of the terminal device; 其中,所述当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态进行接地处理,对所述终端设备的射频性能进行优化,包括:Wherein, when the working mode is the first working mode, performing grounding processing through the first connection state of the switch to optimize the radio frequency performance of the terminal device, including: 当所述工作模式为第一工作模式时,通过所述切换开关的第一连接状态将无线收发器的反馈接收器端口连接到地,增加所述反馈接收器端口和发射链路端口之间的隔离度,以优化所述终端设备的射频性能。When the working mode is the first working mode, the feedback receiver port of the wireless transceiver is connected to the ground through the first connection state of the switch, and the connection between the feedback receiver port and the transmission link port is increased. isolation to optimize the RF performance of the end equipment. 10.一种性能优化装置,其特征在于,所述性能优化装置包括:存储器和处理器;其中,10. A performance optimization device, characterized in that the performance optimization device comprises: a memory and a processor; wherein, 所述存储器,用于存储能够在所述处理器上运行的计算机程序;the memory for storing a computer program executable on the processor; 所述处理器,用于在运行所述计算机程序时,执行如权利要求1至8任一项所述的方法的步骤。The processor is configured to execute the steps of the method according to any one of claims 1 to 8 when running the computer program. 11.一种计算机存储介质,其特征在于,所述计算机存储介质存储有性能优化程序,所述性能优化程序被至少一个处理器执行时实现如权利要求1至8任一项所述的方法的步骤。11. A computer storage medium, characterized in that the computer storage medium stores a performance optimization program, and when the performance optimization program is executed by at least one processor, the method according to any one of claims 1 to 8 is implemented. step. 12.一种终端设备,其特征在于,所述终端设备至少包括如权利要求9或10所述的性能优化装置。12. A terminal device, characterized in that, the terminal device at least comprises the performance optimization apparatus according to claim 9 or 10.
CN201910439337.5A 2019-05-24 2019-05-24 Performance optimization method, apparatus, computer storage medium and terminal device Active CN110166077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910439337.5A CN110166077B (en) 2019-05-24 2019-05-24 Performance optimization method, apparatus, computer storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910439337.5A CN110166077B (en) 2019-05-24 2019-05-24 Performance optimization method, apparatus, computer storage medium and terminal device

Publications (2)

Publication Number Publication Date
CN110166077A CN110166077A (en) 2019-08-23
CN110166077B true CN110166077B (en) 2021-06-18

Family

ID=67632512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910439337.5A Active CN110166077B (en) 2019-05-24 2019-05-24 Performance optimization method, apparatus, computer storage medium and terminal device

Country Status (1)

Country Link
CN (1) CN110166077B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100770885B1 (en) * 2001-10-29 2007-10-26 삼성전자주식회사 Method of reducing loss of mobile communication terminal and its mobile communication terminal
GB0209959D0 (en) * 2002-05-01 2002-06-05 Koninkl Philips Electronics Nv Improvements in or relating to wireless terminals
CN101977289A (en) * 2010-10-28 2011-02-16 中兴通讯股份有限公司 Method, device, system and equipment for processing multiple-television-system signals
CN104185232B (en) * 2014-09-16 2018-07-06 联想(北京)有限公司 A kind of mobile terminal stays network method, device and mobile terminal
CN106452471B (en) * 2016-09-29 2019-10-11 宇龙计算机通信科技(深圳)有限公司 A kind of GSM radio circuit and the terminal including the circuit

Also Published As

Publication number Publication date
CN110166077A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN107005264B (en) The antenna switching control method of wireless terminal and wireless terminal
CN112219315B (en) Hybrid millimeter wave FEM architecture for mobile devices
WO2020057292A1 (en) Antenna adjustment method and device, and computer storage medium
CN108055687B (en) Wireless network connection method and device and terminal equipment
CN109802693B (en) Electronic equipment and radio frequency signal transceiving method
CN106685468A (en) Radio frequency circuit, terminal and radio frequency circuit control method
EP3352378B1 (en) Radio frequency front end, terminal apparatus, and carrier aggregation method
EP3554150A1 (en) Method for determining transmit power, and wireless communication device
TW201906333A (en) System and method for reducing transmit and receive power via a T/R switch
EP3930367A1 (en) Measurement control method and apparatus, terminal and network device
US10826542B2 (en) Signal transceiving control structure and method, electronic device, and storage medium
CN110166077B (en) Performance optimization method, apparatus, computer storage medium and terminal device
CN106230569B (en) Antenna device and mobile terminal
US9913172B2 (en) Method for enabling coexistence of multiple wireless communication modes in mobile terminal and mobile terminal thereof
CN113133102B (en) SAR value adjustment method and device and mobile terminal
CN103391260B (en) Reduce the method and wireless terminal of air interference
WO2025035904A1 (en) Antenna selection method, communication module, electronic device, and storage medium
CN116054967B (en) A power detection circuit and method
KR101770203B1 (en) User equipment and method for controlling transmission power of user equipment
CN112469112A (en) Frequency control method, device, radio frequency system and communication equipment
CN106253914B (en) Antenna device and mobile terminal
CN103974371B (en) Communication system with path selection mechanism
TWI753437B (en) Receiving device and method for dynamically adjusting the attenuation of the receiving signal
KR101783614B1 (en) The user equipment apparatus for transmitting simultaneously from a plurality of dual band wireless communication scheme and method for dual band transmission thereof
CN113726351B (en) Receiving device and method for dynamically adjusting attenuation value of received signal

Legal Events

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