Nothing Special   »   [go: up one dir, main page]

CN107086872A - A mobile terminal-based frequency band switching control method and system - Google Patents

A mobile terminal-based frequency band switching control method and system Download PDF

Info

Publication number
CN107086872A
CN107086872A CN201710243753.9A CN201710243753A CN107086872A CN 107086872 A CN107086872 A CN 107086872A CN 201710243753 A CN201710243753 A CN 201710243753A CN 107086872 A CN107086872 A CN 107086872A
Authority
CN
China
Prior art keywords
antenna
counter
value
mobile terminal
frequency
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.)
Granted
Application number
CN201710243753.9A
Other languages
Chinese (zh)
Other versions
CN107086872B (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.)
Chongqing Qionglan Technology Co.,Ltd.
Original Assignee
Huizhou TCL Mobile Communication Co 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201710243753.9A priority Critical patent/CN107086872B/en
Publication of CN107086872A publication Critical patent/CN107086872A/en
Application granted granted Critical
Publication of CN107086872B publication Critical patent/CN107086872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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/005Details 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 adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种基于移动终端的频段切换控制方法及系统,所述方法包括:设置计数器用于记录移动终端高、低频两个天线之间切换的次数;检测最近第一时间段内,每一秒时间间隔下计数器的增长值,如果计数器的增长值均超过阈值则禁止天线切换;检测最近第二时间段内,每一秒时间间隔下计数器的增长值,如果均未超过阈值则允许天线切换。本发明解决移动终端在高、低频之间经常性切换时,避免天线的跟随性频繁切换,导致无线电波接收、发送的效率低的问题。

The invention discloses a frequency band switching control method and system based on a mobile terminal. The method includes: setting a counter to record the number of switching times between the high and low frequency antennas of the mobile terminal; The growth value of the counter at a time interval of one second. If the growth value of the counter exceeds the threshold, the antenna switching is prohibited; the growth value of the counter at each time interval of each second is detected in the latest second time period, and the antenna is allowed if none of the growth values exceed the threshold. switch. The invention solves the problem that the mobile terminal frequently switches between high frequency and low frequency, and avoids the following frequent switching of the antenna, resulting in low efficiency of radio wave reception and transmission.

Description

一种基于移动终端的频段切换控制方法及系统A mobile terminal-based frequency band switching control method and system

技术领域technical field

本发明涉及移动终端领域,尤其涉及的是一种基于移动终端的频段切换控制方法及系统。The present invention relates to the field of mobile terminals, in particular to a mobile terminal-based frequency band switching control method and system.

背景技术Background technique

通信是移动终端最基本的功能之一,移动终端随时随地均与基站通过无线电波进行通信;移动终端通过天线进行无线电池的发送与接收;目前移动终端往往支持多个无线电频段,在这些频段中有的频段(比如LTE BAND39)比较高,有的频段(比如GSM850)比较低,为了使性能更佳,在移动终端中对于高频段采用一种天线,对于低频段采用另一种天线。Communication is one of the most basic functions of mobile terminals. Mobile terminals communicate with base stations through radio waves anytime and anywhere; mobile terminals transmit and receive wireless batteries through antennas; currently mobile terminals often support multiple radio frequency bands, in these frequency bands Some frequency bands (such as LTE BAND39) are relatively high, and some frequency bands (such as GSM850) are relatively low. In order to improve performance, one antenna is used for high frequency bands in mobile terminals, and another antenna is used for low frequency bands.

在实际的移动终端的使用中,偶尔会遇到移动终端处于一个高、低频交界处,比如移动终端在某地,该地点正好位于高频段与低频段覆盖的交界处(例如LTE BAND39与GSM850的覆盖的交界处,LTE BAND39与GSM850的信号均不是很强),此时移动终端会经常性的在高、低频之间切换,同时也会使天线也经常变化导致无线电波的接收、发送效率低。In the actual use of mobile terminals, occasionally the mobile terminal is at the junction of high and low frequencies, for example, the mobile terminal is in a certain place, which is just at the junction of high frequency band and low frequency band coverage (such as LTE BAND39 and GSM850 At the intersection of coverage, the signals of LTE BAND39 and GSM850 are not very strong), at this time, the mobile terminal will often switch between high and low frequencies, and the antenna will also change frequently, resulting in low radio wave reception and transmission efficiency .

因此,现有技术还有待于改进和发展。Therefore, the prior art still needs to be improved and developed.

发明内容Contents of the invention

本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种基于移动终端的频段切换控制方法及系统。本发明提供了一种移动终端高低频切换控制方法,旨在解决移动终端在高、低频之间经常性切换时,避免天线的跟随性频繁切换,导致无线电波接收、发送的效率低的问题。The technical problem to be solved by the present invention is to provide a mobile terminal-based frequency band switching control method and system for the above-mentioned defects of the prior art. The present invention provides a mobile terminal high and low frequency switching control method, aiming to solve the problem of low efficiency of radio wave reception and transmission caused by frequent switching of antenna following when the mobile terminal frequently switches between high and low frequencies.

本发明解决技术问题所采用的技术方案如下:The technical solution adopted by the present invention to solve technical problems is as follows:

一种基于移动终端的频段切换控制方法,其中,包括:A method for controlling frequency band switching based on a mobile terminal, including:

