CN108966298B - Communication frequency band control method and device - Google Patents

Communication frequency band control method and device Download PDF

Info

Publication number
CN108966298B
CN108966298B CN201810645285.2A CN201810645285A CN108966298B CN 108966298 B CN108966298 B CN 108966298B CN 201810645285 A CN201810645285 A CN 201810645285A CN 108966298 B CN108966298 B CN 108966298B
Authority
CN
China
Prior art keywords
frequency band
communication frequency
value
mobile terminal
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810645285.2A
Other languages
Chinese (zh)
Other versions
CN108966298A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810645285.2A priority Critical patent/CN108966298B/en
Publication of CN108966298A publication Critical patent/CN108966298A/en
Application granted granted Critical
Publication of CN108966298B publication Critical patent/CN108966298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters used to improve the performance of a single terminal
    • H04W36/30Reselection being triggered by specific parameters used to improve the performance of a single terminal by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The invention discloses a method and a device for controlling a communication frequency band, wherein the method comprises the following steps: when the mobile terminal is in a charging state, detecting whether the charging current value of the mobile terminal is greater than or equal to a preset current value; if so, determining a first RSRP value corresponding to the first communication frequency band currently; the first communication frequency band is a frequency band of the mobile terminal for communication currently; and controlling the mobile terminal to switch the communication frequency band according to the first RSRP value and a preset switching threshold value. In the invention, when the first communication frequency band is determined to be influenced by charging and normal communication cannot be carried out, the communication frequency band of the mobile terminal is switched, so that the interference of charging on the communication of the mobile terminal can be reduced on the basis of ensuring the normal communication of the mobile terminal, and the mobile terminal can carry out normal communication.

Description

