Movatterモバイル変換


[0]ホーム

URL:


CN107172671A - A kind of channel switching method, device, storage medium and terminal - Google Patents

A kind of channel switching method, device, storage medium and terminal
Download PDF

Info

Publication number
CN107172671A
CN107172671ACN201710322550.9ACN201710322550ACN107172671ACN 107172671 ACN107172671 ACN 107172671ACN 201710322550 ACN201710322550 ACN 201710322550ACN 107172671 ACN107172671 ACN 107172671A
Authority
CN
China
Prior art keywords
terminal
signal strength
preset
channel
strength value
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
CN201710322550.9A
Other languages
Chinese (zh)
Other versions
CN107172671B (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 LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710322550.9ApriorityCriticalpatent/CN107172671B/en
Publication of CN107172671ApublicationCriticalpatent/CN107172671A/en
Application grantedgrantedCritical
Publication of CN107172671BpublicationCriticalpatent/CN107172671B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种信道切换方法、装置、存储介质和终端;所述方法包括以下步骤:获取终端当前的信号强度值,确定终端中当前处于工作状态的目标器件,判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设差值,若小于预设差值,则切换终端当前使用的信道至备用信道。本方案通过当前信道信号强度值来判断终端中的器件对终端信号的影响程度,若其影响超过一定程度,则发送指令使对应的基站将终端当前使用的信道切换至备用信道,可以减少终端受到内部射频系统的干扰,从而提升信号强度。

The embodiment of the present invention discloses a channel switching method, device, storage medium and terminal; the method includes the following steps: acquiring the current signal strength value of the terminal, determining the target device currently in the working state in the terminal, and judging the current signal strength Whether the difference between the value and the preset signal strength value of the target device is less than the preset difference, and if it is less than the preset difference, switch the channel currently used by the terminal to an alternate channel. This solution uses the current channel signal strength value to judge the degree of influence of the devices in the terminal on the terminal signal. If the influence exceeds a certain degree, an instruction will be sent to the corresponding base station to switch the channel currently used by the terminal to an alternate channel, which can reduce the terminal’s impact on the signal. Interference from internal RF systems, thereby increasing signal strength.

Description

Translated fromChinese
一种信道切换方法、装置、存储介质和终端A channel switching method, device, storage medium and terminal

技术领域technical field

本发明涉及移动通信领域,具体涉及一种信道切换方法、装置、存储介质和终端。The present invention relates to the field of mobile communication, in particular to a channel switching method, device, storage medium and terminal.

背景技术Background technique

随着终端技术的发展,移动终端已经开始从以前简单地提供通话设备渐渐变成一个通用软件运行的平台。该平台不再以提供通话管理为主要目的,而是提供一个包括通话管理、游戏娱乐、办公记事、移动支付等各类应用软件在内的运行环境,随着大量的普及,已经深入至人们的生活、工作的方方面面。With the development of terminal technology, the mobile terminal has gradually changed from simply providing communication equipment to a platform for general software operation. The platform no longer aims to provide call management, but to provide an operating environment including call management, game entertainment, office notes, mobile payment and other application software. With a large number of popularization, it has penetrated into people's All aspects of life and work.

终端的信号强弱,影响了终端的通话质量、网速快慢以及耗电量等等。其中,终端的信号强弱一方面取决于运营商的网络,一方面取决于终端本身,运营商的网络覆盖目前主要是跟基站的布局和发射功率有关,现有终端通常采用内置天线,内置天线容易受到干扰,这其中既包括射频系统内部之间的干扰,也包含有其他系统对射频通信的干扰。例如智能终端系统中的马达系统、摄像系统、指纹系统等等。这些干扰都会导致当前使用信道信号质量变差,从而造成通话质量变差或是掉线情况。The signal strength of the terminal affects the call quality, network speed and power consumption of the terminal. Among them, the signal strength of the terminal depends on the operator's network on the one hand, and on the terminal itself on the other hand. The network coverage of the operator is mainly related to the layout and transmission power of the base station. The existing terminal usually uses a built-in antenna, and the built-in antenna Susceptible to interference, which includes both internal interference within the radio frequency system and interference from other systems to radio frequency communications. For example, the motor system, camera system, fingerprint system and so on in the intelligent terminal system. All these interferences will cause the signal quality of the currently used channel to deteriorate, resulting in poor call quality or dropped calls.

由上可知,现有技术中的终端会受到内部射频系统的干扰,从而使终端的信号强度变弱。It can be seen from the above that the terminal in the prior art will be interfered by the internal radio frequency system, so that the signal strength of the terminal will be weakened.

发明内容Contents of the invention

本发明实施例提供一种信道切换方法、装置、存储介质和终端,可以提升终端的信号强度。Embodiments of the present invention provide a channel switching method, device, storage medium and terminal, which can improve the signal strength of the terminal.

第一方面,本发明实施例提供一种信道切换方法,包括:In a first aspect, an embodiment of the present invention provides a channel switching method, including:

获取终端当前的信号强度值;Obtain the current signal strength value of the terminal;

确定所述终端中当前处于工作状态的目标器件;determining a target device currently in a working state in the terminal;

判断所述当前的信号强度值与所述目标器件的预设信号强度值的差值是否小于预设差值;judging whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than a preset difference;

若小于所述预设差值,则切换所述终端当前使用的信道至备用信道。If it is smaller than the preset difference, switch the channel currently used by the terminal to a spare channel.

第二方面,本发明实施例还提供了一种信道切换装置,包括:强度获取模块、确定模块、第一判断模块以及切换模块;In the second aspect, the embodiment of the present invention also provides a channel switching device, including: an intensity acquisition module, a determination module, a first judgment module, and a switching module;

所述强度获取模块,用于获取终端当前的信号强度值;The strength acquisition module is used to acquire the current signal strength value of the terminal;

所述确定模块,用于确定所述终端中当前处于工作状态的目标器件;The determination module is configured to determine the target device currently in working state in the terminal;

所述第一判断模块,用于判断所述当前的信号强度值与所述目标器件的预设信号强度值的差值是否小于预设差值;The first judging module is used to judge whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than a preset difference;

所述切换模块,用于当所述判断模块判断为是时,切换所述终端当前使用的信道至备用信道。The switching module is configured to switch the channel currently used by the terminal to an alternate channel when the judging module judges yes.

第三方面,本发明还提供一种存储介质,该存储介质中存储有多条指令,该指令适于由处理器加载以执行上述的信道切换方法。In a third aspect, the present invention also provides a storage medium, in which a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor to execute the above channel switching method.

第四方面,本发明还提供一种终端,包括处理器以及存储介质,所述存储介质中存储有多条指令,所述处理器加载所述指令以执行上述的信道切换方法。In a fourth aspect, the present invention further provides a terminal, including a processor and a storage medium, where a plurality of instructions are stored in the storage medium, and the processor loads the instructions to execute the above channel switching method.

第五方面,本发明实施例还提供另一种终端,包括显示屏、处理器、射频电路以及控制电路,其特征在于:In the fifth aspect, the embodiment of the present invention also provides another terminal, including a display screen, a processor, a radio frequency circuit, and a control circuit, characterized in that:

所述处理器与所述显示屏、射频电路、控制电路电性连接,所述控制电路用于控制所述显示屏显示信息;The processor is electrically connected to the display screen, radio frequency circuit, and control circuit, and the control circuit is used to control the display screen to display information;

所述射频电路,用于获取终端当前的信号强度值;The radio frequency circuit is used to obtain the current signal strength value of the terminal;

所述处理器,用于确定所述终端中当前处于工作状态的目标器件;The processor is configured to determine a target device currently in a working state in the terminal;

所述处理器,用于判断所述当前的信号强度值与所述目标器件的预设信号强度值的差值是否小于预设差值,若小于所述预设差值,则切换所述终端当前使用的信道至备用信道。The processor is configured to judge whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than the preset difference value, and if it is smaller than the preset difference value, switch the terminal The currently used channel to the alternate channel.

本发明实施例首先获取终端当前的信号强度值,确定终端中当前处于工作状态的目标器件,判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设差值,若小于预设差值,则切换终端当前使用的信道至备用信道。本方案通过当前信道信号强度值来判断终端中的器件对终端信号的影响程度,若其影响超过一定程度,则发送指令使对应的基站将终端当前使用的信道切换至备用信道,可以减少终端受到内部射频系统的干扰,从而提升信号强度。In the embodiment of the present invention, firstly, the current signal strength value of the terminal is obtained, the target device currently in working state in the terminal is determined, and the difference between the current signal strength value and the preset signal strength value of the target device is judged to be less than the preset difference value, if If the difference is smaller than the preset difference, the channel currently used by the terminal is switched to the standby channel. This solution uses the current channel signal strength value to judge the degree of influence of the devices in the terminal on the terminal signal. If the influence exceeds a certain degree, an instruction will be sent to the corresponding base station to switch the channel currently used by the terminal to an alternate channel, which can reduce the terminal’s impact on the signal. Interference from internal RF systems, thereby increasing signal strength.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本发明实施例提供的信道切换方法的一种流程示意图。FIG. 1 is a schematic flowchart of a channel switching method provided by an embodiment of the present invention.

图2为本发明实施例提供的信道切换方法的场景示意图。FIG. 2 is a schematic diagram of a scene of a channel switching method provided by an embodiment of the present invention.

图3为本发明实施例提供的信道切换方法的另一种流程示意图。FIG. 3 is another schematic flowchart of a channel switching method provided by an embodiment of the present invention.

图4为本发明实施例提供的一种特征信息集合示意图。Fig. 4 is a schematic diagram of a set of feature information provided by an embodiment of the present invention.

图5为本发明实施例提供的信道切换装置的一种结构示意图。Fig. 5 is a schematic structural diagram of a channel switching device provided by an embodiment of the present invention.

图6为本发明实施例提供的信道切换装置的另一种结构示意图。FIG. 6 is another schematic structural diagram of a channel switching device provided by an embodiment of the present invention.

图7为本发明实施例提供的终端的结构示意图。FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.

具体实施方式detailed description

请参照图式,其中相同的组件符号代表相同的组件,本发明的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本发明具体实施例,其不应被视为限制本发明未在此详述的其它具体实施例。Referring to the drawings, wherein like reference numerals represent like components, the principles of the present invention are exemplified when implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the invention, which should not be construed as limiting other specific embodiments of the invention not described in detail herein.

在以下的说明中,本发明的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本发明原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。In the following description, specific embodiments of the present invention will be described with reference to steps and symbols executed by one or more computers, unless otherwise stated. Accordingly, these steps and operations will several times be referred to as being computer-implemented, which herein refers to operations by a computer processing unit of electronic signals representing data in a structured form. This operation transforms the data or maintains it at a location in the computer's memory system that can reconfigure or otherwise alter the operation of the computer in a manner well known to testers in the art. The data structures maintained by the data are physical locations in the memory that have certain characteristics defined by the data format. However, the principles of the present invention are described in the above words, which are not meant to be a limitation. Those skilled in the art will understand that the various steps and operations described below can also be implemented in hardware.

本发明的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。所熟知的适合用于本发明的运算系统、环境与组态的范例可包括(但不限于)手持电话、个人计算机、服务器、多处理器系统、微电脑为主的系统、主架构型计算机、及分布式运算环境,其中包括了任何的上述系统或装置。The principles of the invention operate with numerous other general purpose or special purpose computing, communication environments or configurations. Examples of well-known computing systems, environments, and configurations suitable for use with the present invention may include, but are not limited to, handheld phones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe computers, and A distributed computing environment, including any of the above systems or devices.

以下将分别进行详细说明。The details will be described respectively below.

本实施例将从信道切换装置的角度进行描述,该装置具体可以集成在终端中,该终端可以为移动互连接网络设备(如智能手机、平板电脑)等具备网络功能的电子设备。This embodiment will be described from the perspective of a channel switching device. Specifically, the device may be integrated into a terminal, and the terminal may be an electronic device with network functions such as a mobile interconnection network device (such as a smart phone, a tablet computer).

一种信道切换方法,包括:接收时间获取指令,并根据所述时间获取指令获取当前时间,判断所述当前时间是否处于预设时间范围之内,若是,则判断所述终端的无线局域网络当前是否处于关闭状态,若不处于关闭状态,则将所述无线局域网络切换为关闭状态。A channel switching method, comprising: receiving a time acquisition instruction, and obtaining a current time according to the time acquisition instruction, and judging whether the current time is within a preset time range, and if so, judging that the current time of the wireless local area network of the terminal is Whether it is in the off state, if not in the off state, switch the wireless local area network to the off state.

本实施例将从信道切换装置的角度进行描述,该装置具体可以集成在终端中。This embodiment will be described from the perspective of a channel switching device, and the device may specifically be integrated in a terminal.

请参阅图1,图1为本发明实施例提供的一种信道切换方法的流程示意图,本实施例的信道切换方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a channel switching method provided by an embodiment of the present invention. The channel switching method of this embodiment includes:

步骤S101,获取终端当前的信号强度值。Step S101, acquiring the current signal strength value of the terminal.

在本发明实施例当中,终端接收基站发送的信号以完成通讯功能,上述基站可以是基于无线保真WIFI(Wireless Fidelity)标准的无线局域网LAN(Local Area Network)的基站,可以是全球移动通信系统GSM(Global System for Mobile Communication)的基站,或者可以是蓝牙的基站。终端基于该基站控制的无线通信,传送和接收各类数据。例如,终端可以经由基站从内容分发服务器接收内容数据,并且可以将电子邮件传送到另一终端和从另一终端接收电子邮件。其中,内容数据可包括诸如音乐、广播等音乐数据、如运动图片、电视节目、视频、照片等的视觉数据、以及诸如游戏、软件等的任何其它数据。In the embodiment of the present invention, the terminal receives the signal sent by the base station to complete the communication function. The above-mentioned base station may be a base station of a wireless local area network LAN (Local Area Network) based on the Wireless Fidelity WIFI (Wireless Fidelity) standard, and may be a global system for mobile communication A base station of GSM (Global System for Mobile Communication), or a base station of Bluetooth. The terminal transmits and receives various types of data based on wireless communication controlled by the base station. For example, a terminal may receive content data from a content distribution server via a base station, and may transmit and receive electronic mail to and from another terminal. Among them, the content data may include musical data such as music, radio, etc., visual data such as motion pictures, TV programs, videos, photos, etc., and any other data such as games, software, etc.

基站的主要功能就是提供无线覆盖,即实现有线通信网络与无线终端之间的无线信号传输。所以基站在通信网络中的位置如图2所示,核心网侧的控制信令、语音呼叫或数据业务信息通过传输网络发送到基站(在2G、3G网络中,信号先传送到基站控制器,再传送到基站),信号在基站侧经过基带和射频处理,然后通过射频馈线送到天线上进行发射,终端通过无线信道接收天线所发射的无线电波,然后解调出属于自己的信号。The main function of the base station is to provide wireless coverage, that is, to realize wireless signal transmission between the wired communication network and the wireless terminal. Therefore, the position of the base station in the communication network is shown in Figure 2. The control signaling, voice call or data service information on the core network side is sent to the base station through the transmission network (in 2G and 3G networks, the signal is first transmitted to the base station controller, Then transmitted to the base station), the signal is processed by baseband and radio frequency on the base station side, and then sent to the antenna for transmission through the radio frequency feeder, the terminal receives the radio wave transmitted by the antenna through the wireless channel, and then demodulates its own signal.

在终端接收到从基站传送的无线信号时,终端测量无线信号的信号强度。其中,终端测量无线信号的信号强度的方式可以有多种,比如AP向moden查询当前终端的信号参数信息,上述信号参数信息可以包括网络制式(例如GSM制式)、频段(例如B8)、信道(例如ch37)和信号强度(例如-98dBm)等信息。When the terminal receives the wireless signal transmitted from the base station, the terminal measures the signal strength of the wireless signal. Among them, there are many ways for the terminal to measure the signal strength of the wireless signal. For example, the AP queries the signal parameter information of the current terminal from the moden. The above signal parameter information may include network standard (such as GSM standard), frequency band (such as B8), channel ( Such as ch37) and signal strength (such as -98dBm) and other information.

步骤S102,确定终端中当前处于工作状态的目标器件。Step S102, determining the target device currently in working state in the terminal.

其中,获取终端中当前处于工作状态的目标器件的方法可以有多种。比如预先确定终端当中工作时能对终端信号造成干扰的器件,比如摄像头、显示屏、闪光灯等器件,以得到一集合,然后分别判断该集合中的器件当前是否处于工作状态,若处于,则确定该器件为目标器件。Among them, there may be multiple methods for acquiring the target device currently in the working state in the terminal. For example, predetermine in advance the devices that can interfere with the terminal signal when working in the terminal, such as cameras, display screens, flashlights and other devices, to obtain a set, and then judge whether the devices in the set are currently working, and if they are, then determine This device is the target device.

在其他实施例中,还可以获取终端中全部处于工作状态的器件,以得到一个集合,考虑到并不是终端中所有工作的器件都能够干扰到终端的信号强度,所以需要再进一步在该集合当中确定目标器件。In other embodiments, it is also possible to obtain all the devices in the working state in the terminal to obtain a set. Considering that not all the working devices in the terminal can interfere with the signal strength of the terminal, it is necessary to further add Determine the target device.

步骤S103,判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设差值,若小于,则执行步骤S104,若不小于,则结束流程。Step S103, judging whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than the preset difference value, if smaller, execute step S104, if not smaller, then end the process.

在判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设差值之前,要先获取目标器件的预设信号强度值。在本发明实施例当中,可以预先设置多个预设器件分别所对应的预设信号强度值,然后根据目标器件的标识确定对应的预设信号强度值。Before judging whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than the preset difference value, the preset signal strength value of the target device must be obtained first. In the embodiment of the present invention, preset signal strength values corresponding to multiple preset devices may be preset, and then the corresponding preset signal strength values are determined according to the identification of the target device.

其中,上述预设器件分别所对应的预设信号强度值为终端在受到该预设器件干扰时的信号强度最小值,也即在受到该器件的最大的干扰下的信号强度值。具体的,可以通过在该预设器件工作时,获取某预设时间段的信号强度值,然后取该时间段内的信号强度最小值,即为该器件所对应的预设信号强度值。需要说明的是,在某一预设器件工作时测量信号强度的过程中,其他器件可以保持关闭状态,用于避免其他器件所带来的信号干扰从而造成测量结果出现误差。比如针对前置摄像头进行测量,可以打开终端的前置摄像头,同时关闭终端中其他的预设器件,然后测量一段时间内终端受到干扰后的极限(最小)信号强度值为-100dBm,也即前置摄像头对应的预设信号强度值为-100dBm。Wherein, the preset signal strength values corresponding to the preset devices respectively are the minimum signal strength value when the terminal is interfered by the preset device, that is, the signal strength value when the terminal receives the maximum interference from the device. Specifically, when the preset device is working, the signal strength value of a preset time period can be obtained, and then the minimum value of the signal strength in the time period can be taken as the preset signal strength value corresponding to the device. It should be noted that, during the process of measuring signal strength when a preset device is working, other devices can be kept in a closed state to avoid signal interference caused by other devices and cause errors in measurement results. For example, to measure the front camera, you can turn on the front camera of the terminal and turn off other preset devices in the terminal at the same time, and then measure the limit (minimum) signal strength value of -100dBm after the terminal is interfered for a period of time, that is, the front The preset signal strength value corresponding to the camera is -100dBm.

判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设值,若小于预设值则确定目标器件的影响较大,可以开启更换信道策略,也即执行步骤S104,若不小于预设值则结束当前流程。Judging whether the difference between the current signal strength value and the preset signal strength value of the target device is less than the preset value, if it is less than the preset value, it is determined that the target device has a greater impact, and the channel replacement strategy can be started, that is, step S104 is executed, If it is not less than the preset value, the current process ends.

步骤S104,切换终端当前使用的信道至备用信道。Step S104, switching the channel currently used by the terminal to an alternate channel.

具体的,终端可以生成信道切换指令并发送至与该终端当前连接的基站,然后上述基站根据指令为该终端重新分配信道。在本发明实施例中,可以通过修改RX回报值来使基站为终端重新分配信道,其中,RX回报值是指智能终端在接收到基站的发射信号以后,会根据接收的信号强度回报一个具体的数值给基站,这个回报的具体数值就称为RX回报值。基站通过终端返回的RX回报值来获取终端的信号质量,信号质量较差时就会重新为终端分配信道。Specifically, the terminal may generate a channel switching instruction and send it to the base station currently connected to the terminal, and then the base station reallocates a channel for the terminal according to the instruction. In the embodiment of the present invention, the base station can re-allocate channels for the terminal by modifying the RX return value. The RX return value means that the smart terminal will report a specific channel according to the received signal strength after receiving the signal transmitted by the base station. The value is sent to the base station, and the specific value of this return is called the RX return value. The base station obtains the signal quality of the terminal through the RX return value returned by the terminal, and re-allocates channels for the terminal when the signal quality is poor.

需要说明的是,在上述基站对终端重新分配信道后,可以重复上述步骤S101-S104的步骤,直到切换至最优的信道,其中,最优指的是在当前信道下终端内部器件工作时对终端的信号强度影响最小。It should be noted that, after the above-mentioned base station reassigns channels to the terminal, the above-mentioned steps S101-S104 can be repeated until switching to the optimal channel, where the optimal refers to the internal devices of the terminal working on the current channel. The signal strength of the terminal has minimal impact.

由上可知,本发明实施例提供的信道切换方法首先获取终端当前的信号强度值,确定终端中当前处于工作状态的目标器件,判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设差值,若小于预设差值,则切换终端当前使用的信道至备用信道。本方案通过当前信道信号强度值来判断终端中的器件对终端信号的影响程度,若其影响超过一定程度,则发送指令使对应的基站将终端当前使用的信道切换至备用信道,可以减少终端受到内部射频系统的干扰,从而提升信号强度和用户体验。It can be seen from the above that the channel switching method provided by the embodiment of the present invention first obtains the current signal strength value of the terminal, determines the target device currently in the working state in the terminal, and judges the difference between the current signal strength value and the preset signal strength value of the target device Whether the value is less than the preset difference, and if it is less than the preset difference, switch the channel currently used by the terminal to the standby channel. This solution uses the current channel signal strength value to judge the degree of influence of the devices in the terminal on the terminal signal. If the influence exceeds a certain degree, an instruction will be sent to the corresponding base station to switch the channel currently used by the terminal to an alternate channel, which can reduce the terminal’s impact on the signal. Interference from internal RF systems, thereby improving signal strength and user experience.

根据上一实施例的描述,以下将以具体的实施例来说明本发明的信道切换方法。According to the description of the previous embodiment, the channel switching method of the present invention will be described below with specific embodiments.

请参阅图3,图3为本发明实施例提供的另一种信道切换方法的流程示意图,以智能手机为例进行说明,包括:Please refer to FIG. 3. FIG. 3 is a schematic flow diagram of another channel switching method provided by an embodiment of the present invention, which is illustrated by taking a smart phone as an example, including:

步骤S201,在预设器件工作时获取手机的特征信息,其中,特征信息包括在预设时间段内手机的最小信号强度值,并确定为预设信号强度值。Step S201, acquiring characteristic information of the mobile phone when the preset device is working, wherein the characteristic information includes the minimum signal strength value of the mobile phone within a preset time period, and is determined as the preset signal strength value.

在本发明实施例中,上述特征信息还可以包括网络制式、频段、信道等信息,比如预设器件为前置摄像头,制式为GSM,频段为B8,干扰信道ch37,干扰程度为受干扰后极限RSSI为-100dBm。其中,上述预设器件为在工作时会对手机信号造成干扰的器件,可以包括显示屏、电荷泵、摄像头、闪光灯、光感模组、指纹膜组等。In the embodiment of the present invention, the above feature information may also include network standard, frequency band, channel and other information. For example, the preset device is a front camera, the standard is GSM, the frequency band is B8, the interference channel is ch37, and the degree of interference is the limit after being interfered. RSSI is -100dBm. Wherein, the aforementioned preset devices are devices that may interfere with mobile phone signals during operation, and may include display screens, charge pumps, cameras, flashlights, photosensitive modules, fingerprint film sets, and the like.

另外,在实际应用当中,一些特殊的网络制式在小区中采用的是固定信道,无法更换信道,比如TD_SCDMA、CDMA2000、WCDMA、LTE这四张网络每个小区都是采用固定信道,无法更换信道。所以可以预设置一个预设网路制式集合,包含如上述的预设网络制式,若判断手机当前使用的网络制式不为上述预设网络制式,则进一步获取手机的特征信息,也即在获取手机当前的信号强度值之前,该方法还可以包括:In addition, in practical applications, some special network standards use fixed channels in the cells, and the channels cannot be changed. For example, the four networks of TD_SCDMA, CDMA2000, WCDMA, and LTE each use fixed channels in each cell, and the channels cannot be changed. Therefore, a set of preset network standards can be pre-set, including the above-mentioned preset network standards. Prior to the current signal strength value, the method may also include:

获取手机当前使用的网络制式;Obtain the network standard currently used by the mobile phone;

判断该网络制式是否为预设网络制式;judging whether the network standard is a default network standard;

若否,则执行获取手机当前的信号强度值的步骤。If not, execute the step of obtaining the current signal strength value of the mobile phone.

步骤S202,根据多个预设器件分别对应的特征信息,生成特征信息集合。Step S202, generating a feature information set according to feature information corresponding to a plurality of preset devices.

比如,得到显示屏、电荷泵、摄像头、闪光灯、光感模组和指纹膜组分别对应的网络制式、频段、信道和预设信号强度值,如图4所示。需要说明的是,在测量上述数据时需要对手机的硬件和结构方式消除干扰,已增加测量数据的准确性。For example, the network standard, frequency band, channel and preset signal strength values corresponding to the display screen, charge pump, camera, flash light, light sensor module and fingerprint film group respectively are obtained, as shown in Figure 4. It should be noted that when measuring the above data, it is necessary to eliminate interference to the hardware and structure of the mobile phone, which has increased the accuracy of the measurement data.

步骤S203,获取手机当前的信号强度值。Step S203, acquiring the current signal strength value of the mobile phone.

在手机接收到从基站传送的无线信号时,手机测量无线信号的信号强度。其中,手机测量无线信号的信号强度的方式可以有多种,比如AP向moden查询当前手机的信号参数信息,上述信号参数信息可以包括网络制式(例如GSM制式)、频段(例如B8)、信道(例如ch37)和信号强度(例如-98dBm)等信息。When a mobile phone receives a wireless signal transmitted from a base station, the mobile phone measures the signal strength of the wireless signal. Among them, there are many ways for the mobile phone to measure the signal strength of the wireless signal. For example, the AP inquires the signal parameter information of the current mobile phone from the moden. The above signal parameter information may include network standard (such as GSM standard), frequency band (such as B8), channel ( Such as ch37) and signal strength (such as -98dBm) and other information.

步骤S204,根据特征信息集合获取预设器件集合。Step S204, acquiring a preset device set according to the feature information set.

比如,根据上述特征信息集合获取到的预设器件集合为显示屏、电荷泵、摄像头、闪光灯、光感模组和指纹膜组。For example, the preset device set obtained according to the above feature information set is a display screen, a charge pump, a camera, a flashlight, a photosensitive module, and a fingerprint film set.

步骤S205,在预设器件集合中确定当前处于工作状态的目标器件。In step S205, the target device currently in working state is determined in the preset device set.

具体的,可以分别获取上述预设器件的当前状态,若当前为工作状态,则确定该预设器件为目标器件。Specifically, the current statuses of the above-mentioned preset devices can be obtained respectively, and if the current status is working, the preset device is determined to be the target device.

步骤S206,根据特征信息集合获取与目标器件对应的预设信号强度值。Step S206, acquiring a preset signal strength value corresponding to the target device according to the characteristic information set.

步骤S207,判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设差值,若是,则执行步骤S208,若否,则结束流程。Step S207, judging whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than the preset difference value, if yes, execute step S208, if not, end the process.

比如,AP向moden查询当前手机的频段、信道(例如GSM制式,B8,ch37)和信号强度。判断当前信道信号强度与当前信道受到干扰后极限RSSI的差值是否小于6dB(例如当信号强度为-98dBm,与-100dBm之间的差值为2dB),若小于6dB,则确定目标器件的影响较大,可以开启更换信道策略,若不小于,则结束流程。For example, the AP inquires the frequency band, channel (such as GSM standard, B8, ch37) and signal strength of the current mobile phone from the moden. Determine whether the difference between the current channel signal strength and the limit RSSI after the current channel is interfered is less than 6dB (for example, when the signal strength is -98dBm, the difference between -100dBm is 2dB), if it is less than 6dB, determine the impact of the target device If it is larger, the channel change strategy can be enabled, and if it is not smaller, the process ends.

步骤S208,生成信道切换指令,并根据信道切换指令对信号强度反馈值进行修改。Step S208, generating a channel switching instruction, and modifying the signal strength feedback value according to the channel switching instruction.

步骤S209,发送修改后的信号强度反馈值至与手机连接的基站,以使基站根据信号强度反馈值为手机重新分配信道。Step S209, sending the modified signal strength feedback value to the base station connected to the mobile phone, so that the base station reassigns channels to the mobile phone according to the signal strength feedback value.

手机接收到基站信道后,会向基站报告当前手机受到信道强度和信号质量,换信道策略是对回报的信号质量进行改变,当开启换信道策略时将回报信号质量改为最差,基站收到信号质量差的指令后,会主动给手机重新分配信道。After the mobile phone receives the base station channel, it will report the current channel strength and signal quality received by the mobile phone to the base station. The channel change strategy is to change the reported signal quality. When the channel change strategy is enabled, the reported signal quality will be changed to the worst. The base station receives After the command of poor signal quality, it will actively reassign the channel to the mobile phone.

由上可知,本发明实施例提供的信道切换方法首先在预设器件工作时获取手机的特征信息,其中,特征信息包括在预设时间段内手机的最小信号强度值,并确定为预设信号强度值,根据多个预设器件分别对应的特征信息,生成特征信息集合,获取手机当前的信号强度值,根据特征信息集合获取预设器件集合,在预设器件集合中确定当前处于工作状态的目标器件,根据特征信息集合获取与目标器件对应的预设信号强度值,判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设差值,若是,则生成信道切换指令,并根据信道切换指令对信号强度反馈值进行修改,发送修改后的信号强度反馈值至与手机连接的基站,以使基站根据信号强度反馈值为手机重新分配信道。本方案通过当前信道信号强度值来判断终端中的器件对终端信号的影响程度,若其影响超过一定程度,则发送指令使对应的基站将终端当前使用的信道切换至备用信道,可以减少终端受到内部射频系统的干扰,从而提升信号强度和用户体验。It can be seen from the above that the channel switching method provided by the embodiment of the present invention first obtains the characteristic information of the mobile phone when the preset device is working, wherein the characteristic information includes the minimum signal strength value of the mobile phone within the preset time period, and is determined as the preset signal Strength value, according to the characteristic information corresponding to multiple preset devices, generate a characteristic information set, obtain the current signal strength value of the mobile phone, obtain a preset device set according to the characteristic information set, and determine the current working state in the preset device set The target device obtains the preset signal strength value corresponding to the target device according to the characteristic information set, and judges whether the difference between the current signal strength value and the preset signal strength value of the target device is less than the preset difference value, and if so, generates a channel switch command, and modify the signal strength feedback value according to the channel switching command, and send the modified signal strength feedback value to the base station connected to the mobile phone, so that the base station reassigns the channel to the mobile phone according to the signal strength feedback value. This solution uses the current channel signal strength value to judge the degree of influence of the devices in the terminal on the terminal signal. If the influence exceeds a certain degree, an instruction will be sent to the corresponding base station to switch the channel currently used by the terminal to an alternate channel, which can reduce the terminal’s impact on the signal. Interference from internal RF systems, thereby improving signal strength and user experience.

为了便于更好的实施本发明实施例提供的信道切换方法,本发明实施例还提供了一种基于上述信道切换方法的装置。其中名词的含义与上述信道切换方法中相同,具体实现细节可以参考方法实施例中的说明。In order to better implement the channel switching method provided by the embodiment of the present invention, the embodiment of the present invention further provides a device based on the above channel switching method. The meanings of the nouns are the same as those in the channel switching method above, and for specific implementation details, refer to the description in the method embodiments.

请参阅图5,图5为本发明实施例提供的一种信道切换装置的结构示意图,该信道切换装置30包括:强度获取模块301、确定模块302、第一判断模块303以及切换模块304。Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of a channel switching device provided by an embodiment of the present invention. The channel switching device 30 includes: a strength acquisition module 301 , a determination module 302 , a first judgment module 303 and a switching module 304 .

该强度获取模块301,用于获取终端当前的信号强度值。The strength acquiring module 301 is configured to acquire the current signal strength value of the terminal.

该确定模块302,用于确定终端中当前处于工作状态的目标器件。The determination module 302 is configured to determine the target device currently in working state in the terminal.

该第一判断模块303,用于判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设差值。The first judging module 303 is used to judge whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than the preset difference value.

该切换模块304,用于当判断模块303判断为是时,切换终端当前使用的信道至备用信道。The switching module 304 is configured to switch the channel currently used by the terminal to an alternate channel when the judging module 303 judges yes.

进一步的,如图6所示,上述信道切换装置30还包括:信息获取模块305、生成模块306以及预设强度获取模块307。Further, as shown in FIG. 6 , the above channel switching device 30 further includes: an information acquisition module 305 , a generation module 306 and a preset strength acquisition module 307 .

该信息获取模块305,用于在强度获取模块301获取终端当前的信号强度值之前,在预设器件工作时获取终端的特征信息,其中,特征信息包括在预设时间段内终端的最小信号强度值,并确定为预设信号强度值。The information acquiring module 305 is configured to acquire the characteristic information of the terminal when the preset device is working before the strength acquiring module 301 acquires the current signal strength value of the terminal, wherein the characteristic information includes the minimum signal strength of the terminal within a preset time period value, and determined as the preset signal strength value.

该生成模块306,用于根据多个预设器件分别对应的特征信息,生成特征信息集合。The generating module 306 is configured to generate a feature information set according to feature information corresponding to a plurality of preset devices.

该预设强度获取模块307,用于在确定模块302确定终端中当前处于工作状态的目标器件之后,第一判断模块303判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设差值之前,根据特征信息集合获取与目标器件对应的预设信号强度值。The preset strength acquisition module 307 is used to determine whether the difference between the current signal strength value and the preset signal strength value of the target device is determined by the first judgment module 303 after the determination module 302 determines the target device that is currently in the working state in the terminal. Before the difference is smaller than the preset difference, a preset signal strength value corresponding to the target device is acquired according to the feature information set.

进一步的,上述确定模块302可以具体包括:获取子模块3021和确定子模块3022。Further, the above determination module 302 may specifically include: an acquisition submodule 3021 and a determination submodule 3022 .

该获取子模块3021,用于根据特征信息集合获取预设器件集合。The acquisition sub-module 3021 is used to acquire a preset device set according to the feature information set.

该确定子模块3022,用于在预设器件集合中确定当前处于工作状态的目标器件,目标器件为显示屏、电荷泵、摄像头、闪光灯、光感模组、指纹膜组中的一种或多种。The determination sub-module 3022 is used to determine the target device currently in the working state in the preset device set, and the target device is one or more of the display screen, charge pump, camera, flashlight, light sensing module, and fingerprint film group kind.

上述切换模块304可以具体包括:生成子模块3041、修改子模块3042以及发送子模块3043。The switching module 304 may specifically include: a generating submodule 3041 , a modifying submodule 3042 and a sending submodule 3043 .

该生成子模块3041,用于生成信道切换指令。The generating submodule 3041 is used to generate a channel switching instruction.

该修改子模块3042,用于根据信道切换指令对信号强度反馈值进行修改。The modification sub-module 3042 is configured to modify the signal strength feedback value according to the channel switching instruction.

该发送子模块3043,用于发送修改后的信号强度反馈值至与终端连接的基站,以使基站根据信号强度反馈值为终端重新分配信道。The sending sub-module 3043 is configured to send the modified signal strength feedback value to the base station connected to the terminal, so that the base station reallocates channels to the terminal according to the signal strength feedback value.

在其他实施例当中,上述信道切换装置30还可以包括:网络获取模块和第二判断模块。In other embodiments, the channel switching device 30 may further include: a network acquisition module and a second judging module.

该网络获取模块用于在强度获取模块获取终端当前的信号强度值之前,获取终端当前使用的网络制式。The network acquisition module is used to acquire the network system currently used by the terminal before the strength acquisition module acquires the current signal strength value of the terminal.

该第二判断模块,用于判断网络制式是否为预设网络制式。The second judging module is used for judging whether the network standard is a preset network standard.

该强度获取模块301,具体用于当第二判断模块判断为否时,获取终端当前的信号强度值。The strength acquiring module 301 is specifically configured to acquire the current signal strength value of the terminal when the second judging module judges no.

本发明还提供一种存储介质,该存储介质中存储有多条指令,该指令适于由处理器加载以执行上述的信道切换方法。The present invention also provides a storage medium, in which a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor to execute the above channel switching method.

本发明还提供一种终端,包括处理器以及存储介质,存储介质中存储有多条指令,处理器加载指令以执行上述的信道切换方法。The present invention also provides a terminal, including a processor and a storage medium, wherein a plurality of instructions are stored in the storage medium, and the processor loads the instructions to execute the above channel switching method.

本发明实施例还提供另一种终端,包括显示屏、处理器、射频电路以及控制电路,其特征在于:The embodiment of the present invention also provides another terminal, including a display screen, a processor, a radio frequency circuit and a control circuit, characterized in that:

处理器与所述显示屏、射频电路、控制电路电性连接,控制电路用于控制显示屏显示信息;The processor is electrically connected to the display screen, the radio frequency circuit, and the control circuit, and the control circuit is used to control the display screen to display information;

射频电路,用于获取终端当前的信号强度值;The radio frequency circuit is used to obtain the current signal strength value of the terminal;

处理器,用于确定终端中当前处于工作状态的目标器件;a processor, configured to determine a target device currently in a working state in the terminal;

处理器,用于判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设差值,若小于预设差值,则切换终端当前使用的信道至备用信道。The processor is used to judge whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than the preset difference value, and if it is smaller than the preset difference value, switch the channel currently used by the terminal to an alternate channel.

请参阅图7,图7为本发明实施例提供的移动终端结构示意图。该移动终端500可以包括射频(RF,Radio Frequency)电路501、包括有一个或一个以上计算机可读存储介质的存储器502、输入单元503、显示单元504、传感器504、音频电路506、无线保真(WiFi,Wireless Fidelity)模块507、包括有一个或者一个以上处理核心的处理器508、以及电源509等部件。本领域技术人员可以理解,图7中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 7, which is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. The mobile terminal 500 may include a radio frequency (RF, Radio Frequency) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 504, an audio circuit 506, a wireless fidelity ( WiFi, Wireless Fidelity) module 507, including a processor 508 with one or more processing cores, and a power supply 509 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 7 does not constitute a limitation on the mobile terminal, and may include more or less components than those shown in the figure, or combine some components, or arrange different components.

射频电路501可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器508处理;另外,将涉及上行的数据发送给基站。通常,射频电路501包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,射频电路501还可以通过无线通信与网络和其他设备通信。该无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,GeneralPacket Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long TermEvolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。The radio frequency circuit 501 can be used to send and receive information, or to receive and send signals during a call. In particular, after receiving the downlink information of the base station, it is processed by one or more processors 508; in addition, the data related to the uplink is sent to the base station . Generally, the radio frequency circuit 501 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM, Subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, Low Noise Amplifier), duplexer, etc. In addition, the radio frequency circuit 501 can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM, Global System of Mobile communication), General Packet Radio Service (GPRS, General Packet Radio Service), Code Division Multiple Access (CDMA, Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), email, Short Message Service (SMS, Short Messaging Service), etc.