A、设置计数器用于记录移动终端高、低频两个天线之间切换的次数;A. Set the counter to record the number of times the mobile terminal switches between the high and low frequency antennas;

B、检测最近第一时间段内,每一秒时间间隔下计数器的增长值,如果计数器的增长值均超过阈值则禁止天线切换;B. Detect the growth value of the counter at each second time interval in the most recent first time period, and prohibit antenna switching if the growth value of the counter exceeds the threshold;

C、检测最近第二时间段内,每一秒时间间隔下计数器的增长值,如果均未超过阈值则允许天线切换。C. Detect the growth value of the counter at each second time interval in the latest second time period, and allow antenna switching if none of them exceeds the threshold.

所述基于移动终端的频段切换控制方法,其中,所述步骤A还包括:The mobile terminal-based frequency band switching control method, wherein the step A further includes:

A1、当检测到移动终端使用的天线在用于高频收发电磁波信号的天线,用于低频收发电磁波信号的天线之间切换时将计数器加1。A1. When it is detected that the antenna used by the mobile terminal is switched between the antenna for transmitting and receiving electromagnetic wave signals at high frequency and the antenna for transmitting and receiving electromagnetic wave signals at low frequency, add 1 to the counter.

所述基于移动终端的频段切换控制方法,其中,所述步骤A1包括:The mobile terminal-based frequency band switching control method, wherein the step A1 includes:

A11、当检测到移动终端使用的天线由用于高频收发电磁波信号的天线切换至用于低频收发电磁波信号的天线时将计数器加1;A11. Add 1 to the counter when it is detected that the antenna used by the mobile terminal is switched from the antenna used for high-frequency transmission and reception of electromagnetic wave signals to the antenna used for low-frequency transmission and reception of electromagnetic wave signals;

A12、当检测到移动终端使用的天线由用于低频收发电磁波信号的天线切换至用于高频收发电磁波信号的天线时将计数器加1。A12. When it is detected that the antenna used by the mobile terminal is switched from the antenna for transmitting and receiving electromagnetic wave signals at low frequency to the antenna for transmitting and receiving electromagnetic wave signals at high frequency, add 1 to the counter.

所述基于移动终端的频段切换控制方法,其中,所述第一时间段为10秒钟,所述第一时间段为10秒钟。In the method for controlling frequency band switching based on a mobile terminal, the first time period is 10 seconds, and the first time period is 10 seconds.

所述基于移动终端的频段切换控制方法,其中,所述步骤B具体包括:The mobile terminal-based frequency band switching control method, wherein the step B specifically includes:

B21启动定时器,每隔1秒获取计数器的值,并将该值与上一秒获取到的计数器的值相减得本秒内计数器的增长值;B21 starts the timer, obtains the value of the counter every 1 second, and subtracts this value from the value of the counter obtained in the previous second to obtain the growth value of the counter in this second;

B22获取最近10秒钟的每一秒内的计数器增长值,并判断是否均超过阈值;B22 obtains the counter growth value in each second of the last 10 seconds, and judges whether they all exceed the threshold;

B23如果为是则禁止天线切换。If B23 is yes, antenna switching is prohibited.

所述基于移动终端的频段切换控制方法,其中,所述禁止天线切换为当移动终端由高频向低频切换或由低频向高频切换时,不切换天线。In the mobile terminal-based frequency band switching control method, wherein the prohibiting antenna switching is not switching antennas when the mobile terminal switches from high frequency to low frequency or from low frequency to high frequency.

所述基于移动终端的频段切换控制方法,其中,所述步骤C具体包括:The mobile terminal-based frequency band switching control method, wherein the step C specifically includes:

C31、启动定时器,每隔1秒获取计数器的值,并将该值与上一秒获取到的计数器的值相减得本秒内计数器的增长值;C31, start the timer, obtain the value of the counter every 1 second, and subtract this value from the value of the counter obtained in the last second to obtain the growth value of the counter in this second;

C32、获取最近10秒钟的每一秒内的计数器增长值,并判断是否均小于或等于阈值;C32. Obtain the counter growth value in each second of the last 10 seconds, and judge whether they are all less than or equal to the threshold;

C33、如果为是则允许天线切换。C33. If yes, antenna switching is allowed.

所述基于移动终端的频段切换控制方法,其中,所述允许天线切换为当移动终端由高频向低频切换或由低频向高频切换时,切换天线。In the mobile terminal-based frequency band switching control method, the allowing antenna switching is to switch the antenna when the mobile terminal switches from high frequency to low frequency or from low frequency to high frequency.

一种基于移动终端的频段切换控制系统,其中,包括:A frequency band switching control system based on a mobile terminal, including:

天线切换计数模块,用于设置计数器用于记录移动终端高、低频两个天线之间切换的次数;The antenna switching counting module is used to set the counter to record the number of times the mobile terminal switches between the high and low frequency antennas;

禁止天线检测模块,用于检测最近第一时间段内,每一秒时间间隔下计数器的增长值,如果计数器的增长值均超过阈值则禁止天线切换;The antenna detection module is prohibited, which is used to detect the growth value of the counter at each second time interval in the latest first time period, and if the growth value of the counter exceeds the threshold value, antenna switching is prohibited;

允许天线检测模块,用于检测最近第二时间段内,每一秒时间间隔下计数器的增长值,如果均未超过阈值则允许天线切换。The antenna detection module is allowed to detect the growth value of the counter at each second time interval in the latest second time period, and if none exceeds the threshold value, antenna switching is allowed.

所述基于移动终端的频段切换控制系统,其中,所述天线切换计数模块包括:The mobile terminal-based frequency band switching control system, wherein the antenna switching counting module includes:

第一计数单元、用于当检测到移动终端使用的天线由用于高频收发电磁波信号的天线切换至用于低频收发电磁波信号的天线时将计数器加1;The first counting unit is used to add 1 to the counter when it is detected that the antenna used by the mobile terminal is switched from the antenna for high-frequency transmitting and receiving electromagnetic wave signals to the antenna for low-frequency transmitting and receiving electromagnetic wave signals;

第二计数单元、用于当检测到移动终端使用的天线由用于低频收发电磁波信号的天线切换至用于高频收发电磁波信号的天线时将计数器加1;The second counting unit is used to add 1 to the counter when it is detected that the antenna used by the mobile terminal is switched from the antenna for transmitting and receiving electromagnetic wave signals at low frequency to the antenna for transmitting and receiving electromagnetic wave signals at high frequency;

所述禁止天线检测模块具体包括:The prohibited antenna detection module specifically includes:

增长值第一计算单元,用于启动定时器,每隔1秒获取计数器的值,并将该值与上一秒获取到的计数器的值相减得本秒内计数器的增长值;The first calculation unit of the growth value is used to start the timer, obtain the value of the counter every 1 second, and subtract this value from the value of the counter obtained in the previous second to obtain the growth value of the counter in this second;

第一判断单元,用于获取最近10秒钟的每一秒内的计数器增长值,并判断是否均超过阈值;The first judging unit is used to obtain the counter growth value in each second of the last 10 seconds, and judge whether they all exceed the threshold;

禁止控制单元,用于如果为是则禁止天线切换;an inhibit control unit for, if yes, inhibiting antenna switching;

所述允许天线检测模块具体包括:The allowed antenna detection module specifically includes:

增长值第二计算单元、用于启动定时器,每隔1秒获取计数器的值,并将该值与上一秒获取到的计数器的值相减得本秒内计数器的增长值;The second calculation unit of the growth value is used to start the timer, obtain the value of the counter every 1 second, and subtract this value from the value of the counter obtained in the previous second to obtain the growth value of the counter in this second;

第二判断单元、获取最近10秒钟的每一秒内的计数器增长值,并判断是否均小于或等于阈值;The second judging unit obtains the counter growth value in each second of the last 10 seconds, and judges whether they are all less than or equal to the threshold;

允许控制单元,用于如果判断最近10秒钟的每一秒内的计数器增长值,是均小于或等于阈值为是则允许天线切换。The permission control unit is configured to allow antenna switching if it is judged that the increment value of the counter in each second of the last 10 seconds is less than or equal to the threshold value of yes.

本发明所提供的基于移动终端的频段切换控制方法及系统,所述方法通过设置计数器用于记录高、低频两个天线之间切换的次数;检测最近10秒钟,每一秒时间间隔下计数器的增长值,如果均超过阈值则禁止天线切换;检测最近10秒钟,每一秒时间间隔下计数器的增长值,如果均未超过阈值则允许天线切换。从而解决移动终端在高、低频之间经常性切换时,避免天线的跟随性频繁切换,导致无线电波接收、发送的效率低的问题。The mobile terminal-based frequency band switching control method and system provided by the present invention, the method is used to record the number of times of switching between the high and low frequency antennas by setting a counter; detect the last 10 seconds, and count down the counter every second If the growth value exceeds the threshold, the antenna switching is prohibited; the growth value of the counter is detected at each second time interval in the last 10 seconds, and the antenna switching is allowed if the value does not exceed the threshold. Therefore, when the mobile terminal frequently switches between high and low frequencies, it avoids frequent switching of the antenna following, which leads to low efficiency of radio wave reception and transmission.

附图说明Description of drawings

图1是本发明基于移动终端的频段切换控制方法的较佳实施例的流程图。FIG. 1 is a flow chart of a preferred embodiment of the mobile terminal-based frequency band switching control method of the present invention.

图2是本发明基于移动终端的频段切换控制系统的较佳实施例的流程图。Fig. 2 is a flowchart of a preferred embodiment of the mobile terminal-based frequency band switching control system of the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

请参见图1,图1是本发明基于移动终端的频段切换控制方法的较佳实施例的流程图。如图1所示,本发明实施例提供的一种基于移动终端的频段切换控制方法,包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a flow chart of a preferred embodiment of the mobile terminal-based frequency band switching control method of the present invention. As shown in Figure 1, a mobile terminal-based frequency band switching control method provided by an embodiment of the present invention includes the following steps:

S100、设置计数器用于记录高、低频两个天线之间切换的次数;S100, setting a counter to record the number of times of switching between the high and low frequency antennas;