Communication frequency band control method and device
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method and an apparatus for controlling a communication frequency band.
Background
With the continuous development of information technology, mobile terminals such as mobile phones and tablet computers are widely used in life and work of people. In order to meet the requirements of users and improve the use experience of the users, more and more mobile terminals realize quick charging. Generally, in order to realize rapid charging of a mobile terminal, that is, to shorten the charging time of the mobile terminal, it is necessary to increase the charging current.
However, in the case of an excessive charging current, radio frequency interference generated by charging will be larger and larger, so that mobile terminal communication is affected. Particularly, when the mobile terminal is located in an area with weak signals, if the mobile terminal is affected by charging interference, the mobile terminal may not perform normal communication operation.
Therefore, it is necessary to provide a method for controlling a communication frequency band to reduce interference caused by charging to communication of a mobile terminal.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling a communication frequency band, which are used for reducing the problem of interference generated by charging on communication of a mobile terminal.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, a method for controlling a communication frequency band is provided, where the method includes:
when the mobile terminal is in a charging state, detecting whether the charging current value of the mobile terminal is greater than or equal to a preset current value;
if so, determining a first Reference Signal Received Power (RSRP) value currently corresponding to the first communication frequency band; the first communication frequency band is a frequency band of the mobile terminal for current communication;
and controlling the mobile terminal to switch the communication frequency band according to the first RSRP value and a preset switching threshold value.
In a second aspect, there is provided an apparatus for controlling a communication frequency band, the apparatus including:
the mobile terminal comprises a first detection module, a second detection module and a control module, wherein the first detection module is used for detecting whether the charging current value of the mobile terminal is larger than or equal to a preset current value or not when the mobile terminal is in a charging state;
the determining module is used for determining a first Reference Signal Received Power (RSRP) value currently corresponding to the first communication frequency band if the first communication frequency band is in the first communication frequency band; the first communication frequency band is a frequency band of the mobile terminal for current communication;
and the first control module is used for controlling the mobile terminal to switch the communication frequency band according to the first RSRP value and a preset switching threshold value.
In a third aspect, a mobile terminal is provided, which includes a processor, a memory and a computer program stored on the memory and operable on the processor, and when the computer program is executed by the processor, the steps of the method for controlling a communication band according to the first aspect are implemented.
In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the method for controlling a communication band according to the first aspect.
In the embodiment of the invention, when the charging current value of the mobile terminal is greater than or equal to the preset current value, a first RSRP value corresponding to a first communication frequency band at present is determined, and the mobile terminal is controlled to switch the communication frequency bands according to the first RSRP value and a preset switching threshold value; the first communication frequency band is a frequency band in which the mobile terminal communicates currently, that is, in the embodiment of the present invention, when it is determined that normal communication cannot be performed due to the influence of charging on the current first communication frequency band, by switching the communication frequency band of the mobile terminal, on the basis of ensuring that the mobile terminal can communicate normally, interference caused by charging on communication of the mobile terminal can be reduced, so that the mobile terminal can communicate normally.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a first method of controlling a communication band according to an embodiment of the present invention;
fig. 2 is a flowchart of a second method of controlling a communication frequency band according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a control apparatus for communication frequency bands according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a control method of a communication frequency band, which is applied to a mobile terminal. The mobile terminal can be a mobile phone, a tablet computer and the like.
Fig. 1 is a flowchart of a first method of a method for controlling a communication frequency band according to an embodiment of the present invention, where the method shown in fig. 1 at least includes the following steps:
102, detecting whether the charging current value of the mobile terminal is greater than or equal to a preset current value or not when the mobile terminal is in a charging state; if yes, go to step 104.
The execution subject of the method provided by the embodiment of the invention is the mobile terminal, in particular to a control device of a communication frequency band arranged on the mobile terminal.
It should be noted that, in the embodiment of the present invention, when it is detected that a charger is inserted into the mobile terminal, the mobile terminal is considered to be in a charging state, at this time, a charging current value of the mobile terminal is obtained, and the obtained charging current value is compared with a preset current value to detect whether the charging current value of the mobile terminal is greater than or equal to the preset current value.
Generally, when the charging current value of the mobile terminal is greater than or equal to a preset current value, it is considered that the interference generated by charging on the mobile terminal affects the normal communication of the mobile terminal, but whether the communication frequency band of the mobile terminal needs to be switched or not needs to be further judged; if the charging current value of the mobile terminal is smaller than the preset current value, the interference generated on the mobile terminal by charging is not considered to influence the normal communication of the mobile terminal, and under the condition, the mobile terminal resides in the current communication frequency band, and the communication frequency band does not need to be switched.
The specific value of the preset current value may be set according to an actual application scenario, and the specific value of the preset current value is not limited in the embodiment of the present invention.
Step 104, determining a first RSRP value corresponding to the first communication frequency band; the first communication frequency band is a frequency band in which the mobile terminal is currently communicating.
Specifically, in step 104, the first communication frequency band is a cell frequency band in which the mobile terminal currently resides. In one embodiment, the first communication band may be a fourth Generation mobile communication technology (4G) communication band.
It should be noted that, in step 104, the determined first Reference Signal Receiving Power (RSRP) value is an RSRP value corresponding to the first communication band after being subjected to the charging interference.
In this embodiment of the present invention, in the step 104, determining a first RSRP value currently corresponding to the first communication frequency band specifically includes the following steps (1), (2), and (3);
step (1), determining an interference value generated by charging to a first communication frequency band;
step (2), acquiring a second RSRP value corresponding to the first communication frequency band; the second RSRP value is the RSRP value corresponding to the first communication frequency band in the non-charging state;
and (3) determining a first RSRP value according to the interference value corresponding to the first communication frequency band and the second RSRP value.
It should be noted that, in a specific embodiment, before the method provided by the embodiment of the present invention is used to process the charging interference, a mapping relationship between a charging interference frequency band and an interference value may be established.
The charging interference frequency band refers to a communication frequency band subjected to charging interference, and the interference value refers to an interference value generated by charging to the communication frequency band.
Specifically, the mapping relationship between the charging interference frequency band and the interference value may be represented in a table, and one possible form is shown in table 1.
TABLE 1
Charging interference frequency band Interference value
B1 X1
B2 X2
B3 X3
As shown in Table 1, when the charging interference band is B1When the interference value is X1When the charging interference frequency band is B2When the interference value is X2When the charging interference frequency band is B3When the interference value is X3. Table 1 above lists three charging interference bands for exemplary illustration, and the communication bands affected by charging are not limited thereto.
Therefore, in the step (1) above, the interference value generated by charging to the first communication frequency band can be determined by the following steps:
and searching an interference value corresponding to the first communication frequency band from a mapping relation between the pre-established charging interference frequency band and the interference value according to the first communication frequency band.
In a specific implementation manner, after determining that a communication frequency band in which the mobile terminal currently communicates is a first communication frequency band, searching whether a charging interference frequency band matched with the first communication frequency band exists from a mapping relation between a charging interference frequency band and an interference value which is established in advance; if the charging interference frequency band exists, determining the interference value corresponding to the charging interference frequency band matched with the first communication frequency band as the interference value corresponding to the first communication frequency band, namely the interference value generated by charging to the first communication frequency band.
In addition, if a charging interference frequency band matched with the first communication frequency band does not exist in the mapping relation between the charging interference frequency band and the interference value which is established in advance, it is indicated that the current charging does not generate interference on the first communication frequency band, and at this time, the mobile terminal can be continuously resided in the first communication frequency band without switching the communication frequency band.
In the embodiment of the invention, the interference value generated by charging on the first communication frequency band is determined according to the mapping relation between the charging interference frequency band and the interference value, which is established in advance, and the method and the device are simple and convenient.
Specifically, in step (2), the mobile terminal may obtain the second RSRP value from the network side device, and the network side device calculates the RSRP value corresponding to the first communication band in the non-charging state, that is, the second RSRP value, where the calculation of the second RSRP value by the network side device belongs to the prior art, and therefore, a detailed calculation process of the second RSRP value is not described herein again.
In the step (3), determining the first RSRP value according to the interference value corresponding to the first communication frequency band and the second RSRP value includes the following steps: calculating the sum of an interference value corresponding to the first communication frequency band and a second RSRP value; and determining the value of the sum as a first RSRP value.
In the embodiment of the present invention, the first RSRP value may be calculated by the following formula:
Y=X+Z
in the above formula, Y represents a first RSRP value, X represents an interference value corresponding to the first communication band, and Z represents a second RSRP value.
And 106, controlling the mobile terminal to switch the communication frequency band according to the first RSRP value and a preset switching threshold value.
In the embodiment of the present invention, controlling the mobile terminal to switch the communication frequency band according to the first RSRP value and the preset switching threshold value includes:
comparing the first RSRP value with a preset switching threshold value; if the first RSRP value is greater than or equal to the preset switching threshold value, switching the communication frequency band of the mobile terminal to a second communication frequency band; the second communication frequency band is a second generation mobile communication technology (2G) frequency band, or a third generation mobile communication technology (3rd-generation, 3G) frequency band.
The preset switching threshold is a preset RSRP threshold, and a specific value of the preset switching threshold may be set according to an actual application scenario.
When the first RSRP value is greater than or equal to the preset switching threshold value, it indicates that the mobile terminal cannot perform normal communication in the first communication frequency band after being charged and interfered, and therefore, the communication frequency band needs to be switched; if the first RSRP value is smaller than the preset switching threshold value, it indicates that the current mobile terminal can still perform normal communication in the first communication frequency band, and therefore, the mobile terminal is controlled to continue to reside in the first communication frequency band without performing switching of the communication frequency band.
In the embodiment of the invention, when the communication frequency band of the mobile terminal is the 4G communication frequency band, because the 4G communication frequency band has a lower communication frequency band, the charging has a larger influence on the low frequency band, so that the influence of the charging on the communication frequency band can be reduced by switching the communication frequency band of the mobile terminal to the communication frequency band of the high frequency band such as 2G or 3G, and the mobile terminal can normally communicate.
In the embodiment of the present invention, after the communication frequency band of the mobile terminal is switched to the second communication frequency band, the mobile terminal has a normal voice function or a small data service capability. However, since the second communication band is a 2G communication band or a 3G communication band, data service capability and voice capability may be poor compared to a 4G communication band. Therefore, in order to make the mobile terminal have better data service capability and voice capability, after the communication frequency band of the mobile terminal is switched to the second communication frequency band, the charging current value of the mobile terminal needs to be detected, and whether the communication frequency band of the mobile terminal needs to be switched back to the first communication frequency band is determined according to the charging current value of the mobile terminal, so that the mobile terminal has better data service capability and voice capability.
Therefore, in the embodiment of the present invention, after switching the communication frequency band of the mobile terminal to the second communication frequency band, the method provided in the embodiment of the present invention further includes:
detecting whether the charging current value of the mobile terminal is greater than or equal to a preset current value or not; if yes, controlling the communication frequency band of the mobile terminal to reside in a second communication frequency band; otherwise, switching the communication frequency band of the mobile terminal back to the first communication frequency band.
In the embodiment of the present invention, after the communication frequency band of the mobile terminal is switched to the second communication frequency band, if it is detected that the charging current value of the mobile terminal is smaller than the preset current value, it indicates that the interference of the current charging current value to the first communication frequency band is small, and the normal communication using the first communication frequency band is not affected, so at this time, the communication frequency band of the mobile terminal can be switched back to the first communication frequency band; and if the charging current value of the mobile terminal is detected to be still larger than or equal to the preset current value, controlling the mobile terminal to still reside in the second communication frequency band.
In the embodiment of the invention, after the communication frequency band of the mobile terminal is switched to the second communication frequency band, the charging current value of the mobile terminal is still detected, so that the dynamic switching of the communication frequency band of the mobile terminal is realized, and on the basis of ensuring the normal communication of the mobile terminal in a charging state, better data service capability and voice capability are provided for a user as much as possible, and the experience of the user is improved.
Fig. 2 shows a flowchart of a second method of a method for controlling a communication frequency band according to an embodiment of the present invention, where the method shown in fig. 2 at least includes the following steps:
step 202, determining a first communication frequency band in which the mobile terminal is currently communicating.
Step 204, detecting whether the mobile terminal is in a charging state; if yes, go to step 206; otherwise, ending.
Step 206, detecting whether the charging current value of the mobile terminal is greater than or equal to a preset current value; if yes, go to step 208; otherwise, step 218 is performed.
In step 208, the interference value generated by charging to the first communication frequency band is determined.
Step 210, a second RSRP value corresponding to the first communication frequency band is obtained.
And the second RSRP value is the RSRP value corresponding to the first communication frequency band in the non-charging state, and is acquired from the network side equipment.
Step 212, calculating a sum of the interference value corresponding to the first communication band and the second RSRP value, and determining the value of the sum as the first RSRP value corresponding to the first communication band currently.
Step 214, determining whether the first RSRP value is greater than or equal to a preset switching threshold value; if yes, go to step 216; otherwise, step 218 is performed.
And step 216, switching the communication frequency band of the mobile terminal to a second communication frequency band.
Step 218, the mobile terminal is controlled to reside in the first communication frequency band.
Step 220, detecting whether the charging current value of the mobile terminal is greater than or equal to a preset current value; if yes, go to step 222; otherwise, step 224 is performed.
And step 222, controlling the mobile terminal to reside in the second communication frequency band.
Step 224, controlling the mobile terminal to switch back to the first communication frequency band.
According to the control method of the communication frequency band provided by the embodiment of the invention, when the charging current value of the mobile terminal is greater than or equal to the preset current value, the first RSRP value corresponding to the first communication frequency band at present is determined, and the mobile terminal is controlled to switch the communication frequency band according to the first RSRP value and the preset switching threshold value; the first communication frequency band is a frequency band of the mobile terminal for communication currently, and when the first communication frequency band is determined to be influenced by charging and normal communication cannot be carried out, the communication frequency band of the mobile terminal is switched, so that the interference of charging on the communication of the mobile terminal can be reduced on the basis of ensuring the normal communication of the mobile terminal, and the mobile terminal can carry out normal communication.
Based on the control method of the communication band provided by the embodiment of the present invention, the embodiment of the present invention further provides a control device of the communication band, which is used for executing the control method of the communication band provided by the embodiment of the present invention,
fig. 3 is a schematic diagram illustrating a module composition of a control device for a communication frequency band according to an embodiment of the present invention, where the device shown in fig. 3 includes:
the first detection module 301 is configured to detect whether a charging current value of the mobile terminal is greater than or equal to a preset current value when the mobile terminal is in a charging state;
a determining module 302, configured to determine a first RSRP value currently corresponding to a first communication frequency band if a charging current value of the mobile terminal is greater than or equal to a preset current value; the first communication frequency band is a frequency band of the mobile terminal for communication currently;
the first control module 303 is configured to control the mobile terminal to perform switching of the communication frequency band according to the first RSRP value and a preset switching threshold value.
Optionally, the first control module 303 includes:
the comparison unit is used for comparing the first RSRP value with a preset switching threshold value;
the switching unit is used for switching the communication frequency band of the mobile terminal to a second communication frequency band if the first RSRP value is greater than or equal to a preset switching threshold value; the second communication frequency band is a 2G communication frequency band or a 3G communication frequency band.
Optionally, the apparatus provided in the embodiment of the present invention further includes:
the second detection module is used for detecting whether the charging current value of the mobile terminal is greater than or equal to a preset current value;
the second control module is used for controlling the communication frequency band of the mobile terminal to stay in a second communication frequency band if the charging current value of the mobile terminal is greater than or equal to a preset current value; otherwise, switching the communication frequency band of the mobile terminal back to the first communication frequency band.
Optionally, the determining module includes:
a first determination unit, configured to determine an interference value generated by charging on a first communication frequency band;
the acquisition unit is used for acquiring a second RSRP value corresponding to the first communication frequency band; the second RSRP value is an RSRP value corresponding to the first communication frequency band in a non-charging state;
and the second determining unit is used for determining the first RSRP value according to the interference value corresponding to the first communication frequency band and the second RSRP value.
Optionally, the first determining unit is specifically configured to:
and searching an interference value corresponding to the first communication frequency band from a mapping relation between the pre-established charging interference frequency band and the interference value according to the first communication frequency band.
Optionally, the second determining unit is specifically configured to:
calculating the sum of an interference value corresponding to the first communication frequency band and a second RSRP value; and determining the value of the sum as a first RSRP value.
The control device of the communication frequency band provided by the embodiment of the present invention can implement each process implemented by the control device of the communication frequency band in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
According to the control device of the communication frequency band provided by the embodiment of the invention, when the charging current value of the mobile terminal is greater than or equal to the preset current value, the first RSRP value corresponding to the first communication frequency band at present is determined, and the mobile terminal is controlled to switch the communication frequency band according to the first RSRP value and the preset switching threshold value; the first communication frequency band is a frequency band of the mobile terminal for communication currently, and when the first communication frequency band is determined to be influenced by charging and normal communication cannot be carried out, the communication frequency band of the mobile terminal is switched, so that the interference of charging on the communication of the mobile terminal can be reduced on the basis of ensuring the normal communication of the mobile terminal, and the mobile terminal can carry out normal communication.
Figure 4 is a schematic diagram of a hardware configuration of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
In the embodiment of the present invention, the memory 409 stores a computer program, and when the computer program is executed by the processor 410, the following steps can be implemented:
when the mobile terminal is in a charging state, detecting whether the charging current value of the mobile terminal is greater than or equal to a preset current value;
if so, determining a first RSRP value corresponding to the first communication frequency band currently; the first communication frequency band is a frequency band of the mobile terminal for communication currently;
and controlling the mobile terminal to switch the communication frequency band according to the first RSRP value and a preset switching threshold value.
Optionally, when being executed by the processor 410, the computer program controls the mobile terminal to perform handover of a communication frequency band according to the first RSRP value and a preset handover threshold value, where the method includes:
comparing the first RSRP value with a preset switching threshold value;
if the first RSRP value is larger than or equal to a preset switching threshold value, switching the communication frequency band of the mobile terminal to a second communication frequency band; the second communication frequency band is a 2G communication frequency band or a 3G communication frequency band.
Optionally, after the computer program is executed by the processor 410 and the communication frequency band of the mobile terminal is switched to the second communication frequency band, the method further includes:
detecting whether the charging current value of the mobile terminal is greater than or equal to a preset current value or not;
if yes, controlling the communication frequency band of the mobile terminal to reside in a second communication frequency band; otherwise, switching the communication frequency band of the mobile terminal back to the first communication frequency band.
Optionally, when executed by the processor 410, the computer program determines a first RSRP value currently corresponding to the first communication band, including:
determining an interference value generated by charging on a first communication frequency band;
acquiring a second RSRP value corresponding to the first communication frequency band; the second RSRP value is the RSRP value corresponding to the first communication frequency band in the non-charging state;
and determining a first RSRP value according to the interference value corresponding to the first communication frequency band and the second RSRP value.
Optionally, the computer program, when executed by the processor 410, determines a value of interference caused by charging to the first communication band, comprising:
and searching an interference value corresponding to the first communication frequency band from a mapping relation between the pre-established charging interference frequency band and the interference value according to the first communication frequency band.
Optionally, determining the first RSRP value according to the interference value corresponding to the first communication band and the second RSRP value includes:
calculating the sum of an interference value corresponding to the first communication frequency band and a second RSRP value; and determining the value of the sum as a first RSRP value.
According to the mobile terminal provided by the embodiment of the invention, when the charging current value of the mobile terminal is greater than or equal to the preset current value, the first RSRP value corresponding to the first communication frequency band at present is determined, and the mobile terminal is controlled to switch the communication frequency bands according to the first RSRP value and the preset switching threshold value; the first communication frequency band is a frequency band of the mobile terminal for communication currently, and when the first communication frequency band is determined to be influenced by charging and normal communication cannot be carried out, the communication frequency band of the mobile terminal is switched, so that the interference of charging on the communication of the mobile terminal can be reduced on the basis of ensuring the normal communication of the mobile terminal, and the mobile terminal can carry out normal communication.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above-mentioned control method for a communication frequency band, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the control method for a communication frequency band, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A method for controlling a communication frequency band, the method comprising:
when the mobile terminal is in a charging state, detecting whether the charging current value of the mobile terminal is greater than or equal to a preset current value;
if so, determining a first Reference Signal Received Power (RSRP) value currently corresponding to the first communication frequency band; the first communication frequency band is a frequency band of the mobile terminal for current communication;
controlling the mobile terminal to switch the communication frequency band according to the magnitude relation between the first RSRP value and a preset switching threshold value;
the controlling the mobile terminal to switch the communication frequency band according to the magnitude relation between the first RSRP value and a preset switching threshold value includes:
comparing the first RSRP value with the preset switching threshold value;
if the first RSRP value is smaller than or equal to the preset switching threshold value, switching the communication frequency band of the mobile terminal to a second communication frequency band; the second communication frequency band is a second generation mobile communication technology 2G communication frequency band, or a third generation mobile communication technology 3G communication frequency band.
2. The method of claim 1, wherein after the switching the communication band of the mobile terminal to the second communication band, the method further comprises:
detecting whether the charging current value of the mobile terminal is greater than or equal to the preset current value or not;
if yes, controlling the communication frequency band of the mobile terminal to reside in the second communication frequency band; otherwise, switching the communication frequency band of the mobile terminal back to the first communication frequency band.
3. The method of any one of claims 1-2, wherein said determining the current first reference signal received power, RSRP, value for the first communications band comprises:
determining an interference value generated by charging to the first communication frequency band;
acquiring a second RSRP value corresponding to the first communication frequency band; the second RSRP value is an RSRP value corresponding to the first communication frequency band in a non-charging state;
and determining the first RSRP value according to the interference value corresponding to the first communication frequency band and the second RSRP value.
4. The method of claim 3, wherein said determining said first RSRP value in accordance with said interference value corresponding to said first communications band and said second RSRP value comprises:
calculating the sum of the interference value corresponding to the first communication frequency band and the second RSRP value;
determining the value of the sum as the first RSRP value.
5. An apparatus for controlling a communication band, the apparatus comprising:
the mobile terminal comprises a first detection module, a second detection module and a control module, wherein the first detection module is used for detecting whether the charging current value of the mobile terminal is larger than or equal to a preset current value or not when the mobile terminal is in a charging state;
the determining module is used for determining a first Reference Signal Received Power (RSRP) value currently corresponding to the first communication frequency band if the first communication frequency band is in the first communication frequency band; the first communication frequency band is a frequency band of the mobile terminal for current communication;
the first control module is used for controlling the mobile terminal to switch the communication frequency band according to the magnitude relation between the first RSRP value and a preset switching threshold value;
the first control module includes:
a comparison unit, configured to compare the first RSRP value with the preset switching threshold value;
the switching unit is used for switching the communication frequency band of the mobile terminal to a second communication frequency band if the first RSRP value is smaller than or equal to the preset switching threshold value; the second communication frequency band is a second generation mobile communication technology 2G communication frequency band, or a third generation mobile communication technology 3G communication frequency band.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the second detection module is used for detecting whether the charging current value of the mobile terminal is greater than or equal to the preset current value;
the second control module is used for controlling the communication frequency band of the mobile terminal to reside in the second communication frequency band if the mobile terminal is in the first communication frequency band; otherwise, switching the communication frequency band of the mobile terminal back to the first communication frequency band.
7. The apparatus of any of claims 5-6, wherein the determining module comprises:
a first determination unit, configured to determine an interference value generated by charging on the first communication frequency band;
an obtaining unit, configured to obtain a second RSRP value corresponding to the first communication frequency band; the second RSRP value is an RSRP value corresponding to the first communication frequency band in a non-charging state;
a second determining unit, configured to determine the first RSRP value according to the interference value corresponding to the first communication band and the second RSRP value.
8. The apparatus of claim 7, wherein the second determining unit is specifically configured to:
calculating the sum of the interference value corresponding to the first communication frequency band and the second RSRP value; determining the value of the sum as the first RSRP value.
9. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of controlling a communications band of any of claims 1 to 4.
CN201810645285.2A 2018-06-21 2018-06-21 Communication frequency band control method and device Active CN108966298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810645285.2A CN108966298B (en) 2018-06-21 2018-06-21 Communication frequency band control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810645285.2A CN108966298B (en) 2018-06-21 2018-06-21 Communication frequency band control method and device

