Sensor calibration method and electronic equipment

By triggering the recalibration of the SAR sensor when the electronic device is in a specific scenario, the problem of the SAR sensor misidentifying the non-Body SAR scenario as a Body SAR scenario is solved, ensuring the normal operation of the transmission power and communication performance of the electronic device, and improving the user's communication experience.

CN119535321APending Publication Date: 2025-02-28HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311103324.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-29
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In the prior art, SAR sensors may be mistakenly identified as Body SAR scenarios in non-Body SAR scenarios, resulting in an incorrect drop in the transmission power of electronic devices and affecting the user's communication experience.

Method used

By detecting that the electronic device is in a specific scenario, the recalibration of the SAR sensor is triggered, including the duration of being in the Body SAR scene continuously exceeding a certain time, the duration of the Body SAR scene accounted for more than a certain threshold, the Body SAR scene and the high transmit power demand scenario, the user is in a sleep state or the timed recalibration moment.

Benefits of technology

It effectively avoids the misidentification of Body SAR scenarios by SAR sensors, prevents the transmission power of electronic devices from being accidentally reduced, and ensures the normal operation of communication performance, thereby improving the user's communication experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119535321A_ABST
    Figure CN119535321A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a sensor calibration method and electronic equipment, and the method comprises the steps: carrying out the re-calibration of an SAR sensor of first electronic equipment when detecting that the first electronic equipment is in a first scene, the first scene comprises any one of the following scenes: the duration of the first electronic equipment continuously in the Body SAR scene is greater than a first duration, the proportion of the duration of the first electronic equipment in the Body SAR scene in the first time period is greater than a first threshold value, and the first electronic equipment is simultaneously in the Body SAR scene and a scene with a high emission power demand; a user using the first electronic equipment is in a sleep state, and the current moment is the moment when the first electronic equipment regularly recalibrates the SAR sensor. According to the method, when the reference value of the SAR sensor is distorted, the SAR sensor can be re-calibrated in a short time, so that the occurrence of error recognition of the SAR sensor on a Body SAR scene can be avoided or corrected in time, and the communication experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of sensor calibration, and more specifically, to a sensor calibration method and electronic device. Background Art

[0002] Body SAR is a common certification standard used both at home and abroad. This standard specifies the radiation intensity of electronic devices when they are close to the human body. The purpose is to limit the transmission power intensity of electronic devices such as mobile phones and tablets and reduce the impact of electromagnetic radiation on the human body. In order to meet this certification standard, it is necessary to use a SAR sensor to accurately identify the Body SAR scene and then reduce the transmission power of electronic devices. However, reducing the transmission power of electronic devices will affect the user's communication experience.

[0003] In some cases, the SAR sensor may mistakenly identify some non-Body SAR scenes as Body SAR scenes. For example, many users use electronic devices (such as mobile phones, tablets, etc.) with a case (for example, putting a protective case on the outer shell of the electronic device). This may distort the baseline value of the SAR sensor and misidentify the scene as a Body SAR scene, thereby causing the transmit power of the electronic device to be erroneously reduced, causing the transmit power of the electronic device to be in a low level for a long time, thereby causing the communication performance of the electronic device to be in a poor state for a long time, greatly affecting the user's communication experience. Summary of the invention

[0004] The present application provides a sensor calibration method and an electronic device. Through the method and the electronic device, when a reference value of a SAR sensor is distorted, the sensor can be recalibrated in a short time, so that the SAR sensor can avoid misidentification of a Body SAR scene or can promptly correct misidentification of a Body SAR scene by the SAR sensor, so that the power of the electronic device is prevented from being erroneously reduced due to misidentification of the Body SAR scene, so that the communication performance of the electronic device is restored to normal, thereby improving the communication experience of the user.

[0005] In a first aspect, a sensor calibration method is provided, characterized in that the method includes: detecting that a first electronic device is in a first scene, wherein the first scene includes any one of the following five scenes: the first electronic device is continuously in a body electromagnetic wave absorption ratio Body SAR scene for a time period greater than a first time period, the first electronic device is in a Body SAR scene for a proportion greater than a first threshold value within a first time period, the first electronic device is in a Body SAR scene and a high transmission power requirement scene at the same time, a user using the first electronic device is in a sleep state, and the current moment is the moment for the first electronic device to periodically recalibrate the electromagnetic wave absorption ratio SAR sensor; and recalibrating the SAR sensor of the first electronic device, the SAR sensor being used to identify the Body SAR scene.

[0006] In some embodiments, the first duration may be any duration determined according to user input, or may be any duration automatically determined by the system. For example, the first duration may be any duration between 5 hours and 12 hours.

[0007] In some embodiments, the first time period can be any time period determined based on user input, or any time period automatically determined by the system. The first time period can be, for example, a time period of any length between 10 hours and 24 hours, such as a time period of 16 hours.

[0008] In some embodiments, the first threshold can be expressed as a fraction or a percentage. The first threshold can be a threshold determined based on user input or a threshold automatically determined by the system. The first threshold can be, for example, any percentage between 60% and 100%, such as 70%, 80% or 90%.

[0009] In the embodiments of the present application, when it is detected that the electronic device is in certain specific scenarios, the recalibration of the SAR sensor of the electronic device can be triggered. In this way, if the calibration reference value of the SAR sensor of the electronic device is distorted when the electronic device is powered on, it can be restored to the normal calibration reference value through recalibration in a relatively short time, thereby avoiding the misrecognition of the Body SAR scene by the SAR sensor or timely correcting the misrecognition of the Body SAR scene by the SAR sensor, avoiding the power error drop of the electronic device due to the misrecognition of the Body SAR scene, and restoring the communication performance of the electronic device to normal, thereby improving the communication experience of the user.