存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器508通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据移动终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器508和输入单元503对存储器502的访问。Memory 502 may be used to store applications and data. The application programs stored in the memory 502 include executable codes. Applications can be composed of various functional modules. The processor 508 executes various functional applications and data processing by running the application programs stored in the memory 502 . The memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile terminals (such as audio data, phonebook, etc.) and the like. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 502 may further include a memory controller to provide access to the memory 502 by the processor 508 and the input unit 503 .

输入单元503可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元503可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器508,并能接收处理器508发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元503还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、指纹识别模组、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 503 can be used to receive input numbers, character information or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 503 may include a touch-sensitive surface and other input devices. A touch-sensitive surface, also known as a touch display or trackpad, collects user touch operations on or near it (for example, the user uses a finger, stylus, etc. any suitable object or accessory on the touch-sensitive surface or on the touch-sensitive Operation near the surface), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 508, and can receive and execute commands sent by the processor 508. In addition, touch-sensitive surfaces can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to touch-sensitive surfaces, the input unit 503 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), fingerprint recognition modules, trackballs, mice, and joysticks.

显示单元504可用于显示由用户输入的信息或提供给用户的信息以及移动终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元504可包括显示面板。可选的,可以采用液晶显示器(LCD,Liquid CrystalDisplay)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器508以确定触摸事件的类型,随后处理器508根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图7中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。The display unit 504 can be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 504 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface can cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is sent to the processor 508 to determine the type of the touch event, and then the processor 508 displays on the display according to the type of the touch event. The corresponding visual output is provided on the panel. Although in FIG. 7, the touch-sensitive surface and the display panel are used as two independent components to realize the input and input functions, in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize the input and output functions.