Publications (2)

Publication Number Publication Date
CN108966298A CN108966298A (en) 2018-12-07
CN108966298B true CN108966298B (en) 2021-06-08

Family

ID=64491721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810645285.2A Active CN108966298B (en) 2018-06-21 2018-06-21 Communication frequency band control method and device

Country Status (1)

Country Link
CN (1) CN108966298B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277249A (en) * 2017-06-20 2017-10-20 维沃移动通信有限公司 It is a kind of to reduce the method and mobile terminal of interference of call signal
CN107295591A (en) * 2017-06-28 2017-10-24 广东欧珀移动通信有限公司 Call method, device, computer can storage medium and mobile terminals
CN108124056A (en) * 2017-12-15 2018-06-05 广东欧珀移动通信有限公司 The anti-interference method and Related product of electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160309373A1 (en) * 2015-04-14 2016-10-20 Alcatel-Lucent Usa Inc. Charging interface for inter-radio access technology handover of call sessions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277249A (en) * 2017-06-20 2017-10-20 维沃移动通信有限公司 It is a kind of to reduce the method and mobile terminal of interference of call signal
CN107295591A (en) * 2017-06-28 2017-10-24 广东欧珀移动通信有限公司 Call method, device, computer can storage medium and mobile terminals
CN108124056A (en) * 2017-12-15 2018-06-05 广东欧珀移动通信有限公司 The anti-interference method and Related product of electronic equipment