移动终端通过天线进行无线电池的发送与接收;目前移动终端往往支持多个无线电频段,在这些频段中有的频段(比如LTE BAND39)比较高,有的频段(比如GSM850)比较低,为了使性能更佳,在移动终端中对于高频段采用一种天线,对于低频段采用另一种天线。如图2,第一天线更适用于收发高频无线电波,第二天线更适用于收发低频无线电波,这样可以使性能达到佳。The mobile terminal transmits and receives the wireless battery through the antenna; at present, the mobile terminal often supports multiple radio frequency bands, some of these frequency bands (such as LTE BAND39) are relatively high, and some frequency bands (such as GSM850) are relatively low. More preferably, one kind of antenna is used for the high frequency band and another kind of antenna is used for the low frequency band in the mobile terminal. As shown in Figure 2, the first antenna is more suitable for sending and receiving high-frequency radio waves, and the second antenna is more suitable for sending and receiving low-frequency radio waves, which can achieve the best performance.

但在实际的移动终端的使用中,偶尔会遇到移动终端处于一个高、低频交界处,比如移动终端在某地,该地点正好位于高频段与低频段覆盖的交界处(例如LTE BAND39与GSM850的覆盖的交界处,LTE BAND39与GSM850的信号均不是很强),此时移动终端会经常性的在高、低频之间切换,同时也会使天线也经常变化导致无线电波的接收、发送效率低。However, in the actual use of mobile terminals, it is occasionally encountered that the mobile terminal is at the junction of high and low frequencies. At the junction of coverage, the signals of LTE BAND39 and GSM850 are not very strong), at this time, the mobile terminal will often switch between high and low frequencies, and the antenna will also change frequently, resulting in radio wave reception and transmission efficiency Low.

所以本发明中,预先设置计数器用于记录高、低频两个天线之间切换的次数。具体地,当检测到移动终端使用的天线在用于高频收发电磁波信号的天线,用于低频收发电磁波信号的天线之间切换时将计数器加1;包括当检测到移动终端使用的天线由用于高频收发电磁波信号的天线切换至用于低频收发电磁波信号的天线时将计数器加1,当检测到移动终端使用的天线由用于低频收发电磁波信号的天线切换至用于高频收发电磁波信号的天线时将计数器加1。Therefore, in the present invention, a counter is preset to record the number of switching times between the high and low frequency antennas. Specifically, add 1 to the counter when it is detected that the antenna used by the mobile terminal is switched between an antenna for transmitting and receiving electromagnetic wave signals at a high frequency and an antenna for transmitting and receiving electromagnetic wave signals at a low frequency; Add 1 to the counter when the antenna for transmitting and receiving electromagnetic wave signals at high frequency is switched to the antenna for transmitting and receiving electromagnetic wave signals at low frequency. Increment the counter by 1 for the antenna.

S200,检测最近第一时间段内,每一秒时间间隔下计数器的增长值,如果计数器的增长值均超过阈值则禁止天线切换。S200. Detect the growth value of the counter at each second time interval in the most recent first time period, and prohibit antenna switching if the growth values of the counters all exceed a threshold.

第一时间段为10秒钟,例如,检测最近10秒钟,每一秒时间间隔下计数器的增长值,如果均超过阈值则禁止天线切换。The first time period is 10 seconds. For example, the latest 10 seconds are detected, and the increment value of the counter at each second interval is detected. If all of them exceed the threshold value, antenna switching is prohibited.

本发明实施例中,较佳地,所述阈值为30。In the embodiment of the present invention, preferably, the threshold is 30.

具体地,步骤S20包括:Specifically, step S20 includes:

S21启动定时器,每隔1秒获取计数器的值,并将该值与上一秒获取到的计数器的值相减得本秒内计数器的增长值;S21 starts the timer, obtains the value of the counter every 1 second, and subtracts this value from the value of the counter obtained in the last second to obtain the growth value of the counter in this second;

S22获取最近10秒钟的每一秒内的计数器增长值,并判断是否均超过阈值;S22 acquires the counter growth value in each second of the last 10 seconds, and judges whether they all exceed the threshold;

S23如果为是则禁止天线切换。If S23 is yes, antenna switching is prohibited.

发明人:例如最近10秒得到的每一秒内计数器增长值分别为31,32,32,35,55,77,32,32,31,38,因为都超过阈值30,故在S23中判定为是,然后禁止天线切换。例如最近10秒得到的每一秒内计数器增长值分别为31,25,32,32,35,55,77,32,32,38,因为有一个25未超过阈值30,故在S23中判定为否,然后仍保持允许天线切换状态。Inventor: For example, the increment value of the counter in each second obtained in the last 10 seconds is 31, 32, 32, 35, 55, 77, 32, 32, 31, 38, because they all exceed the threshold 30, so it is judged in S23 as Yes, then disable antenna switching. For example, the counter growth values obtained in each second in the last 10 seconds are 31, 25, 32, 32, 35, 55, 77, 32, 32, 38, because there is a 25 that does not exceed the threshold 30, so it is determined in S23 No, then the state of allowing antenna switching remains.

其中,所述禁止天线切换为当移动终端由高频向低频切换或由低频向高频切换时,不切换天线。Wherein, the prohibition of antenna switching means not switching antennas when the mobile terminal switches from high frequency to low frequency or from low frequency to high frequency.

S300,检测最近第二时间段内,每一秒时间间隔下计数器的增长值,如果均未超过阈值则允许天线切换。S300. Detect the growth value of the counter at each second time interval in the latest second time period, and allow antenna switching if none of them exceeds the threshold.

