CN114025419B - Method and device for adjusting radio frequency power, electronic equipment and storage medium - Google Patents

Method and device for adjusting radio frequency power, electronic equipment and storage medium Download PDF

Info

Publication number
CN114025419B
CN114025419B CN202111283434.3A CN202111283434A CN114025419B CN 114025419 B CN114025419 B CN 114025419B CN 202111283434 A CN202111283434 A CN 202111283434A CN 114025419 B CN114025419 B CN 114025419B
Authority
CN
China
Prior art keywords
power
transmitting power
threshold value
threshold
radio frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111283434.3A
Other languages
Chinese (zh)
Other versions
CN114025419A (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 CN202111283434.3A priority Critical patent/CN114025419B/en
Publication of CN114025419A publication Critical patent/CN114025419A/en
Application granted granted Critical
Publication of CN114025419B publication Critical patent/CN114025419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/245TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/30TPC using constraints in the total amount of available transmission power
    • H04W52/36TPC using constraints in the total amount of available transmission power with a discrete range or set of values, e.g. step size, ramping or offsets
    • H04W52/367Power values between minimum and maximum limits, e.g. dynamic range
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a radio frequency power adjusting method, an adjusting device, electronic equipment and a storage medium, which belong to the technical field of communication, wherein the radio frequency power adjusting method comprises the following steps: acquiring a power instruction issued by a base station, wherein the power instruction is used for indicating an electronic device to transmit signals with first transmission power; determining a second transmitting power based on a comparison result of the first transmitting power and a preset threshold value; the radio frequency assembly is controlled to transmit signals at a second transmit power.

Description

Method and device for adjusting radio frequency power, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for adjusting radio frequency power, electronic equipment and a storage medium.
Background
In the related art, the radio frequency transmitting power of the mobile phone is an important factor for ensuring the uplink communication quality. If the mobile phone terminal only performs radio frequency transmission according to the power required by the base station, the situation that the uplink power is insufficient and the signal is poor may occur.
Disclosure of Invention
An embodiment of the application aims to provide a method and a device for adjusting radio frequency power, electronic equipment and a storage medium, which can solve the problem of signal difference caused by insufficient radio frequency transmission power of the electronic equipment.
In a first aspect, an embodiment of the present application provides a method for adjusting radio frequency power, including:
acquiring a power instruction issued by a base station, wherein the power instruction is used for indicating an electronic device to transmit signals with first transmission power;
determining a second transmitting power based on a comparison result of the first transmitting power and a preset threshold value;
the radio frequency assembly is controlled to transmit signals at a second transmit power.
In a second aspect, an embodiment of the present application provides a device for adjusting radio frequency power, including:
the acquisition module is used for acquiring a power instruction issued by the base station, wherein the power instruction is used for indicating the electronic equipment to transmit signals at a first transmission power;
the determining module is used for determining the second transmitting power based on a comparison result of the first transmitting power and a preset threshold value;
and the control module is used for controlling the radio frequency assembly to transmit signals according to the second transmission power.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method as in the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface coupled to the processor for running a program or instructions implementing the steps of the method as in the first aspect.
In the embodiment of the present application, after the electronic device establishes a communication network connection with the base station, the uplink power, that is, the first transmission power, indicated by the base station, of the electronic device is determined according to the power instruction issued by the base station. Further, comparing the magnitude relation between the first transmitting power and a preset threshold value, and determining the second transmitting power according to the comparison result.
The second transmitting power can meet the uplink signal strength of the electronic equipment, meanwhile, the power which cannot influence the stability of a radio frequency component of the electronic equipment, such as a power amplifier, is ensured, and meanwhile, the second transmitting power can break through the limitation of the base station on the uplink power in a safety range, so that the signal strength of the uplink signal is effectively ensured.
Drawings
FIG. 1 shows a flow chart of a method of regulating radio frequency power according to an embodiment of the present application;
fig. 2 shows a block diagram of a radio frequency power regulating device according to an embodiment of the present application;
FIG. 3 shows a block diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The method, the device, the electronic device and the storage medium for adjusting the radio frequency power provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
In some embodiments of the present application, a method for adjusting radio frequency power is provided, fig. 1 shows a flowchart of a method for adjusting radio frequency power according to an embodiment of the present application, as shown in fig. 1, where the method includes:
102, acquiring a power instruction issued by a base station;
in step 102, a power instruction is used to instruct an electronic device to transmit a signal at a first transmit power;
step 104, determining a second transmitting power based on a comparison result of the first transmitting power and a preset threshold value;
and step 106, controlling the radio frequency component to transmit signals according to the second transmission power.
In this embodiment of the present application, after the electronic device and the base station establish a communication network connection, first, the electronic device obtains a power instruction issued by the base station, where the power instruction indicates a first transmission power, where the first transmission power is uplink radio frequency power issued by the base station to the electronic device, and is used to instruct the electronic device to transmit uplink radio frequency signals according to the first transmission power.
After receiving the power instruction, the electronic device judges whether the first transmission power can meet the requirement of establishing a good network in the current signal environment by comparing the magnitude relation between the first transmission power corresponding to the power instruction and a preset threshold value.
Specifically, based on a comparison result of the first transmitting power and a preset threshold, the electronic device determines a second transmitting power, wherein the second transmitting power can meet the uplink signal strength of the electronic device, and meanwhile, ensures that the power which does not affect the stability of a radio frequency component of the electronic device, such as a power amplifier, can break through the limitation of a base station on the uplink power in a safety range, so that the signal strength of an uplink signal is effectively ensured.
It can be understood that when the first transmission power satisfies the requirement of ensuring the uplink signal strength of the electronic device and does not affect the stability of the radio frequency component of the electronic device, the second transmission power is equal to the first transmission power.
In some embodiments of the present application, determining the second transmit power based on a comparison of the first transmit power to a preset threshold includes:
under the condition that the first transmitting power is smaller than or equal to a first threshold value, determining that the second transmitting power is equal to the first transmitting power, wherein the first threshold value is a power threshold value when the signal intensity of the electronic equipment meets the communication requirement;
and under the condition that the first transmission power is greater than or equal to a second threshold value, determining that the second transmission power is equal to the second threshold value, wherein the second threshold value is the maximum transmission power of the radio frequency component, and the second threshold value is greater than the first threshold value.
In the embodiment of the application, after a power instruction issued by a base station is acquired, a first threshold indicated by the base station is determined, and then the magnitude relation between the first transmission power and the first threshold is compared. The first threshold is used for indicating whether the signal strength meets the requirement, if the first transmitting power is smaller than or equal to the first threshold, the signal strength between the current electronic equipment and the base station is good, smooth communication can be realized without high transmitting power, at the moment, the radio frequency component is controlled to work according to the transmitting power indicated by the base station, and at the moment, the second transmitting power is equal to the first transmitting power.
Further, comparing the magnitude relation between the first transmission power and a second threshold, wherein the second threshold is the maximum transmission power of the radio frequency component, and if the transmission power of the radio frequency component is greater than the second threshold, the power amplifier device of the radio frequency component may be damaged. Therefore, if the first transmission power indicated by the base station is greater than the second threshold, it indicates that the transmission power is too high, and if the radio frequency signal is transmitted according to the first transmission power, damage may be caused to the radio frequency component, especially the power amplifier of the radio frequency component, at this time, a preset radio frequency power reliability threshold table is obtained, and the radio frequency component is controlled to work according to the maximum power therein.
It can be understood that the maximum power of the rf component refers to the maximum transmission power of the rf component under the premise of ensuring that the rf component operates stably. When the first transmitting power indicated by the base station is larger than the second threshold, the transmitting power of the radio frequency component is set to be the maximum power of the radio frequency component, and the signal intensity of the electronic equipment can be improved to the greatest extent on the premise of ensuring the stable operation of the radio frequency component.
It can be appreciated that for electronic devices having different hardware and different algorithms, the signal strength and tolerance of the radio frequency component may be different, so the first threshold and the second threshold of different electronic devices may be different, and the first threshold and the second threshold may be set correspondingly according to the hardware and software environment of a specific electronic device.
In some embodiments of the present application, determining the second transmission power based on a comparison result of the first transmission power and a preset threshold value further includes:
and under the condition that the first transmitting power is larger than a first threshold value and smaller than a second threshold value, acquiring the uplink error rate of the electronic equipment, and determining the second transmitting power according to the uplink error rate.
In this embodiment of the present application, if the first transmit power indicated by the base station is greater than the first threshold and less than the second threshold, it is indicated that the signal strength of the current electronic device is not ideal and is in a state where the signal is weaker, and at this time, the transmit power of the base station knowledge has not yet reached the maximum transmit power of the radio frequency component, that is, there is room for further optimizing the signal.
At this time, the uplink error rate of the electronic equipment is obtained, and based on the uplink error rate of the electronic equipment, whether the transmitting power of the radio frequency component needs to be further adjusted is judged, so that the signal stability of the electronic equipment is ensured to the greatest extent under the condition that the operation stability of the electronic equipment is ensured, and the requirements of communication and network connection are met.
In some embodiments of the present application, determining the second transmit power according to the uplink error rate includes:
under the condition that the uplink error rate exceeds the error rate threshold value, acquiring preset transmitting power corresponding to an upper layer communication protocol, wherein the preset transmitting power is larger than the first transmitting power;
under the condition that the preset transmitting power corresponding to the upper layer communication protocol is larger than or equal to a second threshold value, determining that the second transmitting power is equal to the second threshold value;
and under the condition that the preset transmitting power corresponding to the upper layer communication protocol is smaller than a second threshold value, determining that the second transmitting power is equal to the preset transmitting power.
In the embodiment of the application, when the first transmitting power indicated by the power instruction issued by the base station is greater than the first threshold and smaller than the second threshold, it is indicated that the signal of the electronic device is weaker, communication can be performed, and the preference quality may be affected, at this time, an uplink error rate is obtained, and whether the radio frequency signal transmitting power of the radio frequency component needs to be adjusted is judged according to the uplink error rate.
Specifically, if the uplink bit error rate of the electronic device exceeds the bit error rate threshold, it is indicated that the data link of the current mobile network is affected, and the base station sets a threshold for the transmitting power of the electronic device, and at this time, the radio frequency transmitting power of the radio frequency component needs to be adjusted, so as to ensure the communication and network quality of the electronic device.
At this time, the preset transmitting power pre-stored in the upper layer communication protocol is obtained, wherein the upper layer communication protocol is specifically an L3 layer, and the transmitting power of the radio frequency component in the L3 layer is preset, that is, the preset transmitting power is preset. Generally, the preset transmission power is a range value, covers a wide power range, and is larger than the transmission power indicated by the base station, for example, the preset transmission frequency is 21 to 26dbm, or the preset transmission frequency is 24 to 31dbm.
The high enough transmitting power value is set in the upper communication protocol, namely the L3 layer to control the physical layer, and the high enough power signal can be transmitted to ensure the uplink communication quality on the premise of ensuring that the radio frequency component of the electronic equipment and the power amplifier thereof are not damaged.
Therefore, under the condition that the uplink error rate of the electronic equipment exceeds a preset error rate threshold value, the preset transmitting power of the L3 layer is read. If the preset transmitting power corresponding to the upper layer communication protocol is greater than or equal to the second threshold, the fact that the transmitting power is preset to be too high in the L3 layer, namely the upper layer communication protocol, is indicated, so that the maximum transmitting power of the radio frequency component is exceeded. At this time, in order to ensure the stable operation of the radio frequency component, ensure that the power amplifier will not be damaged, set the maximum transmitting power of the radio frequency component as the second threshold, namely control the radio frequency component to work with its maximum transmitting power, thus improve the transmitting power and ensure the uplink communication quality on the premise of not damaging the radio frequency component.
If the preset transmitting power corresponding to the upper layer communication protocol is smaller than the second threshold value, the preset transmitting power set by the L3 layer is indicated not to cause damage to the radio frequency component and the power amplifier thereof, and at the moment, the radio frequency component is controlled to work according to the preset transmitting power of the upper layer communication protocol, so that the limitation of the base station on uplink power is broken through, and the uplink communication quality of the electronic equipment is ensured.
The method and the device can effectively prevent the problems of high uplink error rate or power device damage and the like caused by inconsistent limitation of the base station to the maximum uplink power, and ensure the uplink communication quality of the electronic equipment.
In some embodiments of the present application, a radio frequency power adjusting device is provided, fig. 2 shows a block diagram of a radio frequency power adjusting device according to an embodiment of the present application, and as shown in fig. 2, a radio frequency power adjusting device 200 includes:
an obtaining module 202, configured to obtain a power instruction issued by a base station, where the power instruction is used to instruct an electronic device to transmit a signal with a first transmission power;
a determining module 204, configured to determine a second transmission power based on a comparison result between the first transmission power and a preset threshold;
a control module 206 for controlling the radio frequency component to transmit signals at the second transmit power.
In this embodiment of the present application, after the electronic device and the base station establish a communication network connection, first, the electronic device obtains a power instruction issued by the base station, where the power instruction indicates a first transmission power, where the first transmission power is uplink radio frequency power issued by the base station to the electronic device, and is used to instruct the electronic device to transmit uplink radio frequency signals according to the first transmission power.
After receiving the power instruction, the electronic device judges whether the first transmission power can meet the requirement of establishing a good network in the current signal environment by comparing the magnitude relation between the first transmission power corresponding to the power instruction and a preset threshold value.
Specifically, based on a comparison result of the first transmitting power and a preset threshold, the electronic device determines a second transmitting power, wherein the second transmitting power can meet the uplink signal strength of the electronic device, and meanwhile, ensures that the power which does not affect the stability of a radio frequency component of the electronic device, such as a power amplifier, can break through the limitation of a base station on the uplink power in a safety range, so that the signal strength of an uplink signal is effectively ensured.
It can be understood that when the first transmission power satisfies the requirement of ensuring the uplink signal strength of the electronic device and does not affect the stability of the radio frequency component of the electronic device, the second transmission power is equal to the first transmission power.
In some embodiments of the present application, the determining module is further configured to determine that the second transmission power is equal to the first transmission power when the first transmission power is less than or equal to a first threshold, where the first threshold is a power threshold when a signal strength of the electronic device meets a communication requirement;
and the method is also used for determining that the second transmitting power is equal to the second threshold value under the condition that the first transmitting power is larger than or equal to the second threshold value, wherein the second threshold value is the maximum transmitting power of the radio frequency component, and the second threshold value is larger than the first threshold value.
In the embodiment of the application, after a power instruction issued by a base station is acquired, a first threshold indicated by the base station is determined, and then the magnitude relation between the first transmission power and the first threshold is compared. The first threshold is used for indicating whether the signal strength meets the requirement, if the first transmitting power is smaller than or equal to the first threshold, the signal strength between the current electronic equipment and the base station is good, smooth communication can be realized without high transmitting power, at the moment, the radio frequency component is controlled to work according to the transmitting power indicated by the base station, and at the moment, the second transmitting power is equal to the first transmitting power.
Further, comparing the magnitude relation between the first transmission power and a second threshold, wherein the second threshold is the maximum transmission power of the radio frequency component, and if the transmission power of the radio frequency component is greater than the second threshold, the power amplifier device of the radio frequency component may be damaged. Therefore, if the first transmission power indicated by the base station is greater than the second threshold, it indicates that the transmission power is too high, and if the radio frequency signal is transmitted according to the first transmission power, damage may be caused to the radio frequency component, especially the power amplifier of the radio frequency component, at this time, a preset radio frequency power reliability threshold table is obtained, and the radio frequency component is controlled to work according to the maximum power therein.
It can be understood that the maximum power of the rf component refers to the maximum transmission power of the rf component under the premise of ensuring that the rf component operates stably. When the first transmitting power indicated by the base station is larger than the second threshold, the transmitting power of the radio frequency component is set to be the maximum power of the radio frequency component, and the signal intensity of the electronic equipment can be improved to the greatest extent on the premise of ensuring the stable operation of the radio frequency component.
It can be appreciated that for electronic devices having different hardware and different algorithms, the signal strength and tolerance of the radio frequency component may be different, so the first threshold and the second threshold of different electronic devices may be different, and the first threshold and the second threshold may be set correspondingly according to the hardware and software environment of a specific electronic device.
In some embodiments of the present application, the determining module is further configured to obtain an uplink error rate of the electronic device when the first transmission power is greater than the first threshold and less than the second threshold, and determine the second transmission power according to the uplink error rate.
In this embodiment of the present application, if the first transmit power indicated by the base station is greater than the first threshold and less than the second threshold, it is indicated that the signal strength of the current electronic device is not ideal and is in a state where the signal is weaker, and at this time, the transmit power of the base station knowledge has not yet reached the maximum transmit power of the radio frequency component, that is, there is room for further optimizing the signal.
At this time, the uplink error rate of the electronic equipment is obtained, and based on the uplink error rate of the electronic equipment, whether the transmitting power of the radio frequency component needs to be further adjusted is judged, so that the signal stability of the electronic equipment is ensured to the greatest extent under the condition that the operation stability of the electronic equipment is ensured, and the requirements of communication and network connection are met.
In some embodiments of the present application, the obtaining module is further configured to obtain a preset transmission power corresponding to the upper layer communication protocol when the uplink bit error rate exceeds the bit error rate threshold, where the preset transmission power is greater than the first transmission power;
the determining module is further configured to determine that the second transmission power is equal to the second threshold when the preset transmission power corresponding to the upper layer communication protocol is greater than or equal to the second threshold; and under the condition that the preset transmitting power corresponding to the upper layer communication protocol is smaller than a second threshold value, determining that the second transmitting power is equal to the preset transmitting power.
In the embodiment of the application, when the first transmitting power indicated by the power instruction issued by the base station is greater than the first threshold and smaller than the second threshold, it is indicated that the signal of the electronic device is weaker, communication can be performed, and the preference quality may be affected, at this time, an uplink error rate is obtained, and whether the radio frequency signal transmitting power of the radio frequency component needs to be adjusted is judged according to the uplink error rate.
Specifically, if the uplink bit error rate of the electronic device exceeds the bit error rate threshold, it is indicated that the data link of the current mobile network is affected, and the base station sets a threshold for the transmitting power of the electronic device, and at this time, the radio frequency transmitting power of the radio frequency component needs to be adjusted, so as to ensure the communication and network quality of the electronic device.
At this time, the preset transmitting power pre-stored in the upper layer communication protocol is obtained, wherein the upper layer communication protocol is specifically an L3 layer, and the transmitting power of the radio frequency component in the L3 layer is preset, that is, the preset transmitting power is preset. Generally, the preset transmission power is a range value, covers a wide power range, and is larger than the transmission power indicated by the base station, for example, the preset transmission frequency is 21 to 26dbm, or the preset transmission frequency is 24 to 31dbm.
The high enough transmitting power value is set in the upper communication protocol, namely the L3 layer to control the physical layer, and the high enough power signal can be transmitted to ensure the uplink communication quality on the premise of ensuring that the radio frequency component of the electronic equipment and the power amplifier thereof are not damaged.
Therefore, under the condition that the uplink error rate of the electronic equipment exceeds a preset error rate threshold value, the preset transmitting power of the L3 layer is read. If the preset transmitting power corresponding to the upper layer communication protocol is greater than or equal to the second threshold, the fact that the transmitting power is preset to be too high in the L3 layer, namely the upper layer communication protocol, is indicated, so that the maximum transmitting power of the radio frequency component is exceeded. At this time, in order to ensure the stable operation of the radio frequency component, ensure that the power amplifier will not be damaged, set the maximum transmitting power of the radio frequency component as the second threshold, namely control the radio frequency component to work with its maximum transmitting power, thus improve the transmitting power and ensure the uplink communication quality on the premise of not damaging the radio frequency component.
If the preset transmitting power corresponding to the upper layer communication protocol is smaller than the second threshold value, the preset transmitting power set by the L3 layer is indicated not to cause damage to the radio frequency component and the power amplifier thereof, and at the moment, the radio frequency component is controlled to work according to the preset transmitting power of the upper layer communication protocol, so that the limitation of the base station on uplink power is broken through, and the uplink communication quality of the electronic equipment is ensured.
The method and the device can effectively prevent the problems of high uplink error rate or power device damage and the like caused by inconsistent limitation of the base station to the maximum uplink power, and ensure the uplink communication quality of the electronic equipment.
The device for adjusting the radio frequency power in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The device for adjusting radio frequency power in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The radio frequency power adjusting device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and in order to avoid repetition, details are not repeated here.
Optionally, an electronic device is further provided in the embodiments of the present application, fig. 3 shows a block diagram of a structure of the electronic device according to the embodiments of the present application, as shown in fig. 3, the electronic device 300 includes a processor 302, a memory 304, and a program or an instruction stored in the memory 304 and capable of running on the processor 302, where the program or the instruction implements each process of the foregoing method embodiments when executed by the processor 302, and the process may achieve the same technical effect, and is not repeated herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 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, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 410 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 410 is configured to obtain a power instruction issued by the base station, where the power instruction is configured to instruct the electronic device to transmit a signal at a first transmission power;
determining a second transmitting power based on a comparison result of the first transmitting power and a preset threshold value;
the radio frequency assembly is controlled to transmit signals at a second transmit power.
Optionally, the processor 410 is further configured to determine that the second transmission power is equal to the first transmission power if the first transmission power is less than or equal to a first threshold, where the first threshold is a power threshold when the signal strength of the electronic device meets the communication requirement;
and under the condition that the first transmission power is greater than or equal to a second threshold value, determining that the second transmission power is equal to the second threshold value, wherein the second threshold value is the maximum transmission power of the radio frequency component, and the second threshold value is greater than the first threshold value.
Optionally, the processor 410 is further configured to obtain an uplink error rate of the electronic device if the first transmission power is greater than the first threshold and less than the second threshold, and determine the second transmission power according to the uplink error rate.
Optionally, the processor 410 is further configured to obtain a preset transmission power corresponding to the upper layer communication protocol when the uplink bit error rate exceeds the bit error rate threshold, where the preset transmission power is greater than the first transmission power;
under the condition that the preset transmitting power corresponding to the upper layer communication protocol is larger than or equal to a second threshold value, determining that the second transmitting power is equal to the second threshold value;
and under the condition that the preset transmitting power corresponding to the upper layer communication protocol is smaller than a second threshold value, determining that the second transmitting power is equal to the preset transmitting power.
In the embodiment of the present application, after the electronic device establishes a communication network connection with the base station, the uplink power, that is, the first transmission power, indicated by the base station, of the electronic device is determined according to the power instruction issued by the base station. Further, comparing the magnitude relation between the first transmitting power and a preset threshold value, and determining the second transmitting power according to the comparison result.
The second transmitting power can meet the uplink signal strength of the electronic equipment, meanwhile, the power which cannot influence the stability of a radio frequency component of the electronic equipment, such as a power amplifier, is ensured, and meanwhile, the second transmitting power can break through the limitation of the base station on the uplink power in a safety range, so that the signal strength of the uplink signal is effectively ensured.
It should be appreciated that in embodiments of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, with the graphics processor 4041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode.
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, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071 is also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implement each process of the embodiment of the method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, implementing each process of the above method embodiment, and achieving the same technical effect, so as to avoid repetition, and not repeated here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (8)

1. A method for regulating radio frequency power, comprising:
acquiring a power instruction issued by a base station, wherein the power instruction is used for indicating an electronic device to transmit signals with first transmission power;
determining a second transmitting power based on a comparison result of the first transmitting power and a preset threshold value;
controlling the radio frequency component to transmit signals according to the second transmitting power;
the determining the second transmitting power based on the comparison result of the first transmitting power and the preset threshold value comprises the following steps:
determining that the second transmitting power is equal to the first transmitting power under the condition that the first transmitting power is smaller than or equal to a first threshold, wherein the first threshold is a power threshold when the signal intensity of the electronic equipment meets the communication requirement;
and determining that the second transmission power is equal to a second threshold value under the condition that the first transmission power is greater than or equal to the second threshold value, wherein the second threshold value is the maximum transmission power of the radio frequency component, and the second threshold value is greater than the first threshold value.
2. The adjustment method according to claim 1, wherein the determining the second transmission power based on the comparison result of the first transmission power and a preset threshold value further comprises:
and under the condition that the first transmitting power is larger than the first threshold value and smaller than the second threshold value, acquiring the uplink error rate of the electronic equipment, and determining the second transmitting power according to the uplink error rate.
3. The adjustment method according to claim 2, wherein said determining the second transmission power according to the uplink bit error rate comprises:
acquiring preset transmitting power corresponding to an upper layer communication protocol under the condition that the uplink bit error rate exceeds a bit error rate threshold, wherein the preset transmitting power is larger than the first transmitting power;
determining that the second transmitting power is equal to the second threshold value under the condition that the preset transmitting power corresponding to the upper layer communication protocol is greater than or equal to the second threshold value;
and under the condition that the preset transmitting power corresponding to the upper layer communication protocol is smaller than the second threshold value, determining that the second transmitting power is equal to the preset transmitting power.
4. A radio frequency power regulating device, comprising:
the acquisition module is used for acquiring a power instruction issued by the base station, wherein the power instruction is used for indicating the electronic equipment to transmit signals with first transmission power;
the determining module is used for determining second transmitting power based on a comparison result of the first transmitting power and a preset threshold value;
the control module is used for controlling the radio frequency assembly to transmit signals according to the second transmitting power;
the determining module is further configured to determine that the second transmission power is equal to the first transmission power when the first transmission power is less than or equal to a first threshold, where the first threshold is a power threshold when a signal strength of the electronic device meets a communication requirement;
and the method is further used for determining that the second transmitting power is equal to a second threshold value when the first transmitting power is larger than or equal to the second threshold value, wherein the second threshold value is the maximum transmitting power of the radio frequency component, and the second threshold value is larger than the first threshold value.
5. The adjusting device of claim 4, wherein the adjusting device comprises a housing,
the determining module is further configured to obtain an uplink error rate of the electronic device when the first transmission power is greater than the first threshold and smaller than the second threshold, and determine the second transmission power according to the uplink error rate.
6. The adjusting device of claim 5, wherein the adjusting device comprises a housing,
the acquisition module is further configured to acquire preset transmission power corresponding to an upper layer communication protocol when the uplink bit error rate exceeds a bit error rate threshold, where the preset transmission power is greater than the first transmission power;
the determining module is further configured to determine that the second transmission power is equal to the second threshold when a preset transmission power corresponding to the upper layer communication protocol is greater than or equal to the second threshold; and under the condition that the preset transmitting power corresponding to the upper layer communication protocol is smaller than the second threshold value, determining that the second transmitting power is equal to the preset transmitting power.
7. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the method of any one of claims 1 to 3.
8. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the method according to any of claims 1 to 3.
CN202111283434.3A 2021-11-01 2021-11-01 Method and device for adjusting radio frequency power, electronic equipment and storage medium Active CN114025419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111283434.3A CN114025419B (en) 2021-11-01 2021-11-01 Method and device for adjusting radio frequency power, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111283434.3A CN114025419B (en) 2021-11-01 2021-11-01 Method and device for adjusting radio frequency power, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114025419A CN114025419A (en) 2022-02-08
CN114025419B true CN114025419B (en) 2024-04-16

Family

ID=80059326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111283434.3A Active CN114025419B (en) 2021-11-01 2021-11-01 Method and device for adjusting radio frequency power, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114025419B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222917A (en) * 2017-06-27 2017-09-29 中国移动通信集团江苏有限公司 Power regulating method, device, equipment and medium
CN110266357A (en) * 2019-06-14 2019-09-20 Oppo广东移动通信有限公司 Communication control method, device and electronic equipment
CN111954286A (en) * 2020-08-06 2020-11-17 捷开通讯(深圳)有限公司 Power adjusting method, device, storage medium and terminal
CN112703781A (en) * 2018-11-19 2021-04-23 深圳市欢太科技有限公司 Wireless signal sending method, wireless signal sending device and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222917A (en) * 2017-06-27 2017-09-29 中国移动通信集团江苏有限公司 Power regulating method, device, equipment and medium
CN112703781A (en) * 2018-11-19 2021-04-23 深圳市欢太科技有限公司 Wireless signal sending method, wireless signal sending device and terminal equipment
CN110266357A (en) * 2019-06-14 2019-09-20 Oppo广东移动通信有限公司 Communication control method, device and electronic equipment
CN111954286A (en) * 2020-08-06 2020-11-17 捷开通讯(深圳)有限公司 Power adjusting method, device, storage medium and terminal

Also Published As

Publication number Publication date
CN114025419A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN106782431B (en) Screen backlight brightness adjusting method and device and mobile terminal
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
CN111179861B (en) Brightness calibration method and device, storage medium and terminal
CN111988771B (en) Wireless connection control method and device and electronic equipment
CN111949239B (en) Screen sharing method and device, storage medium and terminal
CN110933706A (en) Network communication setting method, device, storage medium and terminal
CN111163305A (en) Screen adjusting method, device and equipment and readable storage medium
CN111343710B (en) Power adjustment method and electronic equipment
CN107249085B (en) Mobile terminal electric quantity display method, mobile terminal and computer readable storage medium
CN110099434B (en) Power adjustment method, terminal equipment and computer readable storage medium
US20230378767A1 (en) Charging control method and apparatus, electronic device, and charger
CN112888055A (en) Wi-Fi uplink data sending method and device, electronic equipment and storage medium
CN114025419B (en) Method and device for adjusting radio frequency power, electronic equipment and storage medium
CN111372003A (en) Camera switching method and device and terminal
CN115118636B (en) Method and device for determining network jitter state, electronic equipment and storage medium
CN109219056B (en) Router signal coverage adjustment method, network device and readable storage medium
CN108632468B (en) Method for adjusting CABC level and mobile terminal
CN114442346A (en) Ghost shadow calculation method and device of display panel, storage medium and terminal equipment
CN112867171A (en) WIFI connection method and device, storage medium and mobile terminal
CN111898542A (en) Display screen control method and device and terminal
CN108646928B (en) Character input method and terminal equipment
CN112601241A (en) Network access method and device
CN112566086A (en) Data transmission method and device, electronic equipment and readable storage medium
CN106686702B (en) Network connection processing method and terminal
CN111356096A (en) Information sending method and electronic equipment

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