CN114828186B - Power adjustment method and electronic equipment - Google Patents
Power adjustment method and electronic equipment Download PDFInfo
- Publication number
- CN114828186B CN114828186B CN202210419518.3A CN202210419518A CN114828186B CN 114828186 B CN114828186 B CN 114828186B CN 202210419518 A CN202210419518 A CN 202210419518A CN 114828186 B CN114828186 B CN 114828186B
- Authority
- CN
- China
- Prior art keywords
- power
- output power
- preset
- absorption rate
- specific absorption
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 238000010521 absorption reaction Methods 0.000 claims abstract description 229
- 230000005856 abnormality Effects 0.000 claims abstract description 17
- 238000001514 detection method Methods 0.000 claims description 9
- 238000012360 testing method Methods 0.000 claims description 6
- 230000002159 abnormal effect Effects 0.000 description 14
- 230000008569 process Effects 0.000 description 11
- 230000009467 reduction Effects 0.000 description 11
- 230000005855 radiation Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000007423 decrease Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000003321 amplification Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 3
- 238000003199 nucleic acid amplification method Methods 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000033228 biological regulation Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000003750 conditioning effect Effects 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/3827—Portable transceivers
- H04B1/3833—Hand-held transceivers
- H04B1/3838—Arrangements for reducing RF exposure to the user, e.g. by changing the shape of the transceiver while in use
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/38—TPC being performed in particular situations
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Transmitters (AREA)
Abstract
The application discloses a power adjustment method and electronic equipment, wherein the power adjustment method comprises the following steps: determining whether the first output power of the first channel in a use state is greater than a preset power or not under the condition that abnormality of a specific absorption rate sensor in the electronic equipment is detected; the electronic equipment determines whether the distance between the human body and the electronic equipment is smaller than or equal to a distance threshold value through the specific absorption rate sensor; under the condition that the first output power is larger than the preset power, adjusting the output power of the first channel from the first output power to a second output power; wherein the second output power is less than or equal to the preset power.
Description
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a power adjustment method and electronic equipment.
Background
With the development of electronic equipment technology, electronic equipment such as smart phones has become an indispensable tool in life. With the enhancement of health consciousness, the radiation problem of the electronic equipment to the human body is also more and more paid attention to users.
In the prior art, radiation of an electronic device is generally measured by a specific absorption rate (Specific Absorption Rate, SAR), and the specific absorption rate of the electronic device needs to be controlled within a certain range of values. In order to control the specific absorption rate of electronic devices, current practice is: whether a human body is close to the electronic device is detected by a specific absorption rate sensor (i.e., SAR senor). In the case where it is detected that a human body is approaching the electronic device, if the specific absorption rate exceeds the standard, damage may occur to the human body, and therefore it is necessary to determine whether or not to reduce the specific absorption rate at this time. In case no human body is detected close to the electronic device, there is no need to reduce the specific absorption rate.
However, when the specific absorption rate sensor fails, it cannot be detected whether a human body approaches the electronic device, and thus an adjustment operation for reducing the specific absorption rate cannot be performed, so that a situation that the specific absorption rate exceeds the standard may occur when the human body approaches the electronic device.
Disclosure of Invention
The embodiment of the application aims to provide a power adjustment method and electronic equipment, which can solve the problem that the specific absorption rate cannot be adjusted under the condition that a specific absorption rate sensor fails in the prior art.
In a first aspect, an embodiment of the present application provides a power adjustment method, where the method includes:
Determining whether the first output power of the first channel in a use state is greater than a preset power or not under the condition that abnormality of a specific absorption rate sensor in the electronic equipment is detected; the electronic equipment determines whether the distance between the human body and the electronic equipment is smaller than or equal to a preset distance value through the specific absorption rate sensor;
under the condition that the first output power is larger than the preset power, adjusting the output power of the first channel from the first output power to a second output power; wherein the second output power is less than or equal to the preset power.
In a second aspect, an embodiment of the present application provides a power adjustment electronic device, including:
The first determining module is used for determining whether the first output power of the first channel in the use state is larger than preset power or not under the condition that the abnormality of the specific absorption rate sensor in the electronic equipment is detected; the electronic equipment determines whether the distance between the human body and the electronic equipment is smaller than or equal to a preset distance value through the specific absorption rate sensor;
The first adjusting module is used for adjusting the output power of the first channel from the first output power to the second output power under the condition that the first output power is larger than the preset power; wherein the second output power is less than or equal to the preset power.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps in the power adjustment method according to 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, implement the steps in the power adjustment method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the power adjustment method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the power adjustment method according to the first aspect.
In the embodiment of the application, the electronic device can detect whether the specific absorption rate sensor is abnormal or not, and when the specific absorption rate sensor is detected to be abnormal, the electronic device can determine whether to execute the adjustment operation for reducing the specific absorption rate based on the comparison result of the output power and the preset power. And the purpose of reducing the specific absorption rate is achieved by means of a reduced power when it is determined to perform the adjustment operation of reducing the specific absorption rate. Therefore, even if the specific absorption rate sensor fails, the specific absorption rate can be adjusted, and double-layer insurance is provided for reducing the influence of the radiation of the electronic equipment on the human body.
Drawings
Fig. 1 is a schematic flow chart of a power adjustment method according to an embodiment of the present application;
FIG. 2 is a schematic block diagram of a power conditioning electronic device provided by an embodiment of the present application;
FIG. 3 is one of the schematic block diagrams of the electronic device provided by the embodiment of the application;
Fig. 4 is a second schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of 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, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of 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 elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type not limited to the number of objects, for example, 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 power adjustment method provided by the embodiment of the application is described in detail below through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a flow chart of a power adjustment method according to an embodiment of the present application, where the power adjustment method is applied to electronic devices, such as mobile phones, tablet computers, notebook computers, and other electronic devices with antennas.
The power adjustment method may include:
step 101: in the event that an abnormality of a specific absorption rate sensor within the electronic device is detected, it is determined whether the first output power of the first channel in use is greater than a preset power.
Wherein the specific absorption rate sensor is used for determining whether the distance between the human body and the electronic device is smaller than or equal to a distance threshold. When the distance between the human body and the electronic equipment is smaller than or equal to the distance threshold, if the specific absorption rate exceeds the standard, the specific absorption rate needs to be adjusted so as to reduce the radiation of the equipment. The specific absorption rate sensor may be a sensor such as an infrared sensor that detects a distance between a human body and an electronic device.
In the embodiment of the application, the electronic equipment can detect whether the specific absorption rate sensor is abnormal in real time or at regular time. Alternatively, the specific absorption rate sensor may typically send an error code when it is abnormal, and the electronic device may determine whether the specific absorption rate sensor is abnormal based on whether the error code of the specific absorption rate sensor is detected, that is: in the case where an error code of the specific absorption rate sensor is not detected, determining that the specific absorption rate sensor is normal; in the case that an error code of the specific absorption rate sensor is detected, the specific absorption rate sensor is determined to be abnormal.
If the specific absorption rate sensor is abnormal, the electronic device cannot determine whether the distance between the human body and the electronic device is less than or equal to the distance threshold through the specific absorption rate sensor, that is, cannot determine whether to perform the adjustment operation of reducing the specific absorption rate by means of the specific absorption rate sensor. But the output power and the specific absorption rate of the electronic equipment are in positive correlation, namely, the larger the output power is, the larger the specific absorption rate is; on the contrary, the smaller the output power is, the smaller the specific absorption rate is, so in the embodiment of the present application, it may be determined whether to perform the adjustment operation for reducing the specific absorption rate according to the output power, and in particular, may be determined based on the comparison result between the output power value (i.e., the first output power) of the currently used channel (i.e., the first channel) and the power threshold (i.e., the preset power).
Step 102: and under the condition that the first output power is larger than the preset power, adjusting the output power of the first channel from the first output power to the second output power.
And under the condition that the first output power is larger than the preset power, the current output power is larger, the risk of exceeding the specific absorption rate is larger, and the adjustment operation for reducing the specific absorption rate is needed to be executed, so that the output power of the first channel is reduced from the first output power to the second output power. The second output power is smaller than or equal to the preset power.
In the embodiment of the application, even if the specific absorption rate sensor fails abnormally, whether the adjustment operation for reducing the specific absorption rate is performed can be determined by comparing the output power value with the power threshold. Therefore, by increasing the specific absorption rate adjustment measure, double-layer insurance is provided for reducing the influence of the radiation of the electronic equipment on the human body.
Alternatively, in the case where the first output power is less than or equal to the preset power, it is indicated that there is less risk of exceeding the specific absorption rate, the adjustment operation for reducing the specific absorption rate may not be performed.
The main scheme of the embodiment of the application is described above, and the preset power mentioned in the scheme is further explained below.
As an alternative embodiment, in step 101: in the case of detecting an abnormality of the specific absorption rate sensor in the electronic device, before determining whether the first output power of the first channel in the in-use state is greater than the preset power, the power adjustment method may further include:
And (3) fully detecting the maximum power corresponding to the frequency points of different bandwidths and different channels, and selecting the maximum value in the maximum power as preset power.
In the embodiment of the application, when the preset power is determined, the maximum powers corresponding to the frequency points of different bandwidths and different channels supported by the electronic equipment can be fully detected, and then the maximum value in all the maximum powers is determined and set as the preset power. By the full detection mode, missing of output power under some channels and bandwidths can be avoided.
Wherein, the frequency points are numbers of fixed frequencies. For example, for the frequency band of 890MHz to 915MHz, the frequency band may be divided into a total of 125 radio frequency bands at 200KHz frequency intervals, respectively: 890MHz, 890.2MHz, 890.4MHz, 890.6MHz … … MHz, and then numbering each radio frequency band: 1.2, 3, 4, … …, 125, these pairs of fixed frequency numbers are frequency bins. One channel corresponds to a fixed frequency and one channel can support at least one bandwidth.
As an alternative embodiment, in step 101: in the case of detecting an abnormality of the specific absorption rate sensor in the electronic device, before determining whether the first output power of the first channel in the in-use state is greater than the preset power, the power adjustment method may further include:
step A1: and (3) fully detecting the maximum power corresponding to the frequency points of different bandwidths and different channels, and selecting the maximum value in the maximum power.
The explanation of step A1 can be referred to the explanation of the maximum value, and will not be repeated here.
Step A2: the specific absorption rate at which the output power is at its maximum is tested.
Step A3: in case the specific absorption rate is less than or equal to the specific absorption rate threshold, writing the maximum value as a preset power into the application processor or memory.
Wherein the specific absorption rate threshold is a value that meets the specific absorption rate standard specified by the country, such as less than or equal to 1.6W/kg or less than or equal to 2W/kg, etc., that is, the radiation of the electronic device is safer for the human body when the specific absorption rate of the electronic device is less than or equal to the specific absorption rate threshold.
The specific absorption rate when the output power is the maximum value is smaller than or equal to the specific absorption rate threshold, and the specific absorption rate at the moment can be described as meeting the standard requirement, and the specific absorption rate under other output powers can be described as also being smaller than the specific absorption rate threshold, so that the maximum value in the maximum power corresponding to the frequency points of different bandwidths and different channels can be used as the preset power to be written into an application processor (Application Processor, an AP) or a memory.
Step A4: under the condition that the specific absorption rate is larger than the specific absorption rate threshold, determining a power value of output power corresponding to the specific absorption rate reduced to the specific absorption rate threshold, taking the maximum value as preset power, defining a difference value between the maximum value and the power value as a first difference value, and writing the first difference value and the preset power into an application processor or a memory; or if the specific absorption rate is greater than the specific absorption rate threshold, determining a power value of the output power corresponding to the specific absorption rate reduced to the specific absorption rate threshold, and writing the power value as a preset power into the application processor or the memory.
The specific absorption rate at which the output power is at its maximum value being greater than the specific absorption rate threshold value, indicating that the specific absorption rate at this time is not in accordance with the standard requirement, in which case the power value of the output power corresponding to the decrease of the specific absorption rate to the specific absorption rate threshold value may be determined first. Since the specific absorption rate at this power value is in accordance with the standard requirements, this power value can be written as a preset power into the application processor or memory.
In addition, after determining the power value of the output power corresponding to the decrease of the specific absorption rate to the specific absorption rate threshold, a difference (first difference) between the maximum value of the maximum powers and the power value may be determined, and the difference and the maximum value of the maximum powers may be written into the application processor or the memory as a preset power.
Optionally, in the case that the first difference value and the maximum value as the preset power are set in the application processor or the memory, step 102: adjusting the output power of the first channel from the first output power to the second output power may include: and reducing the output power of the first channel by at least a first difference value from the first output power to obtain a second output power.
Since the first output power is larger than the preset power and the specific absorption rate meets the standard requirement only when the preset power is reduced to the power value, the first output power is reduced by at least the first difference value.
Alternatively, a second difference between the first output power and the preset power may be determined, and then the output power of the first channel is reduced by a sum of the first difference and the second difference to obtain the second output power. For example, the preset power is 20dB, the first difference is 3dB, and the first output power is 21dB, for which, a second difference between the first output power and the preset power, that is, 21dB-20 db=1 dB, may be obtained first, and then the first output power is reduced by the sum of the first difference and the second difference to obtain a second output power, that is, 21dB- (3 db+1 dB) =17 dB.
In the prior art, since the number of channels supported by the electronic device is large, the output power under a part of typical channels and a part of typical bandwidths is generally detected to determine a power threshold, and the determined power threshold may have the following problems: the output power of the undetected channel and bandwidth is smaller than the power threshold, but the specific absorption rate at the output power is also out of standard, and because the output power is smaller than the power threshold, the adjustment operation for reducing the specific absorption rate is not performed at the output power, so that the adjustment scene of the specific absorption rate cannot be covered. Or in the using process of the electronic equipment, the electronic equipment generates upgrading events to increase the power of some channels or bandwidths, the specific absorption rate under the increased power exceeds the standard, but the increased power is smaller than the power threshold, and the adjustment scene of the specific absorption rate can not cover the situation due to the fact that the increased power is smaller than the power threshold.
In the embodiment of the application, the preset power is determined by fully detecting the maximum power corresponding to each frequency point of different bandwidths and different channels and based on the maximum value in the maximum power and the specific absorption rate under the maximum value. Compared with the prior art, the method has the advantages that the preset power is determined, the method is more comprehensive in consideration, the risk that the specific absorption rate exceeds the standard because the output power difference between different bandwidths and different channels is not detected in the prior art is overcome, and the coverage of a specific absorption rate adjustment scene is more comprehensive.
Alternatively, in the above-mentioned scheme, it is also possible to determine the power reduction required when the specific absorption rate criterion is satisfied at the maximum power, and then obtain the power value after the power reduction.
Alternatively, the predetermined power (and the first difference value) may be retrieved from the application processor or memory when it is desired to use the predetermined power.
As an alternative embodiment, the preset power is the maximum output power at all channels supported by the electronic device and at all bandwidths supported by each channel.
In the embodiment of the application, when the preset power is determined, the output powers corresponding to the frequency points of different bandwidths and different channels supported by the electronic equipment can be fully detected, and the maximum output power in all the detected output powers is taken as the preset power. By the full detection mode, missing of output power under some channels and bandwidths can be avoided.
As an alternative embodiment, in step 101: in the case of detecting an abnormality of the specific absorption rate sensor in the electronic device, before determining whether the first output power of the first channel in the in-use state is greater than the preset power, the power adjustment method may further include:
Step B1: the maximum output power at all channels supported by the electronic device and at all bandwidths supported by each channel is obtained.
In the embodiment of the application, the output power corresponding to each frequency point of different bandwidths and different channels can be fully detected, and the maximum output power can be screened out.
Step B2: in the case where the specific absorption rate at the maximum output power is less than or equal to the specific absorption rate threshold value, the maximum output power is determined as the preset power.
The specific absorption rate at the maximum output power is smaller than or equal to the specific absorption rate threshold, and the specific absorption rate at the moment can be described as meeting the standard requirement, and the specific absorption rate at other output powers is also smaller than the specific absorption rate threshold, so that the maximum output power in the output power corresponding to the frequency points of different bandwidths and different channels can be written into the application processor or the memory as the preset power. The preset power may be retrieved from the application processor or memory when it is desired to use it.
Step B3: in the case where the specific absorption rate at the maximum output power is greater than the specific absorption rate threshold, a power value of the output power when the specific absorption rate is reduced to a preset specific absorption rate is determined, and the power value is determined as the preset power.
The specific absorption rate at the maximum output power being larger than the specific absorption rate threshold value indicates that the specific absorption rate at this time is not in accordance with the standard requirement, and in this case, the power value of the output power corresponding to the decrease of the specific absorption rate to the specific absorption rate threshold value may be determined first. Since the specific absorption rate at this power value is in accordance with the standard requirements, this power value can be written as a preset power into the application processor or memory.
Alternatively, in the above-mentioned scheme, it is also possible to determine the power reduction required when the specific absorption rate criterion is satisfied at the maximum power, and then obtain the power value after the power reduction.
In the embodiment of the application, the preset power is determined by fully detecting the output powers corresponding to the frequency points of different bandwidths and different channels and based on the maximum output power and the specific absorption rate under the maximum output power. Compared with the prior art, the method has the advantages that the preset power is determined, the method is more comprehensive in consideration, the risk that the specific absorption rate exceeds the standard because the output power difference between different bandwidths and different channels is not found in the prior art is overcome, and the adjustment scene coverage of the specific absorption rate is more comprehensive.
As an alternative embodiment, "determining whether the first output power of the first channel in use is greater than the preset power" in step 101 may include:
Step C1: and acquiring a first gain corresponding to the first output power.
Step C2: and obtaining a preset gain corresponding to the preset power.
Step C3: and under the condition that the first gain is larger than the preset gain, determining that the first output power is larger than the preset power.
In the embodiment of the application, the comparison of the power can be directly carried out to determine whether the first output power is larger than the preset power, or whether the first output power is larger than the preset power can be judged through the comparison gain.
Generally, the output power of the electronic device is the power after the amplification treatment, the amplification factor is the gain called by the output power, and the original power before the amplification treatment of each output power is basically the same, so that the output power and the called gain have positive correlation, namely: the larger the output power is, the larger the called gain value is, otherwise, the smaller the output power is, and the smaller the called gain value is, so in the embodiment of the application, the magnitude of the first output power and the preset power can be judged based on the gain. In addition, for the electronic device, the called gain is obtained first, and then the output power is calculated based on the called gain, so that the power size is judged based on the gain, one calculation (namely, the output power is calculated) can be reduced, and the comparison is more convenient. It should be noted that, the preset gain corresponding to the preset power is stored in the electronic device in advance.
Optionally, step C2: the obtaining the preset gain corresponding to the preset power may include:
step C21: a current occupied bandwidth of the first channel is determined.
Step C22: and acquiring a preset gain corresponding to the current occupied bandwidth of the first channel.
In the embodiment of the application, the preset gains corresponding to different bandwidths may be different under the same preset power, so that when the preset gain corresponding to the preset power is determined, the bandwidth occupied by the current channel can be determined first, and then the preset gain corresponding to the current channel is determined according to the bandwidth occupied by the current channel.
The bandwidth and the preset gain are pre-established with an association relation, and according to the preset association relation, the preset gain corresponding to the bandwidth occupied by the current channel can be determined. As shown in table 1, in BAND1 BAND, the preset gains corresponding to 1.4M, 5M and 10M are G0, and the preset gains corresponding to 20M and 40M are G1. As can be seen from table 1, regarding the setting of the preset gain, the applicable preset gain may be different in different bandwidths of the same frequency band, and if the power setting in the bandwidth is higher or lower, the applicable preset gain in the bandwidth needs to be increased or decreased.
The method comprises the steps that a plurality of channels are included in one frequency band, the frequency band to which the channels belong can be determined based on the channels, and then the preset gain corresponding to the bandwidth currently occupied by the channels is determined according to the frequency band to which the channels belong.
TABLE 1
As shown in table 1, in the case where the first difference (i.e., the initial value of the amplitude reduction in table 1) and the preset gain corresponding to the preset power are set in the application processor or the memory, the initial value of the amplitude reduction corresponding to the different preset gains may also be different.
In order to better understand the above scheme, a process of establishing an association relationship between the bandwidth and the preset gain is taken as an example for further explanation.
Optionally, in step 101: in the case of detecting an abnormality of the specific absorption rate sensor in the electronic device, before determining whether the first output power of the first channel in the in-use state is greater than the preset power, the power adjustment method may further include:
Step D1: and (3) fully detecting the maximum power corresponding to the frequency points of different bandwidths and different channels, and selecting the maximum value in the maximum power.
The explanation of step D1 may be referred to the explanation of the maximum value, and will not be repeated here.
Step D2: if the maximum value corresponds to the first bandwidth and the second bandwidth at the same time, the gain value of the first bandwidth when the output power is the maximum value is the second gain, the gain value of the second bandwidth when the output power is the maximum value is the third gain, and the second gain is not equal to the third gain, the second gain is set as a preset gain corresponding to the first bandwidth, the third gain is set as a preset gain corresponding to the second bandwidth, and the minimum value of the second gain and the third gain is set as preset gains corresponding to other bandwidths.
Wherein the other bandwidths are bandwidths supported by the electronic device other than the first bandwidth and the second bandwidth.
In the embodiment of the application, if the maximum value corresponds to different bandwidths, that is, there are at least two maximum output powers under different bandwidths, and the gain values called by the maximum output powers under the at least two different bandwidths are different, the gain called by each bandwidth corresponding to the maximum value can be set as the preset gain corresponding to each bandwidth, and the minimum gain in the gains called by each bandwidth corresponding to the maximum value is set as the preset gain corresponding to other bandwidths.
For example, the maximum values are the output power at the 10M bandwidth and 20M bandwidth of the a channel, respectively, assuming that the maximum value is 23 (assuming that the specific absorption rate value satisfies the requirement at this time), the gain value for the output power call at the 10M bandwidth is 28, and the gain value for the output power call at the 20M bandwidth is 29. If the smaller gain value is used as the preset gain of all bandwidths (i.e. the preset gain is set 28), the situation that the power reduction is performed without power reduction may occur, for example, the currently used channel is the a channel, the currently occupied bandwidth is 20M bandwidth, the currently called gain is 29, although 29 is larger than the preset gain 28, the output power of the a channel under 20M bandwidth is 23 at the moment, which meets the requirement and does not need power reduction adjustment; if a larger gain value is used as the preset gain with bandwidth (i.e. the preset gain 29 is set), the situation that the power should be reduced but the power reduction is not performed may occur, for example, the current channel is the a channel, the current occupied bandwidth is 10M bandwidth, the current calling gain is 28.5, at this time, the output power under the bandwidth of 10M of the a channel exceeds 23 and the power should be reduced, but the power reduction adjustment is not performed because 28.5 is smaller than the preset gain 29. To avoid the foregoing, the embodiment of the present application selects different preset gains for different bandwidths, that is, sets the gain 28 to a preset gain corresponding to a 10M bandwidth, sets the gain 29 to a preset gain corresponding to a 20M bandwidth, and sets the smaller gain 28 to a preset gain corresponding to other bandwidths (e.g., a 5M bandwidth, a 15M bandwidth, etc.).
Optionally, in step 101: in the case of detecting an abnormality of the specific absorption rate sensor in the electronic device, before determining whether the first output power of the first channel in the in-use state is greater than the preset power, the power adjustment method may further include:
Step E1: and (3) fully detecting the maximum power corresponding to the frequency points of different bandwidths and different channels, and selecting the maximum value of the maximum power.
The explanation of step E1 can be referred to the explanation of the maximum value, and will not be repeated here.
Step E2: and determining the bandwidth corresponding to the maximum value.
Step E3: and under the condition that the bandwidths corresponding to the maximum value are at least two and the gains corresponding to the different bandwidths under the maximum value are different, testing the specific absorption rate when the output power is the maximum value.
And testing the specific absorption rate when the output power is the maximum value under the condition that the maximum output power under at least two different bandwidths is the maximum value and the gain values called by the maximum output power under the at least two different bandwidths are different.
For example, when the maximum output power is the maximum value in the 10M bandwidth, the 15M bandwidth, and the 20M bandwidth, the gain for maximum output power adjustment in the 10M and 15M bandwidths is 28, the gain for maximum output power adjustment in the 20M bandwidth is 29, and the same output power adjustment gain is different, the specific absorption rate at the maximum output power can be tested.
Step E4: and setting the gains respectively called by the bandwidths corresponding to the maximum values as preset gains corresponding to the bandwidths, and setting the minimum gain in the gains respectively called by the bandwidths corresponding to the maximum values as the preset gain corresponding to other bandwidths under the condition that the specific absorption rate is smaller than or equal to the specific absorption rate threshold.
The other bandwidths are bandwidths except the bandwidth corresponding to the maximum value supported by the electronic equipment.
The explanation will be continued taking the example in step E3 as an example. In the case where the specific absorption rate is less than or equal to the specific absorption rate threshold, the gain 28 may be set to a preset gain corresponding to 10M and 15M bandwidths, the gain 29 may be set to a preset gain corresponding to 20M bandwidths, and then the smaller gain 28 may be set to a preset gain corresponding to other bandwidths (e.g., 5M bandwidths, 25M bandwidths, etc.).
Step E5: when the specific absorption rate is smaller than or equal to the specific absorption rate threshold, determining the fourth gain corresponding to each bandwidth corresponding to the maximum value when the specific absorption rate is reduced to the specific absorption rate threshold, setting the fourth gain corresponding to each bandwidth corresponding to the maximum value as a preset gain corresponding to each bandwidth, and setting the minimum gain in the fourth gains corresponding to each bandwidth corresponding to the maximum value as preset gains corresponding to other bandwidths.
The explanation will be continued taking the example in step E3 as an example. In the case where the specific absorption rate is greater than the specific absorption rate threshold, when the specific absorption rate is reduced to the specific absorption rate threshold, the gain corresponding to the 10M and 15M bandwidths (i.e., the fourth gain) is 26, the gain corresponding to the 20M bandwidth (i.e., the fourth gain) is 27, then the gain 26 may be set to a preset gain corresponding to the 10M and 15M bandwidths, the gain 27 may be set to a preset gain corresponding to the 20M bandwidth, and then the smaller gain 26 may be set to a preset gain corresponding to other bandwidths (e.g., 5M bandwidth, 25M bandwidth, etc.).
How to adjust the output power in the embodiment of the present application is further explained below.
As an alternative embodiment, step 102: when the first output power is greater than the preset power, adjusting the output power of the first channel from the first output power to the second output power may include:
Step F1: and under the condition that the first output power is larger than the preset power, acquiring a first gain corresponding to the first channel output power when the first channel output power is the first output power and a preset gain corresponding to the preset power.
Step F2: and obtaining a difference value between the first gain and the preset gain as a reference difference value.
Step F3: and reducing the output power of the first channel from the first output power to the second output power according to the magnitude of the reference difference.
In the embodiment of the application, when the output power (i.e. the first output power) of the current use channel is determined to be larger than the preset power, the first gain called by the output power of the current use channel and the preset gain corresponding to the preset power can be respectively obtained. The output power of the currently used channel is then adjusted based on the difference (i.e., the reference difference) between the first gain and the preset gain.
How to adjust the output power of the currently used channel according to the difference between the first gain and the preset gain is further explained below.
Optionally, step F3: reducing the output power of the first channel from the first output power to the second output power according to the magnitude of the reference difference may include:
Step F31: and under the condition that the reference difference value falls into a first difference value range, reducing the first output power of the first channel by a first regulation power value to obtain a second output power.
Step F32: and under the condition that the reference difference value falls into a second difference value range, reducing the first output power of the first channel by a second regulation power value to obtain a second output power.
The first difference range and the second difference range have no intersection, and the first adjusting power value and the second adjusting power value are unequal.
In the embodiment of the application, a plurality of difference ranges can be preset, no intersection exists between each difference range, and each difference range corresponds to an adjusting power value. According to the difference range of the reference difference, a corresponding adjustment power value can be determined, and then according to the determined adjustment power value, the output power of the currently used channel can be adjusted. Wherein, the regulated power value refers to the power value which needs to be reduced. For example, the current output power is 28, the regulated power value is 3, and the regulated output power should be 28-3=25.
Assume that there are two difference ranges: the first difference range corresponds to the first adjustment power value and the second difference range corresponds to the second adjustment power value. If the reference difference value belongs to the first difference value range, determining the corresponding adjusting power as a first adjusting power value, and then reducing the first output power of the first channel by the first adjusting power value to obtain a second output power. If the reference difference value belongs to the second difference value range, determining the corresponding adjusting power as a second adjusting power value, and then reducing the first output power of the first channel by the second adjusting power value to obtain a second output power.
The above scheme is further explained below in conjunction with table 2.
TABLE 2
Table 2 illustrates the correspondence between the reference difference and the difference range and the adjustment power value at different output powers. The application processor is assumed to further store a first difference value, which corresponds to a case that the specific absorption rate under the preset power is greater than the specific absorption rate threshold.
Wherein, P1 to Pn represent gradually increasing output powers, G1 to G n represent power gains corresponding to the output powers P1 to Pn, G represents a preset gain, M represents a threshold value of power adjustment, and a represents a first difference value. The value of M should be a relatively small value, such as 0.3dB, 0.2dB, etc., and of course, the specific value may be set according to practical requirements, which is not limited in the embodiment of the present application.
The following explains the contents of table 1, taking the output powers P1 and P2 as examples.
"G1-G" represents a reference difference between the power gain corresponding to the output power P1 and a preset gain, the reference difference is in the range of [0, M ], and the corresponding adjustment power value is A.
"G2-G" represents a reference difference between the power gain corresponding to the output power P2 and a preset gain, where the reference difference is in the range of [ M, (m+1)), and the corresponding adjustment gain value is a+1.
The meanings indicated in the other contents of table 1 may refer to the explanation of the output powers P1 and P2, and will not be repeated here.
Wherein the data shown in table 1 may be stored in the application processor. The application processor may send the determined adjustment power value to a modem, which invokes the adjustment power value to adjust the output power of the first channel.
Optionally, in the case that the specific absorption rate at the preset power is less than or equal to the specific absorption rate threshold, step F3: the power adjustment method may further include, before reducing the output power of the first channel from the first output power to the second output power according to the magnitude of the reference difference:
judging whether the reference difference value is larger than an adjustment threshold value or not; and executing step F3 in the case that the reference difference value is larger than the adjustment threshold value.
The adjustment threshold (i.e., M in table 2) is a gain upward fluctuation threshold, and is used for controlling whether to perform output power adjustment, namely: when the reference difference value is smaller than or equal to the adjustment threshold value, the output power is not adjusted; and when the reference difference value is larger than the adjustment threshold value, adjusting the output power.
As an alternative embodiment, the power adjustment method may further include:
Determining whether the first output power of the first channel is greater than a preset power or not under the condition that the specific absorption rate sensor is detected to be normal and the distance between the human body and the electronic equipment is detected to be smaller than or equal to a preset distance value by the specific absorption rate sensor; and under the condition that the first output power is larger than the preset power, adjusting the output power of the first channel from the first output power to the second output power.
In the embodiment of the present application, it may be determined whether to perform the adjustment operation for reducing the specific absorption rate based on the comparison result of the output power and the preset power, except in the case where the specific absorption rate sensor is abnormal, or may be performed in this way in the case where the specific absorption rate sensor is normal.
As an alternative embodiment, step 101: in the case of detecting an abnormality of the specific absorption rate sensor in the electronic device, determining whether the first output power of the first channel in the in-use state is greater than a preset power may include:
In the event that anomalies are detected in both the specific absorption rate sensor and the earpiece, it is determined whether the first output power of the first channel is greater than a preset power.
In general, when a user uses an earpiece, the user needs to bring his ear close to the earpiece in order to hear the sound output from the earpiece, and thus, when the earpiece is in an operating state, the user can consider that a human body is approaching the electronic device. Therefore, whether the human body approaches or not can be judged by judging whether the earphone on the electronic equipment is in a working state or not, that is, the distance relation between the human body and the electronic equipment can be monitored through a plurality of devices, and the problem that the specific absorption rate exceeds the standard because one detection device fails and cannot trigger the adjustment operation for reducing the specific absorption rate can be avoided.
In the embodiment of the application, whether to execute the adjustment operation for reducing the specific absorption rate can be determined based on the comparison result of the output power and the preset power under the condition that the detection devices are abnormally disabled, so that the problem that the specific absorption rate cannot be adjusted is avoided.
Finally, it should be noted that, the power adjustment method provided by the embodiment of the application not only can be used for the main radio frequency, but also can be used for the WIFI, so that the problem of exceeding the specific absorption rate under single antenna emission can be solved, and the problem of exceeding the specific absorption rate under the concurrence of the main radio frequency and the WIFI can be solved.
The above describes the information viewing method provided by the embodiment of the application.
In summary, in the embodiment of the application, the electronic device may detect whether the specific absorption rate sensor is abnormal, and when detecting that the specific absorption rate sensor is abnormal, achieve the purpose of reducing the specific absorption rate by reducing the power based on the comparison result of the output power and the preset power. Therefore, even if the specific absorption rate sensor fails, the specific absorption rate can be adjusted, and double-layer insurance is provided for reducing the influence of the radiation of the electronic equipment on the human body.
It should be noted that, in the power adjustment method provided in the embodiment of the present application, the execution body may be a power adjustment device or a control module in an electronic device for executing the power adjustment method.
Fig. 2 is a schematic block diagram of an electronic device according to an embodiment of the present application, where the electronic device includes a mobile phone, a platform computer, a notebook computer, and the like.
As shown in fig. 2, the electronic device may include:
The first determining module 201 is configured to determine, when an abnormality of the specific absorption rate sensor in the electronic device is detected, whether the first output power of the first channel in the use state is greater than a preset power.
The electronic equipment determines whether the distance between the human body and the electronic equipment is smaller than or equal to a preset distance value through the specific absorption rate sensor.
A first adjusting module 202, configured to adjust the output power of the first channel from the first output power to a second output power if the first output power is greater than the preset power.
Wherein the second output power is less than or equal to the preset power.
Optionally, the electronic device may further include:
And the third determining module is used for fully detecting the maximum power corresponding to each frequency point of different bandwidths and different channels, and selecting the maximum value in the maximum power as the preset power.
Optionally, the electronic device may further include:
And the fourth determining module is used for fully detecting the maximum power corresponding to each frequency point of different bandwidths and different channels, and selecting the maximum value in the maximum power.
And the testing module is used for testing the specific absorption rate when the output power is the maximum value.
And the first processing module is used for writing the maximum value into an application processor or a memory as the preset power under the condition that the specific absorption rate is smaller than or equal to a specific absorption rate threshold value.
A second processing module, configured to determine a power value of an output power corresponding to when the specific absorption rate decreases to the specific absorption rate threshold value, take the maximum value as the preset power, define a difference between the maximum value and the power value as a first difference, and write the first difference and the preset power into the application processor or the memory, when the specific absorption rate is greater than the specific absorption rate threshold value; or if the specific absorption rate is greater than the specific absorption rate threshold, determining a power value of output power corresponding to the specific absorption rate reduced to the specific absorption rate threshold, and writing the power value as the preset power into the application processor or the memory.
Optionally, the first difference and the maximum value as the preset power are provided in the application processor or the memory.
The first adjustment module may include:
and the second adjusting sub-module is used for reducing the output power of the first channel by at least the first difference value from the first output power to obtain the second output power.
Optionally, the preset power is a maximum output power of all channels supported by the electronic device and all bandwidths supported by each channel.
Optionally, the electronic device may further include:
and the acquisition module is used for acquiring the maximum output power of all channels supported by the electronic equipment and all bandwidths supported by each channel.
And a fifth determining module, configured to determine the maximum output power as the preset power when the specific absorption rate at the maximum output power is less than or equal to a specific absorption rate threshold.
A sixth determining module, configured to determine a power value of the output power when the specific absorption rate decreases to the preset specific absorption rate and determine the power value as the preset power, in a case where the specific absorption rate at the maximum output power is greater than the specific absorption rate threshold.
Alternatively, the first determining module 201 may include:
And the first acquisition submodule is used for acquiring a first gain corresponding to the first output power.
And the second acquisition submodule is used for acquiring the preset gain corresponding to the preset power.
And the determining submodule is used for determining that the first output power is larger than the preset power under the condition that the first gain is larger than the preset gain.
Optionally, the second obtaining sub-module may include:
and the determining unit is used for determining the current occupied bandwidth of the first channel.
And the acquisition unit is used for acquiring a preset gain corresponding to the current occupied bandwidth of the first channel.
Optionally, the electronic device may further include:
And a seventh determining module, configured to fully detect respective maximum powers corresponding to frequency points of different bandwidths and different channels, and select a maximum value of the maximum powers.
And the third processing module is used for setting the second gain as a preset gain corresponding to the first bandwidth, setting the third gain as a preset gain corresponding to the second bandwidth and setting the minimum value of the second gain and the third gain as preset gains corresponding to other bandwidths if the maximum value corresponds to the first bandwidth and the second bandwidth simultaneously, the gain value of the first bandwidth is a second gain when the output power is the maximum value, the gain value of the second bandwidth is a third gain when the output power is the maximum value and the second gain is different from the third gain.
Wherein the other bandwidths are bandwidths supported by the electronic device other than the first bandwidth and the second bandwidth.
Optionally, the first adjustment module 202 may include:
And the third acquisition sub-module is used for acquiring a first gain corresponding to the first channel output power and a preset gain corresponding to the preset power when the first output power is larger than the preset power.
And the fourth acquisition sub-module is used for acquiring the difference value between the first gain and the preset gain as a reference difference value.
And the first adjusting submodule is used for reducing the output power of the first channel from the first output power to the second output power according to the magnitude of the reference difference value.
Optionally, the first adjustment sub-module may include:
and the first adjusting unit is used for reducing the first output power of the first channel by a first adjusting power value under the condition that the reference difference value falls into a first difference value range to obtain the second output power.
And the second adjusting unit is used for reducing the first output power of the first channel by a second adjusting power value under the condition that the reference difference value falls into a second difference value range, so as to obtain the second output power.
Wherein the first difference range and the second difference range have no intersection, and the first adjustment power value and the second adjustment power value are unequal.
Optionally, the electronic device may further include:
And the second determining module is used for determining whether the first output power of the first channel is larger than the preset power or not under the condition that the specific absorption rate sensor is normal and the distance between the human body and the electronic equipment is detected to be smaller than or equal to a distance threshold value through the specific absorption rate sensor.
And the second adjusting module is used for adjusting the output power of the first channel from the first output power to the second output power under the condition that the first output power is larger than the preset power.
In summary, in the embodiment of the present application, the electronic device may detect whether the specific absorption rate sensor is abnormal, and when detecting that the specific absorption rate sensor is abnormal, achieve the purpose of reducing the specific absorption rate by reducing the power based on the comparison result of the output power and the preset power. Therefore, even if the specific absorption rate sensor fails, the specific absorption rate can be adjusted, and double-layer insurance is provided for reducing the influence of the radiation of the electronic equipment on the human body.
The electronic device in the embodiment of the application can be an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. The electronic device may be a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a Mobile internet appliance (Mobile INTERNET DEVICE, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a robot, a wearable device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., which are not particularly limited in the embodiments of the present application.
The electronic device in the embodiment of the application can 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, and the embodiment of the present application is not limited specifically.
The electronic device provided by the embodiment of the present application can implement each process implemented by the embodiment of the power adjustment method shown in fig. 1, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 3, an embodiment of the present application further provides an electronic device 300, including: the processor 301 and the memory 302, the memory 302 stores a program or an instruction that can be executed by the processor 301, where the program or the instruction implements each step of the above-mentioned power adjustment method embodiment when executed by the processor 301, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, the electronic device 300 in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device.
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.
Wherein the processor 410 may be configured to: determining whether the first output power of the first channel in a use state is greater than a preset power or not under the condition that abnormality of a specific absorption rate sensor in the electronic equipment is detected; and under the condition that the first output power is larger than the preset power, adjusting the output power of the first channel from the first output power to a second output power.
The electronic equipment determines whether the distance between the human body and the electronic equipment is smaller than or equal to a distance threshold value through the specific absorption rate sensor. The second output power is smaller than or equal to the preset power.
Optionally, the processor 410 may be further configured to: and fully detecting the maximum power corresponding to the frequency points of different bandwidths and different channels, and selecting the maximum value in the maximum power as the preset power.
Optionally, the processor 410 may be further configured to: full detection of maximum power corresponding to frequency points of different bandwidths and different channels, and selection of the maximum value in the maximum power; testing the specific absorption rate when the output power is the maximum value; writing the maximum value as the preset power into an application processor or a memory in the case that the specific absorption rate is less than or equal to a specific absorption rate threshold; determining a power value of output power corresponding to the specific absorption rate when the specific absorption rate is reduced to the specific absorption rate threshold value under the condition that the specific absorption rate is larger than the specific absorption rate threshold value, taking the maximum value as the preset power, defining a difference value between the maximum value and the power value as a first difference value, and writing the first difference value and the preset power into the application processor or the memory; or if the specific absorption rate is greater than the specific absorption rate threshold, determining a power value of output power corresponding to the specific absorption rate reduced to the specific absorption rate threshold, and writing the power value as the preset power into the application processor or the memory.
Optionally, the first difference and the maximum value as the preset power are provided in the application processor or the memory.
The processor 410 may also be configured to: and reducing the output power of the first channel by at least the first difference value from the first output power to obtain the second output power.
Optionally, the processor 410 may be further configured to: acquiring the maximum output power of all channels supported by the electronic equipment and under all bandwidths supported by each channel; determining the maximum output power as the preset power under the condition that the specific absorption rate at the maximum output power is smaller than or equal to a specific absorption rate threshold value; and in the case that the specific absorption rate at the maximum output power is greater than the specific absorption rate threshold, determining a power value of the output power when the specific absorption rate is reduced to the preset specific absorption rate, and determining the power value as the preset power.
Optionally, the processor 410 may be further configured to: acquiring a first gain corresponding to the first output power; acquiring a preset gain corresponding to the preset power; and determining that the first output power is greater than the preset power under the condition that the first gain is greater than the preset gain.
Optionally, the processor 410 may be further configured to: determining a current occupied bandwidth of the first channel; and acquiring a preset gain corresponding to the current occupied bandwidth of the first channel.
Optionally, the processor 410 may be further configured to: full detection of maximum power corresponding to frequency points of different bandwidths and different channels, and selection of the maximum value in the maximum power; if the maximum value corresponds to a first bandwidth and a second bandwidth at the same time, the gain value of the first bandwidth when the output power is the maximum value is a second gain, the gain value of the second bandwidth when the output power is the maximum value is a third gain, and the second gain is not equal to the third gain, setting the second gain as a preset gain corresponding to the first bandwidth, setting the third gain as a preset gain corresponding to the second bandwidth, and setting the minimum value of the second gain and the third gain as preset gains corresponding to other bandwidths; wherein the other bandwidths are bandwidths supported by the electronic device other than the first bandwidth and the second bandwidth.
Optionally, the processor 410 may be further configured to: acquiring a first gain corresponding to the output power of the first channel and a preset gain corresponding to the preset power when the first output power is larger than the preset power; acquiring a difference value between the first gain and the preset gain as a reference difference value; and reducing the output power of the first channel from the first output power to the second output power according to the magnitude of the reference difference.
Optionally, the processor 410 may be further configured to: reducing the first output power of the first channel by a first adjustment power value under the condition that the reference difference value falls into a first difference value range, and obtaining the second output power; reducing the first output power of the first channel by a second adjustment power value under the condition that the reference difference value falls into a second difference value range, and obtaining the second output power; wherein the first difference range and the second difference range have no intersection, and the first adjustment power value and the second adjustment power value are unequal.
Optionally, the processor 410 may be further configured to: determining whether the first output power of the first channel is greater than the preset power or not under the condition that the specific absorption rate sensor is normal and the distance between the human body and the electronic equipment is detected to be smaller than or equal to a distance threshold value by the specific absorption rate sensor; and under the condition that the first output power is larger than the preset power, adjusting the output power of the first channel from the first output power to the second output power.
In the embodiment of the application, the electronic equipment can detect whether the specific absorption rate sensor is abnormal or not, and when the specific absorption rate sensor is detected to be abnormal, the purpose of reducing the specific absorption rate is achieved by reducing the power based on the comparison result of the output power and the preset power. Therefore, even if the specific absorption rate sensor fails, the specific absorption rate can be adjusted, and double-layer insurance is provided for reducing the influence of the radiation of the electronic equipment on the human body. .
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 at least one of 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.
The memory 409 may be used to store software programs and various data, and the memory 409 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 409 may include volatile memory or nonvolatile memory, or the memory 409 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Double DATA RATE SDRAM, DDRSDRAM), enhanced Synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCH LINK DRAM, SLDRAM), and Direct random access memory (DRRAM). Memory 409 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
Processor 410 may include one or more processing units; optionally, the processor 410 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-mentioned power adjustment method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the power adjustment method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and the description is omitted here.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-described power adjustment method embodiments, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
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 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 solution 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 method according to 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 having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.
Claims (13)
1. A method of power adjustment, the method comprising:
determining whether the first output power of the first channel in a use state is greater than a preset power or not under the condition that abnormality of a specific absorption rate sensor in the electronic equipment is detected;
Under the condition that the first output power is larger than the preset power, adjusting the output power of the first channel from the first output power to a second output power; wherein the second output power is less than or equal to the preset power;
and under the condition that the first output power is larger than a preset power, adjusting the output power of the first channel from the first output power to a second output power, including:
Acquiring a first gain corresponding to the output power of the first channel and a preset gain corresponding to the preset power when the first output power is larger than the preset power;
Acquiring a difference value between the first gain and the preset gain as a reference difference value;
Reducing the output power of the first channel from the first output power to the second output power according to the magnitude of the reference difference;
The step of reducing the output power of the first channel from the first output power to the second output power according to the magnitude of the reference difference value includes:
Reducing the first output power of the first channel by a first adjustment power value under the condition that the reference difference value falls into a first difference value range, and obtaining the second output power;
reducing the first output power of the first channel by a second adjustment power value under the condition that the reference difference value falls into a second difference value range, and obtaining the second output power;
wherein the first difference range and the second difference range have no intersection, and the first adjustment power value and the second adjustment power value are unequal.
2. The power adjustment method according to claim 1, wherein before determining whether the first output power of the first channel in the use state is greater than the preset power in the case where abnormality of the specific absorption rate sensor in the electronic device is detected, the method further comprises:
and fully detecting the maximum power corresponding to the frequency points of different bandwidths and different channels, and selecting the maximum value in the maximum power as the preset power.
3. The power adjustment method according to claim 1, wherein before determining whether the first output power of the first channel in the use state is greater than the preset power in the case where abnormality of the specific absorption rate sensor in the electronic device is detected, the method further comprises:
Full detection of maximum power corresponding to frequency points of different bandwidths and different channels, and selection of the maximum value in the maximum power;
Testing the specific absorption rate when the output power is the maximum value;
Writing the maximum value as the preset power into an application processor or a memory in the case that the specific absorption rate is less than or equal to a specific absorption rate threshold;
determining a power value of output power corresponding to the specific absorption rate when the specific absorption rate is reduced to the specific absorption rate threshold value under the condition that the specific absorption rate is larger than the specific absorption rate threshold value, taking the maximum value as the preset power, defining a difference value between the maximum value and the power value as a first difference value, and writing the first difference value and the preset power into the application processor or the memory;
Or (b)
And under the condition that the specific absorption rate is larger than the specific absorption rate threshold, determining a power value of output power corresponding to the specific absorption rate when the specific absorption rate is reduced to the specific absorption rate threshold, and writing the power value into the application processor or a memory as the preset power.
4. A power adjustment method according to claim 3, wherein, in a case where the first difference value and the maximum value as the preset power are provided in the application processor or the memory, the adjusting the output power of the first channel from the first output power to the second output power includes:
and reducing the output power of the first channel by at least the first difference value from the first output power to obtain the second output power.
5. The power adjustment method according to claim 1, wherein the preset power is a maximum output power at all channels supported by the electronic device and at all bandwidths supported by each channel.
6. The power adjustment method according to claim 1, wherein determining whether the first output power of the first channel in use is greater than a preset power comprises:
acquiring a first gain corresponding to the first output power;
acquiring a preset gain corresponding to the preset power;
and determining that the first output power is greater than the preset power under the condition that the first gain is greater than the preset gain.
7. The power adjustment method according to claim 6, wherein the obtaining the preset gain corresponding to the preset power includes:
determining a current occupied bandwidth of the first channel;
And acquiring a preset gain corresponding to the current occupied bandwidth of the first channel.
8. The power adjustment method according to claim 6, wherein before determining whether the first output power of the first channel in the use state is greater than the preset power in the case where abnormality of the specific absorption rate sensor in the electronic device is detected, the method further comprises:
Full detection of maximum power corresponding to frequency points of different bandwidths and different channels, and selection of the maximum value in the maximum power;
If the maximum value corresponds to a first bandwidth and a second bandwidth at the same time, the gain value of the first bandwidth when the output power is the maximum value is a second gain, the gain value of the second bandwidth when the output power is the maximum value is a third gain, and the second gain is not equal to the third gain, setting the second gain as a preset gain corresponding to the first bandwidth, setting the third gain as a preset gain corresponding to the second bandwidth, and setting the minimum value of the second gain and the third gain as preset gains corresponding to other bandwidths;
Wherein the other bandwidths are bandwidths supported by the electronic device other than the first bandwidth and the second bandwidth.
9. The power adjustment method of claim 1, characterized in that the method further comprises:
Determining whether the first output power of the first channel is greater than the preset power or not under the condition that the specific absorption rate sensor is normal and the distance between the human body and the electronic equipment is detected to be smaller than or equal to a distance threshold value by the specific absorption rate sensor;
And under the condition that the first output power is larger than the preset power, adjusting the output power of the first channel from the first output power to the second output power.
10. An electronic device, the electronic device comprising:
The first determining module is used for determining whether the first output power of the first channel in the use state is larger than preset power or not under the condition that the abnormality of the specific absorption rate sensor in the electronic equipment is detected;
the first adjusting module is used for adjusting the output power of the first channel from the first output power to the second output power under the condition that the first output power is larger than the preset power; wherein the second output power is less than or equal to the preset power;
the first adjustment module includes:
A third obtaining sub-module, configured to obtain, when the first output power is greater than the preset power, a first gain corresponding to the output power of the first channel and a preset gain corresponding to the preset power;
a fourth obtaining sub-module, configured to obtain a difference value between the first gain and the preset gain as a reference difference value;
The first adjusting submodule is used for reducing the output power of the first channel from the first output power to the second output power according to the magnitude of the reference difference value;
the first adjustment submodule includes:
A first adjusting unit, configured to reduce the first output power of the first channel by a first adjustment power value to obtain the second output power when the reference difference value falls within a first difference value range;
A second adjusting unit, configured to reduce the first output power of the first channel by a second adjustment power value to obtain the second output power when the reference difference value falls within a second difference value range;
wherein the first difference range and the second difference range have no intersection, and the first adjustment power value and the second adjustment power value are unequal.
11. The electronic device of claim 10, wherein the first determination module comprises:
The first acquisition submodule is used for acquiring a first gain corresponding to the first output power;
The second acquisition submodule is used for acquiring preset gain corresponding to the preset power;
and the determining submodule is used for determining that the first output power is larger than the preset power under the condition that the first gain is larger than the preset gain.
12. The electronic device of claim 11, wherein the second acquisition submodule comprises:
a determining unit, configured to determine a current occupied bandwidth of the first channel;
And the acquisition unit is used for acquiring a preset gain corresponding to the current occupied bandwidth of the first channel.
13. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the power adjustment method according to any of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210419518.3A CN114828186B (en) | 2022-04-20 | 2022-04-20 | Power adjustment method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210419518.3A CN114828186B (en) | 2022-04-20 | 2022-04-20 | Power adjustment method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114828186A CN114828186A (en) | 2022-07-29 |
CN114828186B true CN114828186B (en) | 2024-05-24 |
Family
ID=82506265
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210419518.3A Active CN114828186B (en) | 2022-04-20 | 2022-04-20 | Power adjustment method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114828186B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572172A (en) * | 2019-09-03 | 2019-12-13 | Oppo广东移动通信有限公司 | electronic equipment combination specific absorption rate adjusting method and device and electronic equipment |
CN111628797A (en) * | 2020-05-29 | 2020-09-04 | 维沃移动通信有限公司 | Radio frequency control method and device, electronic equipment and readable storage medium |
CN113242594A (en) * | 2021-06-16 | 2021-08-10 | Oppo广东移动通信有限公司 | Antenna power control method, antenna power control device, storage medium, and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11115073B2 (en) * | 2018-04-20 | 2021-09-07 | Huawei Technologies Co., Ltd. | Method and device for decreasing electromagnetic radiation specific absorption rate |
CN111953823A (en) * | 2020-07-29 | 2020-11-17 | 北京小米移动软件有限公司 | Proximity sensor state detection method and device and terminal |
-
2022
- 2022-04-20 CN CN202210419518.3A patent/CN114828186B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572172A (en) * | 2019-09-03 | 2019-12-13 | Oppo广东移动通信有限公司 | electronic equipment combination specific absorption rate adjusting method and device and electronic equipment |
CN111628797A (en) * | 2020-05-29 | 2020-09-04 | 维沃移动通信有限公司 | Radio frequency control method and device, electronic equipment and readable storage medium |
CN113242594A (en) * | 2021-06-16 | 2021-08-10 | Oppo广东移动通信有限公司 | Antenna power control method, antenna power control device, storage medium, and device |
Also Published As
Publication number | Publication date |
---|---|
CN114828186A (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102207861B1 (en) | Method for displaying and an electronic device thereof | |
CN110928387B (en) | Temperature control method, temperature control device, storage medium and electronic equipment | |
CN112333332A (en) | Prompt message display method and device and electronic equipment | |
EP3349325B1 (en) | Charging method, charging device and terminal | |
US8320586B2 (en) | System and method for reducing volume spike in an electronic device | |
CN111179861A (en) | Brightness calibration method and device, storage medium and terminal | |
CN108510964B (en) | Screen brightness adjusting range adjusting method and device, terminal and storage medium | |
CN114422705B (en) | Electronic equipment and control method and device thereof | |
CN111198640A (en) | Interactive interface display method and device | |
CN110635822B (en) | Antenna control method and electronic equipment | |
CN115268817A (en) | Screen-projected content display method, device, equipment and storage medium | |
CN114828186B (en) | Power adjustment method and electronic equipment | |
CN114978207B (en) | Antenna tuning method and electronic equipment | |
CN116132568A (en) | Operation execution method and device | |
CN115514860A (en) | Dynamic frame rate compensation method, image processing circuit and electronic device | |
CN112152650B (en) | Electromagnetic wave absorption parameter control method, device, terminal and storage medium | |
CN113115179B (en) | Working state adjusting method and device | |
CN114978229A (en) | Radio frequency control method and device and electronic equipment | |
CN111192027B (en) | Method and device for processing list and computer readable storage medium | |
CN112261712A (en) | Power regulation method and device | |
CN112261297B (en) | Control method and device of dynamic vision sensor and electronic equipment | |
WO2023246714A1 (en) | State determination method and apparatus, electronic device, and readable storage medium | |
CN118354204B (en) | Focusing control method and device, storage medium and electronic equipment | |
CN115278431B (en) | State determination method and device, electronic equipment and readable storage medium | |
CN114025419B (en) | Method and device for adjusting radio frequency power, electronic equipment and storage medium |
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 |