较佳地,本步骤S300的阈值与步骤S200的阈值一样都为30。当然,另外的实施例也可以不一样,但步骤S300R 这个阈值需要小于或等于前面S200提到的那个阈值),譬如这个阈值为25。Preferably, the threshold in this step S300 is 30 the same as the threshold in step S200. Of course, other embodiments may be different, but the threshold in step S300R needs to be less than or equal to the threshold mentioned in S200), for example, the threshold is 25.

例如,检测最近10秒钟,每一秒时间间隔下计数器的增长值,如果均未超过阈值则允许天线切换。For example, the last 10 seconds are detected, and the increment value of the counter at each second time interval is detected, and if none exceeds the threshold, antenna switching is allowed.

具体地,步骤S30包括:Specifically, step S30 includes:

S31启动定时器,每隔1秒获取计数器的值,并将该值与上一秒获取到的计数器的值相减得本秒内计数器的增长值;S31 starts the timer, obtains the value of the counter every 1 second, and subtracts this value from the value of the counter obtained in the last second to obtain the growth value of the counter in this second;

S32获取最近10秒钟的每一秒内的计数器增长值,并判断是否均小于或等于阈值;S32 obtains the counter growth value in each second of the last 10 seconds, and judges whether they are all less than or equal to the threshold;

S33如果为是则允许天线切换。If yes in S33, antenna switching is allowed.

例如最近10秒得到的每一秒内计数器增长值分别为21,21,22,22,15,17,22,12,21,18,因为都未阈值25,S33中判定为是,然后允许天线切换。例如最近10秒得到的每一秒内计数器增长值分别为21,21,22,22,15,17,29,12,21,18,因为29超过阈值25,S33中判定为否,然后仍保持禁止天线切换的状态。For example, the increment value of the counter in each second obtained in the last 10 seconds is 21, 21, 22, 22, 15, 17, 22, 12, 21, 18, because none of them has a threshold of 25, and it is judged as yes in S33, and then the antenna is allowed switch. For example, the counter growth values obtained in each second in the last 10 seconds are 21, 21, 22, 22, 15, 17, 29, 12, 21, 18, because 29 exceeds the threshold value 25, it is judged as No in S33, and then it remains State where antenna switching is disabled.

其中,所述允许天线切换为当移动终端由高频向低频切换或由低频向高频切换时,切换天线。Wherein, the allowing antenna switching is to switch the antenna when the mobile terminal switches from high frequency to low frequency or from low frequency to high frequency.

由上可见,本发明实施例提供一种基于移动终端的频段切换控制方法,本发明提供了一种移动终端高低频切换控制方法,旨在解决移动终端在高、低频之间经常性切换时,避免天线的跟随性频繁切换,导致无线电波接收、发送的效率低的问题。It can be seen from the above that the embodiment of the present invention provides a mobile terminal-based frequency band switching control method. The present invention provides a mobile terminal high-low frequency switching control method, which aims to solve the problem of frequent switching between high-frequency and low-frequency mobile terminals. Avoid frequent switching of antenna following, resulting in low efficiency of radio wave reception and transmission.

基于上述实施例,本发明还提供了一种基于移动终端的频段切换控制系统,如图2所示,所述系统包括:Based on the above embodiments, the present invention also provides a mobile terminal-based frequency band switching control system, as shown in Figure 2, the system includes:

天线切换计数模块,用于设置计数器用于记录移动终端高、低频两个天线之间切换的次数;具体如上所述。The antenna switching counting module is used to set the counter to record the number of switching times between the high and low frequency antennas of the mobile terminal; the details are as described above.

禁止天线检测模块,用于检测最近第一时间段内,每一秒时间间隔下计数器的增长值,如果计数器的增长值均超过阈值则禁止天线切换;具体如上所述。The antenna detection module is prohibited, which is used to detect the growth value of the counter at each second time interval in the latest first time period, and if the growth value of the counter exceeds the threshold value, antenna switching is prohibited; the details are as described above.

允许天线检测模块,用于检测最近第二时间段内,每一秒时间间隔下计数器的增长值,如果均未超过阈值则允许天线切换;具体如上所述。The antenna detection module is allowed to detect the growth value of the counter at each second time interval in the latest second time period, and if none of them exceed the threshold value, antenna switching is allowed; the details are as described above.

本发明实施例中,天线切换计数模块分别连接第一天线和第二天线,禁止天线检测模块和允许天线检测模块分别连接天线切换计数模块。如图2所示,禁止天线检测模块和允许天线检测模块的右侧连接线处不相交。In the embodiment of the present invention, the antenna switching counting module is respectively connected to the first antenna and the second antenna, and the antenna prohibiting detection module and the antenna permitting detection module are respectively connected to the antenna switching counting module. As shown in FIG. 2 , the connecting lines on the right side of the prohibited antenna detection module and the permitted antenna detection module do not intersect.

较佳地,所述基于移动终端的频段切换控制系统,其中,所述天线切换计数模块包括:Preferably, the mobile terminal-based frequency band switching control system, wherein the antenna switching counting module includes:

第一计数单元、用于当检测到移动终端使用的天线由用于高频收发电磁波信号的天线切换至用于低频收发电磁波信号的天线时将计数器加1;The first counting unit is used to add 1 to the counter when it is detected that the antenna used by the mobile terminal is switched from the antenna for high-frequency transmitting and receiving electromagnetic wave signals to the antenna for low-frequency transmitting and receiving electromagnetic wave signals;