[0010] In combination with the first aspect, in a possible implementation, the first electronic device is in a powered-on state, and before detecting that the first electronic device is in a first scene, the method further includes: the first electronic device is changed from a bare metal state to a state with a protective case installed, or the protective case installed on the first electronic device is changed from a first protective shell to a second protective shell, wherein the first protective shell and the second protective shell are different.

[0011] In some embodiments, the first protective shell and the second protective shell are different, including: the first protective shell and the second protective shell have different shapes, and / or the first protective shell and the second protective shell are made of different materials.

[0012] Optionally, the protective case can also be replaced with a bracket (such as a mobile phone bracket), a sticker, a portable rope, a pendant, or the like, which may be attached to the electronic device body for a long time or be in close proximity to the electronic device body for a long time (it can also be understood as all factors that can cause the Body SAR scene misidentification of the SAR sensor), and this application does not limit this.

[0013] In an embodiment of the present application, when the electronic device is in a powered-on state, when the user adds a protective case to the electronic device or replaces the protective case, causing the reference value of the SAR sensor to be distorted, it is possible to trigger recalibration of the SAR sensor of the electronic device when it is detected that the electronic device is in certain specific scenes. In this way, the normal reference value can be restored through recalibration in a relatively short time, thereby avoiding the misrecognition of the Body SAR scene by the SAR sensor or timely correcting the misrecognition of the Body SAR scene by the SAR sensor, avoiding the power error reduction of the electronic device due to the misrecognition of the Body SAR scene, and restoring the communication performance of the electronic device to normal, thereby reducing the impact on the user's communication experience due to the misrecognition of the Body SAR scene.

[0014] In combination with the first aspect, in a possible implementation manner, the first electronic device is simultaneously in a Body SAR scenario and a high transmission power requirement scenario, including: the first electronic device is currently in a Body SAR scenario, and a game application is running on the first electronic device.

[0015] In an embodiment of the present application, a scenario for triggering SAR sensor recalibration is provided. When an electronic device recognizes that the electronic device is in a Body SAR scenario and a high transmit power requirement scenario at the same time, the SAR sensor recalibration is triggered, so that the baseline value of the SAR sensor returns to normal, and the Body SAR scenario is exited, thereby meeting the power requirement of the scenario with high transmit power requirement and improving the user's communication experience.

[0016] In combination with the first aspect, in a possible implementation, the method also includes: determining a time period in which the user of the first electronic device is in a sleep state based on historical data of the user using the first electronic device; when it is detected that the current moment is in the time period in which the user using the first electronic device is in a sleep state, determining that the user using the first electronic device is in a sleep state.

[0017] In an embodiment of the present application, the user's sleep time period can be determined based on the user's historical data. The user's sleep time can also be understood as the time period when the user does not use the electronic device for a long time. In this way, when it is detected that the user is currently in the sleep time period, the recalibration of the SAR sensor can be triggered.

[0018] In combination with the first aspect, in a possible implementation manner, recalibrating the SAR sensor of the first electronic device includes: recalibrating a reference value of the SAR sensor of the first electronic device.

[0019] In a second aspect, an electronic device is provided, which includes: a detection module, used to detect whether the electronic device is in a first scene, wherein the first scene includes any one of the following five scenes: the time length of the electronic device being continuously in a body electromagnetic wave absorption ratio Body SAR scene is greater than a first time length, the time length of the electronic device being in the Body SAR scene within a first time period accounts for a proportion greater than a first threshold, the electronic device is simultaneously in a Body SAR scene and a high transmission power requirement scene, a user using the electronic device is in a sleep state, and the current moment is the moment for the electronic device to periodically recalibrate the electromagnetic wave absorption ratio SAR sensor; a calibration module, used to recalibrate the SAR sensor of the electronic device when detecting that the electronic device is in the first scene, the SAR sensor being used to identify the Body SAR scene.

[0020] In some embodiments, the first duration may be any duration determined according to user input, or may be any duration automatically determined by the system. For example, the first duration may be any duration between 5 hours and 12 hours.

[0021] In some embodiments, the first time period can be any time period determined based on user input, or any time period automatically determined by the system. The first time period can be, for example, a time period of any length between 10 hours and 24 hours, such as a time period of 16 hours.

[0022] In some embodiments, the first threshold can be expressed as a fraction or a percentage. The first threshold can be a threshold determined based on user input or a threshold automatically determined by the system. The first threshold can be, for example, any percentage between 60% and 100%, such as 70%, 80% or 90%.

[0023] In the embodiments of the present application, when it is detected that the electronic device is in certain specific scenarios, the recalibration of the SAR sensor of the electronic device can be triggered. In this way, if the calibration reference value of the SAR sensor of the electronic device is distorted when the electronic device is powered on, it can be restored to the normal calibration reference value through recalibration in a relatively short time, thereby avoiding the misrecognition of the Body SAR scene by the SAR sensor or timely correcting the misrecognition of the Body SAR scene by the SAR sensor, avoiding the power error drop of the electronic device due to the misrecognition of the Body SAR scene, and restoring the communication performance of the electronic device to normal, thereby improving the communication experience of the user.

[0024] In combination with the second aspect, in a possible implementation, the electronic device is in a power-on state, and before the detection module detects whether the electronic device is in the first scene, the electronic device changes from a bare metal state to a state with a protective case installed, or the protective case installed on the electronic device changes from a first protective shell to a second protective shell, wherein the first protective shell and the second protective shell are different.

[0025] In some embodiments, the first protective shell and the second protective shell have different shapes, and / or the first protective shell and the second protective shell are made of different materials.

[0026] Optionally, the protective case can also be replaced with a bracket (such as a mobile phone bracket), a sticker, a portable rope, a pendant, or the like, which may be attached to the electronic device body for a long time or be in close proximity to the electronic device body for a long time (it can also be understood as all factors that can cause the Body SAR scene misidentification of the SAR sensor), and this application does not limit this.

[0027] In an embodiment of the present application, when the electronic device is in a powered-on state, when the user adds a protective case to the electronic device or replaces the protective case, causing the reference value of the SAR sensor to be distorted, it is possible to trigger recalibration of the SAR sensor of the electronic device when it is detected that the electronic device is in certain specific scenes. In this way, the normal reference value can be restored through recalibration in a relatively short time, thereby avoiding the misrecognition of the Body SAR scene by the SAR sensor or timely correcting the misrecognition of the Body SAR scene by the SAR sensor, avoiding the power error reduction of the electronic device due to the misrecognition of the Body SAR scene, and restoring the communication performance of the electronic device to normal, thereby reducing the impact on the user's communication experience due to the misrecognition of the Body SAR scene.

[0028] In combination with the second aspect, in a possible implementation manner, the electronic device is simultaneously in a Body SAR scenario and a high transmit power requirement scenario, including: the electronic device is currently in a Body SAR scenario, and a game application is running on the electronic device.

[0029] In an embodiment of the present application, a scenario for triggering SAR sensor recalibration is provided. When an electronic device recognizes that the electronic device is in a Body SAR scenario and a high transmit power requirement scenario at the same time, the SAR sensor recalibration is triggered, so that the baseline value of the SAR sensor returns to normal, and the Body SAR scenario is exited, thereby meeting the power requirement of the scenario with high transmit power requirement and improving the user's communication experience.

[0030] In combination with the second aspect, in a possible implementation, the electronic device also includes: a determination module, used to determine the time period when the user of the electronic device is in a sleep state based on historical data of the user using the electronic device; the determination module is also used to determine that the user of the electronic device is in a sleep state when it is detected that the current moment is in the time period when the user using the electronic device is in a sleep state.

[0031] In an embodiment of the present application, the user's sleep time period can be determined based on the user's historical data. The user's sleep time can also be understood as the time period when the user does not use the electronic device for a long time. In this way, when it is detected that the user is currently in the sleep time period, the recalibration of the SAR sensor can be triggered.

[0032] In conjunction with the second aspect, in a possible implementation manner, the calibration module is specifically used to: recalibrate a reference value of a SAR sensor of the electronic device.

[0033] In a third aspect, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer program code, and the processor is used to execute the computer program code stored in the memory to implement the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0034] In a fourth aspect, a chip is provided, in which instructions are stored. When the instructions are executed on a device, the chip executes the method in the first aspect or any possible implementation of the first aspect.

[0035] In a fifth aspect, a computer-readable storage medium is provided, in which a computer program or instruction is stored. When the computer program or instruction is executed, the method in the above-mentioned first aspect or any possible implementation manner of the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0037] Figure 2 is a software structure block diagram of the electronic device provided in the embodiment of the present application;

[0038] Figure 3 is a schematic flow chart of an existing power calibration method;

[0039] Figure 4 is a schematic flow chart of a sensor calibration method provided in an embodiment of the present application;

[0040] Figure 5 is a schematic flow chart of another sensor calibration method provided in an embodiment of the present application;

[0041] Figure 6 It is a functional module diagram of a sensor calibration device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The technical solution in the present application will be described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0043] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" or "multiple" refers to two or more than two.

[0044] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0045] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0046] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "one embodiment", "some embodiments", "another embodiment", "some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0047] The method provided in the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.

[0048] For example, Figure 11 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0049] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0050] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0051] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0052] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0053] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0054] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0055] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0056] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0057] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0058] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0059] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0060] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0061] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0062] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0063] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0064] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0065] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0066] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0067] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0068] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0069] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0070] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0071] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0072] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0073] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0074] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0075] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0076] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0077] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0078] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0079] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, at least one App required for a function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0080] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0081] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0082] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0083] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0084] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0085] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0086] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0087] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0088] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0089] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0090] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0091] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0092] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0093] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0094] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0095] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0096] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0097] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0098] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0099] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0100] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0101] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an embedded SIM (eSIM) card, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0102] It should be understood that the phone card in the embodiments of the present application includes but is not limited to a SIM card, an eSIM card, a universal subscriber identity module (USIM), a universal integrated circuit card (UICC), and the like.

[0103] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.

[0104] Figure 2 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.

[0105] like Figure 2 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0106] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0107] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0108] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0109] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0110] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0111] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0112] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0113] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0114] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0115] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0116] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0117] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0118] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0119] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0120] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0121] A 2D graphics engine is a drawing engine for 2D drawings.

[0122] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0123] It should be understood that the technical solutions in the embodiments of the present application can be used in Android, IOS, Hongmeng and other systems.

[0124] The technical solution of the embodiment of the present application can be applied to any electronic device with communication function. For example, it can be applied to electronic devices such as mobile phones, folding screens, tablets, etc. The main application scenario can be a scenario of communication through electronic devices, such as sending and receiving messages, video calls, answering calls, etc.

[0125] The electronic device in the embodiments of the present application may be a television, a desktop computer, a laptop computer, or a portable electronic device such as a mobile phone, a tablet computer, a camera, a video camera, a video recorder, a smart watch, a smart bracelet, or other electronic devices with communication functions, electronic devices in a 5G network, or electronic devices in a public land mobile communication network (PLMN) to be evolved in the future, etc., and the present application does not limit this.

[0126] Body SAR is a certification standard currently used both at home and abroad. This standard specifies the radiation intensity of electronic devices when they are close to the human body. The purpose is to limit the transmission power intensity of electronic devices such as mobile phones and tablets and reduce the impact of electromagnetic radiation on the human body. In order to meet this certification standard, it is necessary to use an electromagnetic wave absorption ratio sensor (SAR sensor) to accurately identify the BodySAR scene and then reduce the transmission power of electronic devices, but reducing the transmission power of electronic devices will affect the user's communication experience. Among them, Body SAR can be described as the body's electromagnetic wave absorption ratio.

[0127] In some cases, the SAR sensor may mistakenly identify some non-Body SAR scenarios as Body SAR scenarios. For example, many users use electronic devices (such as mobile phones, tablets, etc.) with a case (for example, putting a protective case on the outer shell of the electronic device). This may distort the baseline value of the SAR sensor and misidentify the scene as a Body SAR scenario, causing the transmit power of the electronic device to be erroneously reduced, causing the transmit power of the electronic device to be in a low level state for a long time, thereby causing the communication performance of the electronic device to be in a poor state for a long time, greatly affecting the user's communication experience, especially affecting the user's communication experience in weak signal scenarios.

[0128] Therefore, how to prevent the transmission power of electronic devices from accidentally dropping in non-Body SAR scenarios while meeting the Body SAR certification standards has become an urgent problem to be solved.

[0129] For example, Figure 3 FIG. 3 is a schematic flow chart of a method 300 for calibrating a sensor. Figure 3 As shown, the method 300 includes:

[0130] S301: It is detected that the electronic device enters the restart process.

[0131] S302: Recalibrate the SAR sensor of the electronic device.

[0132] In this method, the SAR sensor of the electronic device is calibrated before leaving the factory. After leaving the factory, the recalibration of the SAR sensor of the electronic device can only be triggered when the electronic device is restarted.

[0133] However, in terms of current user habits, users rarely actively trigger the operation of restarting electronic devices. As a result, when the baseline value of the SAR sensor of the electronic device is distorted when the electronic device is turned on, the SAR sensor will not be recalibrated until the next restart of the electronic device. The distortion of the baseline value of the SAR sensor can easily cause the transmission power of the electronic device to be in a low level for a long time, thereby causing the communication performance of the electronic device to be in a poor state for a long time, ultimately resulting in the user's communication experience being poor for a long period of time.

[0134] In some examples, when the electronic device is powered on, the user changes the electronic device from a bare-metal state to a state using a protective case, that is, puts a protective case on the outer shell of the electronic device, or the user replaces the existing protective case on the electronic device with a protective case that is different from the existing protective case (for example, a protective case with significantly different material parameters). In this case, since the SAR sensor has not taken into account the impact of the new protective case through recalibration, it is easy for the SAR sensor of the electronic device to identify the scene of the electronic device as a Body SAR scene for a long time, greatly affecting the user's communication experience, especially affecting the user's communication experience in weak signal scenarios.

[0135] In view of this, the present application provides a sensor calibration method and electronic device. In the method, when the electronic device is in a powered-on state, it can trigger the recalibration of the SAR sensor of the electronic device when it is detected that the electronic device is in certain specific scenarios (for example: the duration of the electronic device being in the Body SAR scenario continuously is greater than the first duration; or the duration of the electronic device being in the Body SAR scenario in the first time period is greater than the first threshold; or the user using the electronic device is in a sleeping state; or the electronic device is in the Body SAR scenario and the high transmission power demand scenario at the same time; or the current moment is the moment when the electronic device recalibrates the SAR sensor regularly, etc.), so that if the reference value of the SAR sensor of the electronic device is distorted when the electronic device is powered on, it will be restored to the normal reference value in a relatively short time, that is, the communication performance of the electronic device is restored to normal, thereby reducing the impact on the user's communication experience caused by the misidentification of the Body SAR scenario.

[0136] For example, Figure 4 FIG. 4 is a schematic flow chart of a sensor calibration method 400 provided in an embodiment of the present application. Figure 4 As shown, the method 400 includes:

[0137] S401: It is detected that the first electronic device is in a first scenario, wherein the first scenario includes any one of the following scenarios: the first electronic device is continuously in the Body SAR scenario for a duration greater than a first duration; the duration that the first electronic device is in the Body SAR scenario within a first time period accounts for a proportion greater than a first threshold; the first electronic device is in both the Body SAR scenario and the high transmission power requirement scenario; the user using the first electronic device is in a sleep state; the current moment is the moment when the first electronic device periodically recalibrates the SAR sensor.

[0138] Among them, the Body SAR scenario refers to a scenario that needs to meet the Body SAR standard. In this Body SAR scenario, in order to meet the Body SAR standard, the transmit power of the electronic device will be reduced accordingly.

[0139] The first duration may be any duration determined according to user input, or may be any duration automatically determined by the system. For example, the first duration may be any duration between 5 hours and 12 hours.

[0140] Regarding the scenario "the first electronic device is continuously in the Body SAR scene for a time period greater than the first time period", in one example, taking the first time period as 6 hours, the first electronic device is continuously in the Body SAR scene from a first time point, and when the first electronic device is continuously in the Body SAR scene for more than 6 hours, it is determined that the first electronic device is detected to be in the first scene.

[0141] Among them, the first time period can be any time period determined according to user input, or it can be any time period automatically determined by the system. The first time period can be, for example, a time period of any length from 10 hours to 24 hours, for example, a time period of 16 hours.

[0142] Among them, the first threshold can be expressed as a fraction or a percentage. The first threshold can be a threshold determined according to user input, or a threshold automatically determined by the system. The first threshold can be, for example, any percentage between 60% and 100%, for example, 70%, 80% or 90%.

[0143] Regarding the scenario "the proportion of time that the first electronic device is in the Body SAR scene within the first time period is greater than the first threshold", in an example, taking the first time period as 24 hours and the first threshold as 80% as an example, when the proportion of time that the first electronic device is in the Body SAR scene within 24 hours is greater than 80%, it is determined that the first electronic device is detected to be in the first scene.

[0144] It should be understood that: the proportion of the time that the first electronic device is in the Body SAR scene in the first time period is greater than the first threshold value, which means that the cumulative time that the first electronic device is in the Body SAR scene in the first time period is greater than the first threshold value. For example, the first electronic device is first in the Body SAR scene in the first time period, then exits the Body SAR scene, and then is in the Body SAR scene again until the end of the first time period. Then, the time that the first electronic device is in the Body SAR scene in the first time period is the sum of the time periods in the Body SAR scene twice.

[0145] Among them, regarding the scenario "the first electronic device is simultaneously in the Body SAR scenario and the high transmission power requirement scenario", the first electronic device is simultaneously in the Body SAR scenario and the high transmission power requirement scenario, which may mean that the first electronic device is currently in the Body SAR scenario, but in terms of the current usage status of the first electronic device, in order to meet the current usage requirements, the first electronic device should currently be in a high transmission power state and should not belong to the Body SAR scenario. That is to say, if the current usage status of the first electronic device requires high transmission power, but the first electronic device is currently in the Body SAR scenario, it is considered that the first electronic device is simultaneously in the Body SAR scenario and the high transmission power requirement scenario, that is, it is determined that the first electronic device is detected to be in the first scene. For example: when the current electronic device is running a game application (requiring high transmission power), and the SAR sensor identifies that the first electronic device is currently in the Body SAR scene, it is determined that the first electronic device is detected to be in the first scene.

[0146] In some embodiments, when the SAR sensor of the first electronic device recognizes that the first electronic device is in a BodySAR scene, it further determines whether there is an application with high transmission power requirements (for example, a game application, a video call application, etc.) among the currently running applications. If so, it is determined that the first electronic device is detected to be in the first scene, wherein the application with high transmission power requirements may refer to an application whose highest transmission power during normal operation is higher than a certain power threshold, or may refer to an application whose average transmission power during normal operation is higher than a certain power threshold.

[0147] Among them, regarding the scenario "the user using the first electronic device is in a sleep state", in an example, the condition that the user is in a sleep state is determined based on the historical data of the user using the first electronic device, for example: according to the user's usage data or usage habits in recent months, it is determined that 13:00 to 14:00 noon every day, and from 22:00 evening to 7:00 the next morning are the time periods when the user is in a sleep state. Then, when it is detected that there is no user operation on the first electronic device, and the current time is between 13:00 and 14:00 noon or between 22:00 evening and 7:00 the next morning, it is determined that the first electronic device is detected to be in the first scenario.

[0148] Among them, regarding the scenario "the current moment is the moment for the first electronic device to recalibrate the SAR sensor on a scheduled basis", the moment for recalibrating the SAR sensor on a scheduled basis can be a scheduled moment preset by the user on the first electronic device, or a scheduled moment automatically determined by the system based on the user's usage habits. In one example, the user presets 5 a.m. every day on the first electronic device as the moment for recalibrating the SAR sensor on a scheduled basis. Then, when it is detected that the current moment is 5 a.m., it is determined that the first electronic device is detected to be in the first scenario; in another example, the system finds based on the user's usage habits of the first electronic device that the user basically does not use the first electronic device between 13:00 and 14:00 noon every day. Then, when it is detected that the current time is between 13:00 and 14:00 noon, it is determined that the first electronic device is detected to be in the first scenario.

[0149] S402: Recalibrate the SAR sensor of the first electronic device.

[0150] Among them, recalibrating the SAR sensor of the first electronic device is essentially recalibrating the reference value of the SAR sensor of the first electronic device. When recalibrating the SAR sensor of the first electronic device, the factors currently affecting the SAR sensor's recognition of the Body SAR scene are included in the reference value. In this way, the influence of irrelevant factors on the SAR sensor's recognition of the Body SAR scene can be eliminated.

[0151] In some embodiments, when the first electronic device is turned off and then turned on again, or when the first electronic device is restarted, the SAR sensor of the first electronic device is also recalibrated.

[0152] In the embodiment of the present application, when the electronic device is in the power-on state, it can trigger the recalibration of the SAR sensor of the electronic device when it is detected that the electronic device is in certain specific scenes. In this way, if the reference value of the SAR sensor of the electronic device is distorted when the electronic device is in the power-on state, it will be restored to the normal reference value through recalibration in a relatively short time, so that the SAR sensor can avoid misidentification of the Body SAR scene or can promptly correct the misidentification of the Body SAR scene by the SAR sensor, avoid the electronic device from suffering a power error drop due to misidentification of the Body SAR scene, and make the communication performance of the electronic device return to normal, thereby reducing the impact on the user's communication experience caused by misidentification of the Body SAR scene.

[0153] For example, Figure 5 FIG. 5 is a schematic flow chart of another sensor calibration method 500 provided in an embodiment of the present application. Figure 5 As shown, the method 500 includes:

[0154] S501: When the first electronic device is turned on, recalibrate the SAR sensor of the first electronic device.

[0155] The first electronic device is powered on by powering on the first electronic device after being powered off, or by restarting the first electronic device.

[0156] The SAR sensor of the first electronic device is used to identify the Body SAR scene of the first electronic device. When it is identified that the first electronic device is in the Body SAR scene, the first electronic device can reduce the transmission power to meet the Body SAR standard.

[0157] S502: The user adds a protective case to the first electronic device or replaces the protective case.

[0158] The first electronic device may be, for example, a mobile phone, a tablet, a laptop computer, or other electronic device that needs to meet the Body SAR standard.

[0159] In one example, a user adds a protective case to a bare first electronic device. The protective case can be attached to the entire body of the first electronic device or to a portion of the body of the first electronic device. This application does not limit the shape, material, etc. of the protective case.

[0160] In another example, the user replaces the first electronic device with a second protective shell when the first protective shell is already installed on the first electronic device. The second protective shell and the first protective shell are different protective shells, specifically, they may be different in shape and material.

[0161] It should be understood that the protective case in step S502 can also be replaced by a bracket (such as a mobile phone bracket), a sticker, a portable rope, a pendant, or other items that may be attached to the body of the electronic device for a long time or be in close proximity to the body of the electronic device for a long time (which can also be understood as all factors that can cause the Body SAR scene misrecognition of the SAR sensor), and this application does not limit this.

[0162] S503: It is detected that the first electronic device is in a first scenario, wherein the first scenario includes any one of the following scenarios: the first electronic device is continuously in the Body SAR scenario for a duration greater than a first duration; the duration that the first electronic device is in the Body SAR scenario within a first time period accounts for a proportion greater than a first threshold; the first electronic device is in both the Body SAR scenario and the high transmission power requirement scenario; the user using the first electronic device is in a sleep state; the current moment is the moment when the first electronic device periodically recalibrates the SAR sensor.

[0163] The explanation of step S503 is given in Figure 4 S401 in the illustrated embodiment is described in detail and will not be described again here for the sake of brevity.

[0164] S504: Recalibrate the SAR sensor of the first electronic device.

[0165] The explanation of step S504 is given in Figure 4 S402 in the illustrated embodiment is described in detail and will not be described again here for the sake of brevity.

[0166] It should be understood that after step S502, that is, after the user adds a protective case to the first electronic device or replaces the protective case, the current reference value of the SAR sensor is no longer applicable, that is, the reference value of the SAR sensor is distorted, thereby causing the SAR sensor to identify whether the current scene is a Body SAR scene. The recognition condition is distorted, which will lead to misrecognition of the Body SAR scene; when the SAR sensor is recalibrated, since the recalibration process takes into account the impact of the user adding a protective case to the first electronic device or replacing the protective case into the reference value, the reference value of the SAR sensor returns to normal, and the recognition condition of the SAR sensor to identify whether the current scene is a Body SAR scene is also restored to a valid state, thereby avoiding the SAR sensor from misrecognizing the Body SAR scene.

[0167] In the embodiment of the present application, when the electronic device is in the power-on state, it can trigger the recalibration of the SAR sensor of the electronic device when it is detected that the electronic device is in certain specific scenes. In this way, if the reference value of the SAR sensor of the electronic device is distorted when the electronic device is in the power-on state (for example, the user installs a protective case or replaces the protective case, etc., causing the reference value of the SAR sensor to be distorted), it will be restored to the normal reference value through recalibration in a relatively short time, so that the SAR sensor can avoid misidentification of the Body SAR scene or can promptly correct the misidentification of the Body SAR scene by the SAR sensor, avoid the electronic device from suffering a power error drop due to misidentification of the Body SAR scene, and restore the communication performance of the electronic device to normal, thereby reducing the impact on the user's communication experience caused by misidentification of the Body SAR scene.

[0168] For example, Figure 6 FIG. 6 is a schematic diagram showing the functional modules of a sensor calibration device 600 provided in an embodiment of the present application. Figure 6 As shown, the device 600 includes:

[0169] The detection module 610 is used to detect whether the first electronic device is in a first scenario, wherein the first scenario includes any one of the following scenarios: the first electronic device is continuously in the Body SAR scenario for a time period greater than a first time period; the first electronic device is in the Body SAR scenario for a proportion greater than a first threshold value within a first time period; the first electronic device is in the Body SAR scenario and the high transmission power requirement scenario at the same time; the user using the first electronic device is in a sleep state; the current moment is the moment when the first electronic device periodically recalibrates the SAR sensor.

[0170] Among them, the Body SAR scenario refers to a scenario that needs to meet the Body SAR standard. In this Body SAR scenario, in order to meet the Body SAR standard, the transmit power of the electronic device will be reduced accordingly.

[0171] The first duration may be any duration determined according to user input, or may be any duration automatically determined by the system. For example, the first duration may be any duration between 5 hours and 12 hours.

[0172] Regarding the scenario "the first electronic device is continuously in the Body SAR scene for a time period greater than the first time period", in one example, taking the first time period as 6 hours, the first electronic device is continuously in the Body SAR scene from a first time point. When the first electronic device is continuously in the Body SAR scene for more than 6 hours, the detection module 610 determines that the first electronic device is detected to be in the first scene.

[0173] Among them, the first time period can be any time period determined according to user input, or it can be any time period automatically determined by the system. The first time period can be, for example, a time period of any length from 10 hours to 24 hours, for example, a time period of 16 hours.

[0174] Among them, the first threshold can be expressed as a fraction or a percentage. The first threshold can be a threshold determined according to user input, or a threshold automatically determined by the system. The first threshold can be, for example, any percentage between 60% and 100%, for example, 70%, 80% or 90%.

[0175] Regarding the scenario "the proportion of time that the first electronic device is in the Body SAR scene within the first time period is greater than the first threshold", in an example, taking the first time period as 24 hours and the first threshold as 80% as an example, when the proportion of time that the first electronic device is in the Body SAR scene within 24 hours is greater than 80%, the detection module 610 determines that the first electronic device is detected to be in the first scene.

[0176] It should be understood that: the proportion of the time that the first electronic device is in the Body SAR scene in the first time period is greater than the first threshold value, which means that the cumulative time that the first electronic device is in the Body SAR scene in the first time period is greater than the first threshold value. For example, the first electronic device is first in the Body SAR scene in the first time period, then exits the Body SAR scene, and then is in the Body SAR scene again until the end of the first time period. Then, the time that the first electronic device is in the Body SAR scene in the first time period is the sum of the time periods in the Body SAR scene twice.

[0177] Among them, regarding the scenario "the first electronic device is simultaneously in the Body SAR scenario and the high transmission power requirement scenario", the first electronic device is simultaneously in the Body SAR scenario and the high transmission power requirement scenario, which may mean that the first electronic device is currently in the Body SAR scenario, but in terms of the current usage status of the first electronic device, in order to meet the current usage requirements, the first electronic device should currently be in a high transmission power state and should not belong to the Body SAR scenario. That is to say, if the current usage status of the first electronic device requires high transmission power, but the first electronic device is currently in the Body SAR scenario, it is considered that the first electronic device is simultaneously in the Body SAR scenario and the high transmission power requirement scenario, that is, the detection module 610 determines that the first electronic device is detected to be in the first scenario. For example: when the current electronic device is running a game application (requiring high transmission power) and the first electronic device is currently in the Body SAR scenario, the detection module 610 determines that the first electronic device is detected to be in the first scene.

[0178] Among them, regarding the scenario "the user using the first electronic device is in a sleep state", in an example, the condition that the user is in a sleep state is determined based on the historical data of the user using the first electronic device, for example: according to the user's usage data or usage habits in recent months, it is determined that 13:00 to 14:00 noon every day, and from 22:00 evening to 7:00 the next morning are the time periods when the user is in a sleep state. Then, when it is detected that there is no user operation on the first electronic device, and the current time is between 13:00 and 14:00 noon or between 22:00 evening and 7:00 the next morning, the detection module 610 determines that the first electronic device is detected to be in the first scenario.

[0179] Among them, regarding the scene "the current moment is the moment for the first electronic device to recalibrate the SAR sensor on a scheduled basis", the moment for recalibrating the SAR sensor on a scheduled basis can be a scheduled moment preset by the user on the first electronic device, or a scheduled moment automatically determined by the system based on the user's usage habits. In one example, the user presets 5 a.m. every day on the first electronic device as the moment for recalibrating the SAR sensor on a scheduled basis. Then, when it is detected that the current moment is 5 a.m., the detection module 610 determines that the first electronic device is detected to be in the first scene; in another example, the system finds that the user basically does not use the first electronic device between 13:00 and 14:00 noon every day based on the user's usage habits of the first electronic device. Then, when it is detected that the current time is between 13:00 and 14:00 noon, the detection module 610 determines that the first electronic device is detected to be in the first scene.

[0180] The calibration module 620 is configured to recalibrate the SAR sensor of the first electronic device when it is detected that the first electronic device is in the first scene.

[0181] When the calibration module 620 recalibrates the SAR sensor of the first electronic device, the factors currently affecting the SAR sensor's recognition of the Body SAR scene are included in the reference value, so that the influence of irrelevant factors on the SAR sensor's recognition of the Body SAR scene can be eliminated.

[0182] It should also be understood that when the first electronic device is turned off and then turned on again, or when the first electronic device is restarted, the calibration module 620 will also recalibrate the SAR sensor of the first electronic device.

[0183] In the embodiment of the present application, when the electronic device is in the power-on state, it can trigger the recalibration of the SAR sensor of the electronic device when it is detected that the electronic device is in certain specific scenes. In this way, if the reference value of the SAR sensor of the electronic device is distorted when the electronic device is in the power-on state, it will be restored to the normal reference value through recalibration in a relatively short time, so that the SAR sensor can avoid misidentification of the Body SAR scene or can promptly correct the misidentification of the Body SAR scene by the SAR sensor, avoid the electronic device from suffering a power error drop due to misidentification of the Body SAR scene, and make the communication performance of the electronic device return to normal, thereby reducing the impact on the user's communication experience caused by misidentification of the Body SAR scene.

[0184] One or more of the modules or units described herein can be implemented by software, hardware or a combination of the two. When any of the above modules or units are implemented in software, the software exists in the form of computer program instructions and is stored in a memory, and a processor can be used to execute the program instructions and implement the above method flow. The processor may include but is not limited to at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller (MCU), or an artificial intelligence processor and other types of computing devices that run software, each computing device may include one or more cores for executing software instructions to perform operations or processing. The processor may be built into an SoC (system on chip) or an application specific integrated circuit (ASIC), or it may be an independent semiconductor chip. In addition to the core used to execute software instructions for operations or processing in the processor, necessary hardware accelerators may be further included, such as a field programmable gate array (FPGA), a PLD (programmable logic device), or a logic circuit that implements a dedicated logic operation.

[0185] When the modules or units described in this document are implemented in hardware, the hardware can be any one or any combination of a CPU, a microprocessor, a DSP, an MCU, an artificial intelligence processor, an ASIC, a SoC, an FPGA, a PLD, a dedicated digital circuit, a hardware accelerator, or a non-integrated discrete device, which can run the necessary software or be independent of the software to execute the above method flow.

[0186] When the modules or units described herein are implemented using software, they can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.

[0187] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0188] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0189] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0190] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0191] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0192] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0193] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for calibrating a sensor, characterized in that: The method comprises: It is detected that the first electronic device is in a first scene, wherein the first scene includes any one of the following five scenes: The duration for which the first electronic device is continuously in the body electromagnetic wave absorption ratio Body SAR scene is greater than the first duration, the duration for which the first electronic device is in the Body SAR scene within the first time period accounts for a duration greater than a first threshold, the first electronic device is simultaneously in the Body SAR scene and the high transmission power requirement scene, the user using the first electronic device is in a sleeping state, and the current moment is the moment for the first electronic device to periodically recalibrate the electromagnetic wave absorption ratio SAR sensor; A SAR sensor of the first electronic device is recalibrated, where the SAR sensor is used to identify the Body SAR scene.

2. The method according to claim 1, characterized in that: The first electronic device is in a powered-on state, and before detecting that the first electronic device is in the first scene, the method further includes: The first electronic device is changed from a bare-metal state to a state with a protective shell installed, or the protective shell installed on the first electronic device is changed from a first protective shell to a second protective shell, wherein the first protective shell and the second protective shell are different.

3. The method according to claim 2, characterized in that The first protective shell is different from the second protective shell and includes: The first protective shell and the second protective shell have different shapes, and / or the first protective shell and the second protective shell are made of different materials.

4. The method according to any one of claims 1 to 3, characterized in that The first electronic device is simultaneously in a Body SAR scenario and a high transmission power requirement scenario, including: The first electronic device is currently in a Body SAR scene, and a game application is running on the first electronic device.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Determine a time period during which a user using the first electronic device is in a sleeping state according to historical data of the user using the first electronic device; When it is detected that the current moment is in a time period in which the user using the first electronic device is in a sleeping state, it is determined that the user using the first electronic device is in a sleeping state.

6. The method according to any one of claims 1 to 5, characterized in that The recalibrating the SAR sensor of the first electronic device includes: The reference value of the SAR sensor of the first electronic device is recalibrated.

7. An electronic device, characterized in that: The electronic device comprises: A detection module is used to detect whether the electronic device is in a first scene, wherein the first scene includes any one of the following five scenes: The duration of the electronic device being continuously in the body electromagnetic wave absorption ratio Body SAR scene is greater than the first duration, the duration of the electronic device being in the Body SAR scene within the first time period accounts for a proportion greater than a first threshold, the electronic device is simultaneously in the Body SAR scene and the high transmission power demand scene, the user using the electronic device is in a sleeping state, and the current moment is the moment when the electronic device periodically recalibrates the electromagnetic wave absorption ratio SAR sensor; The calibration module is used to recalibrate the SAR sensor of the electronic device when it is detected that the electronic device is in a first scene, wherein the SAR sensor is used to identify the Body SAR scene.

8. The electronic device according to claim 7, characterized in that: The electronic device is in a powered-on state. Before the detection module detects whether the electronic device is in a first scenario, the electronic device is changed from a bare-metal state to a state with a protective case installed, or the protective case installed on the electronic device is changed from a first protective shell to a second protective shell, wherein the first protective shell and the second protective shell are different.

9. The electronic device according to claim 8, characterized in that: The first protective shell is different from the second protective shell and includes: The first protective shell and the second protective shell have different shapes, and / or the first protective shell and the second protective shell are made of different materials.

10. The electronic device according to any one of claims 7 to 9, characterized in that: The electronic device is in a Body SAR scenario and a high transmission power requirement scenario at the same time, including: The electronic device is currently in a Body SAR scene, and a game application is running on the electronic device.

11. The electronic device according to any one of claims 7 to 10, characterized in that: The electronic device further comprises: A determination module, configured to determine a time period during which a user using the electronic device is in a sleep state according to historical data of the user using the electronic device; The determining module is further configured to determine that the user using the electronic device is in a sleeping state when it is detected that the current moment is in a time period in which the user using the electronic device is in a sleeping state.

12. The electronic device according to any one of claims 7 to 11, characterized in that: The calibration module is specifically used for: The reference value of the SAR sensor of the electronic device is recalibrated.

13. An electronic device, characterized in that: include: one or more processors; one or more memories; and one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions, which, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 1 to 6.

14. A computer-readable storage medium, characterized in that: The storage medium stores a program or an instruction, and when the program or the instruction is executed, the method according to any one of claims 1 to 6 is implemented.

15. A chip, characterized in that: Instructions are stored in the chip, and when the instructions are executed, the method according to any one of claims 1 to 6 is implemented.