移动终端还可包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在移动终端移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于移动终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile terminal may also include at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or backlight. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Let me repeat.

音频电路506可通过扬声器、传声器提供用户与移动终端之间的音频接口。音频电路506可将接收到的音频数据转换成电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路506接收后转换为音频数据,再将音频数据输出处理器508处理后,经射频电路501以发送给比如另一移动终端,或者将音频数据输出至存储器502以便进一步处理。音频电路506还可能包括耳塞插孔,以提供外设耳机与移动终端的通信。The audio circuit 506 can provide an audio interface between the user and the mobile terminal through speakers and microphones. The audio circuit 506 can convert the received audio data into an electrical signal, transmit it to the speaker, and the speaker converts it into a sound signal output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is converted into The audio data, after being processed by the audio data output processor 508, is sent to another mobile terminal through the radio frequency circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earphone jack to provide communication between an external earphone and the mobile terminal.

无线保真(WiFi)属于短距离无线传输技术,移动终端通过无线保真模块507可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了无线保真模块507,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wireless Fidelity (WiFi) belongs to the short-distance wireless transmission technology. The mobile terminal can help users send and receive emails, browse webpages, and access streaming media through the wireless fidelity module 507. It provides users with wireless broadband Internet access. Although Fig. 7 shows the Wi-Fi module 507, it can be understood that it is not an essential component of the mobile terminal, and can be completely omitted as required without changing the essence of the invention.