第二计数单元、用于当检测到移动终端使用的天线由用于低频收发电磁波信号的天线切换至用于高频收发电磁波信号的天线时将计数器加1;The second counting unit is used to add 1 to the counter when it is detected that the antenna used by the mobile terminal is switched from the antenna for transmitting and receiving electromagnetic wave signals at low frequency to the antenna for transmitting and receiving electromagnetic wave signals at high frequency;

较佳地,所述禁止天线检测模块具体包括:Preferably, the prohibited antenna detection module specifically includes:

增长值第一计算单元,用于启动定时器,每隔1秒获取计数器的值,并将该值与上一秒获取到的计数器的值相减得本秒内计数器的增长值;The first calculation unit of the growth value is used to start the timer, obtain the value of the counter every 1 second, and subtract this value from the value of the counter obtained in the previous second to obtain the growth value of the counter in this second;

第一判断单元,用于获取最近10秒钟的每一秒内的计数器增长值,并判断是否均超过阈值;The first judging unit is used to obtain the counter growth value in each second of the last 10 seconds, and judge whether they all exceed the threshold;

禁止控制单元,用于如果为是则禁止天线切换;an inhibit control unit for, if yes, inhibiting antenna switching;

较佳地,所述允许天线检测模块具体包括:Preferably, the allowing antenna detection module specifically includes:

增长值第二计算单元、用于启动定时器,每隔1秒获取计数器的值,并将该值与上一秒获取到的计数器的值相减得本秒内计数器的增长值;The second calculation unit of the growth value is used to start the timer, obtain the value of the counter every 1 second, and subtract this value from the value of the counter obtained in the previous second to obtain the growth value of the counter in this second;

第二判断单元、获取最近10秒钟的每一秒内的计数器增长值,并判断是否均小于或等于阈值;The second judging unit obtains the counter growth value in each second of the last 10 seconds, and judges whether they are all less than or equal to the threshold;

允许控制单元,用于如果判断最近10秒钟的每一秒内的计数器增长值,是均小于或等于阈值为是则允许天线切换。The permission control unit is configured to allow antenna switching if it is judged that the increment value of the counter in each second of the last 10 seconds is less than or equal to the threshold value of yes.

综上所述,本发明所提供的基于移动终端的频段切换控制方法及系统,所述方法通过设置计数器用于记录高、低频两个天线之间切换的次数;检测最近10秒钟,每一秒时间间隔下计数器的增长值,如果均超过阈值则禁止天线切换;检测最近10秒钟,每一秒时间间隔下计数器的增长值,如果均未超过阈值则允许天线切换。从而解决移动终端在高、低频之间经常性切换时,避免天线的跟随性频繁切换,导致无线电波接收、发送的效率低的问题。In summary, the mobile terminal-based frequency band switching control method and system provided by the present invention, the method is used to record the number of times of switching between the high and low frequency antennas by setting a counter; detect the last 10 seconds, every The growth value of the counter at the time interval of one second, if it exceeds the threshold, the antenna switching is prohibited; the growth value of the counter at the time interval of each second is detected in the last 10 seconds, and the antenna switching is allowed if it does not exceed the threshold. Therefore, when the mobile terminal frequently switches between high and low frequencies, it avoids frequent switching of the antenna following, which leads to low efficiency of radio wave reception and transmission.

当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关硬件(如处理器,控制器等)来完成,所述的程序可存储于一计算机可读取的存储介质中,该程序在执行时可包括如上述各方法实施例的流程。其中所述的存储介质可为存储器、磁碟、光盘等。Of course, those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be realized by instructing related hardware (such as processors, controllers, etc.) through computer programs, and the programs can be stored in a In the computer-readable storage medium, the program may include the processes of the above-mentioned method embodiments when executed. The storage medium mentioned herein may be a memory, a magnetic disk, an optical disk, and the like.

应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that the application of the present invention is not limited to the above examples, and those skilled in the art can make improvements or transformations according to the above descriptions, and all these improvements and transformations should belong to the protection scope of the appended claims of the present invention.

Claims (10)

