CN114252705A - Power detection method, device, storage medium and terminal - Google Patents

Power detection method, device, storage medium and terminal Download PDF

Info

Publication number
CN114252705A
CN114252705A CN202111533088.XA CN202111533088A CN114252705A CN 114252705 A CN114252705 A CN 114252705A CN 202111533088 A CN202111533088 A CN 202111533088A CN 114252705 A CN114252705 A CN 114252705A
Authority
CN
China
Prior art keywords
power
terminal
target working
working scene
adjusted
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.)
Pending
Application number
CN202111533088.XA
Other languages
Chinese (zh)
Inventor
陈卫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Communication Technology Chengdu Ltd
Original Assignee
TCL Communication Technology Chengdu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Communication Technology Chengdu Ltd filed Critical TCL Communication Technology Chengdu Ltd
Priority to CN202111533088.XA priority Critical patent/CN114252705A/en
Publication of CN114252705A publication Critical patent/CN114252705A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • G01R29/08Measuring electromagnetic field characteristics
    • G01R29/0807Measuring electromagnetic field characteristics characterised by the application
    • G01R29/0814Field measurements related to measuring influence on or from apparatus, components or humans, e.g. in ESD, EMI, EMC, EMP testing, measuring radiation leakage; detecting presence of micro- or radiowave emitters; dosimetry; testing shielding; measurements related to lightning

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a power detection method, a power detection device, a storage medium and a terminal. According to the scheme, the target working scene of the current terminal is determined, the current power of the terminal is adjusted according to the power adjustment information of the target working scene to obtain the adjusted power, and the adjusted power is compared with the power threshold corresponding to the target working scene to obtain the power detection result of the terminal in the target working scene. Thereby improving the terminal power detection efficiency.

Description

