Sensor parameter detection method, device and storage medium

By setting threshold values for multiple distances in the terminal, monitoring and detecting the relative change parameters of the antenna capacitance of the SAR sensor, the problem of different performance differences in different SAR sensors is solved, and the stability of output power and regulatory compliance is achieved.

CN115865224BActive Publication Date: 2025-08-12BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211494548.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-25
Publication Date
2025-08-12
Estimated Expiration
2042-11-25

AI Technical Summary

Technical Problem

The performance of different SAR sensors during proximity detection varies, resulting in inconsistent output power control and it is difficult to meet the limitations of SAR regulations.

Method used

By setting threshold values for multiple distances in the terminal, proximity detection of the SAR sensors is obtained and monitored relative change parameters of antenna capacitance, and detecting them according to the pre-configured threshold values to ensure the consistency of performance of different SAR sensors at different distances.

Benefits of technology

The parameters consistency of the relative change of antenna capacitance during proximity detection of different SAR sensors is achieved, ensuring the stability of output power and regulatory compliance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115865224B_ABST
    Figure CN115865224B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a sensor parameter detection method, device and storage medium. The sensor parameter detection method includes: in response to the terminal being triggered to detect the relative change parameter of the antenna capacitance value, controlling the SAR sensor of the terminal to perform proximity detection on a baffle at a first distance from the SAR sensor, and monitoring the first antenna capacitance relative change parameter generated when the SAR sensor performs proximity detection; obtaining a first threshold value and a second threshold value pre-configured for the antenna capacitance relative change parameter and matching the first distance; based on the first threshold value and the second threshold value, performing a first detection on the first antenna capacitance relative change parameter, so as to obtain a result that the first antenna capacitance relative change parameter has passed the detection when it is determined that the first antenna capacitance relative change parameter is greater than or equal to the first threshold value and less than the second threshold value. The present disclosure can realize the detection of the antenna capacitance relative change parameter generated by the SAR sensor in the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of smart terminals, and in particular to a sensor parameter detection method, device, and storage medium. Background Art

[0002] The Specific Absorption Rate Sensor (SARSensor), a high-performance capacitive sensor, is commonly used in mobile phones to detect the proximity of the phone to the human body, detect false touches on the edges of waterfall screens, detect wear on wearable products, and recognize sliding gestures in true wireless stereo headphones. Currently, terminals equipped with SAR sensors can use the relative change in antenna capacitance (CS0) parameter generated during proximity detection to determine whether an object is approaching or moving away. This allows the terminal to reduce its output power when close to the user's body, ensuring that the electromagnetic waves it emits do not exceed the regulatory limits for SAR.

[0003] In the related art, when using SAR sensors for proximity detection, the performance of different SAR sensors often varies. Summary of the Invention

[0004] To overcome the problems existing in the related art, the present disclosure provides a sensor parameter detection method, device and storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a sensor parameter detection method is provided, including:

[0006] In response to the terminal being triggered to detect the relative change parameter of the antenna capacitance value, the electromagnetic wave absorption ratio SAR sensor of the terminal is controlled to perform proximity detection on a baffle at a first distance from the SAR sensor, and the first antenna capacitance relative change parameter generated when the SAR sensor performs the proximity detection is monitored; a first threshold value and a second threshold value pre-configured for the first antenna capacitance relative change parameter that match the first distance are obtained, and the first threshold value is less than the second threshold value; based on the first threshold value and the second threshold value, a first detection is performed on the first antenna capacitance relative change parameter to obtain a detection result that the first antenna capacitance relative change parameter has passed the detection when it is determined that the first antenna capacitance relative change parameter is greater than or equal to the first threshold value and the first antenna capacitance relative change parameter is less than the second threshold value.

[0007] In one embodiment, the method further includes: controlling the SAR sensor to perform proximity detection on a baffle at a second distance from the SAR sensor, the second distance being less than the first distance, and monitoring a second antenna capacitance relative change parameter generated when the SAR sensor performs the proximity detection; obtaining a third threshold value and a fourth threshold value preconfigured for the second antenna capacitance relative change parameter and matching the second distance, the third threshold value being less than the fourth threshold value and greater than the second threshold value; and performing a second detection on the second antenna capacitance relative change parameter based on the third threshold value and the fourth threshold value, so as to obtain a detection result indicating that the second antenna capacitance relative change parameter has passed the detection when it is determined that the second antenna capacitance relative change parameter is greater than or equal to the third threshold value and the second antenna capacitance relative change parameter is less than the fourth threshold value.

[0008] In one embodiment, before controlling the SAR sensor to perform proximity detection on a baffle at a second distance from the SAR sensor, the method further includes: in response to a detection result that the first antenna capacitance relative change parameter passes detection, displaying a first prompt message, wherein the first prompt message is used to prompt the user to reduce the distance between the baffle and the SAR sensor from the first distance to the second distance.

[0009] In one embodiment, after displaying the first prompt information, the method further includes: in response to monitoring a change in the relative change parameter of the first antenna capacitance, and the duration of the change in the relative change parameter of the first antenna capacitance exceeds a specified duration, displaying a second prompt information; the second prompt information is used to prompt that the baffle has not successfully approached the second distance.

[0010] In one embodiment, the monitoring of a change in the relative change parameter of the first antenna capacitance includes: monitoring that the relative change parameter of the first antenna capacitance increases and exceeds a fifth threshold value, and the fifth threshold value is less than the third threshold value and greater than the second threshold value.

[0011] In one embodiment, a specified detection is performed on a specified antenna capacitance relative change parameter in the following manner, wherein the specified antenna capacitance relative change parameter includes a first specified antenna capacitance relative change parameter and the specified detection includes a first detection, or the specified antenna capacitance relative change parameter includes a second specified antenna capacitance relative change parameter and the specified detection includes a second detection: in the process of monitoring the specified antenna capacitance relative change parameter, the monitored antenna capacitance relative change parameter is continuously sampled at a specified sampling frequency; and the specified antenna capacitance relative change parameter obtained during the continuous sampling process is subjected to a specified detection.

[0012] In one embodiment, before the terminal is triggered to detect the antenna capacitance relative change parameter, the method further includes: determining that the SAR sensor has completed calibration.

[0013] According to a second aspect of an embodiment of the present disclosure, a sensor parameter detection device is provided, comprising:

[0014] A processing unit, in response to the terminal being triggered to detect the relative change parameter of the antenna capacitance value, controls the electromagnetic wave absorption ratio SAR sensor of the terminal to perform proximity detection on a baffle at a first distance from the SAR sensor, and monitors the first antenna capacitance relative change parameter generated when the SAR sensor performs the proximity detection; an acquisition unit, used to obtain a first threshold value and a second threshold value pre-configured for the first antenna capacitance relative change parameter, which match the first distance, and the first threshold value is less than the second threshold value; a detection unit, used to perform a first detection on the first antenna capacitance relative change parameter based on the first threshold value and the second threshold value, so as to obtain a detection result that the first antenna capacitance relative change parameter has passed the detection when it is determined that the first antenna capacitance relative change parameter is greater than or equal to the first threshold value and the first antenna capacitance relative change parameter is less than the second threshold value.

[0015] In one embodiment, the processing unit is further configured to: control the SAR sensor to perform proximity detection on a baffle at a second distance from the SAR sensor, where the second distance is less than the first distance, and monitor a second antenna capacitance relative change parameter generated when the SAR sensor performs the proximity detection; the acquisition unit is further configured to: obtain a third threshold value and a fourth threshold value preconfigured for the second antenna capacitance relative change parameter and matching the second distance, where the third threshold value is less than the fourth threshold value and greater than the second threshold value; and the detection unit is further configured to: perform a second detection on the second antenna capacitance relative change parameter based on the third threshold value and the fourth threshold value, so as to obtain a detection result indicating that the second antenna capacitance relative change parameter has passed detection if it is determined that the second antenna capacitance relative change parameter is greater than or equal to the third threshold value and less than the fourth threshold value. The detection result indicating that the second antenna capacitance relative change parameter has passed detection indicates that the antenna capacitance relative change parameter generated by the SAR sensor during proximity detection at the second distance has passed detection.

[0016] In one embodiment, before controlling the SAR sensor to perform proximity detection on a baffle at a second distance from the SAR sensor, the processing unit is further configured to: in response to a detection result indicating that the first antenna capacitance relative change parameter has passed detection, display a first prompt message, wherein the first prompt message is configured to prompt the user to reduce the distance between the baffle and the SAR sensor from the first distance to the second distance.

[0017] In one embodiment, after displaying the first prompt message, the processing unit is further used to: in response to monitoring a change in the relative change parameter of the first antenna capacitance, and the duration of the change in the relative change parameter of the first antenna capacitance exceeds a specified duration, display a second prompt message; the second prompt message is used to prompt that the baffle has not successfully approached the second distance.

[0018] In one embodiment, the processing unit monitors the change in the relative change parameter of the first antenna capacitance in the following manner: monitoring that the relative change parameter of the first antenna capacitance increases and exceeds a fifth threshold value, and the fifth threshold value is less than the third threshold value and greater than the second threshold value.

[0019] In one embodiment, the detection unit performs a specified detection on a specified antenna capacitance relative change parameter in the following manner, wherein the specified antenna capacitance relative change parameter includes a first specified antenna capacitance relative change parameter, and the specified detection includes a first detection, or the specified antenna capacitance relative change parameter includes a second specified antenna capacitance relative change parameter, and the specified detection includes a second detection: in the process of monitoring the specified antenna capacitance relative change parameter, the monitored antenna capacitance relative change parameter is continuously sampled at a specified sampling frequency; and the specified antenna capacitance relative change parameter obtained during the continuous sampling process is subjected to a specified detection.

[0020] In one embodiment, before the terminal is triggered to detect and collect the antenna capacitance relative change parameter, the processing unit is further configured to: determine whether the SAR sensor has completed calibration.

[0021] According to a third aspect of an embodiment of the present disclosure, a sensor parameter detection device is provided, comprising:

[0022] a processor; a memory for storing instructions executable by the processor;

[0023] The processor is configured to execute the sensor parameter detection method described in the first aspect or any one of the embodiments of the first aspect.

[0024] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the sensor parameter detection method described in the first aspect or any one of the embodiments of the first aspect.

[0025] The technical solutions provided by embodiments of the present disclosure can include the following beneficial effects: When a terminal is triggered to detect a relative change parameter in antenna capacitance, the terminal's SAR sensor is controlled to perform proximity detection on a baffle at a first distance from the SAR sensor, and the first relative change parameter in antenna capacitance generated by the SAR sensor during proximity detection is simultaneously monitored. Based on this, a first threshold value and a second threshold value preconfigured for the first distance are obtained, and a first detection is performed on the first relative change parameter in antenna capacitance. If the first relative change parameter in antenna capacitance is greater than or equal to the first threshold value and less than the second threshold value, the first relative change parameter in antenna capacitance generated by the SAR sensor during proximity detection at the first distance is determined to have passed detection. Based on this, different SAR sensors that have passed detection can maintain substantially consistent relative change parameters in antenna capacitance when performing proximity detection at the first distance. Furthermore, because the magnitude of change in the relative change parameter in antenna capacitance varies with detection distance for different SAR sensors, when the proximity detection distance is other than the first distance, the relative change parameters in antenna capacitance generated by different SAR sensors that have passed detection are also substantially consistent. So far, the SAR sensors that have passed the test have basically consistent performance.

[0026] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0028] Figure 1 This is a flow chart showing a sensor parameter detection method according to an exemplary embodiment.

[0029] Figure 2 is a flow chart showing another sensor parameter detection method according to an exemplary embodiment.

[0030] Figure 3 The flowchart of a sensor parameter detection method for a first distance and a second distance is shown according to an exemplary embodiment.

[0031] Figure 4The flowchart of another sensor parameter detection method for a first distance and a second distance is shown according to an exemplary embodiment.

[0032] Figure 5 The present invention is a flow chart showing a method for detecting a relative change parameter of antenna capacitance according to an exemplary embodiment.

[0033] Figure 6 is a flow chart of yet another sensor parameter detection method according to an exemplary embodiment.

[0034] Figure 7 The present invention is a schematic diagram showing a process of detecting a relative change parameter of antenna capacitance at a workstation according to an exemplary embodiment.

[0035] Figure 8 The figure is a block diagram of a sensor parameter detection device according to an exemplary embodiment.

[0036] Figure 9 It is a block diagram of a device for detecting sensor parameters according to an exemplary embodiment. DETAILED DESCRIPTION

[0037] Exemplary embodiments are described in detail herein, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numerals in different drawings represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present disclosure.

[0038] In the accompanying drawings, the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be understood as limiting the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure. The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0039] The electromagnetic wave absorption ratio sensor is a high-performance capacitive sensor that is commonly used in mobile phones to detect the proximity between the phone and the human body, detect false touches on the edges of waterfall screens, detect wearable products, and recognize sliding gestures in true wireless stereo headphones.

[0040] In the related art, the SAR sensor generates a parameter called relative change in antenna capacitance value (CS0) when performing proximity detection, and this parameter changes with the different degrees of proximity corresponding to the detected object. For example, the parameter called relative change in antenna capacitance value increases as the distance between the SAR sensor and the detected object decreases. For another example, the parameter called relative change in antenna capacitance value decreases as the distance between the SAR sensor and the detected object increases. Currently, terminals equipped with SAR sensors can use the parameter called relative change in antenna capacitance value (CS0) generated by the SAR sensor when performing proximity detection to determine whether an object is approaching or moving away, so as to reduce its own output power when close to the user's body and ensure that the electromagnetic waves emitted by itself do not exceed the regulatory limits on SAR.

[0041] In the related art, the relative change in antenna capacitance parameter varies substantially with detection distance for different SAR sensors. However, for a fixed distance, the relative change in antenna capacitance parameter generated by different SAR sensors is typically not constant. Therefore, in the related art, when using different SAR sensors for proximity detection at a fixed distance, performance differences exist between them.

[0042] In view of this, the present disclosure provides a sensor parameter detection method, which can be applied to a terminal equipped with a SAR sensor to detect the relative change parameter of the antenna capacitance value generated by the SAR sensor. Specifically, when the terminal is triggered to detect the relative change parameter of the antenna capacitance value, the SAR sensor of the terminal can be controlled to perform proximity detection on a baffle at a first distance from the SAR sensor, and the relative change parameter of the antenna capacitance generated when the SAR sensor performs proximity detection can be synchronously monitored. On this basis, a first threshold value and a second threshold value preconfigured for the first distance can be obtained, and the relative change parameter of the antenna capacitance can be detected. When it is determined that the relative change parameter of the antenna capacitance is greater than or equal to the first threshold value and the relative change parameter of the antenna capacitance is less than the second threshold value, it is determined that the relative change parameter of the antenna capacitance generated by the SAR sensor when performing proximity detection at the first distance has passed the detection.

[0043] For ease of description, the following description of this disclosure refers to the single detection distance selected when detecting the antenna capacitance relative change parameter as the first distance, and the preconfigured threshold values for the antenna capacitance relative change parameter that match the first distance as the first threshold value and the second threshold value, respectively. Furthermore, detection of the antenna capacitance relative change parameter using the first and second threshold values is referred to as the first detection, and the antenna capacitance relative change parameter generated when the SAR sensor performs proximity detection of a baffle at the first distance from the SAR sensor is referred to as the first antenna capacitance relative change parameter.

[0044] Figure 1 is a flow chart showing a sensor parameter detection method for a first distance according to an exemplary embodiment. Figure 1 As shown, the following steps are included.

[0045] In step S11, in response to the terminal being triggered to detect the relative change parameter of the antenna capacitance value, the SAR sensor is controlled to perform proximity detection on a baffle at a first distance from the SAR sensor, and the first antenna capacitance relative change parameter generated when the SAR sensor performs proximity detection is monitored.

[0046] For example, the first distance may be 30 centimeters (cm).

[0047] In step S12, a first threshold value and a second threshold value preconfigured for the first antenna capacitance relative change parameter and matching the first distance are obtained, and a first detection is performed on the antenna capacitance relative change parameter based on the first threshold value and the second threshold value.

[0048] The first threshold value is smaller than the second threshold value.

[0049] In step S13a, when it is determined that the first antenna capacitance relative change parameter is greater than or equal to the first threshold value and the first antenna capacitance relative change parameter is less than the second threshold value, a detection result indicating that the first antenna capacitance relative change parameter has passed the detection is obtained.

[0050] In step S13b, when it is determined that the relative change parameter of the first antenna capacitance is less than the first threshold value, or the relative change parameter of the first antenna capacitance is greater than or equal to the second threshold value, a detection result indicating that the relative change parameter of the first antenna capacitance has not passed the detection is obtained.

[0051] The sensor parameter detection method provided by the embodiment of the present disclosure provides a detection scheme for the relative change parameter of the antenna capacitance generated by the SAR sensor. Among them, for different SAR sensors that have passed the detection, basically consistent relative change parameters of the antenna capacitance can be maintained when approaching the first distance. Furthermore, since the amplitude of the change of the relative change parameter of the antenna capacitance with the detection distance is basically consistent for different SAR sensors, when the proximity detection distance is other than the first distance, the relative change parameters of the antenna capacitance generated by different SAR sensors that have passed the detection are also basically consistent. At this point, the SAR sensors that have passed the detection have basically consistent performance.

[0052] In the above embodiment, steps S11 to S13b can be understood as a self-test performed by the terminal during the workstation detection phase. The baffle involved in step S11 can be understood as a manually provided object to be detected that enables the SAR sensor to perform proximity detection, and this disclosure does not specifically limit its form or structure.

[0053] As a feasible implementation, the baffle may be a metal plate controlled by a cylinder.

[0054] In one example, the terminal can determine a first distance between the SAR sensor and the baffle to obtain a threshold value that matches the first distance. For example, the terminal can determine the first distance between the SAR sensor and the baffle using its own ranging component (e.g., a time-of-flight sensor). Alternatively, the distance between the SAR sensor and the baffle can be manually input, so that the terminal determines the first distance between the SAR sensor and the baffle based on the manually input distance. Furthermore, based on the determination of the first distance, a corresponding threshold value that matches the first distance is obtained.

[0055] In another example, the terminal may not determine the first distance between the SAR sensor and the baffle, but instead directly access a preconfigured fixed threshold. Accordingly, during workstation inspection, the operator calculates the first distance based on the terminal's predefined fixed threshold and manually adjusts the distance between the baffle and the SAR sensor to the first distance. For example, the terminal may be placed in a fixed inspection position, and the baffle may be manually advanced from a distance to the first distance from the SAR sensor. The terminal's final result is that the SAR sensor performs proximity detection on the baffle at the first distance from the SAR sensor, and performs parameter detection using the fixed threshold that matches the first distance.

[0056] In the embodiments of the present disclosure, in addition to detecting the antenna capacitance relative change parameter when the SAR sensor is at a single fixed distance from the baffle (i.e., the first distance mentioned above), the antenna capacitance relative change parameter can also be detected when the SAR sensor is at at least two different distances from the baffle. For ease of understanding, the following describes an exemplary method for detecting the antenna capacitance relative change parameter using two different distances as an example.

[0057] For example, the present disclosure may select two different distances and respectively configure threshold values for the two different distances to detect the relative change parameters of the antenna capacitance generated when the SAR sensor performs proximity detection.

[0058] As a feasible implementation, the antenna capacitance relative change parameter can be detected separately for scenarios where the SAR sensor performs close-range detection and long-range detection. For example, the first distance mentioned above can be considered the larger of the two different distances, and a second distance, which is smaller than the first distance, can be set with the first distance as a reference. Based on this, the first detection can be considered as detecting the antenna capacitance relative change parameter in the long-range detection scenario, and the detection performed when the SAR sensor is at a second distance from the baffle can be considered as detecting the antenna capacitance relative change parameter in the close-range detection scenario. For ease of description, the antenna capacitance relative change parameter generated when the SAR sensor performs proximity detection on a baffle at a second distance from the SAR sensor is referred to as the second antenna capacitance relative change parameter, and the detection of the second antenna capacitance relative change parameter is referred to as the second detection. Furthermore, the preconfigured threshold values for the second antenna capacitance relative change parameter that match the second distance are referred to as the third threshold value and the fourth threshold value, respectively. It is understood that the first distance is greater than the second distance, the third threshold value is less than the fourth threshold value, and the third threshold value is greater than the second threshold value mentioned above.

[0059] For example, the second detection may include controlling the SAR sensor to perform proximity detection on a baffle at a second distance from the SAR sensor, and monitoring the second antenna capacitance relative change parameter generated when the SAR sensor performs proximity detection. Furthermore, a third threshold value and a fourth threshold value preconfigured for the second antenna capacitance relative change parameter and matching the third distance may be obtained, and then a second detection of the second antenna capacitance relative change parameter may be performed using the third and fourth threshold values. If it is determined that the second antenna capacitance relative change parameter is greater than or equal to the third threshold value and less than the fourth threshold value, a detection result indicating that the second antenna capacitance relative change parameter has passed the detection is obtained. For ease of understanding, the following exemplary implementation process of the first and second detections is described.

[0060] Figure 2 is a flow chart showing another sensor parameter detection method according to an exemplary embodiment. Figure 2 As shown, the following steps are included.

[0061] In step S21, in response to the terminal being triggered to detect the relative change parameter of the antenna capacitance value, the SAR sensor is controlled to perform proximity detection on a baffle at a first distance from the SAR sensor, and the first antenna capacitance relative change parameter generated when the SAR sensor performs proximity detection is monitored.

[0062] For example, the first distance may be 30 centimeters (cm).

[0063] In step S22, a first threshold value and a second threshold value preconfigured for the first antenna capacitance relative change parameter and matching the first distance are obtained, and a first detection is performed on the first antenna capacitance relative change parameter based on the first threshold value and the second threshold value.

[0064] In step S23a, when it is determined that the first antenna capacitance relative change parameter is greater than or equal to the first threshold value and the first antenna capacitance relative change parameter is less than the second threshold value, a detection result indicating that the first antenna capacitance relative change parameter has passed the detection is obtained.

[0065] In step S23b, when it is determined that the first antenna capacitance relative change parameter is less than the first threshold value, or the first antenna capacitance relative change parameter is greater than or equal to the second threshold value, a detection result indicating that the first antenna capacitance relative change parameter has not passed the detection is obtained.

[0066] In the embodiment of the present disclosure, when a detection result indicating that the first antenna capacitance relative change parameter has passed the detection is obtained, the distance between the SAR sensor and the baffle may be adjusted from the first distance to the second distance.

[0067] In step S24 , the SAR sensor is controlled to perform proximity detection on a baffle at a second distance from the SAR sensor, and a second antenna capacitance relative change parameter generated when the SAR sensor performs the proximity detection is monitored.

[0068] Illustratively, the second distance may be 6 millimeters (mm).

[0069] In step S25, a third threshold value and a fourth threshold value preconfigured for the second antenna capacitance relative change parameter and matching the third distance are acquired, and a second detection is performed on the second antenna capacitance relative change parameter based on the third threshold value and the fourth threshold value.

[0070] In step S26a, when it is determined that the second antenna capacitance relative change parameter is greater than or equal to the third threshold value and less than the fourth threshold value, a detection result indicating that the second antenna capacitance relative change parameter has passed the detection is obtained.

[0071] In step S26b, when it is determined that the second antenna capacitance relative change parameter is less than the third threshold value or the second antenna capacitance relative change parameter is greater than or equal to the fourth threshold value, a detection result indicating that the second antenna capacitance relative change parameter has failed detection is obtained.

[0072] The method provided in the embodiment of the present disclosure can respectively detect the long-distance (first distance) detection and short-distance (second distance) detection of the SAR sensor to realize the detection of the relative change parameter of the antenna capacitance. It can be understood that the execution order of the first detection performed when the SAR sensor is at the first distance from the baffle and the second detection performed when the SAR sensor is at the second distance from the baffle is not fixed. For example, it can be as follows Figure 2 As shown, the first test is performed first, and then the second test is performed. For another example, the second test may be performed first, and then the first test is performed.

[0073] As a feasible implementation, for the aforementioned two tests that need to be performed sequentially, the terminal can display a prompt to move the baffle if it determines that the first test has passed. This allows the operator controlling the baffle to promptly be informed that the first test has completed and to control the baffle's position for the second test, allowing the terminal to perform the second test using the SAR sensor.

[0074] For example, taking the example of performing the first detection first and then the second detection, a prompt message for prompting the operator to move the baffle is displayed. For example, when the detection result of the first antenna capacitance relative change parameter is obtained, a prompt message for prompting the operator to reduce the distance between the baffle and the SAR sensor from the first distance to the second distance is displayed. In this case, the prompt message displayed by the terminal is sufficient to encourage the operator to push the baffle until the distance between the SAR sensor and the baffle is the second distance. Furthermore, when the distance between the SAR sensor and the baffle is reduced to the second distance, the terminal can perform a second detection on the antenna capacitance relative change parameter by using the third threshold value and the fourth threshold value.

[0075] For ease of description, the prompt information for reducing the distance between the baffle and the SAR sensor from the first distance to the second distance is referred to as the first prompt information. For ease of understanding, the following example illustrates the process of displaying the first prompt information during the detection process, using the example of a terminal first performing the first detection and then performing the second detection.

[0076] Figure 3 FIG. 1 is a flow chart showing a sensor parameter detection method for a first distance and a second distance according to an exemplary embodiment. Figure 3 As shown, the process includes the following steps S31 to S36b.

[0077] In step S31, in response to the terminal being triggered to detect the relative change parameter of the antenna capacitance value, the SAR sensor is controlled to perform proximity detection on a baffle at a first distance from the SAR sensor, and the first antenna capacitance relative change parameter generated when the SAR sensor performs proximity detection is monitored.

[0078] For example, the first distance may be 30 centimeters (cm).

[0079] In step S32, a first threshold value and a second threshold value preconfigured for the first antenna capacitance relative change parameter and matching the first distance are obtained, and a first detection is performed on the first antenna capacitance relative change parameter based on the first threshold value and the second threshold value.

[0080] In step S33a, when it is determined that the relative change parameter of the first antenna capacitance is greater than or equal to the first threshold value and the relative change parameter of the first antenna capacitance is less than the second threshold value, a detection result indicating that the relative change parameter of the first antenna capacitance has passed the detection is obtained, and a first prompt message is displayed.

[0081] In step S33b, when it is determined that the first antenna capacitance relative change parameter is less than the first threshold value, or the first antenna capacitance relative change parameter is greater than or equal to the second threshold value, a detection result indicating that the first antenna capacitance relative change parameter has not passed the detection is obtained.

[0082] In step S34, when the SAR sensor is at a second distance from the baffle, the SAR sensor is controlled to perform proximity detection on the baffle at the second distance from the SAR sensor, and a second antenna capacitance relative change parameter generated when the SAR sensor performs proximity detection is monitored.

[0083] For example, the terminal can be triggered to execute step S34 in a variety of ways. For example, when the terminal detects that the relative change in the antenna capacitance value gradually increases and eventually stabilizes, the terminal controls the SAR sensor to perform proximity detection. For another example, the terminal can display a specific control for triggering the terminal to control the SAR sensor to perform proximity detection while displaying the first prompt message. On this basis, the operator can touch the specific control when determining that the SAR sensor is at a second distance from the baffle, so that the terminal controls the SAR sensor to perform proximity detection.

[0084] In step S35, a third threshold value and a fourth threshold value preconfigured for the second antenna capacitance relative change parameter and matching the third distance are acquired, and a second detection is performed on the second antenna capacitance relative change parameter based on the third threshold value and the fourth threshold value.

[0085] In step S36a, when it is determined that the second antenna capacitance relative change parameter is greater than or equal to the third threshold value and less than the fourth threshold value, a detection result indicating that the second antenna capacitance relative change parameter has passed the detection is obtained.

[0086] In step S36b, when it is determined that the second antenna capacitance relative change parameter is less than the third threshold value or the second antenna capacitance relative change parameter is greater than or equal to the fourth threshold value, a detection result indicating that the second antenna capacitance relative change parameter has failed detection is obtained.

[0087] In the embodiment of the present disclosure, when it is determined that the first antenna capacitance relative change parameter has passed the detection and when it is determined that the second antenna capacitance relative change parameter has passed the detection in the above manner, a detection result that the antenna capacitance relative change parameter has passed the detection can be obtained.

[0088] For example, the terminal side can also trigger a baffle approach timeout prompt by detecting a change in the relative change parameter of the antenna capacitance and detecting that the change duration exceeds a specified time duration.

[0089] For the convenience of description in the present disclosure, the prompt information for prompting that the baffle has not successfully approached to the second distance is referred to as the second prompt information.

[0090] Figure 4 is a flow chart showing another sensor parameter detection method for a first distance and a second distance according to an exemplary embodiment. Figure 4 As shown, steps S41, S42, S43a and S43b in the embodiment of the present disclosure are the same as Figure 3 The execution method of step S31, step S32, step S33a and step S33b is similar to that of step S33, and step S45, step S46, step S47a and step S47b are similar to those of step S33. Figure 3 The execution methods of step S33, step S34, step S36a and step S36b are similar and will not be described in detail here.

[0091] In step S44, in response to monitoring that the first antenna capacitance relative change parameter changes, and the duration of the change in the first antenna capacitance relative change parameter exceeds a specified duration, a second prompt message is displayed.

[0092] In the disclosed embodiment, the specified time duration is used to ensure the correct execution of the baffle advancement step, so that if the baffle is not advanced to the second distance from the SAR sensor in a timely manner, the second prompt message is displayed. The specified time duration is set based on empirical values, for example, 2 seconds.

[0093] For example, the terminal may determine that a change in the relative change parameter of the first antenna capacitance has been detected by determining that the relative change parameter of the first antenna capacitance has increased to exceed a specific threshold value. For ease of description below, the threshold value set for determining whether the relative change parameter of the first antenna capacitance has changed is referred to as the fifth threshold value.

[0094] For example, the thresholds for matching the first distance include the first threshold and the second threshold, and the thresholds for matching the second distance include the third threshold and the fourth threshold. The first threshold is less than the second threshold, the second threshold is less than the third threshold, and the third threshold is less than the fourth threshold. Therefore, to enable the terminal to trigger timing during the baffle advancement process, the fifth threshold can be set to be less than the third threshold and greater than the second threshold.

[0095] For example, the terminal can determine that a change has been detected in the relative change parameter of the first antenna capacitance when it monitors that the relative change parameter of the first antenna capacitance increases and exceeds the fifth threshold value, and then display a second prompt message when the duration of the change in the relative change parameter of the first antenna capacitance exceeds the specified duration.

[0096] In one embodiment, during the process of monitoring the antenna capacitance relative change parameter, the monitored antenna capacitance relative change parameter can be continuously sampled, and a designated detection can be performed on the designated antenna capacitance relative change parameter obtained through the continuous sampling. The designated antenna capacitance relative change parameter can be a first antenna capacitance relative change parameter and the designated detection can be a first detection, or the designated antenna capacitance relative change parameter can be a second antenna capacitance relative change parameter and the designated detection can be a second detection.

[0097] Figure 5 FIG. 1 is a flow chart of a method for detecting a relative change parameter of antenna capacitance according to an exemplary embodiment. Figure 5 As shown, the following steps are included.

[0098] In step S51 , in the process of monitoring the relative change parameter of the antenna capacitance, the monitored relative change parameter of the specified antenna capacitance is continuously sampled according to a specified sampling frequency.

[0099] The specified sampling frequency may be set based on an empirical value, for example, 1 time per second.

[0100] In step S52, a designated detection is performed on the designated antenna capacitance relative change parameter obtained during the continuous sampling process.

[0101] For example, a specified test is performed on a specified antenna capacitance relative change parameter obtained during the continuous sampling process. For example, a first test may be performed on a first specified antenna capacitance relative change parameter obtained during the continuous sampling process. Alternatively, a second test may be performed on a second specified antenna capacitance relative change parameter obtained during the continuous sampling process.

[0102] By using the method provided by the embodiment of the present disclosure, multiple antenna capacitance relative change parameters collected sequentially with a time delay can be obtained during the process of monitoring the antenna capacitance relative change parameter. Furthermore, the multiple collected antenna capacitance relative change parameters can be tested.

[0103] On this basis, it can be determined that a specified number of continuously collected antenna capacitance relative change parameters have all passed the test, and a test result indicating that the antenna capacitance relative change parameter test has passed can be obtained. For example, taking the first test as an example, it can be determined that a specified number of continuously collected first antenna capacitance relative change parameters have all satisfied a condition greater than or equal to a first threshold value and less than a second threshold value, and a test result indicating that the first antenna capacitance relative change parameter has passed the test can be obtained. For another example, taking the second test as an example, it can be determined that a specified number of continuously collected second antenna capacitance relative change parameters have all satisfied a condition greater than or equal to a third threshold value and less than a fourth threshold value, and a test result indicating that the second antenna capacitance relative change parameter has passed the test can be obtained.

[0104] In addition, the workstation detection phase typically includes a calibration step for the SAR sensor, which is used to calibrate the antenna capacitance of the SAR sensor to a reference value (offset). For example, the above embodiments of the present disclosure can all be implemented after the calibration step. As a feasible implementation, for example, before the terminal is triggered to detect the relative change parameter of the antenna capacitance value, it can be determined that the SAR sensor has completed calibration.

[0105] Figure 6 is a flow chart showing another sensor parameter detection method according to an exemplary embodiment. Figure 6 As shown, the following steps are included.

[0106] In step S61, in response to determining that the SAR sensor has completed calibration and the terminal is triggered to detect the relative change parameter of the antenna capacitance value, the SAR sensor is controlled to perform proximity detection on a baffle at a first distance from the SAR sensor, and the first antenna capacitance relative change parameter generated when the SAR sensor performs proximity detection is monitored.

[0107] In step S62, a first threshold value and a second threshold value preconfigured for the first antenna capacitance relative change parameter and matching the first distance are obtained, and a first detection is performed on the first antenna capacitance relative change parameter based on the first threshold value and the second threshold value.

[0108] In step S63a, when it is determined that the first antenna capacitance relative change parameter is greater than or equal to the first threshold value and the first antenna capacitance relative change parameter is less than the second threshold value, a detection result indicating that the first antenna capacitance relative change parameter has passed the detection is obtained.

[0109] In step S63b, when it is determined that the first antenna capacitance relative change parameter is less than the first threshold value, or the first antenna capacitance relative change parameter is greater than or equal to the second threshold value, a detection result indicating that the first antenna capacitance relative change parameter has not passed the detection is obtained.

[0110] The method provided by the embodiments of the present disclosure can detect the relative change parameter of the antenna capacitance value after confirming that the SAR sensor has completed calibration. Because the relative change parameter of the antenna capacitance value is a variable parameter obtained based on the initial value of the antenna capacitance, completing the calibration step first and then detecting the relative change parameter of the antenna capacitance value can ensure that the antenna capacitance of different SAR sensors has a consistent initial value. This method can further improve the detection accuracy of the relative change parameter of the antenna capacitance value.

[0111] Figure 7 The present invention is a schematic diagram showing a process of detecting a relative change parameter of antenna capacitance at a workstation according to an exemplary embodiment.

[0112] For example, Figure 7 As shown, after the SAR sensor is calibrated, the terminal flows into the corresponding workstation for testing the relative change parameter of the antenna capacitance. At this point, the operator places the terminal in the test position at a first distance from the baffle and clicks the test button on the terminal to trigger the SAR sensor in the terminal to detect the proximity of the baffle. At the same time, the terminal collects the first relative change parameter of the antenna capacitance generated by the SAR sensor. Based on this, the terminal continuously samples the monitored first relative change parameter of the antenna capacitance at a specified sampling frequency and determines whether five consecutive first relative change parameters of the antenna capacitance are respectively greater than or equal to the first threshold value and less than the second threshold value. If the five consecutive first relative change parameters of the antenna capacitance are not respectively greater than or equal to the first threshold value, the terminal may continue to perform continuous sampling to terminate the test after a timeout and output a test result of failure, or until the aforementioned condition is determined to be satisfied before the timeout, i.e., five consecutive antenna capacitance relative change parameters are respectively greater than or equal to the first threshold value and less than the second threshold value.

[0113] Furthermore, the terminal displays a first prompt message to inform the operator that when the SAR sensor is at a first distance from the baffle, the detection result of the first antenna capacitance relative change parameter is a pass, and the baffle is controlled to approach the terminal until the baffle is at a second distance from the SAR sensor. Furthermore, the terminal performs proximity detection using a fifth threshold value, so that when the first antenna capacitance relative change parameter exceeds the fifth threshold value, a countdown with a trigger duration of a specified time length is started. The specified time length can be, for example, 2 seconds (s). Furthermore, if the baffle approaches the second distance from the SAR sensor within the countdown, a second detection of the second antenna capacitance relative change parameter is further performed using the third threshold value and the fourth threshold value, so that when three second antenna capacitance relative change parameters are continuously collected and each satisfies a condition greater than or equal to the third threshold value and less than the fourth threshold value, a detection result indicating that the second antenna capacitance relative change parameter detection has passed is obtained.

[0114] In addition, the terminal can monitor any of the executed steps to determine whether the corresponding step is executed smoothly. If it is determined that the corresponding step is not executed smoothly and a timeout has occurred, a prompt is triggered. The steps monitored by the terminal can, for example, be at least one of "continuously sampling the monitored antenna capacitance relative change parameter at a specified sampling frequency," "displaying a first prompt message," "starting a countdown for a specified trigger duration," and "the baffle approaches a second distance from the SAR sensor." Furthermore, the prompt can be triggered, for example, by displaying the corresponding prompt message.

[0115] Based on the same concept, an embodiment of the present disclosure also provides a sensor parameter detection device.

[0116] It is understandable that the sensor parameter detection device provided in the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.

[0117] Figure 8 FIG. 1 is a block diagram of a sensor parameter detection device according to an exemplary embodiment. Figure 8 The device 100 includes a processing unit 101, an acquisition unit 102 and a detection unit 103.

[0118] In response to a terminal being triggered to detect a relative change parameter of antenna capacitance, processing unit 101 controls a SAR sensor of the terminal to perform proximity detection on a baffle at a first distance from the SAR sensor, and monitors a first relative change parameter of antenna capacitance generated when the SAR sensor performs proximity detection. An acquisition unit is configured to obtain a first threshold value and a second threshold value preconfigured for the first relative change parameter of antenna capacitance that match the first distance, the first threshold value being less than the second threshold value. A detection unit is configured to perform a first detection on the first relative change parameter of antenna capacitance based on the first threshold value and the second threshold value, and obtain a detection result indicating that the first relative change parameter of antenna capacitance has passed detection if it is determined that the first relative change parameter of antenna capacitance is greater than or equal to the first threshold value and less than the second threshold value.

[0119] In one embodiment, the processing unit 101 is further configured to control the SAR sensor to perform proximity detection on a baffle at a second distance from the SAR sensor, where the second distance is less than the first distance, and monitor a second antenna capacitance relative change parameter generated when the SAR sensor performs proximity detection. The acquisition unit is further configured to obtain a third threshold value and a fourth threshold value preconfigured for the second antenna capacitance relative change parameter and matching the second distance, where the third threshold value is less than the fourth threshold value and greater than the second threshold value. The detection unit is further configured to perform a second detection on the second antenna capacitance relative change parameter based on the third threshold value and the fourth threshold value, and obtain a detection result indicating that the second antenna capacitance relative change parameter has passed detection if it is determined that the second antenna capacitance relative change parameter is greater than or equal to the third threshold value and less than the fourth threshold value. The detection result indicating that the second antenna capacitance relative change parameter has passed detection indicates that the antenna capacitance relative change parameter generated by the SAR sensor during proximity detection at the second distance has passed detection.

[0120] In one embodiment, before controlling the SAR sensor to perform proximity detection on a baffle at a second distance from the SAR sensor, the processing unit 101 is further used to: in response to a detection result that the relative change parameter of the first antenna capacitance is detected to be passed, display a first prompt message, where the first prompt message is used to prompt the distance between the baffle and the SAR sensor to be reduced from the first distance to the second distance.

[0121] In one embodiment, after displaying the first prompt message, the processing unit 101 is further configured to: in response to detecting a change in the relative change parameter of the first antenna capacitance, and the duration of the change in the relative change parameter of the first antenna capacitance exceeding a specified duration, display a second prompt message. The second prompt message is configured to indicate that the baffle has not successfully approached the second distance.

[0122] In one embodiment, the processing unit 101 monitors the change in the relative change parameter of the first antenna capacitance in the following manner: monitoring the first antenna capacitance relative change parameter to increase and exceed a fifth threshold value, the fifth threshold value being less than the third threshold value and greater than the second threshold value.

[0123] In one embodiment, the detection unit 103 performs a designated detection on a designated antenna capacitance relative change parameter in the following manner, wherein the designated antenna capacitance relative change parameter includes a first designated antenna capacitance relative change parameter and the designated detection includes a first detection, or the designated antenna capacitance relative change parameter includes a second designated antenna capacitance relative change parameter and the designated detection includes a second detection: during monitoring of the designated antenna capacitance relative change parameter, the monitored antenna capacitance relative change parameter is continuously sampled at a designated sampling frequency, and the designated detection is performed on the designated antenna capacitance relative change parameter obtained during the continuous sampling process.

[0124] In one implementation, before the terminal is triggered to detect and collect the antenna capacitance relative change parameter, the processing unit 101 is further configured to: determine whether the SAR sensor has completed calibration.

[0125] Figure 9 FIG2 is a block diagram of an apparatus 200 for detecting sensor parameters according to an exemplary embodiment. For example, the apparatus 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0126] Reference Figure 9 , apparatus 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .

[0127] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.

[0128] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0129] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 200.

[0130] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0131] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC) that is configured to receive external audio signals when the device 200 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 204 or transmitted via the communication component 216. In some embodiments, the audio component 210 further includes a speaker for outputting audio signals.

[0132] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.

[0133] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200. The sensor assembly 214 can also detect changes in the position of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200, and temperature changes of the device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 214 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0134] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0135] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described method.

[0136] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as the memory 204 including instructions, which can be executed by the processor 220 of the apparatus 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0137] It is understood that in this disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of related objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise.

[0138] It will be further understood that the terms "first," "second," and the like are used to describe various types of information, but such information should not be limited to these terms. These terms are used solely to distinguish information of the same type from one another and do not indicate a particular order or level of importance. In fact, the terms "first," "second," and the like are fully interchangeable. For example, first information could be referred to as second information, and similarly, second information could be referred to as first information without departing from the scope of this disclosure.

[0139] It is further understood that, unless otherwise specified, “connection” includes a direct connection where there are no other components between the two elements, and also includes an indirect connection where there are other elements between the two elements.

[0140] It is further understood that although operations are described in a particular order in the drawings in the embodiments of the present disclosure, this should not be construed as requiring that the operations be performed in the particular order shown or in a serial order, or that all of the operations shown be performed to obtain the desired results. In certain circumstances, multitasking and parallel processing may be advantageous.

[0141] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered merely as exemplary, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0142] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.

Claims

1. A sensor parameter detection method, characterized in that: Applied to a terminal, the method includes: In response to the terminal being triggered to detect a parameter of a relative change in antenna capacitance, controlling an electromagnetic wave absorption ratio (SAR) sensor of the terminal to perform proximity detection on a baffle at a first distance from the SAR sensor, and monitoring a first parameter of a relative change in antenna capacitance generated when the SAR sensor performs the proximity detection; Acquire a first threshold value and a second threshold value preconfigured for the first antenna capacitance relative change parameter and matching the first distance, wherein the first threshold value is less than the second threshold value; performing a first detection on the first antenna capacitance relative change parameter based on the first threshold value and the second threshold value, so as to obtain a detection result indicating that the first antenna capacitance relative change parameter has passed detection if it is determined that the first antenna capacitance relative change parameter is greater than or equal to the first threshold value and is less than the second threshold value; The following method is used to perform a specific detection on the relative change parameter of the specified antenna capacitance: In the process of monitoring the specified antenna capacitance relative change parameter, continuously sampling the monitored antenna capacitance relative change parameter according to a specified sampling frequency; A designated detection is performed on the designated antenna capacitance relative change parameter obtained in the continuous sampling process, where the designated antenna capacitance relative change parameter includes a first designated antenna capacitance relative change parameter, and the designated detection includes a first detection.

2. The sensor parameter detection method according to claim 1, characterized in that: The method further comprises: controlling the SAR sensor to perform proximity detection on a baffle at a second distance from the SAR sensor, where the second distance is smaller than the first distance, and monitoring a parameter of a relative change in second antenna capacitance generated when the SAR sensor performs the proximity detection; Acquire a third threshold value and a fourth threshold value preconfigured for the second antenna capacitance relative change parameter and matching the second distance, wherein the third threshold value is smaller than the fourth threshold value and larger than the second threshold value; Based on the third threshold value and the fourth threshold value, a second detection is performed on the relative change parameter of the second antenna capacitance to obtain a detection result that the relative change parameter of the second antenna capacitance has passed the detection when it is determined that the relative change parameter of the second antenna capacitance is greater than or equal to the third threshold value and the relative change parameter of the second antenna capacitance is less than the fourth threshold value.

3. The sensor parameter detection method according to claim 2, characterized in that: Before controlling the SAR sensor to perform proximity detection on a baffle at a second distance from the SAR sensor, the method further includes: In response to a detection result that the first antenna capacitance relative change parameter passes the detection, first prompt information is displayed, where the first prompt information is used to prompt the user to reduce the distance between the baffle and the SAR sensor from the first distance to the second distance.

4. The sensor parameter detection method according to claim 3, characterized in that: After displaying the first prompt information, the method further includes: In response to monitoring a change in the first antenna capacitance relative change parameter, and a duration of the change in the first antenna capacitance relative change parameter exceeding a specified duration, displaying a second prompt message; The second prompt information is used to prompt that the baffle has not successfully approached the second distance.

5. The sensor parameter detection method according to claim 4, characterized in that: The monitoring that a parameter of the relative change in capacitance of the first antenna changes includes: It is monitored that the relative change parameter of the first antenna capacitance increases and exceeds a fifth threshold value, where the fifth threshold value is smaller than the third threshold value and larger than the second threshold value.

6. The sensor parameter detection method according to any one of claims 1 to 5, characterized in that: in, The specified antenna capacitance relative change parameter includes a second specified antenna capacitance relative change parameter, and the specified detection includes a second detection.

7. The sensor parameter detection method according to claim 1, characterized in that: Before the terminal is triggered to detect the antenna capacitance relative change parameter, the method further includes: It is determined that the SAR sensor has completed calibration.

8. A sensor parameter detection device, characterized in that: Applied to a terminal, the device includes: a processing unit, in response to the terminal being triggered to detect a relative change parameter of an antenna capacitance value, controlling an electromagnetic wave absorption ratio (SAR) sensor of the terminal to perform proximity detection on a baffle at a first distance from the SAR sensor, and monitoring a first relative change parameter of antenna capacitance value generated when the SAR sensor performs the proximity detection; an acquiring unit, configured to acquire a first threshold value and a second threshold value preconfigured for the first antenna capacitance relative change parameter and matching the first distance, wherein the first threshold value is smaller than the second threshold value; a detection unit, configured to perform a first detection on the first antenna capacitance relative change parameter based on the first threshold value and the second threshold value, so as to obtain a detection result indicating that the first antenna capacitance relative change parameter has passed the detection if it is determined that the first antenna capacitance relative change parameter is greater than or equal to the first threshold value and is less than the second threshold value; The detection unit performs a specified detection on a specified antenna capacitance relative change parameter in the following manner: In the process of monitoring the specified antenna capacitance relative change parameter, continuously sampling the monitored antenna capacitance relative change parameter according to a specified sampling frequency; A designated detection is performed on the designated antenna capacitance relative change parameter obtained in the continuous sampling process, where the designated antenna capacitance relative change parameter includes a first designated antenna capacitance relative change parameter, and the designated detection includes a first detection.

9. The sensor parameter detection device according to claim 8, characterized in that: The processing unit is further configured to: controlling the SAR sensor to perform proximity detection on a baffle at a second distance from the SAR sensor, where the second distance is smaller than the first distance, and monitoring a parameter of a relative change in second antenna capacitance generated when the SAR sensor performs the proximity detection; The acquiring unit is further configured to: acquire a third threshold value and a fourth threshold value preconfigured for the second antenna capacitance relative change parameter and matching the second distance, wherein the third threshold value is smaller than the fourth threshold value and larger than the second threshold value; The detection unit is further configured to perform a second detection on the second antenna capacitance relative change parameter based on the third threshold value and the fourth threshold value, so as to obtain a detection result indicating that the second antenna capacitance relative change parameter has passed the detection when it is determined that the second antenna capacitance relative change parameter is greater than or equal to the third threshold value and the second antenna capacitance relative change parameter is less than the fourth threshold value; the detection result indicating that the second antenna capacitance relative change parameter has passed the detection indicates that the antenna capacitance relative change parameter generated by the SAR sensor when performing proximity detection at the second distance has passed the detection.

10. The sensor parameter detection device according to claim 8 or 9, characterized in that: in, The specified antenna capacitance relative change parameter includes a second specified antenna capacitance relative change parameter, and the specified detection includes a second detection.

11. The sensor parameter detection device according to claim 8, characterized in that: Before the terminal is triggered to detect and collect the antenna capacitance relative change parameter, the processing unit is further configured to: It is determined that the SAR sensor has completed calibration.

12. A sensor parameter detection device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the sensor parameter detection method according to any one of claims 1 to 7.

13. A storage medium, characterized in that: The storage medium stores instructions. When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the sensor parameter detection method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Object-to-target distance state detection method and mobile terminal

    CN106293293A