1. a kind of frequency range method for handover control based on mobile terminal, it is characterised in that including:
A, the number of times for setting counter to switch for recording between two antennas of mobile terminal high and low frequency;
In B, the nearest first time period of detection, the increasing value of counter under each second time interval, if the increasing value of counter Then antenna is forbidden to switch more than threshold value;
In C, the nearest second time period of detection, the increasing value of counter under each second time interval, if not less than threshold value Antenna is allowed to switch.
2. the frequency range method for handover control based on mobile terminal according to claim 1, it is characterised in that the step A is also Including:
A1, when detecting antenna that mobile terminal uses in the antenna for high frequency transceiving electromagnetic ripple signal, for low frequency transmitting-receiving Counter is added 1 when switching between the antenna of electromagnetic wave signal.
3. the frequency range method for handover control based on mobile terminal according to claim 2, it is characterised in that the step A1 bags Include:
A11, switched to by the antenna for high frequency transceiving electromagnetic ripple signal for low when detecting the antenna that mobile terminal uses Counter is added 1 during the antenna of frequency transceiving electromagnetic ripple signal;
A12, switched to by the antenna for low frequency transceiving electromagnetic ripple signal for height when detecting the antenna that mobile terminal uses Counter is added 1 during the antenna of frequency transceiving electromagnetic ripple signal.
4. the frequency range method for handover control based on mobile terminal according to claim 1, it is characterised in that the very first time Section is 10 seconds, and the first time period is 10 seconds.
5. the frequency range method for handover control based on mobile terminal according to claim 1, it is characterised in that the step B tools Body includes:
B21 starts timer, every the value of 1 second acquisition counter, and the value phase for the counter that the value and upper one second are got Subtract this second inside counting device increasing value;
B22 obtains the counter increasing value in each second of nearest 10 seconds, and judges whether to exceed threshold value;
B23 then forbids antenna to switch if YES.
6. the frequency range method for handover control based on mobile terminal according to claim 1, it is characterised in that described to forbid antenna Switch to when mobile terminal switches or switched from low frequency to high frequency from high frequency to low frequency, do not switch antenna.
7. the frequency range method for handover control based on mobile terminal according to claim 1, it is characterised in that the step C tools Body includes:
C31, startup timer, every the value of 1 second acquisition counter, and the value phase for the counter that the value and upper one second are got Subtract this second inside counting device increasing value;
C32, the counter increasing value in each second of nearest 10 seconds of acquisition, and judge whether respectively less than or equal to threshold value;
C33, if YES then permission antenna switching.
8. the frequency range method for handover control based on mobile terminal according to claim 1, it is characterised in that the permission antenna Switch to when mobile terminal switches or switched from low frequency to high frequency from high frequency to low frequency, switch antenna.
9. a kind of frequency range handover control system based on mobile terminal, it is characterised in that including:
Antenna toggle count module, for setting counter to be used to record what is switched between two antennas of mobile terminal high and low frequency Number of times;
Forbid antenna detection module, for detecting in nearest first time period, the increasing value of counter under each second time interval, Antenna is forbidden to switch if the increasing value of counter exceedes threshold value;
Allow antenna detection module, for detecting in nearest second time period, the increasing value of counter under each second time interval, Antenna is allowed to switch if not less than threshold value.
10. the frequency range handover control system based on mobile terminal according to claim 9, it is characterised in that the antenna is cut Changing counting module includes:
First counting unit, for when detecting antenna that mobile terminal uses by the antenna for high frequency transceiving electromagnetic ripple signal Counter plus 1 when switching to the antenna for low frequency transceiving electromagnetic ripple signal;
Second counting unit, for when detecting antenna that mobile terminal uses by the antenna for low frequency transceiving electromagnetic ripple signal Counter plus 1 when switching to the antenna for high frequency transceiving electromagnetic ripple signal;
It is described to forbid antenna detection module to specifically include:
The computing unit of increasing value first, for starting timer, every the value of 1 second acquisition counter, and by the value and upper one second The value of the counter got subtract each other this second inside counting device increasing value;
First judging unit, for obtaining the counter increasing value in each second of nearest 10 seconds, and judges whether to exceed Threshold value;
Forbid control unit, for then forbidding antenna to switch if YES;
The permission antenna detection module is specifically included:
The computing unit of increasing value second, for starting timer, every the value of 1 second acquisition counter, and by the value and upper one second The value of the counter got subtract each other this second inside counting device increasing value;
Second judging unit, the counter increasing value in each second of nearest 10 seconds of acquisition, and judge whether respectively less than or wait In threshold value;
Allow control unit, for if it is determined that counter increasing value in each second of nearest 10 seconds, be respectively less than or wait It is then to allow antenna to switch to be in threshold value.
CN201710243753.9A 2017-04-14 2017-04-14 A mobile terminal-based frequency band switching control method and system Active CN107086872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710243753.9A CN107086872B (en) 2017-04-14 2017-04-14 A mobile terminal-based frequency band switching control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710243753.9A CN107086872B (en) 2017-04-14 2017-04-14 A mobile terminal-based frequency band switching control method and system

Publications (2)

Publication Number Publication Date
CN107086872A true CN107086872A (en) 2017-08-22
CN107086872B CN107086872B (en) 2020-05-08

Family

ID=59611957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710243753.9A Active CN107086872B (en) 2017-04-14 2017-04-14 A mobile terminal-based frequency band switching control method and system

Country Status (1)

