Control method, apparatus, and terminal device

By adjusting the operating mode of the capacitive sensor according to the sensor and business information of the terminal device, the problems of high power consumption and poor accuracy of capacitive sensors when detecting the approach or departure of human bodies are solved, and a balance between power consumption and accuracy is achieved in different scenarios.

WO2026045357A1PCT designated stage Publication Date: 2026-03-05HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/092693
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-30
Filing Date
2025-04-30
Publication Date
2026-03-05

AI Technical Summary

Technical Problem

Existing capacitive sensors suffer from high power consumption and poor detection accuracy when detecting the approach or departure of a human body, especially when the capacitance value fluctuates, which can easily cause a ping-pong effect.

Method used

By adjusting the operating mode of the capacitive sensor based on the sensor information and service information of the terminal device, a large duty cycle is used in scenarios where frequent detection of human approach or departure is required, while a small duty cycle is used in scenarios where infrequent detection is not required. This approach matches the scenario in which the device operates, reduces detection power consumption, and maintains detection accuracy.

Benefits of technology

While reducing the detection power consumption of capacitive sensors, the accuracy of detection results is improved, unnecessary communication processes are reduced, and power consumption of terminal devices is saved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025092693_05032026_PF_FP_ABST
    Figure CN2025092693_05032026_PF_FP_ABST
Patent Text Reader

Abstract

A control method, an apparatus, and a terminal device, relating to the technical field of terminals, and used for solving the problem in the prior art of high detection power consumption in the solution of using a capacitive sensor to detect a state in which a human body approaches or moves away from a terminal. The method comprises: on the basis of at least one of sensor information of a terminal device and service information of the terminal device, indicating a scenario where the terminal device is located; and on the basis of the scenario where the terminal device is located, controlling the capacitive sensor to adjust from a first operation mode to a second operation mode, the first operation mode and the second operation mode having different duty cycles. For example, in a scenario where frequent detection of human body proximity is required, an operation mode having a high duty cycle is employed to ensure the accuracy of a detection result, whereas in a scenario where the frequent detection of human body proximity is not required, an operation mode having a low duty cycle is employed to reduce the detection power consumption of the capacitive sensor. In this way, the accuracy of the detection result can be maintained while the detection power consumption of the capacitive sensor is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

A control method, apparatus and terminal equipment

[0001] Cross-reference to related applications

[0002] This application claims priority to Chinese Patent Application No. 202411215799.6, filed on August 30, 2024, entitled "A Control Method, Apparatus and Terminal Equipment", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of terminal technology, and in particular to a control method, apparatus and terminal equipment. Background Technology

[0004] Currently, capacitive sensors are mainly used in terminal products to assist devices in detecting the presence of a human body. Generally, a capacitive sensor collects capacitance values ​​from the terminal product at a fixed sampling frequency and reports these values ​​to a processor. The processor then uses these capacitance values ​​to determine if a human body is approaching. For example, a capacitance value above a threshold indicates a human body is approaching, while a capacitance value below the threshold indicates a human body is moving away. Clearly, this method requires the capacitive sensor to frequently report capacitance values ​​to the processor, resulting in significant power consumption in the terminal device.

[0005] To reduce the power consumption of terminal devices, the industry has provided a solution that involves setting the aforementioned threshold locally on the capacitive sensor. Each time the capacitive sensor detects a capacitance value, it doesn't report it to the processor. Instead, it compares the capacitance value to the locally stored threshold. If the capacitance value is greater than the threshold, the sensor reports the proximity of a person to the processing unit; otherwise, it doesn't report it. This solution reduces power consumption by decreasing the number of communications between the capacitive sensor and the processor. However, the capacitance value of the sensor itself is affected by the environment. When the capacitance value fluctuates around the threshold, the state determined by the sensor also fluctuates, creating a ping-pong effect between the states of a person moving away and approaching, thus reducing the accuracy of the detection results.

[0006] Therefore, in schemes that use capacitive sensors to detect the approach or departure of a human body, how to maintain detection accuracy while reducing detection power consumption is a technical problem that urgently needs to be solved. Summary of the Invention

[0007] This application provides a control method, apparatus, and terminal device to reduce the detection power consumption of schemes that use capacitive sensors to detect the approach or departure of a human body, while maintaining the accuracy of detection.

[0008] Firstly, this application provides a control method applied to a terminal device. The terminal device includes a capacitive sensor, which includes a first operating mode and a second operating mode, the first operating mode and the second operating mode having different duty cycles. This method can be executed by the terminal device or a module within the terminal device (such as a processor, chip, or chip system), and includes: indicating the scene in which the terminal device is located based on sensor information and / or service information of the terminal device; and controlling the capacitive sensor to adjust from the first operating mode to the second operating mode based on the scene in which the terminal device is located. The sensor information and / or service information of the terminal device can also be understood as at least one of the sensor information and service information of the terminal device.

[0009] Based on the above methods, the operating mode of the capacitive sensor can be adjusted according to the scenario in which the terminal device is located, so that the adjusted operating mode matches the scenario. For example, in scenarios where the terminal device needs to frequently detect the approach or departure of people, a large duty cycle operating mode can be used to ensure the accuracy of the status detection results. Conversely, in scenarios where the terminal device does not need to frequently detect the approach or departure of people, a small duty cycle operating mode can be used to save the detection power consumption of the capacitive sensor. In this way, in the scheme of using a capacitive sensor to detect the approach or departure of people, both the detection power consumption of the capacitive sensor and the accuracy of the status detection results can be maintained.

[0010] In one possible design, the capacitive sensor is a specific absorption ratio (SAR) sensor.

[0011] Based on the above design, the detection accuracy of the SAR sensor can be maintained while reducing the detection power consumption of the SAR sensor, thereby reducing close-range radiation in scenarios where the human body is near the device and improving the safety of the terminal device used by the human body.

[0012] In one possible design, the terminal device also includes an antenna device to which a capacitive sensor is coupled.

[0013] Based on the above design, the capacitance change of the coupled antenna device can be detected by a capacitive sensor, so as to identify the scene of the human body approaching or moving away in a timely manner, thereby reducing the power consumption when close to the body.

[0014] In one possible design, the sensor information of the terminal device includes one or more of the following: information collected by a capacitive sensor, information collected by a temperature sensor in the terminal device, and information collected by a touch sensor in the terminal device; the service information of the terminal device may include one or more of the following: the card insertion status of the terminal device, the transmission power of the antenna device connected to the capacitive sensor in the terminal device, and the information reflected by the reflection coefficient of the antenna device connected to the capacitive sensor in the terminal device.

[0015] In one possible design, the service information of the terminal device may include one or more of the following: the reference signal received power of the antenna device connected or coupled to the capacitive sensor in the terminal device, the service status of the terminal device, the transmit power of the antenna device connected or coupled to the capacitive sensor in the terminal device, and the information reflected by the reflection coefficient of the antenna device connected or coupled to the capacitive sensor in the terminal device.

[0016] Based on the above design, the operating mode of the capacitive sensor can be adaptively adjusted using information collected by the capacitive sensor in the terminal device. Alternatively, the operating mode of the capacitive sensor can be adjusted using information collected by other sensors in the terminal device or non-sensor information (i.e., business information). In this way, the control method can be adapted to multiple adjustment modes, thereby improving the flexibility of the control method.

[0017] In one example of the above design, the service state of the terminal device is related to the service execution of the antenna device coupled to the capacitive sensor.

[0018] Based on the above examples, the operating mode of the capacitive sensor can be adjusted according to the service status of the antenna device coupled to the capacitive sensor, so as to achieve the accuracy of the adjustment.

[0019] In one possible design, based on sensor information from the terminal device, the scene in which the terminal device is located is indicated. Specifically, this may include any one of the following indication methods A1 to indication method A3, or a combination of at least two indication methods:

[0020] Indication method A1 indicates whether the terminal device is in a scene sufficiently close to or sufficiently far from a human body, based on information collected by a capacitive sensor. For example, the capacitance parameters of an antenna device connected (or coupled) to the capacitive sensor can be determined based on the information collected by the sensor. If the capacitance parameter is greater than or equal to a first capacitance threshold, the terminal device is in a scene sufficiently close to a human body; if the capacitance parameter is less than a second capacitance threshold, the terminal device is in a scene sufficiently far from a human body. The second capacitance threshold is less than or equal to the first capacitance threshold. The setting of the first and second capacitance thresholds is related to the terminal device, the sensitivity of the capacitive sensor, or other information, etc., and is not specifically limited. The capacitance parameter can be the absolute capacitance value directly calculated from the information collected by the capacitive sensor, or it can be the capacitance change calculated from the absolute capacitance value and an initial capacitance value. The initial capacitance value refers to the capacitance value measured by the capacitive sensor when the antenna device is in free space. Based on this indication method, the operating mode of the capacitive sensor can be adjusted according to the distance between the human body and the terminal device.

[0021] Indication method A2 indicates whether the terminal device is in a scenario of stable temperature change or drastic temperature change, based on information collected by a temperature sensor in the terminal device. For example, the temperature parameters of the terminal device can be determined based on the information collected by the temperature sensor. If the temperature parameter is less than or equal to a first temperature threshold, the terminal device is in a scenario of stable temperature change; if the temperature parameter is greater than a second temperature threshold, the terminal device is in a scenario of drastic temperature change, where the second temperature threshold is greater than or equal to the first temperature threshold. Alternatively, the temperature parameters of the terminal device can be determined based on the information collected by the temperature sensor. If the temperature parameter is greater than or equal to a third temperature threshold and less than or equal to a fourth temperature threshold, the terminal device is in a scenario of stable temperature change; if the temperature parameter is less than a fifth temperature threshold or greater than a sixth temperature threshold, the terminal device is in a scenario of drastic temperature change, where the fifth temperature threshold is less than or equal to the third temperature threshold, the third temperature threshold is less than the fourth temperature threshold, and the fourth temperature threshold is less than or equal to the sixth temperature threshold. The setting of the first to sixth temperature thresholds is related to the terminal device, the sensitivity of the temperature sensor, or other information, etc., and is not specifically limited. The temperature parameter can be the absolute temperature value calculated directly from the information collected by the temperature sensor, or it can be the temperature change calculated from the collected information and a reference temperature value. The reference temperature value, also known as the initial temperature value, refers to the board temperature (or chip temperature, etc.) of the terminal device at the time of its manufacture. If it is the former, the temperature scenario can be indicated based on the first and second temperature thresholds mentioned above; if it is the latter, the temperature scenario can be indicated based on the third to sixth temperature thresholds mentioned above. Based on this indication method, the operating mode of the capacitive sensor can be adjusted according to the temperature conditions of the terminal device.

[0022] Indication method A3, based on information collected by the touch sensor in the terminal device, indicates whether the terminal device is in a scenario where the human body is sufficiently close or sufficiently far away. For example, it can determine whether the human body is touching the screen of the terminal device based on the information collected by the touch sensor. If the human body is touching the screen, it is determined that the human body is sufficiently close; if the human body is not touching the screen, it is determined that the human body is sufficiently far away. Based on this indication method, the operating mode of the capacitive sensor can be adjusted according to the distance between the human body and the terminal device.

[0023] In one possible design, based on the service information of the terminal device, the scenario in which the terminal device is located is indicated, which may specifically include any one of the following indication methods B1 to indication method B5 or a combination of at least two indication methods:

[0024] Indication method B1 indicates whether the terminal device is in a SIM card inserted or SIM card not inserted scenario based on the SIM card insertion status. Based on this indication method, the operating mode of the capacitive sensor can be adjusted according to the SIM card insertion status of the terminal device.

[0025] Indication method B2 indicates whether the terminal device is in a low-power or high-power scenario based on the transmission power of the antenna device connected (or coupled) to the capacitive sensor in the terminal device. For example, by acquiring the transmission power of the antenna device connected (or coupled) to the capacitive sensor in the terminal device, if the transmission power of the antenna device is less than or equal to a first power threshold, the terminal device is indicated to be in a low-power scenario; if the transmission power of the antenna device is greater than a second power threshold, the terminal device is indicated to be in a high-power scenario. The second power threshold being greater than or equal to the first power threshold, and the setting of the first and second power thresholds, are related to the terminal device, the antenna device, or other information, etc., and are not specifically limited. Based on this indication method, the operating mode of the capacitive sensor can be adjusted by combining the transmission power of the antenna device connected (or coupled) to the capacitive sensor.

[0026] Indication method B3 indicates whether the terminal device is in a scene where the human body is sufficiently close or sufficiently far away, based on the information reflected by the reflection coefficient of the antenna device connected (or coupled) to the capacitive sensor in the terminal device. Based on this indication method, the operating mode of the capacitive sensor can be adjusted according to the distance between the human body and the terminal device.

[0027] Indication method B4 obtains the reference signal received power of the antenna device connected or coupled to the capacitive sensor in the terminal device. If the reference signal received power is greater than or equal to a third power threshold, the terminal device is indicated to be in a first signal strength scenario (also known as a strong signal scenario). If the reference signal received power is less than a fourth power threshold, the terminal device is indicated to be in a second signal strength scenario (also known as a weak signal scenario). The third power threshold is greater than or equal to the fourth power threshold. The setting of the third and fourth power thresholds is related to the terminal device, the antenna device, or other information, and is not limited. Based on this indication method, the operating mode of the capacitive sensor can be adjusted according to the current strength of the received signal from the antenna device connected or coupled to the capacitive sensor.

[0028] Indication method B5 indicates whether the terminal device is in a service-oriented or non-service-oriented scenario based on the service status of the antenna device connected or coupled to the capacitive sensor in the terminal device. For example, if the antenna device is performing a service, the terminal device is in a service-oriented scenario; if the antenna device is not performing a service, the terminal device is in a non-service-oriented scenario. Based on this indication method, the operating mode of the capacitive sensor can be adjusted according to the service usage of the antenna device connected or coupled to the capacitive sensor.

[0029] In one example of the above indication method B2, the first power threshold is less than the transmit power of the antenna device in a scenario where the human body is sufficiently close.

[0030] Based on the above example, by setting the first power threshold to be less than the transmission power of the antenna device in a scenario where the human body is sufficiently close, low-power scenarios can be accurately identified. The transmission power of the low-power scenario is already lower than the transmission power in a scenario where the human body is sufficiently close. Therefore, the capacitive sensor does not need to frequently detect whether it has entered a scenario where the human body is sufficiently close. The capacitive sensor can adopt a low duty cycle working mode to reduce power consumption.

[0031] In one possible design, based on the scenario in which the terminal device is located, the capacitive sensor is controlled to switch from a first operating mode to a second operating mode. Specifically, when the terminal device changes from the first scenario to the second scenario, the capacitive sensor is controlled to switch from the first operating mode to the second operating mode.

[0032] Based on the above design, the working mode of the capacitive sensor can be adjusted only when the scene changes, while when the scene does not change, no adjustment is needed, such as no need to send control information to the capacitive sensor. This can reduce unnecessary communication processes and save communication consumption.

[0033] In one example of the above design, the duty cycle of the first operating mode is greater than that of the second operating mode. In this case, the terminal device switches from the first scenario to the second scenario, which may specifically include any one or a combination of at least two of the following: C1 to C6.

[0034] Content C1 describes a scenario where the terminal device changes from a scene where the human body is sufficiently far away to a scene where the human body is sufficiently close. When the terminal device is in a scene where the human body is sufficiently close, the capacitance of the capacitive sensor does not change significantly. Therefore, the capacitive sensor does not need to frequently detect whether it has entered a scene where the human body is sufficiently close. Thus, by allowing the capacitive sensor to operate in a low duty cycle mode in a scene where the human body is sufficiently close, detection power consumption can be reduced.

[0035] Content C2 describes the transition of the terminal device from a scenario with drastic temperature changes to one with stable temperature changes. When the terminal device is in a scenario with stable temperature changes, the external temperature changes have little impact on the capacitance value of the capacitive sensor. The capacitance value of the capacitive sensor is relatively stable, and the capacitive sensor does not need to frequently detect the capacitance value. Therefore, by using a low duty cycle operating mode for the capacitive sensor in a scenario with stable temperature changes, the detection power consumption can be reduced.

[0036] Content C3: The terminal device changes from a SIM card inserted scenario to a SIM card not inserted scenario. When the terminal device is in a SIM card not inserted scenario, the antenna function cannot be used, the antenna device itself does not emit signals, and the capacitive sensor does not need to frequently detect whether a human body is close enough. Therefore, by allowing the capacitive sensor to operate in a low duty cycle mode in the SIM card not inserted scenario, the detection power consumption can be reduced.

[0037] Content C4: The terminal device switches from a high-power scenario to a low-power scenario. When the terminal device is in a low-power scenario, the transmission power of the antenna device is lower than the transmission power when the human body is sufficiently close. The capacitive sensor does not need to frequently detect whether it has entered a scenario where the human body is sufficiently close. Therefore, by allowing the capacitive sensor to operate in a low-duty-cycle mode in a low-power scenario, the detection power consumption can be reduced.

[0038] Content C5 describes the terminal device switching from a second signal strength scenario to a first signal strength scenario. Here, the first signal strength scenario can be understood as a strong signal scenario, and the second signal strength scenario as a weak signal scenario. When the terminal device is in the first signal strength scenario, to save power, the antenna device connected or coupled to the capacitive sensor will transmit signals at a relatively low power. This power may already be lower than the transmission power in a scenario where a person is sufficiently close. The capacitive sensor no longer needs to frequently detect whether it has entered a scenario where a person is sufficiently close. Therefore, by allowing the capacitive sensor to operate in a low duty cycle mode in the first signal strength scenario, detection power consumption can be reduced.

[0039] Content C6: The terminal device transitions from a service-oriented scenario to a non-service-oriented scenario. When the terminal device is in a non-service-oriented scenario, it indicates that the antenna device connected or coupled to the capacitive sensor is not currently performing any service. The antenna device is likely not being used by the user, and the capacitive sensor does not need to frequently detect whether a person is sufficiently close to it. Therefore, by allowing the capacitive sensor to operate in a low duty cycle mode in a non-service-oriented scenario, detection power consumption can be reduced.

[0040] In one example of the above design, the duty cycle of the first working mode is less than the duty cycle of the second working mode. The terminal device switches from the first scenario to the second scenario, which may specifically include any one or a combination of at least two of the following: D1 to D6.

[0041] Content D1: The terminal device changes from a scenario where it is sufficiently close to the human body to a scenario where it is sufficiently far away from the human body. When the terminal device is in a scenario where it is sufficiently far away from the human body, the capacitive sensor needs to frequently detect whether it has entered a scenario where it is sufficiently close to the human body in order to reduce close-range radiation. Therefore, by allowing the capacitive sensor to operate in a high duty cycle mode in a scenario where it is sufficiently far away from the human body, it can detect whether it has entered a scenario where it is sufficiently close to the human body in a timely and accurate manner, so as to maintain the accuracy of detection.

[0042] Content D2 describes a scenario where the terminal device transitions from a stable temperature environment to a drastically changing temperature environment. When the terminal device is in such an environment, the drastic temperature changes can cause significant variations in the capacitance value of a capacitive sensor. Since capacitive sensors need to frequently check their capacitance, using a high duty cycle for the capacitive sensor in such a rapidly changing environment allows for timely and accurate detection of whether a person is sufficiently close, thus maintaining detection accuracy.

[0043] Content D3 describes the transition of the terminal device from a non-SIM card inserted scenario to a SIM card inserted scenario. When the terminal device is in a SIM card inserted scenario, the antenna function can be activated, and the antenna device will emit signals. The capacitive sensor needs to frequently detect whether it has entered a scenario close enough to the human body to reduce close-range radiation. Therefore, by using a high duty cycle operating mode for the capacitive sensor in the SIM card inserted scenario, it is possible to detect whether it has entered a scenario close to the human body in a timely and accurate manner to maintain the accuracy of detection.

[0044] Content D4 discusses the transition of terminal devices from low-power to high-power scenarios. When a terminal device is in a high-power scenario, the transmission power of the antenna device may be higher than that in a scenario where the human body is close. Capacitive sensors need to frequently detect whether they have entered a scenario where the human body is sufficiently close to them in order to reduce close-range radiation. Therefore, by using a high duty cycle operating mode for capacitive sensors in high-power scenarios, it is possible to detect whether the human body has entered a scenario where the human body is sufficiently close to them in a timely and accurate manner, thereby maintaining the accuracy of detection.

[0045] Content D5 describes the terminal device switching from a first signal strength scenario to a second signal strength scenario. Here, the first signal strength scenario can be understood as a strong signal scenario, and the second signal strength scenario as a weak signal scenario. When the terminal device is in the second signal strength scenario, to ensure the transmitted signal can be successfully received by the other device, the antenna device connected or coupled to the capacitive sensor will transmit the signal at a relatively high power. This power is likely higher than the transmission power in a scenario where the human body is sufficiently close. The capacitive sensor needs to frequently detect whether it has entered a scenario where the human body is sufficiently close to it to reduce close-range radiation. Therefore, by using a high duty cycle operating mode for the capacitive sensor in the second signal strength scenario, it can detect whether it has entered a scenario where the human body is sufficiently close to it in a timely and accurate manner, thus maintaining the accuracy of the detection.

[0046] Content D6 describes the transition of a terminal device from a non-service mode to a service mode. When a terminal device is in a service mode, it means that the antenna device connected to or coupled to the capacitive sensor is currently performing a service, and is being used by the user. The capacitive sensor needs to frequently detect whether it has entered a scene close enough to the human body to reduce close-range radiation. Therefore, by using a high duty cycle operating mode for the capacitive sensor in a service mode, it is possible to detect whether it has entered a scene close enough to the human body in a timely and accurate manner, thus maintaining detection accuracy.

[0047] In one possible design, the first operating mode has a first duty cycle, the second operating mode has a second duty cycle, and the ratio of the larger duty cycle to the smaller duty cycle is greater than or equal to 4.

[0048] Optionally, the ratio of the larger duty cycle to the smaller duty cycle can be set between 4 and 12 (inclusive), for example, between 4 and 6, or between 6 and 8, or between 8 and 10, or between 10 and 12. The duty cycle ratio can be an integer or a non-integer, which are not listed here.

[0049] The setting of the ratio of the larger duty cycle to the smaller duty cycle is related to the power reduction benefit and the measurement accuracy of the capacitive sensor. The larger the ratio, the better the power reduction effect (or benefit), while the smaller the ratio, the higher the measurement accuracy of the capacitive sensor. Based on this, in one example, a balance can be struck between the power reduction benefit and the measurement accuracy of the capacitive sensor to set the ratio of the larger duty cycle to the smaller duty cycle. For example, it can be set to a slightly intermediate value, such as between 6 and 7, or between 7 and 8, or between 8 and 9, or between 9 and 10, etc.

[0050] Based on the above design, the duty cycle of the high duty cycle mode will be 4 times or more than 4 times that of the low duty cycle mode. If the duty cycle is adjusted by adjusting the duration of each acquisition cycle, the duration of each acquisition cycle of the high duty cycle mode will be more than 4 times that of the low duty cycle mode. For example, if information was originally acquired once every 50ms, it will be acquired once every 200ms after adjustment. Therefore, the acquisition cost of the capacitive sensor is greatly reduced, and the power consumption of the terminal device is significantly reduced.

[0051] Secondly, this application provides a control method applied to a terminal device. The terminal device includes a capacitive sensor, which includes a first operating mode and a second operating mode, wherein the duty cycle of the first operating mode is greater than the duty cycle of the second operating mode. The method includes: instructing the terminal device to switch from a scene where the human body is sufficiently far away to a scene where the human body is sufficiently close, based on information collected by the capacitive sensor, and controlling the capacitive sensor to adjust from the first operating mode to the second operating mode.

[0052] In one possible design, the method further includes: instructing the terminal device to switch from a scene where the human body is sufficiently close to a scene where the human body is sufficiently far away, based on information collected by the capacitive sensor, and controlling the capacitive sensor to adjust from a second operating mode to a first operating mode.

[0053] In one possible design, the capacitive sensor also includes a third operating mode, the duty cycle of which is less than that of the first operating mode. The method further includes: instructing the terminal device to switch from a high-power scenario to a low-power scenario based on the transmission power of the antenna device connected (linked or coupled) to the capacitive sensor in the terminal device, and controlling the capacitive sensor to adjust from the first operating mode to the third operating mode.

[0054] In a further possible design, the method also includes: instructing the terminal device to switch from a low-power scenario to a high-power scenario based on the transmit power of the antenna device connected (linked or coupled) to the capacitive sensor in the terminal device, and controlling the capacitive sensor to adjust from a third operating mode to a first operating mode.

[0055] In one possible design, the capacitive sensor also includes a fourth operating mode, the duty cycle of which is less than that of the first operating mode. The method further includes: based on information collected by a temperature sensor in the terminal device, instructing the terminal device to switch from a scenario of drastic temperature changes to a scenario of stable temperature changes, and controlling the capacitive sensor to adjust from the first operating mode to the fourth operating mode.

[0056] In a further possible design, the method also includes: based on information collected by the temperature sensor in the terminal device, instructing the terminal device to switch from a scenario of stable temperature change to a scenario of drastic temperature change, and controlling the capacitive sensor to adjust from a fourth operating mode to a first operating mode.

[0057] In one possible design, the capacitive sensor also includes a fifth operating mode, the duty cycle of which is less than that of the first operating mode. The method further includes: instructing the terminal device to switch from a card-inserted scenario to a card-free scenario based on the card insertion status of the terminal device, and controlling the capacitive sensor to adjust from the first operating mode to the fifth operating mode.

[0058] In a further possible design, the method also includes: instructing the terminal device to switch from a non-card-inserted scenario to a card-inserted scenario based on the card insertion status of the terminal device, and controlling the capacitive sensor to adjust from the fifth working mode to the first working mode.

[0059] In one possible design, the capacitive sensor further includes a sixth operating mode, the duty cycle of which is less than that of the first operating mode. The method further includes: instructing the terminal device to switch from a second signal strength scenario to a first signal strength scenario based on the reference signal received power of the antenna device connected or coupled to the capacitive sensor in the terminal device, and controlling the capacitive sensor to adjust from the first operating mode to the sixth operating mode.

[0060] In a further possible design, the method also includes: instructing the terminal device to switch from a first signal strength scenario to a second signal strength scenario based on the reference signal received power of the antenna device coupled to the capacitive sensor in the terminal device, and controlling the capacitive sensor to adjust from a sixth operating mode to a first operating mode.

[0061] In one possible design, the capacitive sensor further includes a seventh operating mode, the duty cycle of which is less than that of the first operating mode; the method further includes: according to the service status of the antenna device connected or coupled to the capacitive sensor in the terminal device, instructing the terminal device to switch from a service mode scenario to a non-service mode scenario, and controlling the capacitive sensor to adjust from the first operating mode to the seventh operating mode.

[0062] In a further possible design, the method may also include: instructing the terminal device to switch from a non-service mode to a service mode based on the service status of the antenna device connected or coupled to the capacitive sensor in the terminal device, and controlling the capacitive sensor to adjust from the seventh operating mode to the first operating mode.

[0063] In one possible design, the method further includes: instructing the terminal device to switch from a scene where the human body is sufficiently far away to a scene where the human body is sufficiently close, based on information collected by a touch sensor in the terminal device and / or information reflected by the reflection coefficient of an antenna device connected or coupled to a capacitive sensor in the terminal device, such as information collected by a touch sensor in the terminal device and information reflected by the reflection coefficient of an antenna device connected or coupled to a capacitive sensor in the terminal device, and controlling the capacitive sensor to adjust from a first operating mode to a second operating mode.

[0064] In one possible design, the method further includes: instructing the terminal device to switch from a scene where the human body is sufficiently close to a scene where the human body is sufficiently far away, based on information collected by a touch sensor in the terminal device and / or information reflected by the reflection coefficient of an antenna device connected or coupled to a capacitive sensor in the terminal device, such as information collected by a touch sensor in the terminal device and information reflected by the reflection coefficient of an antenna device connected or coupled to a capacitive sensor in the terminal device, and controlling the capacitive sensor to adjust from a second operating mode to a first operating mode.

[0065] In one possible design, the second, third, fourth, fifth, sixth, and seventh operating modes have the same duty cycle or different duty cycles.

[0066] Thirdly, this application provides a control device, which can be the aforementioned terminal device, or a module (such as a processor, chip, or chip system) within the terminal device. The control device may include units or modules for performing the steps of the first aspect or any of the designs in the first aspect, or units or modules for performing the steps of the second aspect or any of the designs in the second aspect. For example, the control device may include a transceiver unit and a processing unit; the transceiver unit is used to perform transceiver operations, such as operations related to receiving and sending, and the processing unit is used to perform processing operations.

[0067] For example, when the transceiver unit and the processing unit are used to perform the various steps of the first aspect or any of the designs in the first aspect, the transceiver unit can interact with the sensors of the terminal device and / or the business APP of the terminal device to obtain the sensor information and / or the business information of the terminal device. For example, if at least one of the sensor information and the business information of the terminal device is obtained, the processing unit can indicate the scene in which the terminal device is located based on the sensor information and / or the business information of the terminal device, and control the capacitive sensor to adjust from the first working mode to the second working mode based on the scene in which the terminal device is located.

[0068] For example, when the transceiver unit and the processing unit are used to perform the various steps of the design in the second aspect or any of the second aspects above, the transceiver unit can interact with the capacitive sensor of the terminal device to obtain the information collected by the capacitive sensor. The processing unit can instruct the terminal device to switch from a scene where the human body is far enough away to a scene where the human body is close enough based on the information collected by the capacitive sensor, and control the capacitive sensor to adjust from the first working mode to the second working mode.

[0069] In one possible design, the control device is a processing chip, the processing unit can be one or more processors or processor cores, and the transceiver unit can be the input / output circuit, input / output interface or antenna port of the processing chip.

[0070] In another possible design, the transceiver unit can be a transmitter and a receiver, or the transceiver unit can be a transmitter and a receiver.

[0071] Fourthly, this application provides a control device, which can be the aforementioned terminal device, or a module (such as a processor, chip, or chip system) within the terminal device. The control device may include a processor, and optionally, may also include a memory. The memory is used to store program instructions; the processor can read the program instructions from the memory, causing the control device to execute the method provided in the first aspect or any of the designs in the first aspect, or to execute the method provided in the second aspect or any of the designs in the second aspect.

[0072] In one possible design, there are one or more processors and one or more memories.

[0073] In one possible design, the memory can be integrated with the processor, or the memory can be set up separately from the processor.

[0074] In one possible design, the control device may further include a transceiver. The transceiver is used to receive and transmit signals; the processor is used to execute program instructions in response to signals received by the transceiver, causing the control device to perform the method provided by the first aspect or any of the designs in the first aspect, or to perform the method provided by the second aspect or any of the designs in the second aspect.

[0075] In one possible design, the transceiver may include a transmitter and a receiver.

[0076] Fifthly, this application provides a control device, which can be the aforementioned terminal device, or a module (such as a processor, chip, or chip system) within the terminal device. The control device may include a processor, and optionally, a communication interface coupled to the processor. Optionally, it may also include a memory coupled to the processor. The processor can read program instructions from the memory, invoke the communication interface to communicate with other devices, and execute the methods provided in the first aspect or any of the designs in the first aspect, or execute the methods provided in the second aspect or any of the designs in the second aspect.

[0077] In one possible design, the communication interface can be a transceiver, or an input / output interface. Optionally, the transceiver can be a transceiver circuit. Optionally, the input / output interface can be an input / output circuit.

[0078] In another possible design, when the control device is a chip or chip system, the communication interface can be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip or chip system. The processor can also be manifested as a processing circuit or logic circuit.

[0079] Sixthly, this application provides a control device, which includes a processor and may further include a storage medium storing instructions. When executed by the processor, the instructions are used to implement the method provided in the first aspect or any of the designs in the first aspect, or to implement the method provided in the second aspect or any of the designs in the second aspect. The control device may be a chip system. The chip system may be composed of chips or may include chips and other discrete devices.

[0080] In a seventh aspect, this application provides a control system, including a control device and a capacitive sensor, wherein the control device and the capacitive sensor are connected or coupled, and the control device is used to execute the method provided in the first aspect or any of the designs in the first aspect, or to execute the method provided in the second aspect or any of the designs in the second aspect, to control the operating mode of the capacitive sensor; the capacitive sensor is used to collect information using a corresponding operating mode according to the control operation of the control device.

[0081] In one possible design, the control system further includes an antenna device connected or coupled to a capacitive sensor and a control device, respectively; the capacitive sensor is specifically used to collect information from the antenna device; the control device is also used to reduce the transmission frequency of the antenna device if it is determined, based on the information collected by the capacitive sensor, that a human body is sufficiently close to the antenna device, and to restore the transmission frequency of the antenna device if it is determined, based on the information collected by the capacitive sensor, that a human body is sufficiently far away from the antenna device.

[0082] In one possible design, the terminal device may also include one or more of the following sensors: a touch sensor and a temperature sensor.

[0083] Eighthly, this application provides a terminal device that includes the control device provided in any one of the third to sixth aspects above, or the control system provided in the seventh aspect above.

[0084] Ninthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a computer, causes the computer to perform the method provided in the first aspect or any of the designs in the first aspect, or to perform the method provided in the second aspect or any of the designs in the second aspect. Optionally, the computer may be a terminal device.

[0085] In a tenth aspect, this application provides a computer program product that, when run on a computer, causes the computer to perform the method provided in the first aspect or any of the designs in the first aspect, or to perform the method provided in the second aspect or any of the designs in the second aspect. Optionally, the computer may be a terminal device.

[0086] Eleventhly, this application provides a chip for reading a computer program stored in a memory and executing the method provided in the first aspect or any design in the first aspect, or executing the method provided in the second aspect or any design in the second aspect. Optionally, the chip may include a processor coupled to the memory for reading the computer program stored in the memory and implementing the method provided in the first aspect or any design in the first aspect, or implementing the method provided in the second aspect or any design in the second aspect. Optionally, the chip may also include components such as a memory, a communication interface, and a power supply module. The memory is used to store the computer program; the communication interface is used to receive and send data; and the power supply unit is used to supply power to the processor.

[0087] In a twelfth aspect, this application provides a chip system including a processor for supporting a computer to implement the methods provided by the first aspect or any design in the first aspect above, or supporting a computer to implement the methods provided by the second aspect or any design in the second aspect above.

[0088] In one possible design, the chip system also includes memory for storing the computer's necessary programs and data. The chip system can consist of chips or include chips and other discrete components.

[0089] The technical effects that can be achieved in the second to twelfth aspects mentioned above can be referred to the description of the beneficial effects in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0090] Figure 1a illustrates a schematic diagram of a duty cycle provided in this application;

[0091] Figure 1b illustrates an exemplary method for reducing the duty cycle provided in this application;

[0092] Figure 1c illustrates an exemplary schematic diagram of another method for reducing the duty cycle provided in this application;

[0093] Figure 1d illustrates an exemplary schematic diagram of a method for reducing the duty cycle provided in this application;

[0094] Figure 2a illustrates an exemplary usage scenario of a terminal device provided in this application;

[0095] Figure 2b illustrates an exemplary usage scenario of another terminal device provided in this application;

[0096] Figure 2c illustrates an exemplary usage scenario of another terminal device provided in this application;

[0097] Figure 3 illustrates a schematic diagram of the hardware structure of a possible terminal device provided in this application;

[0098] Figure 4 illustrates an exemplary architecture diagram of a possible control system provided in this application;

[0099] Figure 5 illustrates a possible flowchart of a control method provided in this application;

[0100] Figure 6 illustrates an interactive flow diagram of a control method provided in Implementation Scheme 1;

[0101] Figure 7 illustrates an exemplary connection method between a Sensor Hub and a SAR sensor provided in Implementation Scheme 1.

[0102] Figure 8 illustrates an interactive flow diagram of a control method provided in Implementation Scheme 2;

[0103] Figure 9 illustrates an interactive flow diagram of a control method provided in Implementation Scheme 3;

[0104] Figure 10 illustrates an interactive flow diagram of a control method provided in Implementation Scheme 4;

[0105] Figure 11 illustrates an interactive flow diagram of a control method provided in Implementation Scheme 5;

[0106] Figure 12 illustrates an interactive flow diagram of a control method provided in Implementation Scheme Six;

[0107] Figure 13 illustrates an interactive flow diagram of a control method provided in Implementation Scheme 7;

[0108] Figure 14 illustrates an interactive flow diagram of a control method provided in Implementation Scheme 8;

[0109] Figure 15 illustrates an interactive flow diagram of a control method provided in Implementation Scheme Nine;

[0110] Figure 16 illustrates an interactive flow diagram of a control method provided in Implementation Scheme 10;

[0111] Figure 17 illustrates a schematic diagram of the structure of a control device provided in this application;

[0112] Figure 18 illustrates a schematic diagram of another control device provided in this application. Detailed Implementation

[0113] The following is an introduction to the terms and nouns used in this application.

[0114] (1) Duty cycle.

[0115] Duty cycle refers to the proportion of the on-time to the total time within a pulse cycle. For example, referring to Figure 1a, assuming the total duration of a pulse cycle is T2 and the on-time is T1, the duty cycle satisfies the following formula (1.1):

[0116] Where D is the duty cycle.

[0117] (2) Working method.

[0118] This application relates to various operating modes of capacitive sensors, each with a different duty cycle. Different duty cycles can be achieved through one or more of the following methods: 1. Different pulse period durations; 2. Different energized periods within the pulse period; 3. Different de-energized periods within the pulse period. Alternatively, other methods may also be used.

[0119] For example, referring to Figures 1b, 1c, and 1d, and combining them with Figure 1a above, three ways to reduce the duty cycle are shown. Figure 1b shows reducing the duty cycle by increasing the duration of each pulse cycle. For example, if the duration of one pulse cycle increases from T2 in Figure 1a to T3 in Figure 1b, the denominator in the above formula (1.1) becomes smaller, and therefore, the duty cycle D increases. Figure 1c shows reducing the duty cycle by decreasing the duration of the energizing time within each pulse cycle. For example, if the duration of the energizing time within one pulse cycle decreases from T1 in Figure 1a to T4 in Figure 1c, the numerator in the above formula (1.1) becomes smaller, and therefore, the duty cycle D increases. Figure 1d shows how to reduce the duty cycle by increasing the duration of each pulse cycle and decreasing the duration of the energizing time within each pulse cycle. For example, the duration of a pulse cycle is increased from T2 in Figure 1a to T3 in Figure 1b, and the duration of the energizing time within the pulse cycle is decreased from T1 in Figure 1a to T4 in Figure 1c. The denominator in the above formula (1.1) becomes smaller and the numerator becomes larger. Therefore, the duty cycle D becomes larger.

[0120] Typically, a capacitive sensor acquires one data point within one pulse cycle. Compared to the operating mode shown in Figure 1a, the duration of one pulse cycle is longer in the operating modes shown in Figures 1b and 1d. Therefore, the time it takes for the capacitive sensor to acquire a capacitance value is longer, resulting in a lower acquisition frequency and consequently lower power consumption. While the operating mode in Figure 1c maintains the same pulse cycle duration, the power consumption of the capacitive sensor is also reduced due to the shorter power-on time. In other words, a lower duty cycle operating mode consumes less power than a higher duty cycle operating mode.

[0121] (3) Scenes where the human body is close enough and scenes where the human body is far enough away.

[0122] In one embodiment of this application, "sufficiently close" and "sufficiently far" of a human body can be understood as referring to the distance between the human body and the antenna device. "Sufficiently close" can be understood as the human body touching the radiator of the antenna device, or the human body being within a first distance (including the first distance) of the radiator. The first distance can be set according to actual needs; for example, the first distance can be 5mm (or 1mm, or 2mm, or 3mm, or 4mm), or the first distance can be 10mm (or 9mm, or 8mm, or 7mm, or 6mm), etc., and can be specifically determined according to the actual design.

[0123] Similarly, a scenario where the human body is sufficiently far away can be understood as the human body being at a second distance from the radiator, where the second distance is greater than or equal to the first distance. For example, the second distance could be 5mm (or 6mm, or 7mm, or 8mm, or 9mm), or 10mm (or 11mm, or 12mm, or 13mm, or 14mm), or 15mm (or 16mm, or 17mm, or 18mm, or 19mm, etc.), etc. The specific distance can be determined according to the actual design.

[0124] In one embodiment of this application, "human body sufficiently close" and "human body sufficiently far away" can be understood as referring to the distance of the human body relative to a touch sensor, proximity sensor, proximity light sensor, or similar sensor on the screen. For example, if it is a touch sensor on the screen, "human body sufficiently close" can be understood as the human body touching the screen, and "human body sufficiently far away" can be understood as the human body not touching the screen. If it is a proximity sensor or proximity light sensor, "human body sufficiently close" can be understood as the human body touching the sensor or the distance detected by the sensor to the human body being within a first distance, including the first distance; "human body sufficiently far away" can be understood as the human body not touching the sensor or the distance detected by the sensor to the human body being beyond a second distance, where the second distance is greater than or equal to the first distance.

[0125] With the rapid development of society, terminal devices such as mobile phones are becoming increasingly widespread, and their functions are becoming more and more powerful. These functions include, but are not limited to, communication, processing, storage, navigation, entertainment, and query functions. As terminal devices become more powerful, users are increasingly using them in close proximity to their bodies. For example, as shown in Figure 2a, users can use the navigation function of their terminal devices while walking, following the navigation prompts to their destination. In other scenarios, as shown in Figure 2b, users can use the entertainment function of their terminal devices to play games or watch videos while traveling by car. Of course, there are also scenarios where they are not used close to the body; for example, as shown in Figure 2c, users can also attach their terminal devices to bicycles or cars for navigation.

[0126] Compared to non-intimate use scenarios, when a user uses a terminal device close to their body, the device emits radiation. To reduce this close-contact radiation, a "human proximity detection" function needs to be implemented in the terminal device. This function primarily utilizes a capacitive sensor within the terminal device. The capacitive sensor can be connected to the antenna of the terminal device to detect changes in the antenna's capacitance. When the capacitance change exceeds a set value, it indicates a human presence. In this state, the terminal device can reduce the radio frequency transmission power of the antenna to minimize the impact of electromagnetic radiation on the human body and meet SAR standards. Conversely, when the capacitance change no longer exceeds the set value, it indicates a human presence has moved away, and the terminal device restores the radio frequency transmission power of the antenna to restore its original communication performance.

[0127] However, traditional capacitive sensors typically operate continuously with a fixed duty cycle, resulting in relatively high power consumption. To reduce power consumption, as described in the background section, one solution is to decrease the number of interactions between the capacitive sensor and the processor. However, this approach may lead to false state determinations, compromising the accuracy of state detection. Alternatively, some solutions reduce power consumption by extending the capacitive sensor's duty cycle, for example, increasing it from 50ms to 500ms. While this method does reduce power consumption, it may fail to detect state changes in a timely manner, thus also compromising the accuracy of state detection.

[0128] In view of this, this application provides a control method that comprehensively determines the operating mode of a capacitive sensor based on the scenario in which the terminal device is located. If the scenario does not require frequent detection of state changes, the capacitive sensor can be adjusted to a low duty cycle mode to save detection power consumption. Conversely, if the scenario requires frequent detection of state changes, the capacitive sensor can be adjusted to a high duty cycle mode to improve the accuracy of state detection. This control method ensures both high state detection accuracy and reduced power consumption of the terminal device.

[0129] It should be noted that this application only uses a capacitive sensor to reduce close-contact radiation as an example to illustrate the solution, but the provided control method can also be applied to other application scenarios that require capacitive sensors. For example, it can also be applied to door lock systems, where the capacitive sensor is not used to reduce close-contact radiation but for touch sensing, and the capacitive sensor is coupled to a flexible printed circuit (FPC). In this application scenario, the current scenario of the door lock system can be identified based on at least one of the sensor information and business information from the flexible circuit board, and the operating mode of the capacitive sensor can be adjusted according to the current scenario. For example, a small duty cycle can be used when a person is approaching to reduce power consumption, and a large duty cycle can be used when a person is moving away to accurately detect the approach of a person and thus respond to the user's touch operation in a timely manner. Alternatively, there may be other application scenarios.

[0130] It should be understood that any solution that can adjust the working mode of the capacitive sensor according to the current scene of the terminal device is within the scope of protection of this application, and this application does not make any specific limitations on it.

[0131] The control method in this application can be applied to terminal devices, which can be any electronic device with capacitive sensors, such as mobile phones, foldable phones, tablets, wearable devices (e.g., watches, bracelets, etc.), headphones, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), or smart home devices (e.g., smart TVs, etc.). It is understood that this application does not limit the specific type of terminal device.

[0132] Figure 3 illustrates a possible hardware structure diagram of a terminal device. The terminal device 300 includes components such as: a radio frequency (RF) circuit 310, a power supply 320, a processor 330, a memory 340, an input unit 350, a display unit 360, an audio circuit 370, a communication interface 380, a wireless fidelity (Wi-Fi) module 390, and at least one sensor 391. It is understood that the hardware structure of the terminal device 300 shown in Figure 3 does not constitute a limitation on the terminal device 300. The terminal device 300 may include more or fewer components than shown, may combine two or more components, or may have different component configurations. The various components shown in Figure 3 can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits (ASICs).

[0133] The following section, with reference to Figure 3, provides a detailed description of each component of the terminal device 300:

[0134] The RF circuit 310 can be used for receiving and sending data during communication or calls. The RF circuit 310 can also communicate with other devices via wireless communication networks. Specifically, after receiving downlink data from a base station (such as a terrestrial base station, satellite base station, etc.), the RF circuit 310 sends it to the processor 330 for processing; additionally, it sends uplink data to be transmitted to the base station.

[0135] Optionally, the RF circuit 310 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. The antenna typically includes multiple components, including, but not limited to, cellular antennas, Bluetooth antennas, Wi-Fi / BT antennas, GPS antennas, and near field communication (NFC) antennas.

[0136] Wi-Fi technology is a short-range wireless transmission technology. Terminal device 300 can connect to an access point (AP) via Wi-Fi module 390, thereby enabling access to the data network. Wi-Fi module 390 can be used for data reception and transmission during communication.

[0137] Terminal device 300 can physically connect to other devices via communication interface 380. Optionally, communication interface 380 can be connected to the communication interfaces of other devices via cables to enable data transmission between terminal device 300 and other devices.

[0138] The memory 340 can be used to store software programs and modules. The processor 330 executes various functional applications and data processing of the terminal device 300 by running the software programs and modules stored in the memory 340. Optionally, the memory 340 may mainly include a program storage area and a data storage area. The program storage area may store the operating system (mainly including the software programs or modules corresponding to the kernel layer, system layer, application framework layer, and application layer). In addition, the memory 340 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0139] The input unit 350 can be used to receive and edit various types of data objects, such as numbers or characters, input by the user, and to generate key signal inputs related to user settings and function control of the terminal device 300. Optionally, the input unit 350 may include a touch panel 351 and other input devices 352. Optionally, other input devices 352 may include, but are not limited to, one or more of the following: a physical keyboard, an infrared sensor, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick. For example, an infrared sensor can be used to acquire the user's air gesture operations.

[0140] The display unit 360 can be used to display information input by the user or information provided to the user, as well as various menus of the terminal device 300. The display unit 360 is used to present the interface and realize human-computer interaction. The display unit 360 may include a display panel 361. Optionally, the display panel 361 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0141] The processor 330 is the control center of the terminal device 300. It connects to various components via various interfaces and lines, and executes software programs and / or modules stored in the memory 340, as well as calling data stored in the memory 340, to perform various functions and process data of the terminal device 300, thereby enabling various services based on the terminal device 300. In this embodiment, the processor 330 can be used to implement the control method provided in this embodiment.

[0142] The terminal device 300 also includes a power supply 320 (such as a battery) for supplying power to various components. Optionally, the power supply 320 can be logically connected to the processor 330 through a power management system, thereby enabling the power management system to manage functions such as charging, discharging, and power consumption.

[0143] As shown in Figure 3, the terminal device 300 also includes an audio circuit 370, a microphone 371, and a speaker 372, providing an audio interface between the user and the terminal device 300. The audio circuit 370 converts audio data into signals recognizable by the speaker 372 and transmits the signals to the speaker 372, where they are converted into sound signals for output. The microphone 371 collects external sound signals (such as human speech or other sounds) and converts these signals into signals recognizable by the audio circuit 370, sending them to the audio circuit 370. The audio circuit 370 can also convert the signals transmitted by the microphone 371 into audio data, outputting the audio data to the RF circuit 310 for transmission to, for example, another terminal device, or outputting the audio data to the memory 340 for further processing.

[0144] The terminal device 300 can collect status information of itself and its components through at least one sensor 391. The at least one sensor 391 may include, but is not limited to, an accelerometer, a gyroscope, a pedometer, an IMU, a touch panel (TP) sensor (also called a touch sensor), a specific absorption rate (SAR) sensor, a pressure sensor, a barometric pressure sensor, a distance sensor, a fingerprint sensor, and a temperature sensor. Optionally, when the terminal device 300 is a foldable terminal device, the at least one sensor 391 may also include a Hall sensor, which can detect whether the terminal device 300 is in a folded or unfolded state.

[0145] It is understandable that, although not shown in Figure 3, the terminal device 300 may also include other components, such as a camera, a Bluetooth module, etc., which will not be described in detail here.

[0146] The control method provided in this application embodiment can utilize the processor 330, RF circuit 310, and at least one sensor 391 shown in Figure 3 above. In addition, a memory 340 can also be used. The memory 340 can be used to store software programs implementing the control method provided in this application embodiment. The processor 330 executes the control method provided in this application embodiment by running the software program stored in the memory 340. The specific details regarding the memory 340 are not discussed in this application; only the specific implementation of the control method is described below.

[0147] Based on the hardware structure of the terminal device shown in Figure 3, Figure 4 illustrates a possible architecture diagram of a control system provided by this application. The components in this system architecture are combined to realize the control method provided in the embodiments of this application. As shown in Figure 4, the system architecture may include a processor 330, an RF circuit 310, and at least one sensor 391. The processor 330 may exemplarily be a system-on-a-chip (SOC), including an application processor (AP) 331, a sensor hub 332, and a cellular processor (Modem) 333, which are connected in pairs. Optionally, the application processor 331, sensor hub 332, and cellular processor 333 can also be understood as chips on the SOC; for example, the application processor 331 is an application processor chip, the sensor hub 332 is a sensor hub chip, and the cellular processor 333 is a cellular processor chip.

[0148] Application processor 331 is a processor associated with the application (APP). Application processor 331 can connect to the backend servers of various APPs on the terminal device. Application processor 331 can communicate and interact with the backend servers of various APPs on the terminal device to obtain business information of the terminal device. Application processor 331 can send the business information to sensor hub 332, or it can identify the scene of the terminal device based on the business information and send the scene to sensor hub 332 to assist sensor hub 332 in deciding the operating mode of the capacitive sensor. The business information includes, but is not limited to, the card insertion status of the terminal device, such as whether the subscriber identity module (SIM) card is inserted into the terminal device.

[0149] The sensor hub 332 can be connected to the aforementioned memory 340, or the sensor hub 332 itself can have its own memory. By reading relevant software programs from the memory 340 or local memory, the sensor hub 332 can control the operation mode of the capacitive sensor. The sensor hub 332 can mount at least one of the sensors 391, including but not limited to the SAR sensor 3911, TP 3912, and temperature sensor 3913 shown in Figure 4. The sensor hub 332 can determine the operation mode of the capacitive sensor based on information from the mounted sensors, and / or, based on service information sent by the application processor 331 (such as card insertion status or scenario), and / or, based on information sent by the cellular processor 333 (such as antenna transmission power or scenario). The capacitive sensor can exemplarily be the SAR sensor 3911. After determining the operation mode of the SAR sensor 3911, the sensor hub 332 can control the SAR sensor 3911 to operate according to the determined operation mode by sending control signals to the SAR sensor 3911. Of course, the functions of some of the sensors mentioned above can also be implemented by other devices or methods. In this case, the data from these sensors are not used by the sensor hub 332, such as TP 3912.

[0150] In addition to connecting to the application processor 331 and the sensor hub 332, the cellular processor 333 can also connect to the RF circuit 310. The cellular processor 333 can obtain the current antenna transmit power by interacting with the RF circuit 310. The cellular processor 333 can then send the current antenna transmit power to the sensor hub 332 to assist the sensor hub 332 in deciding the operating mode of the capacitive sensor. Alternatively, the cellular processor 333 can also determine the scene of the terminal device based on the current antenna transmit power and then send the scene to the sensor hub 332 to assist the sensor hub 332 in deciding the operating mode of the capacitive sensor.

[0151] RF circuit 310 includes at least one antenna link, illustrated using a single antenna link as an example. This link can connect to an antenna radiator (also called a stub) to control the radiator to emit radio frequency signals and receive echo signals. Optionally, the antenna link includes a power amplifier (PA), which may be, for example, a low-noise amplifier connected between the antenna radiator and the cellular processor 333. This low-noise amplifier amplifies the input signal while ensuring good signal quality. The PA can also amplify the transmit power of the antenna radiator and transmit it back to the cellular processor 333 to assist the cellular processor 333 in identifying the current power level. In some scenarios, the antenna link may also include a filter to filter the input signal for smooth signal output.

[0152] Based on the content shown in Figures 3 and 4 above, and the other content mentioned above, Figure 5 exemplarily illustrates a possible flowchart of a control method provided by an embodiment of this application. This method can be executed by a terminal device, such as the terminal device 300 in Figure 3 above. Further, it can be executed by the processor 330 in the terminal device 300. The processor 330 may include the application processor 331, sensor hub 332, and cellular processor 333 shown in Figure 4. That is, the control method can be jointly executed by the application processor 331, sensor hub 332, and cellular processor 333.

[0153] The terminal device includes a capacitive sensor, such as a specific absorption rate sensor, like the SAR sensor 3911 shown in Figure 4 above. The capacitive sensor has a first operating mode and a second operating mode, with different duty cycles. Based on this, as shown in Figure 5, the method includes steps 501 and 502, which will be described below with reference to the accompanying drawings.

[0154] Step 501: Based on the sensor information and / or service information of the terminal device, indicate the scene in which the terminal device is located.

[0155] For example, the scene in which the terminal device is located can be indicated based on at least one of the sensor information and the business information of the terminal device.

[0156] Optionally, the sensor information of the terminal device may include, but is not limited to, one or more of the following: information collected by a capacitive sensor, information collected by a temperature sensor in the terminal device, information collected by a touch sensor (TP) in the terminal device, etc.

[0157] Optionally, the service information of the terminal device may include, but is not limited to, one or more of the following: the card insertion status of the terminal device, the reference signal receiving power (RSRP) of the antenna device connected to the capacitive sensor in the terminal device, the service status of the terminal device, the transmit power of the antenna device connected to the capacitive sensor in the terminal device, the information reflected by the reflection coefficient of the antenna device connected to the capacitive sensor in the terminal device (referred to as the antenna reflection coefficient), etc.

[0158] It should be noted that the information collected by the aforementioned sensors can include information directly collected by the sensors, as well as other information calculated or derived from the information directly collected by the sensors. For example, the information collected by a temperature sensor can be understood as temperature information, but this temperature information is actually intermediate data calculated based on the information collected by the temperature sensor. Furthermore, temperature change information can also be calculated from the temperature information. In other words, in addition to the information collected by the sensors themselves, all information that can be derived or calculated from the information collected by the sensors is also within the scope of the information collected by the sensors.

[0159] Similarly, the aforementioned business information can include the business information itself, as well as other information calculated or derived from the business information. For example, the information reflected by the reflection coefficient of an antenna device can be understood as touch information reflected by the reflection coefficient of the antenna device, which can be used to indicate whether the user has touched the display screen. In other words, in addition to the business information itself, all information that can be derived or calculated from the business information is also within the scope of the business information.

[0160] Optionally, the terminal device may indicate the scene it is in based on its sensor information and / or its service information, which may include, but is not limited to, the content shown in any one or more of the following scene recognition methods:

[0161] In the first scene recognition method, the terminal device determines whether it is in a scene sufficiently close to or sufficiently far from a human based on information collected by a capacitive sensor. For example, the terminal device can determine the capacitance parameters of the antenna device connected to the SAR sensor based on the capacitance-to-absorptivity information collected by the SAR sensor. If the capacitance parameters are greater than or equal to a first capacitance threshold, the terminal device is determined to be in a scene sufficiently close to a human; if the capacitance parameters are less than a second capacitance threshold, the terminal device is determined to be in a scene sufficiently far from a human. The first capacitance threshold is greater than or equal to the second capacitance threshold.

[0162] Here, the setting of the first capacitance threshold and the second capacitance threshold can be related to the terminal device, the acquisition sensitivity of the capacitive sensor, or other information, such as the antenna device to which the capacitive sensor is connected. No specific limitation is made.

[0163] Here, the capacitance parameter can be the absolute capacitance value directly calculated from the information collected by the SAR sensor, or it can be the capacitance change calculated from the collected information and the initial capacitance value, which refers to the capacitance value measured by the SAR sensor when the antenna device is in free space. If it's the former, then when the absolute capacitance value directly measured by the SAR sensor is greater than or equal to a first capacitance threshold, it can be considered a scenario where the human body is sufficiently close; when the absolute capacitance value directly measured by the SAR sensor is less than a second capacitance threshold, it can be considered a scenario where the human body is sufficiently far away. If it's the latter, then the capacitance change can be calculated first from the information collected by the SAR sensor (e.g., the directly measured absolute capacitance value) and the capacitance value when the antenna device is in free space. When the capacitance change is greater than or equal to the first capacitance threshold, it can be considered a scenario where the human body is sufficiently close; when the capacitance change is less than the second capacitance threshold, it can be considered a scenario where the human body is sufficiently far away.

[0164] The second scene recognition method involves the terminal device determining whether it is in a scene with stable or drastic temperature changes based on information collected by its temperature sensor. For example, the terminal device can first determine its temperature parameters based on the sensor's data. These parameters can be either an absolute temperature value calculated directly from the sensor's data or a temperature change calculated using the collected data and a reference temperature value. This reference temperature value, also known as the initial temperature value, can be set using the terminal device's factory-set circuit board temperature (or chip temperature, etc.). For example, the reference temperature value could be set to 30°C or another temperature.

[0165] When the temperature parameter is the amount of temperature change, if the temperature parameter is less than or equal to a first temperature threshold, the terminal device is determined to be in a scenario of stable temperature change; if the temperature parameter is greater than a second temperature threshold, the terminal device is determined to be in a scenario of drastic temperature change. The first temperature threshold is less than or equal to the second temperature threshold. The setting of the first and second temperature thresholds can be related to the terminal device, the sensitivity of the temperature sensor, or other information; there are no specific limitations. For example, assuming both the first and second temperature thresholds are 10°C, the terminal device can first calculate the temperature based on the information collected by the temperature sensor, and then calculate the amount of temperature change based on this temperature and a reference temperature value. When the amount of temperature change is less than or equal to 10°C, it is considered a scenario of stable temperature change; when the amount of temperature change is greater than 10°C, it is considered a scenario of drastic temperature change.

[0166] When the temperature parameter is an absolute value, if the temperature parameter is greater than or equal to the third temperature threshold and less than or equal to the fourth temperature threshold, it is considered a scenario of stable temperature change. If the temperature parameter is less than the fifth temperature threshold or greater than the sixth temperature threshold, it is considered a scenario of drastic temperature change. The fifth temperature threshold is less than or equal to the third temperature threshold, the third temperature threshold is less than the fourth temperature threshold, and the fourth temperature threshold is less than or equal to the sixth temperature threshold. The settings of the third, fourth, fifth, and sixth temperature thresholds can be related to the terminal device, the temperature sensor's acquisition sensitivity, or other information; there are no specific limitations. For example, assuming the third and fifth temperature thresholds are both set to 20°C, and the fourth and sixth temperature thresholds are both set to 40°C, then if the temperature directly measured by the temperature sensor is greater than or equal to 20°C and less than or equal to 40°C, it means that the current temperature is changing within a certain temperature range (such as the temperature range related to the temperature when the terminal device was manufactured), which can be considered a scenario of stable temperature change; if the absolute value of the temperature directly measured by the temperature sensor is less than 20°C or greater than 40°C, it means that the current temperature exceeds the above temperature range, which can be considered a scenario of drastic temperature change.

[0167] Scene recognition method three: The terminal device determines whether it is in a scene without a card or in a scene with a card inserted based on the card insertion status of the terminal device.

[0168] The fourth scene recognition method involves the terminal device determining whether it is in a high-power or low-power scene based on the transmission power of the antenna connected to the capacitive sensor. For example, the terminal device obtains the transmission power of the antenna connected to the capacitive sensor. If the transmission power is less than or equal to a first power threshold (e.g., -10dBm), the terminal device is determined to be in a low-power scene; if the transmission power is greater than a second power threshold, the terminal device is determined to be in a high-power scene. The first power threshold is less than or equal to the second power threshold.

[0169] Here, the setting of the first power threshold and the second power threshold can be related to the terminal device, the antenna device, or other information, and there is no specific limitation.

[0170] The fifth scene recognition method involves the terminal device determining whether it is in a scene sufficiently close to or sufficiently far from a human body based on information collected by the touch sensor and / or the reflection coefficient of the antenna device connected to the capacitive sensor. For example, the terminal device can determine whether its display screen has been touched; if touched, it is in a scene sufficiently close to the human body. If not touched, it is in a scene sufficiently far from the human body. Another example is that the terminal device can determine whether the antenna's transmission direction is blocked by a human body based on the antenna reflection coefficient of the antenna device connected to the capacitive sensor; if blocked, it is in a scene sufficiently close; otherwise, it is in a scene sufficiently far from the human body.

[0171] Scene recognition method six: The terminal device determines whether it is in a first signal strength scene or a second signal strength scene based on the RSRP of the antenna device connected to the capacitive sensor. For example, the terminal device obtains the RSRP of the antenna device. If the RSRP is greater than or equal to a third power threshold (e.g., -98dBm, -99dBm, or -100dBm), the terminal device is determined to be in the first signal strength scene. If the RSRP is less than a fourth power threshold (e.g., -101dBm, -102dBm, or -103dBm), the terminal device is determined to be in the second signal strength scene. The third power threshold is greater than or equal to the fourth power threshold. In some scenarios, the first signal strength scene can also be called a strong signal scene, and the second signal strength scene can be called a weak signal scene.

[0172] Here, the setting of the third and fourth power thresholds can be related to the terminal device, the antenna device connected to the capacitive sensor, or other information, without any specific limitation.

[0173] Scene recognition method seven involves the terminal device determining whether it is in a service-oriented or non-service-oriented scenario based on its service status. Optionally, the service status is related to the antenna device connected to the capacitive sensor. For example, if the antenna device is a cellular antenna, the service status of the cellular antenna can be used to determine whether the terminal device is in a service-oriented or non-service-oriented scenario; if the antenna device is a Wi-Fi antenna, the service status of the Wi-Fi antenna can be used to determine whether the terminal device is in a service-oriented or non-service-oriented scenario; and so on, without further listing.

[0174] Taking a capacitive sensor connected to a first cellular antenna as an example, the terminal device can obtain the current service execution status of the first cellular antenna. If the first cellular antenna is performing a service, such as transmitting power, transmitting data, or being in a call state, it indicates that the user is currently using the first cellular antenna to perform services such as sending text messages, browsing the internet, or making phone calls, and the terminal device is determined to be in a service state. Conversely, if the first cellular antenna is not currently performing a service, such as not transmitting power, not transmitting data, and not being in a call state, it indicates that the user is not currently using the first cellular antenna to perform a service, and the terminal device is determined to be in a non-service state.

[0175] Here, the service execution status of the antenna device can be determined by the service-related signals of the antenna device. These service-related signals can be any one or more signals or states that can characterize whether the antenna device is performing a service, including but not limited to: power signals, data signals, call signals, video signals, audio signals, etc., without limitation.

[0176] Understandably, the aforementioned scene recognition methods can be combined to form new scene recognition methods. For example, combining scene recognition method one and scene recognition method two, or scene recognition method five and scene recognition method two, yields scene recognition method six. This method six can determine whether the terminal device is in a scene with stable temperature changes and the human body is sufficiently close, a scene with stable temperature changes and the human body is sufficiently far away, a scene with drastic temperature changes and the human body is sufficiently close, or a scene with drastic temperature changes and the human body is sufficiently far away. As another example, combining scene recognition method two and scene recognition method four yields scene recognition method seven. This method seven can determine whether the terminal device is in a low-power scene with stable temperature changes, a high-power scene with stable temperature changes, a low-power scene with drastic temperature changes, or a high-power scene with drastic temperature changes. For example, combining the above-mentioned scene recognition methods one, three, and four, we can obtain scene recognition method eight. This method eight can determine whether the terminal device is in a low-power scenario where a person is sufficiently close to the device (no SIM card inserted), a high-power scenario where a person is sufficiently close to the device (no SIM card inserted), a low-power scenario where a person is sufficiently far away from the device (no SIM card inserted), a high-power scenario where a person is sufficiently far away from the device (no SIM card inserted), a low-power scenario where a person is sufficiently close to the device (with a SIM card inserted), a high-power scenario where a person is sufficiently close to the device (with a SIM card inserted), a low-power scenario where a person is sufficiently far away from the device (with a SIM card inserted), or a high-power scenario where a person is sufficiently far away from the device (with a SIM card inserted). For another example, combining the above-mentioned scene recognition methods one and six, we can obtain scene recognition method nine. This method nine can determine whether the terminal device is in a first signal strength scenario where a person is sufficiently close to the device (a second signal strength scenario where a person is sufficiently close to the device), a first signal strength scenario where a person is sufficiently far away from the device (a second signal strength scenario where a person is sufficiently far away from the device), or a second signal strength scenario where a person is sufficiently far away from the device (a second signal strength scenario). For example, combining the above-mentioned scene recognition methods two and seven, we can obtain scene recognition method ten. This method ten can determine whether the terminal device is in a business scenario with stable temperature changes, a non-business scenario with stable temperature changes, a business scenario with drastic temperature changes, or a non-business scenario with drastic temperature changes. And so on, without further listing.

[0177] Furthermore, any of the above scene recognition methods can be further subdivided to obtain more scenes. For example, the scenes in scene recognition method six can be further subdivided into strong signal scenes, medium-strong signal scenes, and weak signal scenes; or the scenes in scene recognition method four can be further subdivided into high-power scenes, medium-power scenes, and low-power scenes; and so on, without further listing.

[0178] Step 502: Based on the scenario in which the terminal device is located, control the capacitive sensor to adjust from the first working mode to the second working mode.

[0179] Here, the duty cycles of the first and second operating modes are different. For example, the duty cycle of the first operating mode is greater than that of the second operating mode, or the duty cycle of the first operating mode is less than that of the second operating mode.

[0180] Optionally, assuming the first operating mode has a first duty cycle and the second operating mode has a second duty cycle, the ratio of the larger duty cycle to the smaller duty cycle is greater than or equal to 4.

[0181] For example, taking a ratio of 4 as an example, combining Figures 1a and 1b above, Figure 1a corresponds to the operation mode with a larger duty cycle, and Figure 1b corresponds to the operation mode with a smaller duty cycle. If the duration T2 of each acquisition cycle in the operation mode with a larger duty cycle is set to 50ms, then the duration T3 of each acquisition cycle in the operation mode with a smaller duty cycle can be set to 200ms. The duration T1 of the power-on period within each acquisition cycle can be the same for both, for example, both can be set to 25ms. In this way, the larger duty cycle is 0.5, and the smaller duty cycle is 0.125. The capacitive sensor acquires information every 50ms in the operation mode with a larger duty cycle, and every 200ms in the operation mode with a smaller duty cycle. This can significantly reduce the power required for the capacitive sensor to acquire information, effectively reducing the power consumption of the terminal device.

[0182] For example, taking a ratio of 5 as an example, combining Figures 1a and 1c above, Figure 1a corresponds to the operation mode with a larger duty cycle, and Figure 1c corresponds to the operation mode with a smaller duty cycle. If the duration T1 of the power-on period in each acquisition cycle is set to 25ms in the operation mode with a larger duty cycle, then the duration T3 of the power-on period in each acquisition cycle in the operation mode with a smaller duty cycle can be set to 5ms. The duration T2 of each acquisition cycle can be the same for both, for example, both set to 50ms. In this way, the larger duty cycle is 0.5, and the smaller duty cycle is 0.1. Although the capacitive sensor acquires information every 50ms in both the larger and smaller duty cycle operation modes, the shorter power-on period for each acquisition in the smaller duty cycle operation mode results in a shorter actual power-on time for the capacitive sensor. This can effectively reduce the power required for the capacitive sensor to acquire information, thereby reducing the power consumption of the terminal device.

[0183] For example, taking a ratio of 10 as an example, combining Figure 1a and Figure 1c above, Figure 1a corresponds to the working mode with a larger duty cycle, and Figure 1c corresponds to the working mode with a smaller duty cycle. If the duration T2 of each acquisition cycle in the working mode with a larger duty cycle is set to 50ms, and the duration T1 of the power-on period in each acquisition cycle is set to 25ms, then the duration T3 of each acquisition cycle in the working mode with a smaller duty cycle can be set to 100ms, and the duration T3 of the power-on period in each acquisition cycle can be set to 5ms. In this way, the larger duty cycle is 0.5, and the smaller duty cycle is 0.05. Capacitive sensors collect information every 50ms in a larger duty cycle mode and every 100ms in a smaller duty cycle mode. Furthermore, the power-on time within each acquisition cycle is shorter in the smaller duty cycle mode than in the larger duty cycle mode. Thus, by increasing the duration of each acquisition cycle and shortening the power-on time within each acquisition cycle, the power required for capacitive sensors to collect information can be further reduced, thereby reducing the power consumption of the terminal device.

[0184] In one example, the ratio of the larger duty cycle to the smaller duty cycle can be set between 4 and 12, including 4 and 12. For example, it can be set between 4 and 6, or between 6 and 8, or between 8 and 10, or between 10 and 12. The duty cycle ratio can be an integer or a non-integer, which will not be listed here.

[0185] The setting of the ratio of the larger duty cycle to the smaller duty cycle is related to the power reduction benefit and the measurement accuracy of the capacitive sensor. The larger the ratio, the better the power reduction effect (or benefit), while the smaller the ratio, the higher the measurement accuracy of the capacitive sensor. Therefore, in one example, the ratio of the larger duty cycle to the smaller duty cycle can be set to balance the power reduction benefit and the measurement accuracy of the capacitive sensor. For example, it can be set to a slightly intermediate value, such as between 6 and 7, or between 7 and 8, or between 8 and 9, or between 9 and 10, etc.

[0186] For example, taking the duty cycle of the first working mode as greater than that of the second working mode as an example, based on the scenario in which the terminal device is located, if the terminal device changes from the first scenario to the second scenario, the capacitive sensor can be controlled to switch from the first working mode to the second working mode, and if the terminal device changes from the second scenario to the first scenario, the capacitive sensor can be controlled to switch from the second working mode to the first working mode.

[0187] The first scenario is a scenario that requires frequent detection of human approach or departure, such as including but not limited to: the scenario where the human body is sufficiently far away in the first scenario recognition method, the scenario with drastic temperature changes in the second scenario recognition method, the scenario with card insertion in the third scenario recognition method, the high-power scenario in the fourth scenario recognition method, the scenario where the human body is sufficiently far away in the fifth scenario recognition method, the second signal strength scenario in the sixth scenario recognition method, and the business status scenario in the seventh scenario recognition method.

[0188] The second scenario is a scenario where frequent detection of human approach or departure is not required. Such scenarios may include, but are not limited to: the scenario where the human body is sufficiently close in the first scenario recognition method, the scenario where the temperature changes stably in the second scenario recognition method, the scenario where no card is inserted in the third scenario recognition method, the low-power scenario in the fourth scenario recognition method, the scenario where the human body is sufficiently close in the fifth scenario recognition method, the scenario with the first signal strength in the sixth scenario recognition method, and the non-business scenario in the seventh scenario recognition method.

[0189] In other words, when the terminal device undergoes one or more of the following scenario changes: from a scenario where the human body is sufficiently far away to a scenario where the human body is sufficiently close; from a scenario with drastic temperature changes to a scenario with stable temperature changes; from a scenario with a SIM card inserted to a scenario without a SIM card inserted; from a high-power scenario to a low-power scenario; from a scenario with a second signal strength to a scenario with a first signal strength; from a service-mode scenario to a non-service-mode scenario, the terminal device can switch from a high duty cycle operating mode to a low duty cycle operating mode to save power. Conversely, when the terminal device undergoes one or more of the following scenario changes: from a scenario where the human body is sufficiently close to a scenario where the human body is sufficiently far away; from a scenario with stable temperature changes to a scenario with drastic temperature changes; from a scenario without a SIM card inserted to a scenario with a SIM card inserted; from a low-power scenario to a high-power scenario; from a scenario with a first signal strength to a scenario with a second signal strength; from a non-service-mode scenario to a service-mode scenario, the terminal device can switch from a low duty cycle operating mode to a high duty cycle operating mode to achieve accurate status detection.

[0190] By adopting the above control method, the capacitive sensor will use a large duty cycle in scenarios where frequent state detection is required, thereby achieving better detection performance. In scenarios where frequent state detection is not required, it will use a small duty cycle to reduce detection power consumption. In this way, detection power consumption can be reduced while maintaining high detection accuracy.

[0191] Furthermore, when using the first scene recognition method described above, the terminal device can adjust the operating mode of the capacitive sensor based on the information collected by the capacitive sensor. When using any of the second to seventh scene recognition methods described above, the operating mode of the capacitive sensor can be adjusted based on information collected by other sensors in the terminal device or non-sensor information (i.e., business information). Of course, a combination of methods can also be used, that is, adjusting the operating mode of the capacitive sensor by integrating at least two of the information collected by the capacitive sensor, information collected by other sensors, and non-sensor information.

[0192] To further illustrate the solution, the following section uses different scene transformations as examples to further introduce the specific implementation of the control method provided in this application.

[0193] In the following implementation schemes, unless otherwise specified or logically conflicting, the terminology and / or descriptions of different implementation schemes are consistent and can be referenced interchangeably. Technical features from different implementation schemes can be combined to form new implementation schemes based on their inherent logical relationships. Furthermore, the relevant content of the following implementation schemes also applies to other scenarios indicated above, and this application does not specifically limit them.

[0194] Implementation Plan 1

[0195] Please refer to Figure 6, which illustrates the interactive flow of a control method provided in Implementation Scheme 1. This method can be executed by a terminal device, such as terminal device 300 in Figure 3 above. More specifically, it can be executed by a processor 330 and a capacitive sensor in terminal device 300. The processor 330 can be, for example, the sensor hub 332 shown in Figure 4, and the capacitive sensor can be, for example, the SAR sensor 3911 shown in Figure 4. That is, the control method can be jointly executed by the sensor hub 332 and the SAR sensor 3911.

[0196] As shown in Figure 6, the method includes steps 601, 602, 603 and 604, which will be described below with reference to the accompanying drawings.

[0197] Step 601: The SAR sensor sends the collected information to the sensor hub.

[0198] Optionally, please refer to Figure 7, which shows a schematic diagram of the connection between a sensor hub 332 and a SAR sensor 3911 provided in Embodiment 1. The SAR sensor 3911 can be mounted under the sensor hub 332 and can be connected to the radiator of the antenna device. The SAR sensor 3911 can have multiple channels, including a sensing channel T1 and a temperature-compensated channel T2. The sensing channel T1 is used to sense the capacitance parameters on the radiator of the antenna device, while the temperature-compensated channel T2 is used to provide accurate temperature compensation for the SAR sensor 3911, so that the SAR sensor 3911 can more accurately detect the approach of a human body. Of course, in some scenarios, the SAR sensor 3911 may only have a sensing channel T1 and not a temperature-compensated channel T2. In this case, the capacitance parameters sensed on the sensing channel T1 can be directly used as the capacitance parameters sensed by the SAR sensor 3911.

[0199] Furthermore, optionally, the antenna device can be any one or more ungrounded antenna devices in the terminal device, such as, but not limited to, cellular antennas and Wi-Fi antennas. Since the SAR sensor 3911 can be connected to an antenna device through one or two channels (induction channel, or induction channel and temperature compensation channel), if the SAR sensor 3911 is a three-channel sensor, then the SAR sensor 3911 can be connected to at least one antenna device; if the SAR sensor 3911 is a five-channel sensor, then the SAR sensor 3911 can be connected to at least two antenna devices; if the SAR sensor 3911 is an eight-channel sensor, then the SAR sensor 3911 can be connected to three, four, or more antenna devices, and so on, which will not be listed here.

[0200] Optionally, referring to Figure 7, after the terminal device is started, the SAR sensor 3911 defaults to using the first operating mode, which has a relatively large duty cycle. The SAR sensor 3911 can collect information from the connected radiator in the first operating mode and send it to the sensor hub 332. For example, if the first operating mode is as shown in Figure 1a, where T2 is 50ms, then the SAR sensor 3911 can sense the capacitance information on the radiator through its sensing channel T1 and the temperature information on the radiator through its temperature compensation channel T2 every 50ms. It then uses the temperature information to perform temperature compensation on the capacitance information to obtain accurate capacitance information, which is then sent to the sensor hub 332. That is, the SAR sensor 3911 sends one piece of information to the sensor hub 332 every 50ms.

[0201] Step 602: The sensor hub determines whether the capacitance parameter corresponding to the collected information is greater than or equal to the set capacitance threshold. If yes, proceed to step 603; otherwise, proceed to step 604.

[0202] Understandably, when a human body approaches a radiator, the capacitance of the radiator increases. Therefore, the capacitance parameter corresponding to the information collected by the SAR sensor 3911 will also increase. This capacitance parameter can be the absolute value of capacitance directly measured based on the information collected by the SAR sensor 3911, or it can be the change in capacitance calculated from the directly measured capacitance and the capacitance value of the antenna device in free space; there is no limitation on this.

[0203] Based on this, and referring to Figure 7, a preset capacitance threshold can be configured in the sensor hub 332. This preset capacitance threshold is the first capacitance threshold in the scene recognition method described above, and the first capacitance threshold is the same as the second capacitance threshold. Each time the sensor hub 332 receives a piece of information from the SAR sensor 3911, it first calculates the corresponding capacitance parameter based on that information, and then compares this capacitance parameter with the preset capacitance threshold. If the capacitance parameter is greater than or equal to the preset capacitance threshold, it means that the current scene is one where the human body is sufficiently close; if the capacitance parameter is less than the preset capacitance threshold, it means that the current scene is one where the human body is sufficiently far away.

[0204] Step 603: The sensor hub controls the SAR sensor to use a second operating mode, which has a smaller duty cycle.

[0205] Understandably, when a human body is close enough, it means that the proximity of the human body has been detected. In this state, the capacitance caused by changes in the external environment is relatively small, and the impact of this capacitance on the judgment of the sensing state is also small. Therefore, the capacitance collected by the SAR sensor 3911 will not change significantly, and the SAR sensor 3911 does not need to collect information frequently, so as to reduce the power consumption of the terminal device.

[0206] Based on this, a first operating mode and a second operating mode can be pre-configured in the sensor hub 332. After detecting a sufficiently close human body in a scene, the sensor hub 332 can control the SAR sensor 3911 to use the second operating mode with a lower duty cycle to collect information. The duty cycle of the second operating mode is smaller than that of the first operating mode. For example, referring to Figures 1a and 1b above, the duration of one acquisition cycle T2 in the first operating mode is 50ms, while the duration of one acquisition cycle T2 in the second operating mode is 500ms. Thus, the SAR sensor 3911 will change from collecting and reporting information every 50ms to collecting and reporting information every 500ms, significantly reducing the power consumption of the SAR sensor 3911 in both acquisition and reporting.

[0207] Optionally, after detecting a sufficiently close human body, the sensor hub 332 can also control the antenna device connected to the SAR sensor 3911 to reduce its transmission power in order to reduce close-range radiation. That is, in situations where a human body is sufficiently close, the sensor hub 332 can reduce both the transmission power of the antenna device and the duty cycle of the SAR sensor 3911. This reduces the power consumption of the terminal device while ensuring the human body detection function is achieved.

[0208] Furthermore, reducing the duty cycle of the SAR sensor 3911 not only reduces the power consumption of the terminal device but also benefits other scenarios where a reduced duty cycle is required. For example, the antenna device connected to the SAR sensor 3911 can be the mid-frame of the terminal device (referred to as the mid-frame antenna) or located inside the mid-frame. A mid-frame antenna is an antenna whose radiator can be directly touched by a human. When the antenna device is a mid-frame antenna, as shown in Figure 7, since the SAR sensor 3911 is connected to the mid-frame antenna, reducing the duty cycle of the SAR sensor 3911 shortens the voltage contact time between the SAR sensor 3911 and the mid-frame antenna, thereby mitigating the electrochemical reaction of the mid-frame antenna and extending its lifespan. Of course, there may be other beneficial scenarios, which are not specifically limited here.

[0209] Step 604: The sensor hub controls the SAR sensor to use the first operating mode, which has a relatively large duty cycle.

[0210] Understandably, when a human body is far enough away, it means that the state of human approach has not yet been detected. In this case, the capacitance generated by changes in the external environment is relatively large, and this capacitance has a greater impact on the judgment of the sensing state. For example, if a human body moves from being far away from the radiator to being close to the radiator, the capacitance collected by the SAR sensor 3911 will suddenly increase. Therefore, the SAR sensor 3911 needs to collect information frequently to detect whether it has switched to the state of human approach in a timely manner, so as to ensure a relatively high detection accuracy.

[0211] Based on this, after detecting a human body sufficiently far away, the sensor hub 332 can control the SAR sensor 3911 to use a first operating mode with a higher duty cycle to collect information. The duty cycle of the first operating mode can be pre-configured or selected according to the actual application scenario; there is no specific limitation. Because the duty cycle of the first operating mode is high, it ensures that the human body detection function is not affected and that there are no misjudgments or hysteresis effects.

[0212] Optionally, after detecting a human body sufficiently far away, the sensor hub 332 can also control the antenna device connected to the SAR sensor 3911 to restore its transmission power in order to improve radiation performance. That is, in a scenario where the human body is sufficiently far away, the sensor hub 332 can restore the transmission power of the antenna device on the one hand, and restore the duty cycle of the SAR sensor 3911 on the other hand, in order to maintain high detection performance.

[0213] It should be noted that in steps 602 to 604 above, after the sensor hub 332 receives each piece of information sent by the SAR sensor 3911, it can first determine whether the current scene is one where the human body is sufficiently close or sufficiently far away, and then:

[0214] In the first implementation, the sensor hub 332 determines whether the current scene has changed compared to the previously determined scene. If it has changed, it sends a control signal to the SAR sensor 3911 to control the SAR sensor 3911 to switch its operating mode. If it has not changed, there is no need to send a control signal to the SAR sensor 3911. For example, if it is determined that the scene has changed from one where the human body is sufficiently far away to one where the human body is sufficiently close, a first control signal is sent to the SAR sensor 3911. The first control signal is used to control the SAR sensor 3911 to switch from a first operating mode with a large duty cycle to a second operating mode with a small duty cycle. If it is determined that the scene has changed from one where the human body is sufficiently close to one where the human body is sufficiently far away, a second control signal is sent to the SAR sensor 3911. The second control signal is used to control the SAR sensor 3911 to switch from the second operating mode with a small duty cycle to the first operating mode with a large duty cycle. In the first implementation, the sensor hub 332 only sends a control signal to the SAR sensor 3911 when it determines that the scene has changed. Compared with the method of sending a control signal every time the scene is determined (i.e., the second implementation below), unnecessary interaction between the sensor hub 332 and the SAR sensor 3911 can be avoided, thereby reducing communication power consumption.

[0215] In the second implementation, if the sensor hub 332 determines that the current scene is close enough to a human, it sends a first control signal to the SAR sensor 3911. This first control signal controls the SAR sensor 3911 to use a second operating mode with a small duty cycle to collect information. That is, if the SAR sensor 3911 was already using the second operating mode, it continues to use the second operating mode; if it was previously using the first operating mode, it switches to the second operating mode. Conversely, if the sensor hub 332 determines that the current scene is far enough away from a human, it sends a second control signal to the SAR sensor 3911. This second control signal controls the SAR sensor 3911 to use a first operating mode with a large duty cycle to collect information. That is, if the SAR sensor 3911 was already using the first operating mode, it continues to use the first operating mode; if it was previously using the second operating mode, it switches to the first operating mode. In the second implementation, the sensor hub 332 sends a control signal to the SAR sensor 3911 every time a scene is determined, without having to compare it with the previous scene. Therefore, compared with the first implementation, the internal processing flow of the sensor hub 332 can be reduced, and the workload of the sensor hub 332 can be reduced.

[0216] Using the above implementation scheme one, the system can distinguish between two scenarios: a person being sufficiently close and a person being sufficiently far away, based on information collected by the capacitive sensor. When changing from a scenario where the person is sufficiently far away to one where the person is sufficiently close, the capacitive sensor switches from a high duty cycle mode to a low duty cycle mode to save power consumption in the terminal device. Conversely, when changing back from a scenario where the person is sufficiently close to one where the person is sufficiently far away, the capacitive sensor switches from a low duty cycle (second mode) back to a high duty cycle (first mode) mode to ensure high detection accuracy. In this way, the accuracy of the human detection function can be ensured while reducing the power consumption of the terminal device.

[0217] Implementation Plan 2

[0218] Please refer to Figure 8, which illustrates the interactive flow of a control method provided in Implementation Scheme 2. This method can be executed by a terminal device, such as terminal device 300 in Figure 3 above. More specifically, it can be executed by a processor 330 and a capacitive sensor in terminal device 300. Processor 330 may include, for example, the sensor hub 332 and cellular processor 333 shown in Figure 4, and the capacitive sensor may be, for example, the SAR sensor 3911 shown in Figure 4. That is, the control method can be jointly executed by the sensor hub 332, the cellular processor 333, and the SAR sensor 3911.

[0219] As shown in Figure 8, the method includes steps 801, 802, 803, 804, 805, and 806, which will be described below with reference to the accompanying drawings.

[0220] Step 801: The cellular processor obtains the transmit power of the antenna device connected to the SAR sensor in the terminal device.

[0221] Referring to Figure 4 above, the cellular processor 333 is connected to the RF circuit 334. The cellular processor 333 can obtain the transmission power of the antenna device connected to the SAR sensor 3911 through interaction with the RF circuit 334. For example, the cellular processor 333 can periodically interact with the antenna device to obtain its transmission power, thereby periodically identifying the current power level.

[0222] Step 802: The cellular processor determines whether the transmit power of the antenna device is less than or equal to the set power threshold. If yes, it determines that the current scenario is a low-power scenario and proceeds to step 803. If no, it determines that the current scenario is a high-power scenario and proceeds to step 805.

[0223] Optionally, a power threshold can be pre-configured in the cellular processor 333. This power threshold is the same as the first power threshold in the fourth scene recognition method described above, and it is identical to the second power threshold. After obtaining the transmission power of each antenna device, the cellular processor 333 can compare this transmission power with the set power threshold. If the transmission power is less than or equal to the set power threshold, the current scene is determined to be low-power; if the transmission power is greater than the set power threshold, the current scene is determined to be high-power.

[0224] The power threshold can be set by those skilled in the art based on experience, or customized by the user, without limitation.

[0225] For example, in one scenario, the power threshold could be set to a value lower than the transmission power required for a sufficiently close human presence, such as -10 dBm. Thus, when the antenna's transmission power is less than or equal to the set power threshold, it means the current transmission power is already lower than what should be required for a sufficiently close human presence. Conversely, when the antenna's transmission power is greater than the set power threshold, it means the current transmission power may be greater than, or less than or equal to, what should be required for a sufficiently close human presence, but compared to scenarios where the power is less than or equal to the set power threshold, the antenna's transmission power is relatively higher, belonging to a high-power scenario.

[0226] Step 803: The cellular processor sends first scene information to the sensor hub. The first scene information is used to indicate that the antenna device is in a low-power scene.

[0227] Referring to Figure 4 or Figure 7 above, the cellular processor 333 is also connected to the sensor hub 332. After determining a power scene, the cellular processor 333 can send that power scene to the sensor hub 332. Alternatively, after determining a power scene, the cellular processor 333 can first compare the determined power scene with previously determined power scenes, and only send the scene information to the sensor hub 332 after detecting a change in the power scene.

[0228] For example, if it's the former, then after the cellular processor 333 determines that the current scene is a low-power scene, it can send the first scene information to the sensor hub 332. This first scene information is used to indicate that the antenna device connected to the SAR sensor 3911 is currently in a low-power scene. If it's the latter, after determining that the current scene is a low-power scene, if it was previously in a high-power scene, the cellular processor 333 will send the first scene information to the sensor hub 332. This first scene information is used to instruct the antenna device connected to the SAR sensor 3911 to switch from a high-power scene to a low-power scene. If it was previously in a low-power scene, then it doesn't need to send information to the sensor hub 332.

[0229] Step 804: The sensor hub controls the SAR sensor to use a second operating mode, which has a smaller duty cycle.

[0230] Understandably, in low-power scenarios, the transmit power of the antenna connected to the SAR sensor 3911 is relatively low, possibly close to or less than the transmit power required for a sufficiently close human presence. In such cases, it's unnecessary for the SAR sensor 3911 to frequently collect information from the antenna to determine if a human is approaching. Therefore, after receiving the first scenario information from the cellular processor 333, the sensor hub 332 can control the SAR sensor 3911 to use a second operating mode with a lower duty cycle (or a third operating mode, where the duty cycle of the third mode is lower than that of the first mode) to collect information, effectively reducing the device's power consumption in this scenario. Of course, if the antenna is a mid-frame antenna for a terminal device, reducing the duty cycle can also alleviate the electrochemical reaction of the mid-frame antenna and extend its lifespan. Other beneficial scenarios are also possible, but specific limitations are not provided here.

[0231] Step 805: The cellular processor sends second scene information to the sensor hub. The second scene information is used to indicate that the antenna device is in a high-power scene.

[0232] For example, after determining that the current scene is a high-power scene, the cellular processor 333 can send second scene information to the sensor hub 332. This second scene information is used to indicate that the antenna device connected to the SAR sensor 3911 is currently in a high-power scene. Alternatively, after determining that the current scene is a high-power scene, if the scene was previously a low-power scene, the cellular processor 333 can send second scene information to the sensor hub 332. This second scene information is used to instruct the antenna device connected to the SAR sensor 3911 to switch from a low-power scene to a high-power scene. If the scene was previously a high-power scene, then it is not necessary to send information to the sensor hub 332.

[0233] Step 806: The sensor hub controls the SAR sensor to use the first operating mode, which has a relatively large duty cycle.

[0234] Understandably, in high-power scenarios, the antenna device's transmission power is relatively high, potentially exceeding the transmission power in scenarios where a human body is sufficiently close. In such cases, the SAR sensor 3911 needs to frequently collect information to accurately determine whether it has entered a close proximity state, thereby reducing close-range radiation. Therefore, after receiving the second scene information sent by the cellular processor 333, the sensor hub 332 can control the SAR sensor 3911 to use a first operating mode with a higher duty cycle to collect information, ensuring that the device's performance is not affected and that there are no misjudgments or hysteresis effects.

[0235] It should be noted that the methods described in steps 802 to 806 above involve the cellular processor acquiring the transmit power of the antenna device, determining the power scenario, and sending it to the sensor hub. However, in other methods, the cellular processor may directly send the acquired transmit power of the antenna device to the sensor hub, which then identifies high-power or low-power scenarios based on the transmit power of the antenna device and controls the operation mode of the SAR sensor accordingly. The latter method allows the sensor hub to uniformly handle scenario identification and operation mode control, while the former method reduces the workload of the sensor hub. The specific method used can be determined based on the actual scenario requirements. For example, the latter method can be used when the sensor hub has high processing power, while the former method can be used when the sensor hub's processing power is insufficient. Of course, other implementations are also possible, and this application does not limit them.

[0236] By adopting the above-described implementation scheme two, the high-power and low-power scenarios can be distinguished by the transmission status of the terminal antenna. When switching from a high-power scenario to a low-power scenario, the capacitive sensor is controlled to switch from a high duty cycle operating mode to a low duty cycle operating mode to save power consumption of the terminal device. Conversely, when switching back from a low-power scenario to a high-power scenario, the capacitive sensor is controlled to switch from a low duty cycle second operating mode back to a high duty cycle first operating mode to ensure high detection accuracy. In this way, the accuracy of the human body detection function can be ensured while reducing the power consumption of the terminal device.

[0237] Implementation Plan 3

[0238] Please refer to Figure 9, which illustrates the interactive flow of a control method provided in Implementation Scheme 3. This method can be executed by a terminal device, such as terminal device 300 in Figure 3 above. More specifically, it can be executed by a processor 330 and a capacitive sensor in terminal device 300. Processor 330 may include, for example, the sensor hub 332 and application processor 331 shown in Figure 4, and the capacitive sensor may be, for example, the SAR sensor 3911 shown in Figure 4. That is, the control method can be jointly executed by the sensor hub 332, the application processor 331, and the SAR sensor 3911.

[0239] As shown in Figure 9, the method includes steps 901, 902, 903, and 904, which will be described below with reference to the accompanying drawings.

[0240] Step 901: The application processor obtains the card insertion status of the terminal device.

[0241] Optionally, the card insertion status of the terminal device refers to whether the SIM card is inserted into the card slot of the terminal device.

[0242] Optionally, the SIM card insertion status can be detected by a detection circuit located at the SIM card slot. For example, a status detection pin can be pre-configured in the detection circuit. When the SIM card is not inserted into the terminal device's SIM card slot, the status detection pin is at a high level. When the SIM card is inserted, the status detection pin is grounded, and the pin level becomes low. Thus, the application processor 331 can determine whether the terminal device is in a SIM card insertion state or a non-SIM card insertion state by acquiring the status level of the status detection pin. For example, the application processor 331 can periodically acquire the status level of the status detection pin to periodically determine the SIM card insertion status of the terminal device.

[0243] Step 902: The application processor determines whether the card insertion status of the terminal device is no card insertion. If yes, it determines that the current situation is a no card insertion scenario and proceeds to step 903. If no, it determines that the current situation is a card insertion scenario and proceeds to step 905.

[0244] Step 903: The application processor sends first scene information to the sensor hub. The first scene information is used to indicate that the terminal device is in a no-card-insertion scene.

[0245] Referring to Figure 4 or Figure 7 above, the application processor 331 is also connected to the sensor hub 332. In one example, after determining that the current scenario is one without a SIM card, the application processor 331 can directly send first scenario information to the sensor hub 332. This first scenario information indicates that the terminal device is currently in a scenario without a SIM card. Alternatively, in another example, after determining that the current scenario is one without a SIM card, if the previous scenario was one with a SIM card, the application processor 331 sends first scenario information to the sensor hub 332. This first scenario information indicates that the terminal antenna should switch from a scenario with a SIM card to one without a SIM card. If the previous scenario was also one without a SIM card, then no information needs to be sent to the sensor hub 332.

[0246] Step 904: The sensor hub controls the SAR sensor to use a second operating mode, which has a smaller duty cycle.

[0247] Understandably, when the SAR sensor 3911 is connected to the cellular antenna, in scenarios without a SIM card, the terminal device cannot provide cellular data, meaning the cellular antenna's function is unavailable. Therefore, it's unnecessary to frequently collect information with the SAR sensor 3911 to determine if a human is approaching, as the cellular antenna won't transmit a signal even if it does. Based on this, after receiving the first scene information from the application processor 331, the sensor hub 332 can control the SAR sensor 3911 to use a second operating mode with a lower duty cycle (or a fifth operating mode, where the duty cycle of the fifth mode is lower than that of the first mode) to collect information, effectively reducing device power consumption in this scenario. Of course, if the cellular antenna is the mid-frame antenna of the terminal device, reducing the duty cycle can also alleviate the electrochemical reaction of the mid-frame antenna and extend its lifespan. Other beneficial scenarios are also possible, but specific limitations are not provided here.

[0248] Step 905: The application processor sends second scene information to the sensor hub. The second scene information is used to indicate that the terminal device is in a card-inserted scene.

[0249] In one example, after determining that the current scenario is a SIM card inserted scenario, the application processor 331 can directly send second scenario information to the sensor hub 332. This second scenario information indicates that the terminal device is currently in a SIM card inserted scenario. Alternatively, in another example, after determining that the current scenario is a SIM card inserted scenario, if the previous scenario was a non-SIM card inserted scenario, the application processor 331 sends second scenario information to the sensor hub 332. This second scenario information indicates that the terminal antenna should switch from a non-SIM card inserted scenario to a SIM card inserted scenario. If the previous scenario was also a SIM card inserted scenario, then no information needs to be sent to the sensor hub 332.

[0250] Step 906: The sensor hub controls the SAR sensor to use a first operating mode, which has a relatively large duty cycle.

[0251] Understandably, when the SAR sensor 3911 is connected to a cellular antenna, the cellular antenna functions normally in a scenario where a SIM card is inserted. Therefore, the SAR sensor 3911 needs to frequently collect information to promptly identify whether a human is approaching. Based on this, after receiving the second scene information sent by the application processor 331, the sensor hub 332 can control the SAR sensor 3911 to use a first operating mode with a higher duty cycle to collect information, ensuring that the device's performance is not affected and that there are no misjudgments or hysteresis effects.

[0252] It should be noted that the methods shown in steps 902 to 906 above involve the application processor obtaining the SIM card insertion status of the terminal device, determining the SIM card insertion scenario, and sending it to the sensor hub. However, in other methods, the application processor may directly send the obtained SIM card insertion status of the terminal device to the sensor hub, which then identifies whether a SIM card is inserted or not based on the SIM card insertion status of the terminal device, and controls the operation mode of the SAR sensor according to the identified scenario. This application does not limit the specific method used in this regard.

[0253] Using the above-described implementation scheme three, the terminal device can distinguish between two scenarios: SIM card inserted and SIM card not inserted. When changing from a SIM card inserted scenario to a SIM card not inserted scenario, the capacitive sensor switches from a high duty cycle operating mode to a low duty cycle operating mode to save power consumption. Conversely, when changing back from a SIM card not inserted scenario to a SIM card inserted scenario, the capacitive sensor switches from a low duty cycle second operating mode back to a high duty cycle first operating mode to ensure high detection accuracy. This approach reduces power consumption of the terminal device while ensuring the accuracy of the human body detection function.

[0254] Implementation Plan 4

[0255] Please refer to Figure 10, which illustrates the interactive flow of a control method provided in Implementation Scheme 4. This method can be executed by a terminal device, such as terminal device 300 in Figure 3 above. More specifically, it can be executed by a processor 330, a capacitive sensor, and a temperature sensor in terminal device 300. The processor 330 can be, for example, the sensor hub 332 shown in Figure 4; the capacitive sensor can be, for example, the SAR sensor 3911 shown in Figure 4; and the temperature sensor can be, for example, the temperature sensor 3913 shown in Figure 4. That is, the control method can be jointly executed by the sensor hub 332, the SAR sensor 3911, and the temperature sensor 3913.

[0256] As shown in Figure 10, the method includes steps 1001, 1002, 1003 and 1004, which will be described below with reference to the accompanying drawings.

[0257] Step 1001: The temperature sensor sends the collected information to the sensor hub.

[0258] Referring to Figures 4 and 7, the temperature sensor 3913 is mounted under the sensor hub 332. The temperature sensor 3913 can be an additional setting, placed at the position of the antenna device connected to the SAR sensor 3911, or it can be an existing one in the terminal device, such as the temperature sensor corresponding to the temperature compensation channel of the SAR sensor 3911. The specific is not limited.

[0259] Optionally, the temperature sensor 3913 can collect information periodically and report it to the sensor hub 332. For example, if the period is 50ms, the temperature sensor 3913 can send a message to the sensor hub 332 every 50ms.

[0260] Step 1002: The sensor hub determines whether the temperature parameter corresponding to the collected information is less than or equal to the set temperature threshold. If yes, proceed to step 1003; otherwise, proceed to step 1004.

[0261] Here, referring to Figure 7, the temperature parameter can be either the absolute temperature value directly measured based on the information collected by the temperature sensor 3913, or the temperature change calculated based on the information collected by the temperature sensor 3913 and a reference temperature value; there is no limitation. For ease of understanding, the latter will be used as an example below.

[0262] Here, the temperature threshold can be understood as the critical value between two states: drastic temperature changes and stable temperature changes. This critical value can be set by those skilled in the art based on experience, or it can be customized by the user; there are no specific limitations.

[0263] Based on this, and referring to Figure 7, a preset temperature threshold can be configured in the sensor hub 332. This preset temperature threshold is the first temperature threshold in the second scenario recognition method described above, and it is the same as the second temperature threshold. Each time the sensor hub 332 receives a message from the temperature sensor 3913, it first calculates the corresponding temperature value based on that message, then calculates the temperature change based on that temperature value and a reference temperature value, and compares the temperature change with the preset temperature threshold. If the temperature change is less than or equal to the preset temperature threshold, it means the current scenario is one of stable temperature changes; if the temperature change is greater than the preset temperature threshold, it means the current scenario is one of drastic temperature changes.

[0264] Step 1003: The sensor hub controls the SAR sensor to use a second operating mode, which has a relatively small duty cycle.

[0265] Understandably, in scenarios with stable temperature changes, the temperature of the terminal device will not change significantly in a short period of time. Therefore, the temperature compensation effect has a relatively small impact on the capacitance collected by the SAR sensor 3911. In other words, the capacitance value collected by the SAR sensor 3911 will not fluctuate significantly. Therefore, the SAR sensor 3911 does not need to collect information frequently.

[0266] Based on this, when the sensor hub 332 detects a stable temperature change or a transition from a drastic temperature change to a stable temperature change, it can control the SAR sensor 3911 to use a second operating mode with a lower duty cycle (or a fourth operating mode, where the duty cycle of the fourth operating mode is lower than that of the first operating mode) to collect information. For example, the collection time might change from 50ms to 500ms per data point, while maintaining the same power-on duration for the SAR sensor 3911, effectively reducing the device's power consumption in this scenario. Of course, if the antenna connected to the SAR sensor 3911 is a mid-frame antenna of a terminal device, reducing the duty cycle can also alleviate the electrochemical reaction of the mid-frame antenna and extend its lifespan. Other beneficial scenarios are also possible, but specific limitations are not provided here.

[0267] Step 1004: The sensor hub controls the SAR sensor to use the first operating mode, which has a relatively large duty cycle.

[0268] Understandably, in scenarios with drastic temperature changes, the temperature of the terminal device may change significantly in a short period of time. Therefore, the temperature compensation effect has a significant impact on the capacitance collected by the SAR sensor 3911. In other words, the capacitance value collected by the SAR sensor 3911 may fluctuate considerably. As a result, the SAR sensor 3911 needs to collect information frequently to detect the approach of a human body in a timely manner.

[0269] Based on this, when the sensor hub 332 detects a scenario with drastic temperature changes, or a scenario where the temperature changes from a stable temperature change to a scenario with drastic temperature changes, it can control the SAR sensor 3911 to use a first operating mode with a higher duty cycle to collect information, so as to ensure that the detection function is not affected and that there are no misjudgments of the state or hysteresis effects.

[0270] By adopting the above implementation scheme four, two scenarios—stable temperature change and drastic temperature change—can be distinguished based on the temperature variations of the antenna device. When transitioning from a scenario of drastic temperature change to one of stable temperature change, the capacitive sensor is controlled to switch from a high duty cycle operating mode to a low duty cycle operating mode to save power consumption of the terminal device. Conversely, when transitioning back from a scenario of stable temperature change to one of drastic temperature change, the capacitive sensor is controlled to switch from a low duty cycle second operating mode back to a high duty cycle first operating mode to ensure high detection accuracy. In this way, the accuracy of the human body detection function can be ensured while reducing the power consumption of the terminal device.

[0271] Implementation Plan 5

[0272] Please refer to Figure 11, which illustrates the interactive flow of a control method provided in Embodiment 5. This method can be executed by a terminal device, such as terminal device 300 in Figure 3 above. More specifically, it can be executed by a processor 330 and a capacitive sensor in terminal device 300. Processor 330 may include, for example, the sensor hub 332 and cellular processor 333 shown in Figure 4, and the capacitive sensor may be, for example, the SAR sensor 3911 shown in Figure 4. That is, the control method can be jointly executed by the sensor hub 332, the cellular processor 333, and the SAR sensor 3911.

[0273] For ease of understanding, in Implementation Scheme 5, the first signal strength scenario is referred to as the strong signal scenario, and the second signal strength scenario is referred to as the weak signal scenario. Here, "strong" and "weak" are relative terms, simply indicating that the received signal strength in the second signal strength scenario is lower than that in the first signal strength scenario. Whenever "strong signal scenario" appears in the following text, it can be replaced with "first signal strength scenario," and whenever "weak signal scenario" appears in the following text, it can be replaced with "second signal strength scenario." This application does not make any specific limitations in this regard.

[0274] As shown in Figure 11, the method includes steps 1101, 1102, 1103, 1104, 1105, and 1106, which will be described below with reference to the accompanying drawings.

[0275] Step 1101: The cellular processor obtains the reference signal received power of the antenna device connected to the SAR sensor in the terminal device.

[0276] Referring to Figure 4 above, the cellular processor 333 is connected to the RF circuit 334. The cellular processor 333 can receive reference signals transmitted by the base station equipment through the RF circuit 334, thereby obtaining the reference signal received power of the antenna device connected to the SAR sensor 3911. For example, the cellular processor 333 can periodically interact with the RF circuit 334 to periodically obtain the reference signal received power of the antenna device in order to periodically identify the current signal scene.

[0277] Step 1102: The cellular processor determines whether the reference signal received power of the antenna device is greater than or equal to the set power threshold. If yes, it determines that the current situation is a strong signal scenario and proceeds to step 1103. If no, it determines that the current situation is a weak signal scenario and proceeds to step 1105.

[0278] Optionally, a power threshold can be pre-configured in the cellular processor 333. This power threshold is the third power threshold in the sixth scene recognition method described above, and it is the same as the fourth power threshold. After acquiring a reference signal received power, the cellular processor 333 can compare this power with the set power threshold. If the reference signal received power is greater than or equal to the set power threshold, the current scene is determined to be a strong signal scene; if the reference signal received power is less than the set power threshold, the current scene is determined to be a weak signal scene. The set power threshold can be set by those skilled in the art based on experience, or it can be customized by the user; there are no limitations.

[0279] Step 1103: The cellular processor sends first scene information to the sensor hub. The first scene information is used to indicate that the terminal device is in a strong signal scene.

[0280] Referring to Figure 4 or Figure 7 above, the cellular processor 333 is also connected to the sensor hub 332. After identifying a strong or weak signal scenario, the cellular processor 333 can send that scenario to the sensor hub 332. Alternatively, after identifying a strong or weak signal scenario, the cellular processor 333 can first compare the identified scenario with previously identified scenarios, and only send the scenario information to the sensor hub 332 after detecting a change in the signal scenario.

[0281] For example, if it's the former, then after the cellular processor 333 determines that the current scene is a strong signal scene, it can send the first scene information to the sensor hub 332. This first scene information is used to indicate that the terminal device is currently in a strong signal scene. If it's the latter, after determining that the current scene is a strong signal scene, if the previous scene was a weak signal scene, then the cellular processor 333 sends the first scene information to the sensor hub 332. This first scene information is used to instruct the terminal device to switch from a weak signal scene to a strong signal scene. If the previous scene was also a strong signal scene, then there is no need to send information to the sensor hub 332.

[0282] Step 1104: The sensor hub controls the SAR sensor to use a second operating mode, which has a relatively small duty cycle.

[0283] Understandably, in strong signal scenarios, the channel quality of the transmission link between the antenna device and the receiving device is relatively good. Therefore, to save power, the antenna device is configured by default to transmit signals to the receiving device at a lower transmission power. This transmission power may be close to or less than the transmission power required for a sufficiently close human body. In this case, it is unnecessary to use the SAR sensor 3911 to frequently collect information from the antenna device to determine whether a human body has entered the approaching state. Therefore, after receiving the first scene information sent by the cellular processor 333, the sensor hub 332 can control the SAR sensor 3911 to use a second operating mode with a lower duty cycle (or a sixth operating mode, where the duty cycle of the sixth operating mode is lower than that of the first operating mode) to collect information, thereby effectively reducing the power consumption of the device in this scenario. Of course, if the antenna device is a mid-frame antenna of the terminal device, then reducing the duty cycle can also alleviate the electrochemical reaction of the mid-frame antenna and extend its service life. Of course, there may be other beneficial scenarios, which are not specifically limited here.

[0284] Step 1105: The cellular processor sends second scene information to the sensor hub. The second scene information is used to indicate that the device terminal is in a weak signal scene.

[0285] For example, after determining that the current scene is a weak signal scene, the cellular processor 333 can send second scene information to the sensor hub 332. This second scene information is used to indicate that the terminal device is currently in a weak signal scene. Alternatively, after determining that the current scene is a weak signal scene, if the scene was previously a strong signal scene, the cellular processor 333 will send second scene information to the sensor hub 332. This second scene information is used to instruct the terminal device to switch from a strong signal scene to a weak signal scene. If the scene was previously a weak signal scene, then no information needs to be sent to the sensor hub 332.

[0286] Step 1106: The sensor hub controls the SAR sensor to use the first operating mode, which has a relatively large duty cycle.

[0287] Understandably, in weak signal scenarios, the channel quality of the transmission link between the antenna device and the receiving device is not particularly good. Therefore, to ensure that the transmitted signal can be successfully received by the receiving device, the antenna device is configured by default to transmit signals to the receiving device at a relatively high transmission power. This transmission power may be greater than the transmission power in scenarios where a human body is sufficiently close. In this case, the SAR sensor 3911 needs to frequently collect information to accurately determine whether it has entered a state of close proximity to a human body in order to reduce close-range radiation. Therefore, after receiving the second scene information sent by the cellular processor 333, the sensor hub 332 can control the SAR sensor 3911 to use a first operating mode with a higher duty cycle to collect information, so as to ensure that the performance of the device is not affected and that there are no misjudgments of state or hysteresis effects.

[0288] It should be noted that the methods described in steps 1102 to 1106 above involve the cellular processor acquiring the reference signal received power of the antenna device, determining the strength of the signal scene, and sending it to the sensor hub. However, in other methods, the cellular processor may send the reference signal received power to the application processor, which then identifies the strength of the signal scene based on this power and sends it to the sensor hub. Alternatively, in still other methods, the cellular processor may directly send the acquired reference signal received power to the sensor hub, which then identifies the strength of the signal scene and controls the SAR sensor's operation based on the identified scene. The latter method allows the sensor hub to handle both scene identification and operation mode control, while the former two methods reduce the workload on the sensor hub. The specific method used can be determined based on the actual scenario requirements. For example, when the sensor hub has relatively high processing power, the last method can be used. When the processing power of the sensor hub is insufficient but the processing power of the cellular processor is sufficient, the method shown in Figure 11 can be used. When the processing power of both the sensor hub and the cellular processor is insufficient, the reference signal reception quality can be sent to the application processor to identify strong and weak signal scenarios. Of course, other implementation forms are also possible, and this application does not limit them.

[0289] Using the above-described implementation scheme five, the signal status of the antenna device connected to the capacitive sensor can distinguish between strong and weak signal scenarios. When transitioning from a weak signal scenario to a strong signal scenario, the capacitive sensor is controlled to switch from a high duty cycle operating mode to a low duty cycle operating mode to save power consumption of the terminal device. Conversely, when transitioning from a strong signal scenario back to a weak signal scenario, the capacitive sensor is controlled to switch from a low duty cycle second operating mode back to a high duty cycle first operating mode to ensure high detection accuracy. In this way, the accuracy of the human body detection function can be ensured while reducing the power consumption of the terminal device.

[0290] Implementation Plan Six

[0291] Please refer to Figure 12, which illustrates the interactive flow of a control method provided in Implementation Scheme Six. This method can be executed by a terminal device, such as terminal device 300 in Figure 3 above. More specifically, it can be executed by a processor 330 and a capacitive sensor in terminal device 300. Processor 330 may include, for example, the sensor hub 332 and application processor 331 shown in Figure 4, and the capacitive sensor may be, for example, the SAR sensor 3911 shown in Figure 4. That is, the control method can be jointly executed by the sensor hub 332, the application processor 331, and the SAR sensor 3911.

[0292] As shown in Figure 12, the method includes steps 1201, 1202, 1203, 1204, 1205, and 1206, which will be described below with reference to the accompanying drawings.

[0293] Step 1201: The application processor obtains the service status of the antenna device connected to the SAR sensor in the terminal device.

[0294] Optionally, the service status of the antenna device refers to whether the antenna device is performing a service.

[0295] Optionally, service status can be determined by monitoring the traffic data of various service apps related to the antenna device. For example, traffic data from call apps related to the antenna device can be obtained to determine whether a call is currently being made using the antenna device. Alternatively, power data from the antenna device can be obtained to determine whether it is currently transmitting or receiving signals. Furthermore, network data from video apps related to the antenna device can be obtained to determine whether it is currently playing online video or audio using the antenna device, and so on.

[0296] Optionally, the application processor 331 can periodically detect the traffic data of various business apps related to the antenna device to periodically determine the business status of the antenna device.

[0297] Step 1202: The application processor determines whether the service status of the antenna device is not performing a service. If yes, it determines that the current situation belongs to a non-service scenario and proceeds to step 1203. If no, it determines that the current situation belongs to a service scenario and proceeds to step 1205.

[0298] Step 1203: The application processor sends first scene information to the sensor hub. The first scene information is used to indicate that the terminal device is in a non-business mode scene.

[0299] Referring to Figure 4 or Figure 7 above, the application processor 331 is also connected to the sensor hub 332. In one example, after determining that the current scenario is a non-service scenario, the application processor 331 can directly send first scenario information to the sensor hub 332. This first scenario information is used to indicate that the terminal device is currently in a non-service scenario. Alternatively, in another example, after determining that the current scenario is a non-service scenario, if the application processor 331 was previously in a service scenario, it sends first scenario information to the sensor hub 332. This first scenario information is used to instruct the terminal device to switch from a service scenario to a non-service scenario. If the previous scenario was also a non-service scenario, then it is not necessary to send information to the sensor hub 332.

[0300] Step 1204: The sensor hub controls the SAR sensor to use a second operating mode, which has a relatively small duty cycle.

[0301] Understandably, in non-operational scenarios, the antenna device is not performing any business operations and is highly unlikely to be used by the user. Therefore, there is no need for the SAR sensor 3911 to frequently collect information to determine whether a human is approaching. Based on this, after receiving the first scenario information sent by the application processor 331, the sensor hub 332 can control the SAR sensor 3911 to use a second operating mode with a lower duty cycle (or a seventh operating mode, where the duty cycle of the seventh operating mode is lower than that of the first operating mode) to collect information, thereby effectively reducing the power consumption of the device in this scenario. Of course, if the cellular antenna is the mid-frame antenna of the terminal device, then reducing the duty cycle can also alleviate the electrochemical reaction of the mid-frame antenna and extend its service life. Of course, there may be other beneficial scenarios, which are not specifically limited here.

[0302] Step 1205: The application processor sends second scene information to the sensor hub. The second scene information is used to indicate that the terminal device is in a service state scene.

[0303] In one example, after determining that the current scenario is a service-mode scenario, the application processor 331 can directly send second scenario information to the sensor hub 332. This second scenario information indicates that the terminal device is currently in a service-mode scenario. Alternatively, in another example, after determining that the current scenario is a service-mode scenario, if the previous scenario was a non-service-mode scenario, the application processor 331 sends second scenario information to the sensor hub 332. This second scenario information indicates that the terminal antenna should switch from a non-service-mode scenario to a service-mode scenario. If the previous scenario was also a service-mode scenario, then no information needs to be sent to the sensor hub 332.

[0304] Step 1206: The sensor hub controls the SAR sensor to use the first operating mode, which has a relatively large duty cycle.

[0305] Understandably, in operational scenarios, the antenna device is performing services and being used by users. To avoid close-range radiation, the SAR sensor 3911 needs to frequently collect information to promptly identify whether a person is approaching. Therefore, after receiving the second scenario information sent by the application processor 331, the sensor hub 332 can control the SAR sensor 3911 to use a first operating mode with a higher duty cycle to collect information, ensuring that the device's performance is not affected and that there are no misjudgments or hysteresis effects.

[0306] It should be noted that the methods shown in steps 1202 to 1206 above involve the application processor obtaining the service status of the antenna device, determining the service scenario itself, and sending it to the sensor hub. However, in other methods, the application processor may directly send the obtained service status of the antenna device to the sensor hub, which then identifies the service scenario or non-service scenario based on the antenna device's service status and controls the operation mode of the SAR sensor according to the identified scenario. This application does not limit the specific method used in this regard.

[0307] Using the above-described implementation scheme six, the operational and non-operational scenarios can be distinguished by the operational status of the antenna device connected to the SAR sensor. When switching from an operational to a non-operational scenario, the capacitive sensor is controlled to switch from a high duty cycle operating mode to a low duty cycle operating mode to save power consumption of the terminal device. Conversely, when switching back from a non-operational scenario to an operational scenario, the capacitive sensor is controlled to switch from a low duty cycle second operating mode back to a high duty cycle first operating mode to ensure high detection accuracy. In this way, the accuracy of human body detection can be ensured while reducing the power consumption of the terminal device.

[0308] The above-described implementation schemes one through six are only for determining the operating mode of a capacitive sensor based on a single sensor or single business information. However, any two or more of the above implementation schemes one through six can be combined to obtain new implementation schemes. For ease of understanding, three examples based on implementation schemes seven through nine are given below.

[0309] For ease of understanding, in Implementation Schemes 7 to 10, the first signal strength scenario is referred to as the strong signal scenario, and the second signal strength scenario is referred to as the weak signal scenario. Here, "strong" and "weak" are relative terms, used only to indicate that the received signal strength in the second signal strength scenario is lower than that in the first signal strength scenario. Whenever "strong signal scenario" appears in the following text, it can be replaced with "first signal strength scenario," and whenever "weak signal scenario" appears in the following text, it can be replaced with "second signal strength scenario." This application does not make any specific limitations in this regard.

[0310] Implementation Plan 7

[0311] Please refer to Figure 13, which shows a schematic diagram of the interaction flow of a control method provided in Implementation Scheme 7. This method combines the above-described Implementation Schemes 1 and 5, that is, it comprehensively decides the operating mode of the capacitive sensor by simultaneously referring to the information collected by the capacitive sensor and the transmission state or signal state of the terminal antenna. This method can be executed by a terminal device, such as the terminal device 300 in Figure 3. More specifically, it can be executed by the processor 330 and the capacitive sensor in the terminal device 300. The processor 330 can be, for example, the sensor hub 332 and the cellular processor 333 shown in Figure 4, and the capacitive sensor can be, for example, the SAR sensor 3911 shown in Figure 4. That is, the control method can be jointly executed by the sensor hub 332, the cellular processor 333, and the SAR sensor 3911.

[0312] Step 1301: The SAR sensor sends the collected information to the sensor hub.

[0313] Optionally, the SAR sensor can acquire information from the connected antenna device in a first cycle and send it to the sensor hub. The duration of the first cycle can be, for example, the duration of a pulse corresponding to the current operating mode of the SAR sensor.

[0314] Step 1302: The sensor hub determines whether the current scene is one where the human body is close enough or far enough away, based on the information collected by the SAR sensor.

[0315] Here, when the capacitance value corresponding to the information collected by the SAR sensor is greater than or equal to a set capacitance threshold, the sensor hub determines that the current scene is one where a human is sufficiently close. Conversely, when the capacitance value corresponding to the information collected by the SAR sensor is less than the set capacitance threshold, the sensor hub determines that the current scene is one where a human is sufficiently far away.

[0316] Step 1303: The cellular processor obtains the reference signal received power of the antenna device connected to the SAR sensor in the terminal device.

[0317] Optionally, the cellular processor can acquire the reference signal received power of the antenna device in a second cycle. The duration of the second cycle can be the same as or different from the duration of the first cycle; no specific limitation is imposed.

[0318] Step 1304: The cellular processor sends scene information to the sensor hub based on the reference signal received power of the antenna device. The scene information is used to indicate a strong signal scene or a weak signal scene.

[0319] Here, if the reference signal received power of the antenna device is greater than or equal to the second preset power threshold, the cellular processor can send first scene information to the sensor hub, which indicates a strong signal scene. Conversely, if the reference signal received power of the antenna device is less than the second preset power threshold, the cellular processor can send second scene information to the sensor hub, which indicates a weak signal scene. The second preset power threshold is the same as the third power threshold in scene recognition method six above, and the third power threshold is the same as the fourth power threshold.

[0320] Alternatively, the cellular processor can directly send the reference signal received power from the acquired antenna device to the sensor hub, which can then identify the current signal scenario on its own.

[0321] It should be noted that the order of steps 1301-1302 and steps 1303-1304 is not limited. For example, steps 1301-1302 and steps 1303-1304 can be performed simultaneously, or steps 1301-1302 can be performed first, followed by steps 1303-1304, or steps 1303-1304 can be performed first, followed by steps 1301-1302, and so on. This application does not impose specific limitations in this regard.

[0322] Step 1305: The sensor hub determines the scene combination based on the content of steps 1301 to 1304 above.

[0323] If the human body is close enough to a strong signal, then proceed to step 1306.

[0324] If the human body is close enough to the scene with a weak signal, then proceed to step 1307;

[0325] If the human body is sufficiently far away from the scene, proceed to step 1308.

[0326] Here, the scenario where the human body is sufficiently far away includes both scenarios where the human body is sufficiently far away from a weak signal and scenarios where the human body is sufficiently far away from a strong signal. The symbol "&" here means "and" or "and", that is, both conditions are met simultaneously.

[0327] Step 1306: The sensor hub controls the SAR sensor to use a second operating mode, which has a smaller duty cycle.

[0328] Understandably, in scenarios where the human body is sufficiently close to the antenna device and there is a strong signal, the human body is currently close to the antenna device. The capacitance collected by the SAR sensor will not change significantly, and the received signal strength of the antenna device is also good. The antenna device itself has a relatively low transmission power, which is likely already lower than the transmission power required to limit the transmission power in scenarios where the human body is sufficiently close. Therefore, there is no need to make the SAR sensor collect information frequently.

[0329] Based on this, if the sensor hub determines that the current scenario involves a human being sufficiently close and a strong signal, it can control the SAR sensor to use a second operating mode with a smaller duty cycle. For example, if it determines that the scenario is changing from one where the human being is sufficiently far away to one where the human being is sufficiently close and a strong signal, it can control the SAR sensor to switch from a first operating mode with a large duty cycle to a second operating mode with a small duty cycle. Alternatively, if it determines that the scenario is changing from one where the human being is sufficiently close and a weak signal to one where the human being is sufficiently close and a strong signal, it can control the SAR sensor to switch from a third operating mode with a large duty cycle to a second operating mode with a small duty cycle, thereby saving power consumption of the terminal device.

[0330] Step 1307: The sensor hub controls the SAR sensor to use the third operating mode, which has a relatively large duty cycle.

[0331] Understandably, in scenarios where the human body is close enough to the antenna device and the signal is weak, although the capacitance collected by the SAR sensor will not change significantly, the received signal strength of the antenna device is poor. To adapt to the poor received signal strength, the current transmit power of the antenna device is configured to be relatively high by default. This relatively high transmit power may exceed the power limit in scenarios where the human body is close enough. Therefore, in order to reduce power consumption at close range, the SAR sensor needs to collect information frequently to detect scenarios where the human body is close enough.

[0332] Based on this, if the sensor hub determines that the current scenario involves a sufficiently close human body and a weak signal, it can control the SAR sensor to use a third operating mode with a relatively large duty cycle. The duty cycle of the third operating mode is greater than that of the second operating mode. For example, if the scenario changes from a sufficiently close human body and a strong signal to a sufficiently close human body and a weak signal, the SAR sensor can be controlled to switch from the second operating mode with a small duty cycle to the third operating mode with a relatively large duty cycle to improve detection accuracy.

[0333] Step 1308: The sensor hub controls the SAR sensor to use the first operating mode, which has a relatively large duty cycle.

[0334] Understandably, in scenarios where the human body is sufficiently far away, the capacitance collected by the SAR sensor will change significantly as the human body approaches. Therefore, whether in strong or weak signal scenarios, the SAR sensor needs to collect information frequently in order to detect when the human body is sufficiently close in a timely and accurate manner.

[0335] Based on this, if the sensor hub determines that the current scenario involves a sufficiently distant human body, it can control the SAR sensor to use the first operating mode with a large duty cycle. For example, if it determines that the scenario changes from a scenario where the human body is sufficiently close and the signal is strong to a scenario where the human body is sufficiently far away, it can control the SAR sensor to switch from the second operating mode with a small duty cycle to the first operating mode with a large duty cycle. Alternatively, if it determines that the scenario changes from a scenario where the human body is sufficiently close and the signal is weak to a scenario where the human body is sufficiently far away, it can control the SAR sensor to switch from the third operating mode with a relatively large duty cycle to the first operating mode with a large duty cycle. This ensures that the device's performance is not affected and that there are no misjudgments of state or hysteresis effects.

[0336] The duty cycle of the first working mode can be the same as or different from that of the third working mode. For example, it can be equal to or greater than the duty cycle of the third working mode, without limitation.

[0337] In a specific example, the first and third operating modes are the same. That is, in scenarios where the human body is sufficiently close and the signal is weak, and / or in scenarios where the human body is sufficiently far away, the sensor hub can control the SAR sensor to use the same operating mode without switching operating modes.

[0338] Alternatively, in another implementation, a distinction can be made between scenarios where the human body is sufficiently far away from a strong signal and scenarios where the human body is sufficiently far away from a weak signal. For example, in a scenario where the human body is sufficiently far away from a strong signal, the sensor hub can control the SAR sensor to use a third operating mode with a relatively large duty cycle, while in a scenario where the human body is sufficiently far away from a weak signal, the SAR sensor can be controlled to use a first operating mode with a larger duty cycle. In this way, the power consumption of the terminal device can be further reduced in scenarios where the human body is sufficiently far away from a strong signal.

[0339] By adopting the above-described implementation scheme seven, the information collected by the capacitive sensor and the signal status of the terminal antenna can be combined to comprehensively determine the scenario in which the terminal device is located. When the scenario changes from one where the human body is sufficiently far away or sufficiently close with a weak signal to one where the human body is sufficiently close with a strong signal, the capacitive sensor is controlled to switch from a high duty cycle operating mode to a low duty cycle operating mode to save power consumption of the terminal device. Conversely, when the scenario changes from one where the human body is sufficiently close with a strong signal to one where the human body is sufficiently far away or sufficiently close with a weak signal, the capacitive sensor is controlled to switch back from a low duty cycle operating mode to a high duty cycle operating mode to ensure high detection accuracy. In this way, the accuracy of the human body detection function can be ensured while reducing the power consumption of the terminal device.

[0340] Implementation Plan 8

[0341] Please refer to Figure 14, which shows a schematic diagram of the interaction flow of a control method provided in Implementation Scheme 8. This method combines the above-described Implementation Schemes 1 and 2, that is, it comprehensively decides the operating mode of the capacitive sensor by simultaneously referring to the information collected by the capacitive sensor and the transmission state of the terminal antenna. This method can be executed by a terminal device, such as the terminal device 300 in Figure 3 above. More specifically, it can be executed by the processor 330 and the capacitive sensor in the terminal device 300. The processor 330 can be, for example, the sensor hub 332 and the cellular processor 333 shown in Figure 4, and the capacitive sensor can be, for example, the SAR sensor 3911 shown in Figure 4. That is, the control method can be jointly executed by the sensor hub 332, the cellular processor 333, and the SAR sensor 3911.

[0342] Step 1401: The SAR sensor sends the collected information to the sensor hub.

[0343] Optionally, the SAR sensor can acquire information from the connected antenna device in a first cycle and send it to the sensor hub. The duration of the first cycle can be, for example, the duration of a pulse corresponding to the current operating mode of the SAR sensor.

[0344] Step 1402: The sensor hub determines whether the current scene is one where the human body is close enough or far enough away, based on the information collected by the SAR sensor.

[0345] Here, when the capacitance value corresponding to the information collected by the SAR sensor is greater than or equal to a set capacitance threshold, the sensor hub determines that the current scene is one where a human is sufficiently close. Conversely, when the capacitance value corresponding to the information collected by the SAR sensor is less than the set capacitance threshold, the sensor hub determines that the current scene is one where a human is sufficiently far away.

[0346] Step 1403: The cellular processor obtains the transmit power of the antenna device connected to the SAR sensor in the terminal device.

[0347] Optionally, the cellular processor can acquire the transmit power of the antenna device connected to the SAR sensor in a second cycle. The duration of the second cycle can be the same as or different from the duration of the first cycle; no specific limitation is imposed.

[0348] Step 1404: The cellular processor sends scene information to the sensor hub based on the transmission power of the antenna device connected to the SAR sensor in the terminal device. The scene information is used to indicate a high-power scene or a low-power scene.

[0349] Here, if the transmit power of the antenna device is less than or equal to a first preset power threshold, the cellular processor can send first scene information to the sensor hub, which indicates a low-power scene. Conversely, if the transmit power of the antenna device is greater than the first preset power threshold, the cellular processor can send second scene information to the sensor hub, which indicates a high-power scene. The first preset power threshold is the same as the first power threshold in scene recognition method four above, and the first power threshold is identical to the second power threshold.

[0350] The first set power threshold is less than the transmission power of the antenna device when the human body is sufficiently close.

[0351] Alternatively, the cellular processor can directly send the acquired transmit power of the antenna device to the sensor hub, which can then identify the current power scenario on its own.

[0352] It should be noted that the order of steps 1401-1402 and steps 1403-1404 is not limited. For example, steps 1401-1402 and steps 1403-1404 can be performed simultaneously, or steps 1401-1402 can be performed first, followed by steps 1403-1404, or steps 1403-1404 can be performed first, followed by steps 1401-1402, and so on. This application does not impose specific limitations in this regard.

[0353] Step 1405: The sensor hub determines the scene combination based on the content of steps 1401 to 1404 above.

[0354] If it is a low-power scenario, then proceed to step 1406;

[0355] If it is a high-power scenario and the human body is close enough, then proceed to step 1407;

[0356] If it is a high-power scenario and the human body is far enough away, then proceed to step 1408.

[0357] Here, low-power scenarios include scenarios where the power is low and the human body is close enough, and scenarios where the power is low and the human body is far enough away.

[0358] Step 1406: The sensor hub controls the SAR sensor to use a second operating mode, which has a smaller duty cycle.

[0359] Understandably, when the set power threshold is lower than the transmission power of the antenna device in a scenario where the human body is sufficiently close, the low-power scenario means that the current transmission power of the antenna device is already lower than the transmission power in a scenario where the human body is sufficiently close. Whether the human body is sufficiently close or sufficiently far away, there is no need for the SAR sensor to collect information frequently, because even if the information collected by the SAR sensor detects a scenario where the human body is sufficiently close, there is no need to adjust the transmission power.

[0360] Based on this, if the sensor hub determines that the current scenario is a low-power scenario, it can control the SAR sensor to use a second operating mode with a small duty cycle. For example, if it determines that the scenario is changing from a high-power scenario to a low-power scenario, it can control the SAR sensor to switch from the first operating mode with a large duty cycle to the second operating mode with a small duty cycle, so as to save power consumption of the terminal device.

[0361] Alternatively, another implementation can distinguish between scenarios where the SAR sensor is sufficiently close to the human body and scenarios where the SAR sensor is sufficiently far away from the human body. For example, in a scenario where the SAR sensor is sufficiently far away from the human body, the sensor hub can control the SAR sensor to use the second operating mode. In a scenario where the SAR sensor is sufficiently close to the human body, the SAR sensor can be controlled to use an operating mode with a smaller duty cycle, such as the fourth operating mode, which has a smaller duty cycle than the second operating mode. This further reduces the power consumption of the terminal device in scenarios where the SAR sensor is sufficiently close to the human body.

[0362] Step 1407: The sensor hub controls the SAR sensor to use the third operating mode, which has a relatively small duty cycle.

[0363] Understandably, in scenarios with high power and the human body close enough, although the current transmission power of the antenna device is relatively high, the human body is currently close to the antenna device, and the capacitance collected by the SAR sensor will not change significantly. In this case, it is not necessary for the SAR sensor to collect information frequently.

[0364] Based on this, if the sensor hub determines that the current scenario is a high-power scenario where the human body is sufficiently close, it can control the SAR sensor to use a third operating mode with a smaller duty cycle. For example, if it determines that the scenario changes from a low-power scenario to a high-power scenario where the human body is sufficiently close, it can control the SAR sensor to switch from a second operating mode with a smaller duty cycle to a third operating mode with a smaller duty cycle. Alternatively, if it determines that the scenario changes from a high-power scenario where the human body is sufficiently far away to a high-power scenario where the human body is sufficiently close, it can control the SAR sensor to switch from a second operating mode with a smaller duty cycle to a third operating mode with a smaller duty cycle.

[0365] The duty cycle of the third working mode can be the same as or different from that of the second working mode. For example, it can be equal to, greater than, or less than the duty cycle of the second working mode, without any limitation.

[0366] In a specific example, the third operating mode is the same as the second operating mode. That is to say, in low-power scenarios and / or when the human body is close enough, the sensor hub can control the SAR sensor to use the same operating mode without switching operating modes.

[0367] Step 1408: The sensor hub controls the SAR sensor to use the first operating mode, which has a relatively large duty cycle.

[0368] Understandably, in high-power scenarios where the human body is sufficiently far away, the current transmission power of the antenna device is relatively high, and the human body is also relatively far away from the antenna device. The capacitance collected by the SAR sensor will change significantly as the human body approaches. Therefore, the SAR sensor needs to collect information frequently in order to detect scenarios where the human body is sufficiently close in a timely and accurate manner.

[0369] Based on this, if the sensor hub determines that the current scenario is a high-power scenario where the human body is sufficiently far away, it can control the SAR sensor to use the first operating mode with a large duty cycle. For example, if it determines that the scenario changes from a low-power scenario to a high-power scenario where the human body is sufficiently far away, it can control the SAR sensor to switch from the second operating mode with a small duty cycle to the first operating mode with a large duty cycle. Alternatively, if it determines that the scenario changes from a high-power scenario where the human body is sufficiently close to the human body to a high-power scenario where the human body is sufficiently far away, it can control the SAR sensor to switch from the third operating mode with a small duty cycle to the first operating mode with a large duty cycle. This ensures that the performance of the device is not affected and that there are no misjudgments or hysteresis effects.

[0370] By adopting the above-described implementation scheme eight, the information collected by the capacitive sensor and the transmission status of the terminal antenna can be combined to comprehensively determine the scenario in which the terminal device is located. When changing from a high-power scenario to a low-power scenario, or from a high-power scenario where the human body is sufficiently far away to a high-power scenario where the human body is sufficiently close, the capacitive sensor is controlled to switch from a high duty cycle operating mode to a low duty cycle operating mode to save power consumption of the terminal device. Conversely, when changing from a low-power scenario to a high-power scenario, or from a high-power scenario where the human body is sufficiently close to a high-power scenario where the human body is sufficiently far away, the capacitive sensor is controlled to switch from a low duty cycle operating mode back to a high duty cycle operating mode to ensure that the capacitive sensor has high detection accuracy. In this way, the accuracy of the human body detection function can be ensured while reducing the power consumption of the terminal device.

[0371] Implementation Plan Nine

[0372] Please refer to Figure 15, which shows a schematic diagram of the interaction flow of a control method provided in Implementation Scheme Nine. This method combines the above-mentioned Implementation Schemes One, Two, Three, and Four, that is, it comprehensively decides the operating mode of the capacitive sensor by simultaneously referring to the information collected by the capacitive sensor, the transmission status of the terminal antenna, the insertion status of the terminal antenna, and the temperature of the antenna device. This method can be executed by a terminal device, such as the terminal device 300 in Figure 3 above. Further, it can be executed by the processor 330, the capacitive sensor, and the temperature sensor in the terminal device 300. The processor 330 can be, for example, the sensor hub 332, the cellular processor 333, and the application processor 331 shown in Figure 4. The capacitive sensor can be, for example, the SAR sensor 3911 shown in Figure 4, and the temperature sensor can be, for example, the temperature sensor 3913 shown in Figure 4. That is, the control method can be jointly executed by the sensor hub 332, the cellular processor 333, the application processor 331, the SAR sensor 3911, and the temperature sensor 3913.

[0373] Step 1501: The application processor obtains the card insertion status of the terminal device.

[0374] Optionally, the application processor may acquire the card insertion status of the terminal device in a first cycle, that is, acquire the current card insertion status of the terminal device once every first cycle. The duration of the first cycle can be set by those skilled in the art based on experience, or it can be set according to the actual scenario requirements, or it can be specified by the user, without any specific limitation.

[0375] Step 1502: The application processor sends card insertion scenario information to the sensor hub according to the card insertion status of the terminal device. The card insertion scenario information is used to indicate whether the card has been inserted or not.

[0376] Alternatively, the application processor can directly send the acquired card insertion status to the sensor hub, which can then automatically identify the current card insertion scenario.

[0377] Step 1503: The cellular processor obtains the transmit power of the antenna device connected to the SAR sensor in the terminal device.

[0378] Optionally, the cellular processor can acquire the transmit power of the antenna device connected to the SAR sensor in a second cycle. The duration of the second cycle can be the same as or different from the duration of the first cycle, and there is no specific limitation.

[0379] Step 1504: The cellular processor sends power scene information to the sensor hub based on the transmit power of the antenna device connected to the SAR sensor in the terminal device. The power scene information is used to indicate a high-power scene or a low-power scene.

[0380] Alternatively, the cellular processor can directly send the acquired transmit power of the antenna device to the sensor hub, which can then identify the current power scenario on its own.

[0381] Step 1505: The SAR sensor sends the first information it has collected to the sensor hub.

[0382] Optionally, the SAR sensor can acquire the first information from the connected antenna device in a third cycle and send it to the sensor hub. The duration of the third cycle can be, for example, the duration of a pulse corresponding to the current operating mode of the SAR sensor. The duration of the second cycle can be the same as or different from the durations of the first and second cycles mentioned above; no specific limitation is imposed.

[0383] Step 1506: The sensor hub determines whether the current scene is one where the human body is sufficiently close or sufficiently far away, based on the first information collected by the SAR sensor.

[0384] For example, a sensor hub can calculate the capacitance value based on the first information collected by the SAR sensor. If the capacitance value is greater than or equal to a set capacitance threshold, it determines that the current scene is one where the human body is close enough; otherwise, it determines that the current scene is one where the human body is far enough away.

[0385] Step 1507: The temperature sensor sends the collected second information to the sensor hub.

[0386] Optionally, the temperature sensor may acquire second location information in a fourth cycle and send it to the sensor hub. The duration of the fourth cycle may be the same as or different from the duration of the first, second, and third cycles mentioned above; no specific limitation is imposed.

[0387] Step 1508: The sensor hub determines whether the current scenario is one of stable temperature change or drastic temperature change based on the second information collected by the temperature sensor.

[0388] For example, a sensor hub can calculate temperature parameters based on the second information collected by the temperature sensor. If the temperature parameter is less than or equal to a set temperature threshold, it is determined that the current situation is a scenario of stable temperature change; otherwise, it is determined that the current situation is a scenario of drastic temperature change.

[0389] It should be noted that the order of steps 1501-1502, 1503-1504, 1505-1506, and 1507-1508 is not limited. For example, steps 1501-1502, 1503-1504, 1505-1506, and 1507-1508 can be executed simultaneously. Alternatively, steps 1501-1502 can be executed first, followed by steps 1503-1504, then steps 1505-1506, and finally steps 1507-1508. Or, steps 1507-1508 can be executed first, followed by steps 1501-1502, then steps 1505-1506, and finally steps 1503-1504, and so on. No specific limitations are made here.

[0390] Step 1509: The sensor hub determines the scene combination based on the content of steps 1501 to 1508 above.

[0391] If at least three of the following scenarios are met: low power, no card inserted, human body is close enough, and temperature changes are stable, then proceed to step 1510.

[0392] If at least two of the following scenarios are met: high power, card inserted, human body sufficiently far away, or drastic temperature change, then proceed to step 1511.

[0393] Here, at least three of the following scenarios—low power, no card inserted, human body sufficiently close, and stable temperature change—can include the following two combinations:

[0394] Combination A1 meets all four requirements in the following scenarios: low power, no card inserted, human body close enough, and stable temperature change.

[0395] Combination A2 satisfies three scenarios: low power, no card inserted, human body sufficiently close, and drastic temperature changes; low power, no card inserted, human body sufficiently far away, and stable temperature changes; low power, card inserted, human body sufficiently close, and stable temperature changes; and high power, no card inserted, human body sufficiently close, and stable temperature changes.

[0396] Correspondingly, at least two of the following scenarios—high power, card already inserted, human body sufficiently far away, and drastic temperature changes—can include the following three combinations:

[0397] Combination B1 meets all four requirements: high power, card already inserted, human body sufficiently far away, and drastic temperature changes.

[0398] Combination B2 satisfies three scenarios: high power, card inserted, human body sufficiently far away, and stable temperature change; high power, card inserted, human body sufficiently close, and drastic temperature change; high power, no card inserted, human body sufficiently far away, and drastic temperature change; and low power, card inserted, human body sufficiently far away, and drastic temperature change.

[0399] Combination B3 satisfies two scenarios, including high power, card inserted, human body sufficiently close, and stable temperature change; high power, no card inserted, human body sufficiently far away, and stable temperature change; high power, no card inserted, human body sufficiently close, and drastic temperature change; low power, card inserted, human body sufficiently far away, and stable temperature change; and low power, no card inserted, human body sufficiently far away, and drastic temperature change.

[0400] Step 1510: The sensor hub controls the SAR sensor to operate in a low duty cycle mode.

[0401] Here, low power, no SIM card inserted, human body sufficiently close, and stable temperature changes are considered scenarios where frequent status detection by the terminal device is not required. High power, SIM card inserted, human body sufficiently far away, and drastic temperature changes are considered scenarios where frequent status detection by the terminal device is required. If the terminal device meets at least three of the following scenarios—low power, no SIM card inserted, human body sufficiently close, and stable temperature changes—that is, if it only meets one of the following scenarios or none of them, it indicates that the number of scenarios where frequent status detection by the terminal device is not required is currently greater. Capacitive sensors do not need to collect information frequently; therefore, capacitive sensors can operate with a small duty cycle to save power consumption of the terminal device.

[0402] Optionally, one or more low duty cycle operating modes can be configured for one scenario in combination A1 and four scenarios in combination A2. Each operating mode corresponds to one or more scenarios. When the sensor hub determines the scenario corresponding to a certain operating mode from other scenarios, it controls the SAR sensor to use the corresponding operating mode.

[0403] For example, when only a small duty cycle operating mode is configured, this operating mode is shared by the five scenarios included in the above combination A1 and combination A2. Therefore, the sensor hub can control the SAR sensor to switch from the large duty cycle operating mode to the small duty cycle operating mode when it detects that the terminal device switches from other scenarios to any of the five scenarios included in the above combination A1 and combination A2. However, when the operation only changes between the five scenarios included in the above combination A1 and combination A2, there is no need to switch the operating mode.

[0404] For example, when multiple low duty cycle operating modes are configured, such as configuring one operating mode for each scenario, the sensor hub can control the SAR sensor to switch operating modes as soon as it detects a scenario change in the terminal device. The switched operating mode corresponds to the current scenario. Alternatively, the lowest duty cycle operating mode can be configured for the low power, no card inserted, human body sufficiently close, and stable temperature change scenarios in combination A1 above, and the four scenarios in combination A2 above can be configured with relatively low duty cycle operating modes. In this way, when the sensor hub detects that the terminal device switches from other scenarios to the low power, no card inserted, human body sufficiently close, and stable temperature change scenarios in combination A1 above, it can control the SAR sensor to switch to the lowest duty cycle operating mode. When it detects that the terminal device switches from other scenarios to any of the four scenarios in combination A2 above, it can control the SAR sensor to switch to the relatively low duty cycle operating mode.

[0405] It is understandable that there are many other configurations for different duty cycles, which will not be listed here.

[0406] Step 1511: The sensor hub controls the SAR sensor to operate in a high duty cycle mode.

[0407] Understandably, if a terminal device meets at least two of the following scenarios: high power, card inserted, human body sufficiently far away, and drastic temperature change, that is, if it only meets one of the following scenarios: low power, no card inserted, human body sufficiently close, and stable temperature change, or none of them are met, it indicates that the current scenarios requiring frequent status detection by the terminal device are more numerous. Capacitive sensors need to collect information frequently. Therefore, capacitive sensors can operate with a large duty cycle to detect the human body's proximity in a timely and accurate manner, ensuring that the device's performance is not affected and that there are no misjudgments or hysteresis effects.

[0408] Optionally, one or more high duty cycle operating modes can be configured for one scenario in combination B1, four scenarios in combination B2, and four scenarios in combination B3. Each operating mode corresponds to one or more scenarios. When the sensor hub determines the scenario corresponding to a certain operating mode from other scenarios, it controls the SAR sensor to use the corresponding operating mode.

[0409] For example, when only a large duty cycle operating mode is configured, this operating mode is shared by the nine scenarios included in the above combinations B1, B2, and B3. Therefore, the sensor hub can control the SAR sensor to switch from a small duty cycle operating mode to the large duty cycle operating mode when it detects that the terminal device switches from other scenarios to any of the nine scenarios included in the above combinations B1, B2, and B3. However, when the operation only changes between the nine scenarios included in the above combinations B1, B2, and B3, there is no need to switch the operating mode.

[0410] For example, when configuring multiple high duty cycle operating modes, such as configuring one operating mode for each scene, the sensor hub can control the SAR sensor to switch operating modes as soon as it detects a scene change in the terminal device. The switched operating mode corresponds to the current scene. Alternatively, the operating mode with the largest duty cycle can be configured for the scenes in combination B1, the four scenes in combination B2 can be configured with relatively large duty cycle operating modes, and the four scenes in combination B3 can be configured with relatively small duty cycle operating modes. In this way, when the sensor hub detects that the terminal device switches from other scenes to a scene in combination B1, it can control the SAR sensor to switch to the operating mode with the largest duty cycle. When it detects that the terminal device switches from other scenes to any of the four scenes in combination B2, it can control the SAR sensor to switch to the operating mode with a relatively large duty cycle. When it detects that the terminal device switches from other scenes to any of the four scenes in combination B3, it can control the SAR sensor to switch to the operating mode with the relatively small duty cycle. Here, "relatively small duty cycle" means the smallest among combinations B1, B2, and B3, but still larger than the duty cycles of combinations A1 and A2.

[0411] It is understandable that there are many other configurations for different duty cycles, which will not be listed here.

[0412] By adopting the above-mentioned implementation scheme nine, the information collected by the capacitive sensor, the transmission status of the terminal antenna, the card insertion status of the terminal antenna, and the temperature of the antenna device can be combined to make a comprehensive decision on the scenario in which the terminal device is located. Corresponding working modes can be configured for each or multiple scenarios. Different working modes have different duty cycles. In this way, the duty cycle of the capacitive sensor can be controlled more precisely, ensuring the accuracy of the human body detection function while reducing the power consumption of the terminal device.

[0413] It should be noted that the solution given in step 1509 above is only an example. In actual control schemes, step 1510 can be executed when at least K conditions are met, including low power, no card inserted, human body sufficiently close, and stable temperature change; and step 1511 can be executed when at least L conditions are met, including high power, card inserted, human body sufficiently far away, and drastic temperature change. K and L are both positive integers not greater than 4, and K + L = 5. For example, step 1509 above shows an example where K = 3 and L = 2, and other examples include, but are not limited to, the following examples one to three:

[0414] Example 1, K=4, L=1, that is, when the four scenarios of low power, no card inserted, human body sufficiently close, and stable temperature change are met, step 1510 is executed; when at least one of the scenarios of high power, card inserted, human body sufficiently far away, and drastic temperature change is met, step 1511 is executed. In other words, the low duty cycle mode is used only in one of the scenarios of the above combination A1, and the high duty cycle mode is used in other scenarios.

[0415] Example 2, K=2, L=3, meaning that step 1510 is executed when at least two of the following scenarios are met: low power, no card inserted, human body sufficiently close, and stable temperature change; step 1511 is executed when at least three of the following scenarios are met: high power, card inserted, human body sufficiently far away, and drastic temperature change. In other words, the low duty cycle operating mode, in addition to the above combinations A1 and A2, also includes the following combination A3: scenarios meeting two conditions include low power & no card inserted & human body sufficiently far away & drastic temperature change, low power & card inserted & human body sufficiently close & drastic temperature change, low power & card inserted & human body sufficiently far away & stable temperature change, high power & no card inserted & human body sufficiently close & drastic temperature change, high power & no card inserted & human body sufficiently far away & stable temperature change, and high power & card inserted & human body sufficiently close & stable temperature change. The high duty cycle operating mode only includes the above combinations B1 and B2.

[0416] Example 3, K=1, L=4, meaning that step 1510 is executed when at least one of the following scenarios is met: low power, no card inserted, human body sufficiently close, and stable temperature change; step 1511 is executed when all four scenarios are met: high power, card inserted, human body sufficiently far away, and drastic temperature change. In other words, the low duty cycle operating mode, in addition to the above combinations A1, A2, and A3, also includes the following combination A4: scenarios that meet one of the following conditions include: low power & card inserted & human body sufficiently far away & drastic temperature change; high power & no card inserted & human body sufficiently far away & drastic temperature change; high power & card inserted & human body sufficiently close & drastic temperature change; and high power & card inserted & human body sufficiently far away & stable temperature change. The high duty cycle operating mode only includes the above combination B1.

[0417] Implementation Plan 10

[0418] Please refer to Figure 16, which shows a schematic diagram of the interaction flow of a control method provided in Implementation Scheme 10. This method combines the results of Implementation Schemes 1 to 6 above, that is, it comprehensively decides the operating mode of the capacitive sensor by simultaneously referring to the information collected by the capacitive sensor, the transmission status of the terminal antenna, the card insertion status of the terminal antenna, the reference received signal strength of the terminal device, the service status of the terminal antenna, and the temperature of the antenna device. This method can be executed by a terminal device, such as the terminal device 300 in Figure 3 above. Further, it can be executed by the processor 330, the capacitive sensor, and the temperature sensor in the terminal device 300. The processor 330 can be, for example, the sensor hub 332, the cellular processor 333, and the application processor 331 shown in Figure 4. The capacitive sensor can be, for example, the SAR sensor 3911 shown in Figure 4, and the temperature sensor can be, for example, the temperature sensor 3913 shown in Figure 4. That is, the control method can be jointly executed by the sensor hub 332, the cellular processor 333, the application processor 331, the SAR sensor 3911, and the temperature sensor 3913.

[0419] Step 1601: The application processor obtains the card insertion status of the terminal device.

[0420] Optionally, the application processor may acquire the card insertion status of the terminal device in a first cycle, that is, acquire the current card insertion status of the terminal device once every first cycle. The duration of the first cycle can be set by those skilled in the art based on experience, or it can be set according to the actual scenario requirements, or it can be specified by the user, without any specific limitation.

[0421] Step 1602: The application processor sends card insertion scenario information to the sensor hub according to the card insertion status of the terminal device. The card insertion scenario information is used to indicate whether the card has been inserted or not.

[0422] Alternatively, the application processor can directly send the acquired card insertion status to the sensor hub, which can then automatically identify the current card insertion scenario.

[0423] Step 1603: The application processor obtains the service status of the antenna device connected to the SAR sensor in the terminal device.

[0424] Optionally, the application processor may acquire the service status of the antenna device in a fifth cycle, that is, acquire the current service status of the antenna device once every fifth cycle. The duration of the fifth cycle can be set by those skilled in the art based on experience, or it can be set according to the actual scenario requirements, or it can be specified by the user, without any specific limitation.

[0425] Step 1604: The application processor sends service scenario information to the sensor hub according to the service status of the antenna device. The service scenario information is used to indicate whether the scenario is in service mode or not.

[0426] Alternatively, the application processor can directly send the acquired business status to the sensor hub, which can then identify the current business scenario on its own.

[0427] Step 1605: The cellular processor obtains the transmit power of the antenna device connected to the SAR sensor in the terminal device.

[0428] Optionally, the cellular processor can acquire the transmit power of the antenna device connected to the SAR sensor in a second cycle. The duration of the second cycle can be the same as or different from the duration of the first and fifth cycles described above; no specific limitation is imposed.

[0429] Step 1606: The cellular processor sends power scene information to the sensor hub based on the transmission power of the antenna device connected to the SAR sensor in the terminal device. The power scene information is used to indicate a high-power scene or a low-power scene.

[0430] Alternatively, the cellular processor can directly send the acquired transmit power of the antenna device to the sensor hub, which can then identify the current power scenario on its own.

[0431] Step 1607: The cellular processor obtains the reference signal received power of the antenna device connected to the SAR sensor in the terminal device.

[0432] Optionally, the cellular processor may acquire the reference signal received power of the antenna device in a sixth cycle. The duration of the sixth cycle may be the same as or different from the durations of the first, fifth, and second cycles described above; no specific limitation is imposed.

[0433] Step 1608: The cellular processor sends signal scene information to the sensor hub based on the reference signal received power of the antenna device. The signal scene information is used to indicate a strong signal scene or a weak signal scene.

[0434] Alternatively, the cellular processor can directly send the reference signal received power from the acquired antenna device to the sensor hub, which can then identify the current signal scenario on its own.

[0435] Step 1609: The SAR sensor sends the first information it has collected to the sensor hub.

[0436] Optionally, the SAR sensor may acquire the first information from the connected antenna device in a third cycle and send it to the sensor hub. The duration of the third cycle may be, for example, the duration of a pulse corresponding to the current operating mode of the SAR sensor. The duration of the third cycle may be the same as or different from the durations of the first, fifth, second, and sixth cycles mentioned above; no specific limitation is imposed.

[0437] Step 1610: The sensor hub determines whether the current scene is one where the human body is sufficiently close or sufficiently far away, based on the first information collected by the SAR sensor.

[0438] For example, a sensor hub can calculate the capacitance value based on the first information collected by the SAR sensor. If the capacitance value is greater than or equal to a set capacitance threshold, it determines that the current scene is one where the human body is close enough; otherwise, it determines that the current scene is one where the human body is far enough away.

[0439] Step 1611: The temperature sensor sends the collected second information to the sensor hub.

[0440] Optionally, the temperature sensor may collect second information about its location in a fourth cycle and send it to the sensor hub. The duration of the fourth cycle may be the same as or different from the duration of the first, fifth, second, sixth, and third cycles mentioned above; no specific limitation is imposed.

[0441] Step 1612: The sensor hub determines whether the current scenario is one of stable temperature change or drastic temperature change based on the second information collected by the temperature sensor.

[0442] For example, a sensor hub can calculate temperature parameters based on the second information collected by the temperature sensor. If the temperature parameter is less than or equal to a set temperature threshold, it is determined that the current situation is a scenario of stable temperature change; otherwise, it is determined that the current situation is a scenario of drastic temperature change.

[0443] It should be noted that the order of steps 1601-1602, 1603-1604, 1605-1606, 1607-1608, 1609-1610, and 1611-1612 is not limited. For example, steps 1601-1602, 1603-1604, 1605-1606, 1607-1608, 1609-1610, and 1611-1612 can be executed simultaneously. Alternatively, steps 1601-1602 can be executed first, followed by steps 1603-1604, then steps 1605-1606, and finally steps 1601-1602. Steps 7-1608 are then executed, followed by steps 1609-1610, and finally steps 1611-1612. Alternatively, steps 1607-1608 can be executed first, followed by steps 1601-1602, then steps 1605-1606, then steps 1611-1612, then steps 1609-1610, and finally steps 1603-1604, and so on. No specific limitations are made here.

[0444] Step 1613: The sensor hub determines the scene combination based on the content of steps 1601 to 1612 above.

[0445] If at least three of the following scenarios are met: low power, no card inserted, non-business mode, human body is close enough, temperature changes stably, and strong signal, then proceed to step 1614.

[0446] If at least four of the following scenarios are met: high power, card inserted, in service mode, human body sufficiently far away, drastic temperature change, or weak signal, then proceed to step 1615.

[0447] Here, at least three of the following scenarios—low power, no SIM card inserted, non-service mode, sufficiently close to a human body, stable temperature change, and strong signal—can include the following four combinations:

[0448] Combination A1 meets all six requirements for the following scenarios: low power, no card inserted, non-business mode, human body close enough, stable temperature change, and strong signal.

[0449] Combination A2 satisfies five scenarios, including: low power & no card inserted & non-service mode & human body sufficiently close & stable temperature change & weak signal; low power & no card inserted & non-service mode & human body sufficiently close & drastic temperature change & strong signal; low power & no card inserted & non-service mode & human body sufficiently far away & stable temperature change & strong signal; low power & no card inserted & service mode & human body sufficiently close & stable temperature change & strong signal; low power & card inserted & non-service mode & human body sufficiently close & stable temperature change & strong signal; and high power & no card inserted & non-service mode & human body sufficiently close & stable temperature change & strong signal.

[0450] Combination A3 satisfies four scenarios: low power, no SIM card inserted, non-service mode, human body sufficiently close, drastic temperature changes, and weak signal; low power, no SIM card inserted, non-service mode, human body sufficiently far away, stable temperature changes, and weak signal; low power, no SIM card inserted, service mode, human body sufficiently close, stable temperature changes, and weak signal; low power, SIM card inserted, non-service mode, human body sufficiently close, stable temperature changes, and weak signal; high power, no SIM card inserted, non-service mode, human body sufficiently close, stable temperature changes, and weak signal; low power, no SIM card inserted, non-service mode, human body sufficiently far away, drastic temperature changes, and strong signal; low power, no SIM card inserted, service mode, human body sufficiently close, drastic temperature changes, and strong signal; low power, SIM card inserted, non-service mode... The scenarios are as follows: Business mode & human body close enough & drastic temperature change & strong signal; High power & no card inserted & non-business mode & human body close enough & drastic temperature change & strong signal; Low power & no card inserted & business mode & human body far enough away & stable temperature change & strong signal; Low power & card inserted & non-business mode & human body far enough away & stable temperature change & strong signal; High power & no card inserted & non-business mode & human body far enough away & stable temperature change & strong signal; Low power & card inserted & business mode & human body close enough & stable temperature change & strong signal; High power & no card inserted & business mode & human body close enough & stable temperature change & strong signal; High power & card inserted & non-business mode & human body close enough & stable temperature change & strong signal.

[0451] The A4 combination satisfies three scenarios: low power, no SIM card inserted, non-service mode, human body sufficiently far away, drastic temperature changes, and weak signal; low power, no SIM card inserted, service mode, human body sufficiently close, drastic temperature changes, and weak signal; low power, SIM card inserted, non-service mode, human body sufficiently close, drastic temperature changes, and weak signal; high power, no SIM card inserted, non-service mode, human body sufficiently close, drastic temperature changes, and weak signal; low power, no SIM card inserted, service mode, human body sufficiently far away, stable temperature changes, and weak signal; low power, SIM card inserted, non-service mode, human body sufficiently far away, stable temperature changes, and weak signal; high power, no SIM card inserted, non-service mode, human body sufficiently far away, stable temperature changes, and weak signal; low power, SIM card inserted, service mode, human body sufficiently close, stable temperature changes, and weak signal; high power, SIM card inserted, non-service mode, human body sufficiently close, stable temperature changes, and weak signal; high power, SIM card inserted, non-service mode, human body sufficiently close, stable temperature changes, and weak signal. The scenarios are categorized as follows: weak signal, low power, no SIM card inserted, in service mode, human body sufficiently far away, drastic temperature changes, strong signal; low power, SIM card inserted, not in service mode, human body sufficiently far away, drastic temperature changes, strong signal; high power, no SIM card inserted, not in service mode, human body sufficiently far away, drastic temperature changes, strong signal; low power, SIM card inserted, in service mode, human body sufficiently close, drastic temperature changes, strong signal; high power, no SIM card inserted, in service mode, human body sufficiently close, drastic temperature changes, strong signal; high power, SIM card inserted, not in service mode, human body sufficiently close, drastic temperature changes, strong signal; low power, SIM card inserted, in service mode, human body sufficiently far away, stable temperature changes, strong signal; high power, no SIM card inserted, in service mode, human body sufficiently far away, stable temperature changes, strong signal; high power, SIM card inserted, not in service mode, human body sufficiently far away, stable temperature changes, strong signal; high power, SIM card inserted, in service mode, human body sufficiently close, stable temperature changes, strong signal.

[0452] Correspondingly, at least four of the following scenarios—high power, SIM card inserted, service status, human body sufficiently far away, drastic temperature changes, and weak signal—can include the following three combinations:

[0453] Combination B1 meets all six requirements for the following scenarios: high power, card inserted, service status, human body sufficiently far away, drastic temperature changes, and weak signal.

[0454] Combination B2 satisfies five scenarios, including: high power & SIM card inserted & in service mode & human body sufficiently far away & drastic temperature change & strong signal; high power & SIM card inserted & in service mode & human body sufficiently far away & stable temperature change & weak signal; high power & SIM card inserted & in service mode & human body sufficiently close & drastic temperature change & weak signal; high power & SIM card inserted & not in service mode & human body sufficiently far away & drastic temperature change & weak signal; high power & no SIM card inserted & in service mode & human body sufficiently far away & drastic temperature change & weak signal; and low power & SIM card inserted & in service mode & human body sufficiently far away & drastic temperature change & weak signal.

[0455] Combination B3 satisfies four scenarios: high power, SIM card inserted, in service mode, human body sufficiently far away, stable temperature change, strong signal; high power, SIM card inserted, in service mode, human body sufficiently close, drastic temperature change, strong signal; high power, SIM card inserted, not in service mode, human body sufficiently far away, drastic temperature change, strong signal; high power, no SIM card inserted, in service mode, human body sufficiently far away, drastic temperature change, strong signal; low power, SIM card inserted, in service mode, human body sufficiently far away, drastic temperature change, strong signal; high power, SIM card inserted, in service mode, human body sufficiently close, stable temperature change, weak signal; high power, SIM card inserted, not in service mode, human body sufficiently far away, stable temperature change, weak signal; high power, no SIM card inserted, in service mode... The scenarios are as follows: Service mode, human body sufficiently far away, stable temperature changes, weak signal; low power, SIM card inserted, service mode, human body sufficiently far away, stable temperature changes, weak signal; high power, SIM card inserted, non-service mode, human body sufficiently close, drastic temperature changes, weak signal; high power, no SIM card inserted, service mode, human body sufficiently close, drastic temperature changes, weak signal; low power, SIM card inserted, service mode, human body sufficiently close, drastic temperature changes, weak signal; high power, no SIM card inserted, non-service mode, human body sufficiently far away, drastic temperature changes, weak signal; low power, SIM card inserted, non-service mode, human body sufficiently far away, drastic temperature changes, weak signal; low power, no SIM card inserted, service mode, human body sufficiently far away, drastic temperature changes, weak signal.

[0456] Step 1614: The sensor hub controls the SAR sensor to operate in a low duty cycle mode.

[0457] Here, low power, no SIM card inserted, non-service mode, sufficiently close human body, stable temperature change, and strong signal are considered scenarios where frequent status detection by the terminal device is not required. High power, SIM card inserted, service mode, sufficiently far human body, drastic temperature change, and weak signal are considered scenarios where frequent status detection by the terminal device is required. If the terminal device meets at least three of the following scenarios: low power, no SIM card inserted, non-service mode, sufficiently close human body, stable temperature change, and strong signal; that is, if it only meets one, two, or none of the following scenarios: high power, SIM card inserted, service mode, sufficiently far human body, drastic temperature change, and weak signal, it indicates that the number of scenarios where frequent status detection by the terminal device is not required is currently greater. Capacitive sensors do not need to collect information frequently; therefore, capacitive sensors can operate with a small duty cycle to save power consumption of the terminal device.

[0458] Optionally, one or more low duty cycle operating modes can be configured for one scenario in combination A1, six scenarios in combination A2, fifteen scenarios in combination A3, and twenty scenarios in combination A4. Each operating mode corresponds to one or more scenarios. When the sensor hub determines the scenario corresponding to a certain operating mode from other scenarios, it controls the SAR sensor to use the corresponding operating mode.

[0459] For example, when only a small duty cycle operating mode is configured, this operating mode is shared by the six scenarios in combination A1 and combination A2, the fifteen scenarios in combination A3, and the twenty scenarios in combination A4. Therefore, the sensor hub can control the SAR sensor to switch from a large duty cycle operating mode to the small duty cycle operating mode when it detects that the terminal device switches from other scenarios to any one of the six scenarios in combination A1, combination A2, combination A3, and combination A4. However, when the switching only occurs between the forty-two scenarios included in combination A1 to combination A4, there is no need to switch the operating mode.

[0460] For example, when configuring multiple low duty cycle operating modes, such as configuring one operating mode for each scenario, the sensor hub can control the SAR sensor to switch operating modes as soon as it detects a scenario change in the terminal device. The switched operating mode corresponds to the current scenario. Alternatively, the lowest duty cycle operating mode can be configured for the scenarios in combination A1 (low power, no card inserted, sufficiently close human body in service mode, stable temperature change, strong signal), the six scenarios in combination A2 (relatively low duty cycle operating modes), the fifteen scenarios in combination A3 (relatively low but higher duty cycle than the corresponding A2), and the twenty scenarios in combination A4 (relatively low duty cycle operating modes). The scene configuration has a relatively small duty cycle, but a larger duty cycle than the corresponding A3. In this way, when the sensor hub detects that the terminal device switches from other scenes to the low-power, no card inserted, service mode, human body sufficiently close, stable temperature change, and strong signal scene in combination A1, it can control the SAR sensor to switch to the minimum duty cycle operating mode. When it detects that the terminal device switches from other scenes to any of the six scenes in combination A2, or to any of the fifteen scenes in combination A3, or to any of the twenty scenes in combination A4, it controls the SAR sensor to switch to the relatively small duty cycle operating mode.

[0461] It is understandable that there are many other configurations for different duty cycles, which will not be listed here.

[0462] Step 1615: The sensor hub controls the SAR sensor to operate in a high duty cycle mode.

[0463] Understandably, if a terminal device meets at least four of the following scenarios: high power, SIM card inserted, non-service mode, human body sufficiently far away, drastic temperature change, and weak signal, that is, if it only meets one or two of the following scenarios: low power, no SIM card inserted, service mode, human body sufficiently close, stable temperature change, and strong signal, or none of them, it indicates that the current scenarios requiring frequent status detection by the terminal device are more numerous. Capacitive sensors need to collect information frequently. Therefore, capacitive sensors can operate with a large duty cycle to detect the human body's proximity in a timely and accurate manner, ensuring that the device's performance is not affected and that there are no misjudgments or hysteresis effects.

[0464] Optionally, one or more high duty cycle operating modes can be configured for one scenario in combination B1, six scenarios in combination B2, and fifteen scenarios in combination B3. Each operating mode corresponds to one or more scenarios. When the sensor hub determines the scenario corresponding to a certain operating mode from other scenarios, it controls the SAR sensor to use the corresponding operating mode.

[0465] For example, when only a large duty cycle operating mode is configured, this operating mode is shared by the twenty-two scenarios included in the above combinations B1, B2, and B3. Therefore, the sensor hub can control the SAR sensor to switch from a small duty cycle operating mode to the large duty cycle operating mode when it detects that the terminal device switches from other scenarios to any of the twenty-two scenarios included in the above combinations B1, B2, and B3. However, when the operation only changes between the twenty-two scenarios included in the above combinations B1, B2, and B3, there is no need to switch the operating mode.

[0466] For example, when multiple high duty cycle operating modes are configured, such as configuring one operating mode for each scene, the sensor hub can control the SAR sensor to switch operating modes as soon as it detects a scene change in the terminal device. The switched operating mode corresponds to the current scene. Alternatively, the operating mode with the largest duty cycle can be configured for the scenes in combination B1, the six scenes in combination B2 can be configured with relatively large duty cycle operating modes, and the fifteen scenes in combination B3 can be configured with relatively small duty cycle operating modes. In this way, when the sensor hub detects that the terminal device switches from other scenes to a scene in combination B1, it can control the SAR sensor to switch to the operating mode with the largest duty cycle. When it detects that the terminal device switches from other scenes to any of the six scenes in combination B2, it can control the SAR sensor to switch to the operating mode with a relatively large duty cycle. When it detects that the terminal device switches from other scenes to any of the fifteen scenes in combination B3, it can control the SAR sensor to switch to the operating mode with the relatively small duty cycle. Here, "relatively minimum duty cycle" refers to the minimum among combinations B1, B2, and B3, but it is still greater than the duty cycles of combinations A1, A2, A3, and A4.

[0467] It is understandable that there are many other configurations for different duty cycles, which will not be listed here.

[0468] By adopting the above-mentioned implementation scheme ten, the information collected by the capacitive sensor, the transmission status of the terminal antenna, the signal status of the terminal antenna, the card insertion status of the terminal antenna, the service status of the terminal antenna, and the temperature of the antenna device can be combined to make a comprehensive decision on the scenario in which the terminal device is located. Corresponding working modes can be configured for each or multiple scenarios. Different working modes have different duty cycles. In this way, the duty cycle of the capacitive sensor can be controlled more precisely, ensuring the accuracy of the human body detection function while reducing the power consumption of the terminal device.

[0469] It should be noted that the solution given in step 1613 above is only an example. In actual control schemes, step 1614 can be executed when at least K of the following scenarios are met: low power, no card inserted, non-operational mode, human body sufficiently close, stable temperature change, and strong signal; and step 1615 can be executed when at least L of the following scenarios are met: high power, card inserted, operational mode, human body sufficiently far away, drastic temperature change, and weak signal. K and L are both positive integers not greater than 6, and K + L = 7. For example, step 1613 above shows an example where K = 3 and L = 4, and other examples include, but are not limited to, the following examples one to three:

[0470] Example 1, K=6, L=1, that is, when the following six scenarios are met: low power, no card inserted, non-service mode, human body is close enough, stable temperature change, and strong signal, step 1614 is executed; when at least one of the following scenarios is met: high power, card inserted, service mode, human body is far enough away, drastic temperature change, and weak signal, step 1615 is executed. In other words, the low duty cycle mode is used only in one of the above combination A1 scenarios, and the high duty cycle mode is used in other scenarios.

[0471] Example 2, K=5, L=2, that is, step 1614 is executed when at least five of the following scenarios are met: low power, no card inserted, non-service mode, human body is close enough, stable temperature change, and strong signal; step 1615 is executed when at least two of the following scenarios are met: high power, card inserted, service mode, human body is far enough away, drastic temperature change, and weak signal. In other words, the low duty cycle mode is used only in one scenario of combination A1 and six scenarios of combination A2, and the high duty cycle mode is used in other scenarios.

[0472] Example 3, K=4, L=3, that is, step 1614 is executed when at least four of the following scenarios are met: low power, no card inserted, non-service mode, human body is close enough, stable temperature change, and strong signal; step 1615 is executed when at least three of the following scenarios are met: high power, card inserted, service mode, human body is far enough away, drastic temperature change, and weak signal. In other words, the low duty cycle mode is used only in one scenario of combination A1, six scenarios of combination A2, and fifteen scenarios of combination A3; the high duty cycle mode is used in other scenarios.

[0473] Example 4, K=2, L=5, that is, step 1614 is executed when at least two of the following scenarios are met: low power, no card inserted, non-service mode, human body is close enough, stable temperature change, and strong signal; step 1615 is executed when at least five of the following scenarios are met: high power, card inserted, service mode, human body is far enough away, drastic temperature change, and weak signal. In other words, the high duty cycle mode is used only in one scenario of combination B1 and six scenarios of combination B2, and the low duty cycle mode is used in other scenarios.

[0474] Example 5, K=1, L=6, that is, step 1614 is executed when at least one of the following scenarios is met: low power, no card inserted, non-service mode, human body is close enough, stable temperature change, and strong signal; step 1615 is executed when all six scenarios are met: high power, card inserted, service mode, human body is far enough away, drastic temperature change, and weak signal. In other words, the high duty cycle mode is used only in one of the scenarios of the above combination B1, and the low duty cycle mode is used in other scenarios.

[0475] It should be understood that there may be other implementation schemes, which will not be listed here.

[0476] Based on the control method described above, this application can also provide a control device that can be used to execute the above control method. The relevant features can be found in the above method embodiments, and will not be repeated here.

[0477] In one possible implementation, please refer to Figure 17, which shows a possible structural schematic diagram of the control device. The control device 1700 may include a processing unit 1710 and a transceiver unit 1720. The control device 1700 may be a terminal device or a module within a terminal device (such as a processor, chip, or chip system), or it may be an apparatus applied to or used in conjunction with a terminal device or its module, capable of implementing the control methods executed by the terminal device or its module.

[0478] The transceiver unit 1720 can also be referred to as a communication unit, transceiver, transceiver device, or transceiver unit, etc., and the processing unit 1710 can also be referred to as a processor, processing chip, processing board, processing unit, or processing device, etc. Optionally, the transceiver unit 1720 is used to perform the sending and receiving operations in the above control method. The device in the transceiver unit 1720 that implements the receiving function can be regarded as a receiving unit, and the device in the transceiver unit 1720 that implements the sending function can be regarded as a sending unit. That is, the transceiver unit 1720 includes a receiving unit and a sending unit.

[0479] Optionally, the processing unit 1710 can be used to implement the processing functions in the embodiments shown in Figures 5, 6, and 8-16, and the transceiver unit 1720 can be used to implement the transceiver functions in the embodiments shown in Figures 5, 6, and 8-16. For example, when the control device 1700 executes the control method shown in Figure 5 above, the transceiver unit 1720 is used to interact with the sensors of the terminal device and / or the server of the business APP to obtain the sensor information and / or business information of the terminal device, such as at least one of the sensor information and business information of the terminal device. The processing unit 1710 is used to indicate the scene in which the terminal device is located based on the sensor information and / or business information of the terminal device, and based on the scene in which the terminal device is located, control the capacitive sensor to adjust from a first working mode to a second working mode, wherein the first working mode and the second working mode have different duty cycles.

[0480] Furthermore, it should be noted that the aforementioned transceiver unit 1720 and / or processing unit 1710 can be implemented using virtual modules. For example, processing unit 1710 can be implemented using software functional units or virtual devices, and transceiver unit 1720 can be implemented using software functions or virtual devices. Alternatively, processing unit 1710 or transceiver unit 1720 can also be implemented using physical devices. For example, if the control device 1700 is implemented using a chip / chip circuit, transceiver unit 1720 can be an input / output circuit and / or a communication interface, performing input operations (corresponding to the aforementioned receiving operations) and output operations (corresponding to the aforementioned sending operations); processing unit 1710 is an integrated processor, microprocessor, or integrated circuit.

[0481] The unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in each embodiment of this application can be integrated into a single processor, exist as separate physical units, or two or more units can be integrated into a single module. The integrated module can be implemented in hardware or as a software functional module.

[0482] In another possible implementation, please refer to Figure 18, which shows another possible structural schematic of the control device. For example, the control device 1800 may be a chip or a chip system. Optionally, in the embodiments of this application, the chip system may be composed of chips, or may include chips and other discrete devices.

[0483] The control device 1800 can be used to implement the functions of the terminal device or modules (such as processors, chips, or chip systems) in the terminal device described in the foregoing embodiments. The control device 1800 may include at least one processor 1810, which is coupled to a memory. Optionally, the memory may be located within the control device 1800, integrated with the processor, or located outside the control device 1800. For example, the control device 1800 may also include at least one memory 1820. The at least one memory 1820 stores the necessary computer programs (or instructions) and / or data for implementing any of the above embodiments; the at least one processor 1810 can execute the computer programs (or instructions) and / or data stored in the at least one memory 1820 to complete the methods in any of the above embodiments.

[0484] The control device 1800 may also include a communication interface 1830, through which the control device 1800 can interact with other devices. For example, the communication interface 1830 may be a transceiver, circuit, bus, module, pin, or other type of communication interface. When the control device 1800 is a chip-based device or circuit, the communication interface 1830 may also be an input / output circuit, capable of inputting information (or receiving information) and outputting information (or sending information). The processor may be an integrated processor, microprocessor, integrated circuit, or logic circuit, and the processor can determine the output information based on the input information.

[0485] The coupling in this embodiment is an indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, used for information exchange between devices, units, or modules. The processor 1810 may operate in conjunction with the memory 1820 and the communication interface 1830. This embodiment does not limit the specific connection medium between the processor 1810, the memory 1820, and the communication interface 1830.

[0486] Optionally, referring to Figure 18, the processor 1810, the memory 1820, and the communication interface 1830 are interconnected via a bus. The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in Figure 18, but this does not indicate that there is only one bus or one type of bus.

[0487] In the embodiments of this application, the processor 1810 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.

[0488] In this embodiment, the memory 1820 can be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or it can be volatile memory, such as random-access memory (RAM). The memory 1820 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures, and accessible by a computer, but is not limited thereto. The memory 1820 in this embodiment can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.

[0489] Based on the above, this application also provides a control system, which includes the above-mentioned control device and capacitive sensor. The control device and capacitive sensor are coupled. The control device is used to implement the control method provided in any of the above-mentioned method embodiments. The capacitive sensor is used to collect capacitance information using the corresponding working mode according to the control operation of the control device.

[0490] In one possible implementation, the capacitive sensor can be the SAR sensor described above.

[0491] In one possible implementation, the terminal device further includes the antenna device described above. The antenna device is coupled to a capacitive sensor and a control device, respectively. The capacitive sensor is also used to collect information from the antenna device, and the control device is also used to reduce the transmission frequency of the antenna device if it is determined that a human body is approaching the antenna device, and restore the transmission frequency of the antenna device if it is determined that a human body is moving away from the antenna device.

[0492] In one possible implementation, the terminal device may further include one or more of the following sensors: a touch sensor, a temperature sensor. The relevant implementation details are described in the above method embodiments and will not be repeated here.

[0493] Based on the above, this application also provides a terminal device, including the above control device, or including the above control system.

[0494] Based on the above, this application also provides a computer-readable storage medium storing instructions that, when executed, cause the method provided in any of the above-described method embodiments to be implemented. The computer-readable storage medium may include various media capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory, random access memory, magnetic disk, or optical disk.

[0495] Based on the above, this application also provides a computer program product, which includes: a computer program (also referred to as code or instructions), which, when run on a computer, causes the computer to perform the method provided in any of the above method embodiments. Optionally, the computer can be a terminal device.

[0496] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. Furthermore, the various numbers involved in the embodiments of this application (such as the numerical numbers "first," "second," "third," "fourth," etc.) are only for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the sequence numbers of the above processes does not imply the order of execution; the execution order of each process should be determined by its function and internal logic.

[0497] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, compact disc read-only memory (CD-ROM), optical storage, etc.) containing computer-usable program code.

[0498] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more flowchart illustrations and / or one or more block diagrams.

[0499] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.

[0500] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.

Claims

1. A control method, characterized in that, The method is applied to a terminal device, the terminal device including a capacitive sensor, the capacitive sensor including a first operating mode and a second operating mode, the first operating mode and the second operating mode having different duty cycles; the method includes: Based on at least one of the sensor information of the terminal device and the service information of the terminal device, the scene in which the terminal device is located is indicated; Based on the scenario in which the terminal device is located, the capacitive sensor is controlled to switch from the first working mode to the second working mode.

2. The method as described in claim 1, characterized in that, The capacitive sensor is a specific absorptivity SAR sensor.

3. The method as described in claim 1 or 2, characterized in that, The terminal device also includes an antenna device, and the capacitive sensor is coupled to the antenna device.

4. The method as described in claim 3, characterized in that, The sensor information of the terminal device includes one or more of the following: The information collected by the capacitive sensor, the information collected by the temperature sensor in the terminal device, and the information collected by the touch sensor in the terminal device; The service information of the terminal device includes one or more of the following: The information reflected by the SIM card insertion status of the terminal device, the service status of the terminal device, the reference signal receiving power of the antenna device, the transmitting power of the antenna device, and the reflection coefficient of the antenna device.

5. The method as described in claim 4, characterized in that, The service status is related to the service execution of the antenna device.

6. The method according to any one of claims 3 to 5, characterized in that, The step of indicating the scene in which the terminal device is located based on the sensor information of the terminal device includes: The capacitance parameters of the antenna device are determined based on the information collected by the capacitive sensor. If the capacitance parameter is greater than or equal to the first capacitance threshold, it indicates that the terminal device is in a scenario where the human body is sufficiently close. If the capacitance parameter is less than the second capacitance threshold, it indicates that the terminal device is in a scenario where the human body is sufficiently far away. Wherein, the second capacitance threshold is less than or equal to the first capacitance threshold.

7. The method according to any one of claims 1 to 6, characterized in that, The step of indicating the scene in which the terminal device is located based on the sensor information of the terminal device includes: The temperature parameters of the terminal device are determined based on the information collected by the temperature sensor in the terminal device. If the temperature parameter is less than or equal to a first temperature threshold, it indicates that the terminal device is in a scenario of stable temperature change; if the temperature parameter is greater than a second temperature threshold, it indicates that the terminal device is in a scenario of drastic temperature change, wherein the second temperature threshold is greater than or equal to the first temperature threshold; or... If the temperature parameter is greater than or equal to the third temperature threshold and less than or equal to the fourth temperature threshold, it indicates that the terminal device is in a scenario of stable temperature change. If the temperature parameter is less than the fifth temperature threshold or greater than the sixth temperature threshold, it indicates that the terminal device is in a scenario of drastic temperature change. The fifth temperature threshold is less than or equal to the third temperature threshold, the third temperature threshold is less than the fourth temperature threshold, and the fourth temperature threshold is less than or equal to the sixth temperature threshold.

8. The method according to any one of claims 1 to 7, characterized in that, The step of indicating the scenario in which the terminal device is located based on the service information of the terminal device includes: Based on the card insertion status of the terminal device, the system indicates whether the terminal device is in a card-inserted scenario or a card-free scenario.

9. The method according to any one of claims 3 to 6, characterized in that, The step of indicating the scenario in which the terminal device is located based on the service information of the terminal device includes: Obtain the transmit power of the antenna device; If the transmission power is less than or equal to the first power threshold, it indicates that the terminal device is in a low-power scenario; If the transmission power is greater than the second power threshold, it indicates that the terminal device is in a high-power scenario; Wherein, the second power threshold is greater than or equal to the first power threshold, and the first power threshold is less than or equal to the transmission power of the antenna device in a scenario where the human body is sufficiently close.

10. The method according to any one of claims 3 to 6 and 9, characterized in that, The step of indicating the scenario in which the terminal device is located based on the service information of the terminal device includes: Obtain the reference signal received power of the antenna device; If the received power of the reference signal is greater than or equal to the third power threshold, it indicates that the terminal device is in the first signal strength scenario; If the received power of the reference signal is less than the fourth power threshold, it indicates that the terminal device is in the second signal strength scenario; Wherein, the third power threshold is greater than or equal to the fourth power threshold.

11. The method according to any one of claims 3 to 6, 9, and 10, characterized in that, The step of indicating the scenario in which the terminal device is located based on the service information of the terminal device includes: Based on the service status of the antenna device, the terminal device is indicated to be in a service mode or a non-service mode.

12. The method according to any one of claims 3 to 6, 9-11, characterized in that, The step of indicating the scene in which the terminal device is located based on at least one of the sensor information of the terminal device and the service information of the terminal device includes: Based on at least one of the information collected by the touch sensor in the terminal device and the information reflected by the reflection coefficient of the antenna device, the terminal device is indicated to be in a scene where the human body is sufficiently close or sufficiently far away.

13. The method according to any one of claims 1 to 12, characterized in that, The step of controlling the capacitive sensor to switch from the first operating mode to the second operating mode based on the scenario in which the terminal device is located includes: When the terminal device changes from the first scene to the second scene, it controls the capacitive sensor to switch from the first working mode to the second working mode.

14. The method as described in claim 13, characterized in that, The duty cycle of the first operating mode is greater than the duty cycle of the second operating mode. The terminal device changes from the first scenario to the second scenario, including one or more of the following: The terminal device changes from a scene where the human body is far enough away to a scene where the human body is close enough; The terminal device changes from a scenario with drastic temperature changes to a scenario with stable temperature changes; The terminal device changes from a scenario with a card inserted to a scenario without a card inserted; The terminal device is switched from a high-power scenario to a low-power scenario; The terminal device switches from the second signal strength scenario to the first signal strength scenario; The terminal device changes from a service-mode scenario to a non-service-mode scenario.

15. The method as described in claim 13, characterized in that, The duty cycle of the first working mode is less than the duty cycle of the second working mode, and the terminal device changes from the first scene to the second scene, including one or more of the following: The terminal device changes from a scenario where the human body is sufficiently close to a scenario where the human body is sufficiently far away; The terminal device changes from a scenario with stable temperature changes to a scenario with drastic temperature changes; The terminal device changes from a scenario without a SIM card inserted to a scenario with a SIM card inserted. The terminal device can switch from a low-power scenario to a high-power scenario; The terminal device switches from the first signal strength scenario to the second signal strength scenario; The terminal device transforms from a non-business mode scenario to a business mode scenario.

16. The method according to any one of claims 1 to 15, characterized in that, The first operating mode has a first duty cycle, and the second operating mode has a second duty cycle. The ratio of the larger duty cycle to the smaller duty cycle is greater than or equal to 4.

17. A control method, characterized in that, The method is applied to a terminal device, the terminal device including a capacitive sensor, the capacitive sensor including a first operating mode and a second operating mode, wherein the duty cycle of the first operating mode is greater than the duty cycle of the second operating mode; the method includes: Based on the information collected by the capacitive sensor, the terminal device is instructed to switch from a scene where the human body is sufficiently far away to a scene where the human body is sufficiently close, and the capacitive sensor is controlled to adjust from the first operating mode to the second operating mode; or... Based on the information collected by the capacitive sensor, the terminal device is instructed to switch from a scene where the human body is sufficiently close to a scene where the human body is sufficiently far away, and the capacitive sensor is controlled to adjust from the second working mode to the first working mode.

18. The method as described in claim 17, characterized in that, The capacitive sensor further includes a third operating mode, wherein the duty cycle of the third operating mode is less than that of the first operating mode; the method further includes: Based on the transmission power of the antenna device coupled to the capacitive sensor in the terminal device, the terminal device is instructed to switch from a high-power scenario to a low-power scenario, and the capacitive sensor is controlled to adjust from the first operating mode to the third operating mode; or... Based on the transmission power of the antenna device coupled to the capacitive sensor in the terminal device, the terminal device is instructed to switch from a low-power scenario to a high-power scenario, and the capacitive sensor is controlled to adjust from the third operating mode to the first operating mode.

19. The method as described in claim 17 or 18, characterized in that, The capacitive sensor further includes a fourth operating mode, the duty cycle of which is less than that of the first operating mode; the method further includes: Based on information collected by the temperature sensor in the terminal device, the terminal device is instructed to switch from a scenario of drastic temperature changes to a scenario of stable temperature changes, and the capacitive sensor is controlled to adjust from the first operating mode to the fourth operating mode; or... Based on the information collected by the temperature sensor in the terminal device, the terminal device is instructed to switch from a scenario with stable temperature changes to a scenario with drastic temperature changes, and the capacitive sensor is controlled to adjust from the fourth working mode to the first working mode.

20. The method according to any one of claims 17 to 19, characterized in that, The capacitive sensor further includes a fifth operating mode, wherein the duty cycle of the fifth operating mode is less than that of the first operating mode; the method further includes: Based on the SIM card insertion status of the terminal device, instruct the terminal device to switch from a SIM card inserted scenario to a SIM card not inserted scenario, and control the capacitive sensor to adjust from the first operating mode to the fifth operating mode; or... Based on the card insertion status of the terminal device, the terminal device is instructed to switch from a no-card insertion scenario to a card-inserted scenario, and the capacitive sensor is controlled to adjust from the fifth working mode to the first working mode.

21. The method according to any one of claims 17 to 19, characterized in that, The capacitive sensor further includes a sixth operating mode, the duty cycle of which is less than that of the first operating mode; the method further includes: Based on the reference signal received power of the antenna device coupled to the capacitive sensor in the terminal device, the terminal device is instructed to switch from a second signal strength scenario to a first signal strength scenario, and the capacitive sensor is controlled to adjust from the first operating mode to the sixth operating mode; or... Based on the reference signal received power of the antenna device coupled to the capacitive sensor in the terminal device, the terminal device is instructed to switch from the first signal strength scenario to the second signal strength scenario, and the capacitive sensor is controlled to adjust from the sixth operating mode to the first operating mode.

22. The method according to any one of claims 17 to 20, characterized in that, The capacitive sensor further includes a seventh operating mode, the duty cycle of which is less than that of the first operating mode; the method further includes: Based on the service status of the antenna device coupled to the capacitive sensor in the terminal device, the terminal device is instructed to switch from a service mode scenario to a non-service mode scenario, and the capacitive sensor is controlled to adjust from the first operating mode to the seventh operating mode; or... Based on the service status of the antenna device coupled to the capacitive sensor in the terminal device, the terminal device is instructed to switch from a non-service mode to a service mode, and the capacitive sensor is controlled to adjust from the seventh operating mode to the first operating mode.

23. The method according to any one of claims 17 to 22, characterized in that, The second, third, fourth, fifth, sixth, and seventh operating modes have the same duty cycle or different duty cycles.

24. A terminal device, characterized in that, It includes a control device and a capacitive sensor, wherein the control device and the capacitive sensor are coupled. The control device is used to implement the method as described in any one of claims 1 to 16, or to implement the method as described in any one of claims 17 to 23; The capacitive sensor is used to collect information according to the control operation of the control device using the corresponding operating mode.

25. The terminal device as described in claim 24, characterized in that, The terminal device further includes an antenna device, which is coupled to the capacitive sensor and the control device respectively; The capacitive sensor is specifically used to collect information from the antenna device; The control device is further configured to reduce the transmission frequency of the antenna device if it is determined from the information that the human body is sufficiently close to the antenna device, and to restore the transmission frequency of the antenna device if it is determined from the information that the human body is sufficiently far away from the antenna device.

26. The terminal device as described in claim 24 or 25, characterized in that, The terminal device also includes one or more of the following sensors: temperature sensor, touch sensor.

Citation Information

Patent Citations

  • Capacitive sensor with optimized noise immunity

    CN116964940A

  • Information reporting method and device and terminal equipment

    CN117459990A

  • Systems and methods for determining types of user input

    US20140002114A1

  • Method for controlling proximity sensor, device, and mobile terminal

    US20200137215A1

  • Terminal antenna control method and apparatus

    US20240204816A1