处理器508是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。可选的,处理器508可包括一个或多个处理核心;优选的,处理器508可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器508中。The processor 508 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. By running or executing the application program stored in the memory 502 and calling the data stored in the memory 502, the mobile terminal executes Various functions and processing data, so as to monitor the mobile terminal as a whole. Optionally, the processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 508 .

移动终端还包括给各个部件供电的电源509(比如电池)。优选的,电源可以通过电源管理系统与处理器508逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源509还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The mobile terminal also includes a power source 509 (such as a battery) for powering various components. Preferably, the power supply can be logically connected to the processor 508 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 509 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

尽管图7中未示出,移动终端还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 7 , the mobile terminal may also include a camera, a Bluetooth module, etc., which will not be repeated here.

处理器508还用于实现以下功能:获取终端当前的信号强度值,确定终端中当前处于工作状态的目标器件,判断当前的信号强度值与目标器件的预设信号强度值的差值是否小于预设差值,若小于预设差值,则切换终端当前使用的信道至备用信道。The processor 508 is also used to implement the following functions: acquire the current signal strength value of the terminal, determine the target device currently in the working state in the terminal, and judge whether the difference between the current signal strength value and the preset signal strength value of the target device is less than the preset value. The difference is set, and if it is less than the preset difference, the channel currently used by the terminal is switched to the standby channel.

具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above modules may be implemented as an independent entity, or may be combined arbitrarily as the same or several entities. For the specific implementation of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.

需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如信息发布方法的实施例的流程。其中,存储介质可以包括:只读存储器(ROM,Read OnlyMemory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as It is stored in the memory of the terminal and executed by at least one processor in the terminal, and the execution process may include the flow of the embodiment of the information publishing method. Wherein, the storage medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.

以上对本发明实施例提供的一种信道切换方法、装置、存储介质和终端进行了详细介绍,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The channel switching method, device, storage medium, and terminal provided by the embodiments of the present invention have been described in detail above. Each functional module can be integrated into one processing chip, or each module can exist separately physically, or two or more More than two modules are integrated in one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; meanwhile, for those skilled in the art, according to the present invention Thoughts, specific implementation methods and scope of application all have changes. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (10)

Translated fromChinese
1.一种信道切换方法,其特征在于,包括以下步骤:1. A channel switching method, characterized in that, comprising the following steps:获取终端当前的信号强度值;Obtain the current signal strength value of the terminal;确定所述终端中当前处于工作状态的目标器件;determining the target device currently in working state in the terminal;判断所述当前的信号强度值与所述目标器件的预设信号强度值的差值是否小于预设差值;judging whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than a preset difference;若小于所述预设差值,则切换所述终端当前使用的信道至备用信道。If it is smaller than the preset difference, switch the channel currently used by the terminal to a standby channel.2.如权利要求1所述的信道切换方法,其特征在于,在获取终端当前的信号强度值的步骤之前,所述方法还包括:2. The channel switching method according to claim 1, wherein, before the step of obtaining the current signal strength value of the terminal, the method further comprises:在预设器件工作时获取所述终端的特征信息,其中,所述特征信息包括在预设时间段内所述终端的最小信号强度值,并确定为预设信号强度值;Acquire feature information of the terminal when the preset device is working, wherein the feature information includes a minimum signal strength value of the terminal within a preset time period, and is determined as the preset signal strength value;根据多个所述预设器件分别对应的特征信息,生成特征信息集合;generating a set of feature information according to the feature information respectively corresponding to the plurality of preset devices;在确定所述终端中当前处于工作状态的目标器件之后,判断所述当前的信号强度值与所述目标器件的预设信号强度值的差值是否小于预设差值之前,所述方法还包括:After determining the target device currently in the working state in the terminal, before judging whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than a preset difference value, the method further includes :根据所述特征信息集合获取与所述目标器件对应的预设信号强度值。A preset signal strength value corresponding to the target device is acquired according to the feature information set.3.如权利要求2所述的信道切换方法,其特征在于,确定所述终端中当前处于工作状态的目标器件的步骤具体包括:3. The channel switching method according to claim 2, wherein the step of determining the target device currently in working state in the terminal specifically comprises:根据所述特征信息集合获取预设器件集合;Acquiring a preset device set according to the characteristic information set;在所述预设器件集合中确定当前处于工作状态的目标器件,所述目标器件为显示屏、电荷泵、摄像头、闪光灯、光感模组、指纹膜组中的一种或多种。A target device currently in working state is determined in the preset device set, and the target device is one or more of a display screen, a charge pump, a camera, a flashlight, a photosensitive module, and a fingerprint film group.4.如权利要求1所述的信道切换方法,其特征在于,所述切换所述终端当前使用的信道至备用信道的步骤具体包括:4. The channel switching method according to claim 1, wherein the step of switching the channel currently used by the terminal to an alternate channel specifically comprises:生成信道切换指令;Generate a channel switching command;根据所述信道切换指令对信号强度反馈值进行修改;modifying the signal strength feedback value according to the channel switching instruction;发送所述修改后的信号强度反馈值至与所述终端连接的基站,以使所述基站根据所述信号强度反馈值为所述终端重新分配信道。Sending the modified signal strength feedback value to a base station connected to the terminal, so that the base station reallocates a channel to the terminal according to the signal strength feedback value.5.如权利要求1所述的信道切换方法,其特征在于,在所述获取终端当前的信号强度值之前,所述方法还包括:5. The channel switching method according to claim 1, wherein, before the acquisition of the current signal strength value of the terminal, the method further comprises:获取所述终端当前使用的网络制式;Obtaining the network standard currently used by the terminal;判断所述网络制式是否为预设网络制式;judging whether the network standard is a default network standard;若否,则执行所述获取终端当前的信号强度值的步骤。If not, execute the step of acquiring the current signal strength value of the terminal.6.一种信道切换装置,其特征在于,包括:强度获取模块、确定模块、第一判断模块以及切换模块;6. A channel switching device, comprising: an intensity acquisition module, a determination module, a first judgment module and a switching module;所述强度获取模块,用于获取终端当前的信号强度值;The strength acquisition module is used to acquire the current signal strength value of the terminal;所述确定模块,用于确定所述终端中当前处于工作状态的目标器件;The determination module is configured to determine the target device currently in working state in the terminal;所述第一判断模块,用于判断所述当前的信号强度值与所述目标器件的预设信号强度值的差值是否小于预设差值;The first judging module is used to judge whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than a preset difference;所述切换模块,用于当所述判断模块判断为是时,切换所述终端当前使用的信道至备用信道。The switching module is configured to switch the channel currently used by the terminal to an alternate channel when the judging module judges yes.7.一种存储介质,其特征在于,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行权利要求1-5中任一项所述的信道切换方法。7. A storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are adapted to be loaded by a processor to execute the channel switching method according to any one of claims 1-5.8.一种终端,其特征在于,包括处理器以及存储介质,所述存储介质中存储有多条指令,所述处理器加载所述指令以执行权利要求1-5中任一项所述的信道切换方法。8. A terminal, characterized in that it comprises a processor and a storage medium, wherein a plurality of instructions are stored in the storage medium, and the processor loads the instructions to execute the method described in any one of claims 1-5. Channel switching method.9.如权利要求8所述的终端,其特征在于,还包括射频电路,所述射频电路用于与基站进行通信。9. The terminal according to claim 8, further comprising a radio frequency circuit, the radio frequency circuit is used for communicating with the base station.10.一种终端,包括显示屏、处理器、射频电路以及控制电路,其特征在于:10. A terminal, comprising a display screen, a processor, a radio frequency circuit and a control circuit, characterized in that:所述处理器与所述显示屏、射频电路、控制电路电性连接,所述控制电路用于控制所述显示屏显示信息;The processor is electrically connected to the display screen, radio frequency circuit, and control circuit, and the control circuit is used to control the display screen to display information;所述射频电路,用于获取终端当前的信号强度值;The radio frequency circuit is used to obtain the current signal strength value of the terminal;所述处理器,用于确定所述终端中当前处于工作状态的目标器件;The processor is configured to determine a target device currently in a working state in the terminal;所述处理器,用于判断所述当前的信号强度值与所述目标器件的预设信号强度值的差值是否小于预设差值,若小于所述预设差值,则切换所述终端当前使用的信道至备用信道。The processor is configured to judge whether the difference between the current signal strength value and the preset signal strength value of the target device is smaller than the preset difference value, and if it is smaller than the preset difference value, switch the terminal The currently used channel to the alternate channel.
CN201710322550.9A2017-05-092017-05-09 A channel switching method, device, storage medium and terminalExpired - Fee RelatedCN107172671B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710322550.9ACN107172671B (en)2017-05-092017-05-09 A channel switching method, device, storage medium and terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710322550.9ACN107172671B (en)2017-05-092017-05-09 A channel switching method, device, storage medium and terminal

Publications (2)

Publication NumberPublication Date
CN107172671Atrue CN107172671A (en)2017-09-15
CN107172671B CN107172671B (en)2020-12-29

Family

ID=59813695

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710322550.9AExpired - Fee RelatedCN107172671B (en)2017-05-092017-05-09 A channel switching method, device, storage medium and terminal

Country Status (1)

CountryLink
CN (1)CN107172671B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107949021A (en)*2017-11-152018-04-20维沃移动通信有限公司Switch the method and terminal device of receives link in terminal device
CN108737646A (en)*2018-04-282018-11-02维沃移动通信有限公司A kind of method and terminal device reducing charging interference
CN110493839A (en)*2019-08-162019-11-22维沃移动通信有限公司A kind of channel switching method and mobile terminal
CN111092671A (en)*2019-12-132020-05-01Tcl移动通信科技(宁波)有限公司Signal strength reporting method and device, storage medium and terminal equipment
CN112188409A (en)*2020-09-072021-01-05天地(常州)自动化股份有限公司BLE network suitable for mine space and roaming communication method
CN112399437A (en)*2019-08-162021-02-23北京小米移动软件有限公司 Terminal communication method, device, terminal and storage medium
CN112825204A (en)*2019-11-202021-05-21云丁网络技术(北京)有限公司Access control method and device based on 2G network, readable medium and equipment
CN114786195A (en)*2022-03-312022-07-22上海应用技术大学Anti-interference method, device and equipment based on construction site zigbee networking and storage medium
CN118612106A (en)*2024-06-112024-09-06江苏富士特电气技术有限公司 A fault detection, handling and protection system with short-time delay function

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105491628A (en)*2016-01-062016-04-13广东欧珀移动通信有限公司Communication channel switching method and mobile terminal
CN105657771A (en)*2016-01-062016-06-08广东欧珀移动通信有限公司Channel switching method, and terminal
CN105979537A (en)*2016-04-282016-09-28乐视控股(北京)有限公司Wireless terminal, radio frequency interference detection method thereof and interference source determination method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105491628A (en)*2016-01-062016-04-13广东欧珀移动通信有限公司Communication channel switching method and mobile terminal
CN105657771A (en)*2016-01-062016-06-08广东欧珀移动通信有限公司Channel switching method, and terminal
CN105979537A (en)*2016-04-282016-09-28乐视控股(北京)有限公司Wireless terminal, radio frequency interference detection method thereof and interference source determination method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107949021A (en)*2017-11-152018-04-20维沃移动通信有限公司Switch the method and terminal device of receives link in terminal device
CN108737646A (en)*2018-04-282018-11-02维沃移动通信有限公司A kind of method and terminal device reducing charging interference
CN110493839A (en)*2019-08-162019-11-22维沃移动通信有限公司A kind of channel switching method and mobile terminal
CN112399437A (en)*2019-08-162021-02-23北京小米移动软件有限公司 Terminal communication method, device, terminal and storage medium
CN112825204A (en)*2019-11-202021-05-21云丁网络技术(北京)有限公司Access control method and device based on 2G network, readable medium and equipment
CN111092671A (en)*2019-12-132020-05-01Tcl移动通信科技(宁波)有限公司Signal strength reporting method and device, storage medium and terminal equipment
CN112188409A (en)*2020-09-072021-01-05天地(常州)自动化股份有限公司BLE network suitable for mine space and roaming communication method
CN112188409B (en)*2020-09-072022-02-08天地(常州)自动化股份有限公司BLE network suitable for mine space and roaming communication method
CN114786195A (en)*2022-03-312022-07-22上海应用技术大学Anti-interference method, device and equipment based on construction site zigbee networking and storage medium
CN118612106A (en)*2024-06-112024-09-06江苏富士特电气技术有限公司 A fault detection, handling and protection system with short-time delay function

Also Published As

Publication numberPublication date
CN107172671B (en)2020-12-29

Similar Documents

PublicationPublication DateTitle
CN107172671B (en) A channel switching method, device, storage medium and terminal
CN104243671B (en)Volume adjusting method, device and electronic equipment
CN106982097A (en) Radio frequency interference elimination method, device, storage medium and terminal
CN107231159B (en)Radio frequency interference processing method, device, storage medium and terminal
CN108430101A (en) Antenna closing method, device, storage medium and electronic equipment
CN108494957A (en)Antenna switching method and device, storage medium and electronic equipment
CN107040610B (en) Data synchronization method, device, storage medium, terminal and server
CN107277912A (en)A kind of Radio frequency interference processing method, device, storage medium and terminal
CN106412249A (en)Detection method and device of drop information
CN109067981B (en) Split-screen application switching method, device, storage medium and electronic device
CN106357897A (en) Method and device for obtaining drop information
CN110428782B (en)Brightness adjusting method and related product
CN106936516B (en) Display state control method, storage medium and terminal
CN108418969B (en)Antenna feed point switching method and device, storage medium and electronic equipment
CN108984142B (en) Split-screen display method, device, storage medium and electronic device
CN111510901A (en)Power adjusting method, device, storage medium and terminal
CN108932094A (en)Split screen application switching method and device, storage medium and electronic equipment
CN105933944A (en) Optimized use method, device and mobile terminal of 4G network
CN105792299A (en) Optimal use method, device and mobile terminal of 3G network
CN107528958A (en)Method for controlling mobile terminal, device, readable storage medium storing program for executing and mobile terminal
CN106254673A (en)Terminal fall detection method and device
CN108566482A (en) Antenna feed point switching method, device, storage medium and electronic equipment
CN106227337A (en) Method, device and terminal for adjusting screen brightness
CN105657280A (en)Fast focusing method and device and mobile terminal
CN110022600A (en)Adjusting method, device, storage medium and the mobile terminal of driving current

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information
CB02Change of applicant information

Address after:523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before:523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20201229


[8]ページ先頭

©2009-2025 Movatter.jp