Country Link
CN (1) CN107086872B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495936A (en) * 2018-10-25 2019-03-19 惠州Tcl移动通信有限公司 The switching method and storage device of a kind of mobile device and its communication band
CN109495970A (en) * 2018-12-21 2019-03-19 Tcl移动通信科技(宁波)有限公司 Mobile terminal WIFI channel switching method, mobile terminal and storage medium
CN110213085A (en) * 2019-05-14 2019-09-06 惠州Tcl移动通信有限公司 Setting method, storage medium and the terminal of mobile terminal NFC configuration parameter
WO2022105968A1 (en) * 2020-11-18 2022-05-27 Continental Automotive Gmbh Device and method for antenna changeover on a radio transceiver

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247614A (en) * 2008-03-22 2008-08-20 深圳华为通信技术有限公司 Method and system for testing mobile terminal switching on and off and equipment thereof
CN103124186A (en) * 2011-11-21 2013-05-29 国基电子(上海)有限公司 Wireless communication device
CN104899084A (en) * 2015-05-28 2015-09-09 惠州Tcl移动通信有限公司 Electronic equipment and method for preventing electronic equipment from frequently switching working states
JP2016178465A (en) * 2015-03-19 2016-10-06 シャープ株式会社 Mobile communication terminal
CN106452550A (en) * 2016-10-14 2017-02-22 珠海市魅族科技有限公司 Antenna switching method and apparatus
CN106488523A (en) * 2015-08-24 2017-03-08 大唐移动通信设备有限公司 A kind of method and apparatus of suppression antenna transmission mode frequent switching
US9621245B2 (en) * 2012-06-08 2017-04-11 Apple Inc. Facilitating switching between transmitting antennas in portable electronic devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247614A (en) * 2008-03-22 2008-08-20 深圳华为通信技术有限公司 Method and system for testing mobile terminal switching on and off and equipment thereof
CN103124186A (en) * 2011-11-21 2013-05-29 国基电子(上海)有限公司 Wireless communication device
US9621245B2 (en) * 2012-06-08 2017-04-11 Apple Inc. Facilitating switching between transmitting antennas in portable electronic devices
JP2016178465A (en) * 2015-03-19 2016-10-06 シャープ株式会社 Mobile communication terminal
CN104899084A (en) * 2015-05-28 2015-09-09 惠州Tcl移动通信有限公司 Electronic equipment and method for preventing electronic equipment from frequently switching working states
CN106488523A (en) * 2015-08-24 2017-03-08 大唐移动通信设备有限公司 A kind of method and apparatus of suppression antenna transmission mode frequent switching
CN106452550A (en) * 2016-10-14 2017-02-22 珠海市魅族科技有限公司 Antenna switching method and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495936A (en) * 2018-10-25 2019-03-19 惠州Tcl移动通信有限公司 The switching method and storage device of a kind of mobile device and its communication band
CN109495970A (en) * 2018-12-21 2019-03-19 Tcl移动通信科技(宁波)有限公司 Mobile terminal WIFI channel switching method, mobile terminal and storage medium
CN110213085A (en) * 2019-05-14 2019-09-06 惠州Tcl移动通信有限公司 Setting method, storage medium and the terminal of mobile terminal NFC configuration parameter
CN110213085B (en) * 2019-05-14 2022-08-30 惠州Tcl移动通信有限公司 Setting method of NFC (near field communication) configuration parameters of mobile terminal, storage medium and terminal
WO2022105968A1 (en) * 2020-11-18 2022-05-27 Continental Automotive Gmbh Device and method for antenna changeover on a radio transceiver

Also Published As

Publication number Publication date
CN107086872B (en) 2020-05-08

Similar Documents

Publication Publication Date Title
US9066327B2 (en) Low energy wireless proximity pairing
JP5735143B2 (en) Communication method for supporting in-device coexistence interference avoidance
CN108282166B (en) Antenna coexistence and mutual interference processing method, device, storage medium and electronic device
US10129832B2 (en) Wireless communication control method and wireless network device
KR101489676B1 (en) Transmission Method of Portable Device, Portable Device and Computer-readable storage medium
US9531418B2 (en) Tunable inter-antenna isolation
CN107086872A (en) A mobile terminal-based frequency band switching control method and system
JP2010278825A (en) Wireless communication apparatus, wireless communication system, and wireless communication method
CN108233956B (en) Antenna coexistence mutual interference processing method and device, storage medium and electronic equipment
CN104869586B (en) A kind of processing method and access point apparatus of dynamic channel detection
CN106131898B (en) A kind of method, device and mobile terminal of handover access access point
CN106230492A (en) Method and device for switching terminal antenna and mobile terminal
CN106922013A (en) With the method for the WAP and drop low signal interference of frequency range dijection frequency module
CN104640188A (en) Power control method and power control equipment
US20170181071A1 (en) Communication terminal and method for selecting a communication antenna
CN105357688A (en) Antenna system and mobile terminal thereof
CN109639368A (en) electromagnetic interference control method and related device
CN103391260B (en) Reduce the method and wireless terminal of air interference
WO2011042051A1 (en) Controlling antenna combinations
US9906261B2 (en) RF device based on Band 28 and communication method thereof
WO2014010541A1 (en) Portable terminal, wireless communication method, and program
US10374652B2 (en) Antenna switching in a communication circuit
US20210321204A1 (en) Electronic device that limits electromagnetic emissions from multiple batteries
US20180270759A1 (en) Wireless communication apparatus and wireless communication method
CN110311694B (en) Communication interference control method and related product

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231213

Address after: 361000 room 4101, No. 131, xinjingdongli, Haicang District, Xiamen City, Fujian Province

Patentee after: Xiamen Jiupin sesame Information Technology Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20241023

Address after: 400000 Chongqing Shapingba District High tech Zone Xianglushan Street University City Middle Road No. 6, Xiexin City Cube Phase 1, Group 4 Commercial 2, Third Floor, Self compiled No. 22

Patentee after: Chongqing Qionglan Technology Co.,Ltd.

Country or region after: China

Address before: 361000 room 4101, No. 131, xinjingdongli, Haicang District, Xiamen City, Fujian Province

Patentee before: Xiamen Jiupin sesame Information Technology Co.,Ltd.

Country or region before: China