Also Published As

Publication number Publication date
CN108966298A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108459797B (en) Control method of folding screen and mobile terminal
CN107734614B (en) Wi-Fi antenna control method, mobile terminal and computer readable storage medium
CN109905907B (en) Network searching method and mobile terminal
CN108495349B (en) Switching method of operator network and mobile terminal
CN109067418B (en) Antenna control method and mobile terminal
CN110740265B (en) Image processing method and terminal equipment
CN109286414B (en) Antenna determination method and terminal
CN109041190B (en) Power control method and terminal
CN109067429B (en) Control method and terminal equipment
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
CN108572767B (en) Method for determining external object position and mobile terminal
CN108170310B (en) Touch screen control method and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN110489037B (en) Screen capturing method and mobile terminal
CN111417185A (en) Transmission power control method and related equipment
CN108632468B (en) Method for adjusting CABC level and mobile terminal
CN109782970B (en) Display method and terminal
CN109698711B (en) Radio frequency module and terminal equipment
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN108234745B (en) Signal receiving method, mobile terminal and computer readable storage medium
CN108668005B (en) Terminal detection method and terminal
CN108879856B (en) Charging method and terminal
CN110730017A (en) Radio frequency device, control method thereof and terminal equipment
CN108366171B (en) Temperature rise control method and mobile terminal
CN108419283B (en) WIFI hotspot scanning method and mobile terminal

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