Power detection method, device, storage medium and terminal
Technical Field
The present application relates to the field of terminal applications, and in particular, to a power detection method, apparatus, storage medium, and terminal.
Background
With the rapid development of terminals in recent years, the influence of electromagnetic radiation on human bodies is receiving more and more attention. Currently, it is common in the industry to measure the Specific Absorption Rate (SAR) to determine whether a wireless communication device meets the limit requirement of electromagnetic radiation safety.
In the related art, the SAR detection needs to be performed on each piece of software in the terminal, and the detection mode is generally that the SAR detection is performed by using terminal prototype equipment, but as the number of pieces of software in the terminal increases, a large amount of time needs to be consumed for performing the SAR test, so that the SAR test efficiency is affected.
Disclosure of Invention
The embodiment of the application provides a power detection method, a power detection device, a storage medium and a terminal, which can improve the power detection efficiency of the terminal.
The embodiment of the application provides a power detection method, which comprises the following steps:
determining a target working scene of a current terminal;
adjusting the current power of the terminal according to the power adjustment information of the target working scene to obtain adjusted power;
and comparing the adjusted power with a power threshold corresponding to the target working scene to obtain a power detection result of the terminal in the target working scene.
Correspondingly, the embodiment of the present application further provides a power detection apparatus, including:
the determining unit is used for determining a target working scene of the current terminal;
the adjusting unit is used for adjusting the current power of the terminal according to the power adjusting information of the target working scene to obtain adjusted power;
and the comparison unit is used for comparing the adjusted power with a power threshold corresponding to the target working scene to obtain a power detection result of the terminal in the target working scene.
In some embodiments, the comparison unit comprises:
the first obtaining subunit is used for obtaining a power threshold corresponding to each adjusted power;
the comparison subunit is configured to compare the adjusted power corresponding to each communication frequency band with a power threshold, so as to obtain a power comparison result of the communication frequency band;
and the first determining subunit is used for obtaining the power detection result based on the power comparison result corresponding to each communication frequency band.
In some embodiments, the apparatus further comprises:
a generating unit, configured to generate a prompt message if the power detection result indicates that the adjusted power is greater than the power threshold;
and the prompting unit is used for prompting the user of the terminal according to the prompting information.
In some embodiments, the adjusting unit comprises:
the second determining subunit is used for determining the power adjusting information from a plurality of preset power adjusting information according to the target working scene;
and the adjusting subunit is configured to adjust the current power based on the power in the power adjustment information, so as to obtain the adjusted power.
In some embodiments, the determining unit comprises:
the second obtaining subunit is used for obtaining the application currently running in the terminal;
and the third determining subunit is configured to determine, if the currently running application is a designated application, a working scene corresponding to the designated application from a plurality of preset working scenes to obtain the target working scene.
In some embodiments, the determining unit comprises:
a third obtaining subunit, configured to obtain a distance to a user currently using the terminal;
and the fourth determining subunit is used for determining the target working scene according to the distance.
Accordingly, the present application further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the power detection method described above.
Correspondingly, an embodiment of the present application further provides a terminal, which includes a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions to execute the power detection method described above.
According to the power detection method and the power detection device, the target working scene of the current terminal is determined, the current power of the terminal is adjusted according to the power adjustment information of the target working scene, the adjusted power is obtained, and the adjusted power is compared with the power threshold corresponding to the target working scene, so that the power detection result of the terminal under the target working scene is obtained. Thereby improving the terminal power detection efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a power detection method according to an embodiment of the present disclosure.
Fig. 2 is a schematic flowchart of another power detection method according to an embodiment of the present disclosure.
Fig. 3 is a block diagram of a power detection apparatus according to an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Based on the above problems, embodiments of the present application provide a power detection method, apparatus, storage medium, and terminal, which can improve the power detection efficiency of the terminal. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Referring to fig. 1, fig. 1 is a schematic flow chart of a power detection method according to an embodiment of the present disclosure. The power detection method may be applied to terminals such as mobile phones, tablet computers, notebook computers, palm top computers, Portable Media Players (PMPs), and fixed terminals such as desktop computers. The specific flow of the power detection method can be as follows:
101. and determining the target working scene of the current terminal.
In the embodiment of the application, the working scene of the terminal refers to the working state of an internal device of the terminal, and the working state of the internal device can be determined by detecting an application program operated by the terminal, so that the working scene of the terminal is determined.
For example, the internal device of the terminal may include an earpiece module, a bluetooth module, and the like, and if it is detected that the application program currently running on the terminal is a call application, it may be determined that the earpiece module is in operation, and further, it may be determined that the current working scene of the terminal may be an earpiece working scene.
In some embodiments, in order to accurately detect the terminal working scenario, the step "determining the target working scenario of the current terminal" may include the following operations:
acquiring the current running application of the terminal;
and if the currently running application is the designated application, determining a working scene corresponding to the designated application from a plurality of preset working scenes to obtain the target working scene.
The currently running application refers to foreground running application, and the foreground running application is also the application displayed on the current terminal interface.
In the embodiment of the application, the preset working scene is set according to the scene of the SAR of the detection terminal. Specifically, the scene for detecting the SAR may be determined according to a position close to a different part of the human body when the terminal is used, for example, the scene for detecting the SAR may include: close to the head, far from the head, etc., it may be determined that the preset work scenario includes: the working scene close to the head or the working scene far from the head, etc., are not limited herein, and different working scenes may be set according to the actual detection condition of the SAR.
The SAR data is the allowable absorbed radiation quantity of organisms (including human bodies) per kilogram, the SAR value represents the influence of terminal radiation on the human bodies and is the most direct test value, and the lower the SAR value is, the less radiation absorbed by the organisms is.
The designated application refers to an application corresponding to a preset working scene.
For example, the preset work scenario may include: a first preset working scene, a second preset working scene and the like; the applications in the terminal may include: application a, application B, application C, application D, and the like. The designated application corresponding to the first preset working scene may be: the application a and the application B, the designated application corresponding to the second working scenario may be: application C and application D.
Specifically, if the application in the terminal operation is detected to be application C or application D, the target working scene can be determined to be a second preset working scene; if the application A or the application B in the terminal operation is detected, the target working scene can be determined to be a first preset working scene.
In some embodiments, to further determine the target working scenario of the terminal, the step "determining the target working scenario of the current terminal" may include the following operations:
acquiring the distance between the terminal and a user using the terminal currently;
and determining the target working scene according to the distance.
In this embodiment of the present application, a corresponding relationship between a distance between a user and a terminal and a preset working scenario is preset, for example, the preset working scenario may include: the working scene close to the head, the working scene far away from the head, and the like, the working scene close to the head may correspond to the first distance range, and the working scene far away from the head may correspond to the second distance range, wherein, when the terminal is in the working scene close to the head, the SAR data requirement is low, and then the first distance range may be set to be smaller than the second distance range.
Before the distance between the user and the terminal is acquired, in order to ensure consistency of the acquired distance, the distance between the detection terminal and a specified part of the body of the user may be set, for example, the specified part may be a head part or the like.
For example, the distance between the user who currently uses the terminal and the terminal may be detected by a distance sensor of the terminal, and the distance between the terminal and the user may be detected as follows: and if the first distance value belongs to the first distance range, determining that the target working scene can be a working scene close to the head.
102. And adjusting the current power of the terminal according to the power adjustment information of the target working scene to obtain the adjusted power.
In the embodiment of the present application, the terminal may support a plurality of communication bands, and different communication bands may generate different SAR values according to different antennas and different frequencies used, so that the power values of different communication bands are set differently.
For example, the communication bands supported by the terminal may include: a first frequency band, a second frequency band, a third frequency band, a fourth frequency band, a fifth frequency band, etc.
When the terminal is in a working scene close to the head, the power value corresponding to the first frequency band may be a first power value, the power value corresponding to the second frequency band may be a second power value, the power value corresponding to the third frequency band may be a third power value, the power value corresponding to the fourth frequency band may be a fourth power value, and the power value corresponding to the fifth frequency band may be a fifth power value.
When the terminal is in a working scene far away from the head, the power value corresponding to the first frequency band may be a sixth power value, the power value corresponding to the second frequency band may be a seventh power value, the power value corresponding to the third frequency band may be an eighth power value, the power value corresponding to the fourth frequency band may be a ninth power value, and the power value corresponding to the fifth frequency band may be a tenth power value.
The power adjustment information includes a power value of the target working scene in each communication frequency band, and then the current power of the terminal is adjusted according to the power value in the power adjustment information, so that the adjusted power can be obtained.
In some embodiments, in order to improve the accuracy of power adjustment, the step "adjusting the current power of the terminal according to the power adjustment information of the target working scenario to obtain the adjusted power" may include the following operations:
determining the power regulation information from a plurality of preset power regulation information according to the target working scene;
and adjusting the current power based on the power in the power adjustment information to obtain the adjusted power.
In this embodiment of the application, different preset power adjustment information is set according to different preset working scenarios, for example, the preset working scenarios may include: a work scenario close to the head and a work scenario far away from the head.
The preset work adjustment information corresponding to the work scene close to the head may be: and first preset power regulation information, wherein the first preset power regulation information comprises power values corresponding to each communication frequency band of the terminal in a working scene close to the head.
The preset work adjustment information corresponding to the work scene far away from the head may be: and second preset power regulation information, wherein the second preset power regulation information comprises power values corresponding to each communication frequency band of the terminal in a working scene far away from the head.
For example, the target work scenario may be: the power adjustment information corresponding to the work scene close to the head may be: first preset power adjustment information. In the first preset power adjustment information: the power value corresponding to the first frequency band may be a first power value, the power value corresponding to the second frequency band may be a second power value, the power value corresponding to the third frequency band may be a third power value, the power value corresponding to the fourth frequency band may be a fourth power value, and the power value corresponding to the fifth frequency band may be a fifth power value.
103. And comparing the adjusted power with a power threshold corresponding to the target working scene to obtain a power detection result of the terminal in the target working scene.
In the embodiment of the present application, when adjusting the power of the terminal according to the power adjustment information, it is considered that there is a possibility that an error occurs because the parameters that need to be set are many and complicated. For example, in some operating scenarios and communication bands of the terminal, the power amplifier needs to operate in a low power state, but setting the power amplifier to a high power may cause the terminal SAR to be out of the standard due to an error in adjustment, which may affect the user usage.
Therefore, a corresponding power threshold may be set for the power value in the power adjustment information, and the power threshold may be greater than or equal to the power value in the power adjustment information.
For example, the power adjustment information may include: a first power threshold corresponding to the first power value may be set for the first power value, where the first power threshold is greater than the first power value; setting a corresponding second power threshold value for the second power value, wherein the second power threshold value is larger than the second power value; setting a corresponding third power threshold value for the third power value, wherein the fourth power threshold value is larger than the fourth power value; and setting a corresponding fifth power threshold for the fifth power value, wherein the fifth power threshold is larger than the fifth power value.
In some embodiments, the adjusted power may include an adjusted power corresponding to each communication frequency band supported by the terminal, and in order to improve the accuracy of the SAR detection, the step of "comparing the adjusted power with a power threshold corresponding to a target working scenario to obtain a power detection result of the terminal in the target working scenario" may include the following operations:
acquiring a power threshold corresponding to each adjusted power;
comparing the adjusted power corresponding to each communication frequency band with a power threshold value to obtain a power comparison result of the communication frequency bands;
and obtaining a power detection result based on the power comparison result corresponding to each communication frequency band.
For example, the target working scene may be a working scene close to the head, the power adjustment information corresponding to the working scene close to the head may be first preset power adjustment information, the first preset power adjustment information includes first to fifth power values corresponding to the first to fifth frequency bands, and when the current power of the terminal is adjusted based on the first preset power adjustment information, first to fifth adjusted powers corresponding to the first to fifth frequency bands are obtained.
The power threshold values respectively corresponding to the first power value to the fifth power value are as follows: and comparing the first adjusted power value with the first power threshold, comparing the second adjusted power value with the second power threshold, comparing the third adjusted power value with the third power threshold, comparing the fourth adjusted power value with the fourth power threshold, and comparing the fifth adjusted power value with the fifth power threshold to obtain power comparison results of each communication frequency band.
Furthermore, a power detection result is determined according to the power comparison result, and since the setting of the power threshold is to detect whether a power adjustment error occurs when the terminal performs power adjustment according to the power adjustment information, and to avoid that the power adjustment exceeds the set power value, the comparison of the adjusted power value with the corresponding power threshold is to determine whether the adjusted power value is greater than the power threshold.
For example, the power comparison results may include: the first adjusted power value is greater than the first power threshold, the second adjusted power value is less than the second power threshold, the third adjusted power value is greater than the third power threshold, the fourth adjusted power value is less than the fourth power threshold, and the fifth adjusted power value is less than the fifth power threshold. It may be determined that the power detection result includes: the first adjusted power and the third adjusted power are respectively larger than the corresponding power threshold, that is, the first adjusted power and the third adjusted power are adjusted wrongly.
In some embodiments, after obtaining the power detection result, in order to adjust the power value with an error in adjustment in time, after "comparing the adjusted power with the power threshold corresponding to the target working scenario to obtain the power detection result of the terminal in the target working scenario", the method may further include the following steps:
if the power detection result indicates that the adjusted power is greater than the power threshold, prompt information is generated;
and prompting the user of the terminal according to the prompting information.
Wherein, the prompt message indicates that the adjusted power value is abnormal and needs to be readjusted.
For example, in the power detection result, if the first adjusted power is greater than the first power threshold, and the third adjusted power is greater than the third power threshold, a prompt message may be generated, where the prompt message may be that "the powers of the first frequency band and the third frequency band exceed the power thresholds, please adjust the first adjusted power and the third adjusted power", and then the prompt message may be displayed through a display screen of the terminal, so that a user may check the power detection result in time, and adjust the abnormal power, thereby recording the abnormal power in time, and facilitating adjustment.
The embodiment of the application discloses a power detection method, which comprises the following steps: determining a target working scene of a current terminal; adjusting the current power of the terminal according to the power adjustment information of the target working scene to obtain adjusted power; and comparing the adjusted power with a power threshold corresponding to the target working scene to obtain a power detection result of the terminal in the target working scene. Thus, the terminal power detection efficiency can be improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of another power detection method according to an embodiment of the present disclosure. Taking the power detection method applied to the terminal as an example, the power detection method may be as follows:
201. and the terminal acquires the distance from the user and determines the current working scene according to the distance.
In the embodiment of the application, the SAR test can be divided into a head SAR test and a body SAR test according to the fact that the terminal is close to different human body parts when in use, different types of SAR test results are different, and the power value adjustment is different. In order to accurately perform SAR detection on the terminal, the working scene of the terminal can be judged according to the distance between the terminal and the user so as to further determine whether the head SAR test or the body SAR test is performed on the terminal.
Specifically, the distance to the user may be obtained by obtaining the distance to the head of the user, and the terminal may first start the camera to detect the head position of the user, and then detect the distance between the terminal and the head of the user through the distance sensor.
For example, it is detected that the distance from the head of the user may be 0.05 meters, in this embodiment of the present application, a preset distance value is set, and when the distance from the user to the terminal is less than or equal to the preset distance value, it may be determined that the working scenario of the terminal may be: in a working scene close to the head, head SAR test is required; when the distance between the user and the terminal is greater than the preset distance value, it may be determined that the terminal working scenario may be: and in a working scene far away from the head, a body SAR test is required, and the preset distance value can be 0.2 m.
Further, the detected distance is compared with a preset distance value, and if it is determined that the detected distance is smaller than the preset distance value, it is determined that the current working scene is a working scene close to the head.
202. And the terminal acquires target power adjustment information corresponding to the current working scene.
In the embodiment of the application, after the terminal is designed, according to an actual test result, the maximum output power of each communication frequency band and the power amplifier in each working scene of the terminal is limited so as to meet the requirements of the SAR test.
The terminal can support a plurality of communication frequency bands, and each communication frequency band generates different SAR values according to different used antennas and different used frequencies, so that the maximum power values of different communication frequency bands need to be defined differently.
In this embodiment of the present application, the working scenario of the terminal may include: and respectively setting different power regulation information according to different working scenes of the terminal in a working scene close to the head and a working scene far away from the head, wherein the power regulation information comprises maximum power values which are correspondingly set by a power amplifier of the terminal in each communication frequency band supported by the terminal.
For example, the communication bands supported by the terminal may include: b1, B3, B7, B8, B20 and the like. The setting of the maximum power of each communication frequency band according to the actual use condition of the terminal may include: when the terminal is in an operation scene close to the head, the first power adjustment information may include: the maximum power values corresponding to B1/B3/B7/B8/B20 are respectively as follows: 23/23/23/23/23dBm (power unit: decibel-milliwatt); when the terminal is in an operation scene far from the head, the second power adjustment information may include: the maximum power values corresponding to B1/B3/B7/B8/B20 are respectively as follows: 20/20/19/22/22 dBm.
Specifically, if the current working scene of the terminal is a working scene close to the head, it may be determined that the target power adjustment information is the first power adjustment information, that is, the maximum power values respectively corresponding to B1/B3/B7/B8/B20 are: 23/23/23/23/23 dBm.
In the embodiment of the application, the maximum power of the power amplifier is limited within a desired range by limiting the operating parameters of the power amplifier so as to control the SAR value. The operating parameters (i.e., power values) of the power amplifier can be written into the internal memory of the terminal, and the maximum power of the power amplifier is limited when the power amplifier is in operation.
203. And the terminal adjusts the power of the power amplifier according to the target power adjustment information to obtain an adjusted power value.
Specifically, the power of the power amplifier is adjusted according to the maximum power value corresponding to each communication frequency band in the power adjustment information, so as to obtain an adjusted power value.
204. And the terminal compares the adjusted power value with the corresponding power threshold value to obtain a power detection result.
In the embodiment of the present application, since the parameters that need to be set are many and complicated, errors may occur. For example, in some working scenarios and communication bands of the terminal, the power amplifier needs to operate in a low-power state, but due to setting errors, the power amplifier operates in a high-power state, and if the power amplifier is in the state of flowing out of the market, the SAR requirement of the product may be caused to be non-compliant.
Therefore, in the scheme of the application, the power threshold is preset in the internal memory of the terminal by setting the power of the threshold, and the power threshold can exist in a static parameter mode. Specifically, the preset threshold value is obtained according to an actual SAR test result after the terminal is designed, and may be equal to or slightly larger than the set maximum power of the power amplifier, for example, the power threshold value is set to be slightly larger than the set maximum power of the power amplifier by 0.5dBm, so that some power calibration errors may be covered. The preset threshold value can be written into the internal memory of the terminal through a single writing program.
Further, a detection and monitoring procedure is set inside the terminal, and is performed by a coupler and a BB (base band, i.e. baseband, including demodulation and decoding of received signals and encoding of transmitted signals) chip.
In the radio frequency design of the terminal, a coupler is arranged at the output end of the power amplifier (in a microwave system, one path of microwave power is often divided into a plurality of paths in proportion, which is a power distribution problem. The power detected by the coupler can be read out to detect if the power amplifier power has exceeded limits.
Specifically, the current power of the power amplifier is read through the coupler, and then the current power is calculated and compared with a preset threshold value through the BB chip to obtain a power detection result.
205. And if the power detection result indicates that the adjusted power value is greater than the corresponding power threshold, the terminal generates prompt information of abnormal power regulation and prompts a user according to the prompt information.
Wherein, when the power detection result is: when the current power is greater than the preset threshold value, it can be determined that power adjustment is abnormal, that is, the power amplifier needs to be set to a low-power state originally, but the power amplifier is set to a high-power state by mistake, which may result in an increase of an SAR value and affect a user terminal, so that abnormal information can be generated, and then a user is prompted based on the abnormal information, so that the power value is adjusted again according to a detection result, and the accuracy of power adjustment is ensured.
The embodiment of the application discloses a power detection method, which comprises the following steps: the terminal obtains the distance from a user, determines a current working scene according to the distance, obtains target power regulation information corresponding to the current working scene, adjusts the power of the power amplifier according to the target power regulation information to obtain an adjusted power value, compares the adjusted power value with a corresponding power threshold value to obtain a power detection result, generates prompt information of abnormal power regulation if the power detection result indicates that the adjusted power value is greater than the corresponding power threshold value, and prompts the user according to the prompt information. According to the embodiment of the application, a power threshold is preset in the terminal, and the threshold is preset according to a test result. When the terminal works, the output power of the power amplifier is monitored through a coupler at the front end of the power amplifier, the power value monitored by the coupler when the power amplifier works is compared with a preset threshold value, and if the power value exceeds the threshold value, the problem is reported. Therefore, the accuracy of the terminal power detection is improved.
In order to better implement the power detection method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the power detection method. The terms are the same as those in the above power detection method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 3, fig. 3 is a block diagram of a power detection apparatus according to an embodiment of the present disclosure, which can be applied to a terminal such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Portable Media Player (PMP), and a fixed terminal such as a desktop computer, and the apparatus includes:
a determining unit 301, configured to determine a target working scenario of a current terminal;
an adjusting unit 302, configured to adjust the current power of the terminal according to the power adjustment information of the target working scenario, so as to obtain an adjusted power;
a comparing unit 303, configured to compare the adjusted power with a power threshold corresponding to the target working scenario, so as to obtain a power detection result of the terminal in the target working scenario.
In some embodiments, the comparing unit 303 may include:
the first obtaining subunit is used for obtaining a power threshold corresponding to each adjusted power;
the comparison subunit is configured to compare the adjusted power corresponding to each communication frequency band with a power threshold, so as to obtain a power comparison result of the communication frequency band;
and the first determining subunit is used for obtaining the power detection result based on the power comparison result corresponding to each communication frequency band.
In some embodiments, the apparatus may further comprise:
a generating unit, configured to generate a prompt message if the power detection result indicates that the adjusted power is greater than the power threshold;
and the prompting unit is used for prompting the user of the terminal according to the prompting information.
In some embodiments, the adjusting unit 302 may include:
the second determining subunit is used for determining the power adjusting information from a plurality of preset power adjusting information according to the target working scene;
and the adjusting subunit is configured to adjust the current power based on the power in the power adjustment information, so as to obtain the adjusted power.
In some embodiments, the determining unit 301 may include:
the second obtaining subunit is used for obtaining the application currently running in the terminal;
and the third determining subunit is configured to determine, if the currently running application is a designated application, a working scene corresponding to the designated application from a plurality of preset working scenes to obtain the target working scene.
In some embodiments, the determining unit 301 may include:
a third obtaining subunit, configured to obtain a distance to a user currently using the terminal;
and the fourth determining subunit is used for determining the target working scene according to the distance.
The embodiment of the application discloses a power detection device, which determines a target working scene of a current terminal through a determination unit 301, an adjustment unit 302 adjusts the current power of the terminal according to power adjustment information of the target working scene to obtain adjusted power, and a comparison unit 303 compares the adjusted power with a power threshold corresponding to the target working scene to obtain a power detection result of the terminal under the target working scene, so that the power detection efficiency of the terminal can be improved.
The embodiment of the application also provides a terminal. As shown in fig. 4, the terminal may include a Radio Frequency (RF) circuit 601, a memory 602 including one or more storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a Wireless Fidelity (WiFi) module 607, a processor 608 including one or more processing cores, and a power supply 609. Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during the process of transmitting and receiving information, and in particular, for processing the received downlink information of the base station by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuit 601 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 601 may also communicate with networks and other devices via wireless communications.
The memory 602 may be used to store software programs and modules that the processor 608 executes to perform various functional applications and power detection by executing the software programs and modules stored in the memory 602. The memory 602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 access to the memory 602.
The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 603 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. The input unit 603 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 604 may be used to display information input by or provided to the user and various graphical user interfaces of the server, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 604 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 4 the touch-sensitive surface and the display panel are shown as two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that turns off the display panel and the backlight when the server moves to the ear.
Audio circuitry 606, speakers, and microphones may provide an audio interface between the user and the server. The audio circuit 606 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 606 and converted into audio data, which is then processed by the audio data output processor 608, and then passed through the RF circuit 601 to be sent to, for example, a terminal, or the audio data is output to the memory 602 for further processing. The audio circuitry 606 may also include an ear-bud jack to provide communication of peripheral headphones with the server.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607, and provides wireless broadband internet access for the user. Although fig. 4 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope of not changing the essence of the application.
The processor 608 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the server and processes data by operating or executing software programs and modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the handset. Optionally, processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 608 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 609 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Specifically, in this embodiment, the processor 608 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application programs stored in the memory 602, thereby implementing various functions:
determining a target working scene of a current terminal;
adjusting the current power of the terminal according to the power adjustment information of the target working scene to obtain adjusted power;
and comparing the adjusted power with a power threshold corresponding to the target working scene to obtain a power detection result of the terminal in the target working scene.
The embodiment of the application discloses a power detection method, a power detection device, a storage medium and a terminal. The power detection method comprises the following steps: determining a target working scene of a current terminal; adjusting the current power of the terminal according to the power adjustment information of the target working scene to obtain adjusted power; and comparing the adjusted power with a power threshold corresponding to the target working scene to obtain a power detection result of the terminal in the target working scene, so that the power detection efficiency of the terminal can be improved.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by instructions or by instructions controlling associated hardware, which may be stored in a storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the power detection methods provided by the embodiments of the present application. For example, the instructions may perform the steps of:
determining a target working scene of a current terminal; adjusting the current power of the terminal according to the power adjustment information of the target working scene to obtain adjusted power; and comparing the adjusted power with a power threshold corresponding to the target working scene to obtain a power detection result of the terminal in the target working scene.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any power detection method provided in the embodiments of the present application, beneficial effects that can be achieved by any power detection method provided in the embodiments of the present application may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The power detection method, the power detection device, the storage medium, and the terminal provided in the embodiments of the present application are described in detail above, and a specific example is applied in the description to explain the principles and the embodiments of the present application, and the description of the embodiments above is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of power detection, the method comprising:
determining a target working scene of a current terminal;
adjusting the current power of the terminal according to the power adjustment information of the target working scene to obtain adjusted power;
and comparing the adjusted power with a power threshold corresponding to the target working scene to obtain a power detection result of the terminal in the target working scene.
2. The method of claim 1, wherein the adjusted power comprises an adjusted power corresponding to each communication band supported by the terminal;
the comparing the adjusted power with the power threshold corresponding to the target working scene to obtain the power detection result of the terminal in the target working scene includes:
acquiring a power threshold corresponding to each adjusted power;
comparing the adjusted power corresponding to each communication frequency band with a power threshold value to obtain a power comparison result of the communication frequency band;
and obtaining the power detection result based on the power comparison result corresponding to each communication frequency band.
3. The method of claim 1, further comprising:
if the power detection result indicates that the adjusted power is greater than the power threshold, prompt information is generated;
and prompting the user of the terminal according to the prompt information.
4. The method according to claim 1, wherein the adjusting the current power of the terminal according to the power adjustment information of the target working scenario to obtain an adjusted power comprises:
determining the power regulation information from a plurality of preset power regulation information according to the target working scene;
and adjusting the current power based on the power in the power adjustment information to obtain the adjusted power.
5. The method of claim 1, wherein the determining the target working scenario of the current terminal comprises:
acquiring the current running application of the terminal;
and if the currently running application is the designated application, determining a working scene corresponding to the designated application from a plurality of preset working scenes to obtain the target working scene.
6. The method of claim 1, wherein the determining the target working scenario of the current terminal comprises:
acquiring the distance between the terminal and a user using the terminal currently;
and determining the target working scene according to the distance.
7. A power detection apparatus, the apparatus comprising:
the determining unit is used for determining a target working scene of the current terminal;
the adjusting unit is used for adjusting the current power of the terminal according to the power adjusting information of the target working scene to obtain adjusted power;
and the comparison unit is used for comparing the adjusted power with a power threshold corresponding to the target working scene to obtain a power detection result of the terminal in the target working scene.
8. The apparatus of claim 7, wherein the comparing unit comprises:
the first obtaining subunit is used for obtaining a power threshold corresponding to each adjusted power;
the comparison subunit is configured to compare the adjusted power corresponding to each communication frequency band with a power threshold, so as to obtain a power comparison result of the communication frequency band;
and the determining subunit is used for obtaining the power detection result based on the power comparison result corresponding to each communication frequency band.
9. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the power detection method of any one of claims 1 to 6.
10. A terminal comprising a processor and a memory, the memory storing a plurality of instructions, the processor loading the instructions to perform the power detection method of any of claims 1 to 6.
CN202111533088.XA 2021-12-15 2021-12-15 Power detection method, device, storage medium and terminal Pending CN114252705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111533088.XA CN114252705A (en) 2021-12-15 2021-12-15 Power detection method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111533088.XA CN114252705A (en) 2021-12-15 2021-12-15 Power detection method, device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN114252705A true CN114252705A (en) 2022-03-29

Family

ID=80792344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111533088.XA Pending CN114252705A (en) 2021-12-15 2021-12-15 Power detection method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN114252705A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412336A (en) * 2016-11-21 2017-02-15 努比亚技术有限公司 Mobile terminal and scene recognition method
CN107645596A (en) * 2017-09-18 2018-01-30 青岛海信移动通信技术股份有限公司 A kind of method, device and mobile terminal for reducing mobile terminal SAR value
CN108199788A (en) * 2017-12-22 2018-06-22 广东欧珀移动通信有限公司 Transmission power test method, device, system and electronic equipment
CN110519835A (en) * 2018-05-21 2019-11-29 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of transmission power adjustment
CN111510901A (en) * 2020-04-23 2020-08-07 惠州Tcl移动通信有限公司 Power adjusting method, device, storage medium and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412336A (en) * 2016-11-21 2017-02-15 努比亚技术有限公司 Mobile terminal and scene recognition method
CN107645596A (en) * 2017-09-18 2018-01-30 青岛海信移动通信技术股份有限公司 A kind of method, device and mobile terminal for reducing mobile terminal SAR value
CN108199788A (en) * 2017-12-22 2018-06-22 广东欧珀移动通信有限公司 Transmission power test method, device, system and electronic equipment
CN110519835A (en) * 2018-05-21 2019-11-29 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of transmission power adjustment
CN111510901A (en) * 2020-04-23 2020-08-07 惠州Tcl移动通信有限公司 Power adjusting method, device, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN108430101B (en) Antenna closing method and device, storage medium and electronic equipment
CN111179861B (en) Brightness calibration method and device, storage medium and terminal
CN107277912B (en) Radio frequency interference processing method, device, storage medium and terminal
CN111093259B (en) Bluetooth power adjustment method and device, storage medium and terminal
CN107172671B (en) Channel switching method, device, storage medium and terminal
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
CN106850983B (en) screen-off control method and device, terminal and storage medium
CN112311930A (en) Terminal testing method and device, storage medium and mobile terminal
CN111954286B (en) Power adjusting method, device, storage medium and terminal
CN111158455A (en) Power consumption control method and device, storage medium and terminal
CN106936516B (en) Display screen display state control method, storage medium and terminal
WO2019011231A1 (en) Method for reducing sar value of mobile terminal, storage medium and mobile terminal
CN111510901B (en) Power adjusting method, device, storage medium and terminal
CN111654902B (en) Method and device for reducing GPS signal interference of mobile terminal and mobile terminal
CN113556427A (en) Mobile terminal radiation recording method and device, mobile terminal and storage medium
CN110688051B (en) Screen recording operation method and device, computer readable storage medium and terminal
CN112492554B (en) Data transmission method, device, storage medium and terminal
CN114520672A (en) Power calibration method for maximum power fluctuation, terminal device and storage medium
CN107329547B (en) Temperature control method and device and mobile terminal
CN111757447B (en) Uplink transmission power control method, device, computer equipment and storage medium
CN110098843B (en) Signal transmission method and device and electronic equipment
CN110636526A (en) NFC communication detection method and device, computer readable storage medium and terminal
CN112367425B (en) Volume adjusting method and device and terminal
CN114252705A (en) Power detection method, device, storage medium and terminal
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination