Search

CN-121996095-A - Touch detection method, device, electronic equipment, storage medium and program product

CN121996095ACN 121996095 ACN121996095 ACN 121996095ACN-121996095-A

Abstract

The disclosure provides a touch detection method, a touch detection device, an electronic device, a storage medium and a program product, wherein the method comprises the steps of executing a wake-up operation on a first processing module when the electronic device is in a self-contained detection mode and a first touch operation is detected in the self-contained detection mode; the wake-up operation is used for triggering the first processing module to switch to a working state, controlling the electronic equipment to switch from a self-capacity detection mode to a mutual capacity detection mode, and executing preset processing operation on first detection data detected in the mutual capacity detection mode based on the first processing module. The embodiment of the disclosure can improve the speed of processing the first detection data in the mutual capacity detection mode.

Inventors

  • Guo Kairong

Assignees

  • 北京小米移动软件有限公司

Dates

Publication Date
20260508
Application Date
20241107

Claims (10)

  1. 1. The touch detection method is characterized by comprising the following steps of: Executing a wake-up operation on a first processing module when the electronic equipment is in a self-capacity detection mode and a first touch operation is detected in the self-capacity detection mode, wherein the wake-up operation is used for triggering the first processing module to switch to a working state; controlling the electronic equipment to switch from the self-capacity detection mode to a mutual-capacity detection mode; and based on the first processing module, executing preset processing operation on the first detection data acquired in the mutual capacity detection mode.
  2. 2. The touch detection method according to claim 1, wherein the performing, based on the first processing module, a preset processing operation on the first detection data detected in the mutual capacitance detection mode includes: in the case that the first detection data is acquired after the first processing module is switched to the working state and the acquisition of the first detection data is detected to be completed, the preset processing operation is executed on the first detection data based on the first processing module, or And when the first processing module is switched to the working state after the first detection data is acquired and the first processing module is detected to be switched to the working state, executing the preset processing operation on the first detection data based on the first processing module.
  3. 3. The touch detection method of claim 1, further comprising: In the mutual capacity detection mode, acquiring the first detection data based on a second processing module; the performing a wake-up operation on the first processing module includes: executing the wake-up operation on the first processing module if the first performance parameter of the first processing module is greater than the second performance parameter of the second processing module; Wherein the performance parameter is positively correlated with the speed at which the processing module processes the sensed data.
  4. 4. The touch detection method according to claim 3, wherein the performing the wake-up operation on the first processing module if the first performance parameter of the first processing module is greater than the second performance parameter of the second processing module includes: And executing the awakening operation on the first processing module under the condition that the first performance parameter is larger than the second performance parameter and the deviation value between the first performance parameter and the second performance parameter is larger than a first threshold value.
  5. 5. The touch detection method of claim 1, further comprising: And under the condition that the duration of the second touch operation is not detected to reach the preset duration in the mutual capacitance detection mode, controlling the electronic equipment to switch to the self-capacitance detection mode and/or controlling the first processing module to switch to the dormant state.
  6. 6. The touch detection method of claim 2, further comprising: in the mutual capacitance detection mode, the first detection data is acquired based on a first period, and/or, Acquiring second detection data based on a second period in the self-contained detection mode; The second detection data is used for determining whether the first touch operation is detected or not, and the first period is larger than the second period.
  7. 7. A touch detection device, the device comprising: The system comprises a wake-up module, a control module and a first processing module, wherein the wake-up module is configured to execute wake-up operation on the first processing module when the electronic equipment is in a self-capacity detection mode and detects first touch operation in the self-capacity detection mode, and the wake-up operation is used for triggering the first processing module to switch to a working state; and based on the first processing module, executing preset processing operation detected by executing preset processing operation on the first detection data acquired in the mutual capacity detection mode.
  8. 8. An electronic device, comprising: A processor; a memory for storing a computer program or instructions; Wherein the processor executes the computer program or instructions to implement the steps of the method of any one of claims 1 to 6.
  9. 9. A non-transitory computer readable storage medium storing a computer program or instructions, characterized in that the computer program or instructions in the storage medium, when executed by a processor, implement the steps of the method of any one of claims 1 to 6.
  10. 10. A computer program product comprising a computer program or instructions which, when executed by a processor, implement the steps of the method of any one of claims 1 to 6.

Description

Touch detection method, device, electronic equipment, storage medium and program product Technical Field The disclosure relates to the field of touch detection, and in particular, to a touch detection method, a touch detection device, an electronic device, a storage medium and a program product. Background In the related art, a related operation may be performed with respect to detection data acquired in the touch detection mode. However, the response speed from the start of acquisition of the detection data to the execution of the correlation operation with respect to the acquired detection data may be slow in the related art, resulting in a high time delay between the time when the acquisition of the detection data is started and the time when the correlation operation with respect to the acquired detection data is executed. At this time, timeliness of performing the correlation operation on the acquired detection data cannot be ensured. Disclosure of Invention In order to overcome the problems in the related art, the present disclosure provides a touch detection method, a touch detection device, an electronic device, a storage medium, and a program product, so as to increase a processing speed of processing first detection data acquired in a mutual capacitance detection mode. According to a first aspect of an embodiment of the present disclosure, there is provided a touch detection method, including: Executing a wake-up operation on the first processing module when the electronic equipment is in the self-capacity detection mode and the first touch operation is detected in the self-capacity detection mode, wherein the wake-up operation is used for triggering the first processing module to switch to a working state; Controlling the electronic equipment to switch from the self-capacity detection mode to the mutual-capacity detection mode; And executing preset processing operation on the first detection data acquired in the mutual capacity detection mode based on the first processing module. In one embodiment, based on the first processing module, performing a preset processing operation on first detection data detected in the mutual capacity detection mode includes: acquiring first detection data after the first processing module is switched to the working state, and executing preset processing operation on the first detection data based on the first processing module or And when the first processing module is switched to the working state after the first detection data is acquired and the first processing module is detected to be switched to the working state, executing preset processing operation on the first detection data based on the first processing module. In one embodiment, the method further comprises: In a mutual capacity detection mode, acquiring first detection data based on a second processing module; Executing a wake-up operation on the first processing module, comprising: executing a wake-up operation on the first processing module if the first performance parameter of the first processing module is greater than the second performance parameter of the second processing module; Wherein the performance parameter is positively correlated with the speed at which the processing module processes the sensed data. In one embodiment, performing a wake-up operation on a first processing module if a first performance parameter of the first processing module is greater than a second performance parameter of a second processing module, includes: and executing a wake-up operation on the first processing module under the condition that the first performance parameter is larger than the second performance parameter and the deviation value between the first performance parameter and the second performance parameter is larger than a first threshold value. In one embodiment, the method further comprises: In the case where the duration of the second touch operation is not detected in the mutual capacitance detection mode to reach the preset duration, And controlling the electronic equipment to switch to a self-capacity detection mode and/or controlling the first processing module to switch to a dormant state. In one embodiment, the method further comprises: in the mutual capacitance detection mode, first detection data is acquired based on a first period, and/or, In the self-contained detection mode, second detection data are acquired based on a second period; The second detection data are used for determining whether the first touch operation is detected or not, and the first period is larger than the second period. According to a second aspect of embodiments of the present disclosure, there is provided a touch detection device, including: The system comprises a wake-up module, a first processing module and a second processing module, wherein the wake-up module is configured to execute wake-up operation on the first processing module when the electronic equipment is in a self-capacity detection mode and detects