Detection method and device

By superimposing capacitance values ​​in the air and time domains on the capacitance sensor, the problem of limited distance detection of suspended objects is solved, which improves detection distance and accuracy, enhances the interactive experience, and reduces cost and signal overhead.

CN119200872APending Publication Date: 2024-12-27HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310770383.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-27
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The distance from capacitive sensors to detect suspended objects is very limited, making it difficult to detect changes in capacitance value of suspended objects when floating slightly farther, affecting the interactive experience during equipment control.

Method used

By superimposing in the air and/or time domain at the capacitance position of the capacitance sensor, amplifying the capacitance value changes corresponding to the suspended object, including obtaining the current capacitance values ​​of multiple capacitance positions for summing or weighting, or historical The capacitance value is added to the current capacitance value, and the historical capacitance value is processed using the attenuation parameters to improve detection sensitivity and reliability.

Benefits of technology

It significantly increases the distance of suspension detection, improves user experience and detection accuracy, reduces electrode costs and signal overhead, can detect the suspension of multiple objects, and enhances the interactive experience during device control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200872A_ABST
    Figure CN119200872A_ABST
Patent Text Reader

Abstract

The invention provides a detection method, and relates to the technical field of detection. The method is used for detecting suspension of at least one object near a capacitive sensor, and comprises the steps that according to a current capacitance value of a first capacitance position, a superposition capacitance value of the first capacitance position is determined, the superposition capacitance value comprises superposition of the current capacitance value of the first capacitance position and a current capacitance value of a second capacitance position, and the current capacitance value of the first capacitance position and the current capacitance value of the second capacitance position are overlapped. And / or the superposition of the current capacitance value of the first capacitance position and the historical capacitance value of the first capacitance position, wherein the second capacitance position is the capacitance position around the first capacitance position. In the embodiment of the invention, the capacitance position is subjected to spatial domain and / or time domain superposition, so that the change of the capacitance value of the capacitance position corresponding to the suspended object can be amplified, the detection device can detect the suspension of the object, and the suspension detection distance is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of detection technology, and more specifically, to a detection method and device. Background Art

[0002] Objects (such as human fingers) have a certain influence on the electric field distribution around the capacitive sensor. Based on this principle, for example, the contact position of the finger on the surface of the capacitive sensor can be sensed, thereby identifying the finger's click, long press, sliding and other operations at different positions on the surface.

[0003] Capacitive sensors can also detect objects floating nearby, which can further enrich the interactive experience during device operation. For example, the possible contact position of a finger can be predicted in advance through suspension detection, so as to preview some information or operations.

[0004] However, the distance at which the capacitive sensor can detect a suspended object is very limited. For example, if the distance between the object and the capacitive sensor increases slightly, it becomes difficult for the capacitive sensor to detect that the object is suspended. Summary of the invention

[0005] The present application provides a detection method that can increase the distance at which a capacitive sensor can detect a suspended object.

[0006] In a first aspect, a detection method is provided, the method being used to detect the suspension of at least one object near a capacitive sensor, the method comprising: obtaining a current capacitance value of a first capacitance position of the capacitive sensor; determining a superimposed capacitance value of the first capacitance position according to the current capacitance value of the first capacitance position, wherein the superimposed capacitance value comprises a superposition of the current capacitance value of the first capacitance position and a current capacitance value of a second capacitance position, and / or a superposition of the current capacitance value of the first capacitance position and a historical capacitance value of the first capacitance position, the second capacitance position being a capacitance position around the first capacitance position; and performing suspension detection according to the superimposed capacitance value.

[0007] When an object is suspended at a distance from the capacitive sensor, the change in capacitance caused by the suspension of the object is small, making it difficult for the detection device to detect the suspension. In the embodiment of the present application, by superimposing the capacitance position in the spatial domain and / or the time domain, the change in capacitance value of the capacitance position corresponding to the suspended object can be amplified, so that the detection device can detect the suspension of the object, thereby increasing the distance of suspension detection.

[0008] In combination with the first aspect, in certain implementations of the first aspect, determining the superimposed capacitance value of the first capacitance position according to the current capacitance value includes: obtaining current capacitance values ​​of multiple second capacitance positions, wherein the multiple second capacitance positions and the first capacitance position form a 3 by 3 or 5 by 5 square matrix; adding the current capacitance values ​​of the multiple second capacitance positions to the current capacitance value of the first capacitance position to obtain the superimposed capacitance value.

[0009] When an object is suspended at a distance from the capacitive sensor, the change in capacitance caused by the suspension of the object is small, making it difficult for the detection device to detect the suspension. In the embodiment of the present application, the capacitance values ​​of the capacitance positions of "one grid" or "two grids" around the first capacitance position are superimposed on the airspace, which can significantly amplify the change in capacitance value of the capacitance position corresponding to the suspended object, so that the detection device can detect the suspension of the object, thereby further increasing the distance of suspension detection.

[0010] In combination with the first aspect, in certain implementations of the first aspect, determining the superimposed capacitance value of the first capacitance position according to the current capacitance value of the first capacitance position includes: obtaining a historical capacitance value of the first capacitance position, wherein the historical capacitance value includes a capacitance value of at least one frame before a current frame, the at least one frame is adjacent to the current frame, and the current capacitance value of the first capacitance position is located in the current frame; determining the superimposed capacitance value according to the historical capacitance value.

[0011] When an object is suspended at a slightly distance from the capacitive sensor, the change in capacitance caused by the suspension of the object is small, making it difficult for the detection device to detect the suspension. In an embodiment of the present application, by superimposing the capacitance value of at least one frame before the current frame to the current capacitance value, the change in capacitance value of the capacitance position corresponding to the suspended object can be significantly amplified, thereby increasing the distance of suspension detection and improving the user experience. On the other hand, using historical capacitance values ​​adjacent to the current frame can further amplify the enhancement of capacitance value caused by the suspension of the object, thereby improving the reliability of detection.

[0012] In combination with the first aspect, in some implementations of the first aspect, determining the superimposed capacitance value according to the historical capacitance value includes: adding the historical capacitance value to the current capacitance value of the first capacitance position to obtain the superimposed capacitance value.

[0013] In the embodiment of the present application, the capacitance value of at least one frame before the current frame can be added to the current capacitance value. This solution is simple to operate and accurate in calculation.

[0014] In combination with the first aspect, in some implementations of the first aspect, determining the superimposed capacitance value according to the historical capacitance value includes: determining the superimposed capacitance value according to an attenuation parameter and the historical capacitance value.

[0015] In the embodiment of the present application, the attenuation parameter can take a value greater than or equal to 0 and less than 1. The attenuation parameter is used to process the historical capacitance value, and a smaller attenuation parameter can make the current capacitance value have a greater weight, thereby increasing the sensitivity of the detection.

[0016] In combination with the first aspect, in some implementations of the first aspect, determining the superposition capacitance value according to the attenuation parameter and the historical capacitance value includes: determining the superposition capacitance value according to the following formula:

[0017] S n = rS n-1 +F n ;

[0018] Among them, S n is the superposition capacitance value of the first capacitor position in the nth frame, the nth frame is the current frame, and F n is the current capacitance value of the first capacitance position, r is the attenuation parameter, and n is an integer greater than 1.

[0019] In the embodiment of the present application, the historical capacitance value is the superposition capacitance value of the previous frame, so that the superposition capacitance value of the current frame can be quickly calculated when the amount of data is large. On the other hand, using the attenuation parameter to process the historical capacitance value can make the current capacitance value have a greater weight, thereby increasing the sensitivity of the detection.

[0020] In combination with the first aspect, in some implementations of the first aspect, the capacitive sensor includes a mutual capacitance electrode.

[0021] In combination with the first aspect, in some implementations of the first aspect, performing suspension detection according to the superimposed capacitance value includes: when the superimposed capacitance value is greater than or equal to a suspension threshold, determining that the at least one object is suspended near the first capacitance position.

[0022] In the embodiment of the present application, suspension detection can be achieved by determining the magnitude relationship between the superposition capacitance value and the suspension threshold.

[0023] In combination with the first aspect, in certain implementations of the first aspect, suspension detection is performed based on the superimposed capacitance value, including: when the superimposed capacitance values ​​corresponding to multiple capacitance positions of the capacitance sensor are greater than or equal to a suspension threshold, determining that multiple objects are respectively suspended near the multiple capacitance positions, wherein the distance between two capacitance positions among the multiple capacitance positions is greater than a preset threshold.

[0024] The method provided by the embodiment of the present application can detect the suspension of multiple objects, thereby improving the user experience. Compared with the technical solution of using self-capacitance electrodes arranged in a dot matrix to detect the suspension of multiple objects, the method provided by the embodiment of the present application can use mutual capacitance electrodes arranged in a staggered row and column for detection because it enhances the distance of detecting suspension, thereby reducing the electrode cost and signal overhead.

[0025] In combination with the first aspect, in certain implementations of the first aspect, before performing suspension detection based on the superimposed capacitance value, the method also includes: determining that the current capacitance value is less than or equal to a contact threshold, wherein the contact threshold is used to indicate whether the at least one object is in contact with the capacitive sensor.

[0026] In the embodiment of the present application, contact detection is also performed before suspension detection, thereby eliminating the situation where the object has already contacted the capacitive sensor, thereby improving the accuracy of suspension detection.

[0027] In a second aspect, an embodiment of the present application provides a detection device, which includes a module for implementing the first aspect or any possible implementation method of the first aspect.

[0028] In a third aspect, a computing device is provided, including a processor and a memory, wherein the processor is used to execute instructions stored in the memory so that the computing device executes the detection method of the first aspect or any possible implementation of the first aspect.

[0029] According to a fourth aspect, a computer program product comprising instructions is provided. When the instructions are executed by a computing device, the computing device executes the detection method of the first aspect or any possible implementation of the first aspect.

[0030] In a fifth aspect, a computer-readable storage medium is provided, comprising computer program instructions. When the computer program instructions are executed by a computing device, the computing device executes the detection method of the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of a capacitor matrix provided in an embodiment of the present application.

[0032] Figure 2 It is a schematic diagram of another capacitor matrix provided in an embodiment of the present application.

[0033] Figure 3 It is a schematic flow chart of a detection method provided in an embodiment of the present application.

[0034] Figure 4 This is a schematic diagram of another capacitor matrix provided in an embodiment of the present application.

[0035] Figure 5 Schematic diagram of a capacitor matrix provided in an embodiment of the present application.

[0036] Figure 6 Schematic diagram of another capacitor matrix provided in an embodiment of the present application.

[0037] Figure 7 It is a schematic flow chart of another detection method provided in an embodiment of the present application.

[0038] Figure 8 It is a schematic block diagram of a detection device provided in an embodiment of the present application.

[0039] Fig. 9 It is a schematic block diagram of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0041] The present application will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.

[0042] In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0043] The business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

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

[0045] Figure 1 1 is a schematic diagram of a capacitor matrix provided in an embodiment of the present application. The capacitor matrix 100 includes a plurality of capacitor positions 110, each capacitor position 110 having a capacitance value 120. When an object (e.g., a finger) is suspended near or in contact with a capacitor position 110, the capacitance value 120 of the capacitor position 110 may change, for example, increase.

[0046] Figure 2 It is a schematic diagram of another capacitor matrix provided in an embodiment of the present application. Figure 2 The scene in which an object touches the capacitive sensor or floats near the capacitive sensor is shown. Object position 210 indicates the position of the object. The object can float near object position 210 or touch object position 210. It can be seen that the distance between the object and the capacitive position 110 (hereinafter referred to as the object capacitive position for distinction) corresponding to the object position 210 is the shortest, and the capacitance value of the object capacitive position is the largest. As the distance between the capacitive position 110 and the object capacitive position increases, the capacitance value gradually decreases from 4 to 1.

[0047] In the case of suspension, the object gradually approaches the capacitive sensor at the object position 210, and the object capacitance position may increase, for example, from 4 to 5. On the other hand, the capacitance values ​​120 of the capacitance positions 110 around the object capacitance position may also increase, for example, from 3 to 4, from 2 to 3, and from 1 to 2.

[0048] It should be noted that Figure 1 and Figure 2 The capacitor matrix 100 is exemplified in the form of a matrix (ie, a rectangular array), and the capacitor positions are not limited to being arranged in the form of a rectangular array. The capacitor positions can also be arranged in any form, such as a circular array, an irregular array, etc.

[0049] The capacitance position can also be called the capacitance point, for example Figure 1 There are 8*10 capacitor positions in the circuit, which means there are 80 capacitor positions in total.

[0050] The capacitance value at the capacitance position can be determined by the electrodes and the detection device in the capacitive sensor. The detection device can process the capacitance signal generated by the electrodes to determine the capacitance value.

[0051] In some embodiments, the capacitive sensor may include electrodes arranged in rows and columns in an alternating manner. If it is desired to detect the capacitance values ​​of 80 capacitance positions using the alternating electrodes, 10 rows and 8 columns of electrodes are required, i.e., a total of 18 electrodes, and the detection device needs to process 18 capacitance signals.

[0052] In other embodiments, the capacitive sensor may include dot-matrix electrodes. If it is desired to detect the capacitance values ​​of 80 capacitance positions through the dot-matrix electrodes, 80 electrodes are required and the detection device needs to process 80 capacitance signals.

[0053] It can be seen that compared with row-column staggered electrodes, the use of dot matrix electrodes will increase signal overhead, electrode costs, etc.

[0054] In some embodiments, the capacitive sensor may use a self-capacitive electrode. The detection distance of the self-capacitive electrode is slightly farther than that of the mutual capacitive electrode. However, if the self-capacitive electrode adopts a staggered row and column pattern, the capacitive sensor can only perform "single point" detection. If multiple objects touch the self-capacitive electrode at the same time or float near the self-capacitive electrode, the self-capacitive electrode with staggered rows and columns will detect "ghosting".

[0055] In other embodiments, the capacitive sensor may use mutual capacitance electrodes. Even if the mutual capacitance electrodes are arranged in a staggered manner, the "ghosting" problem will not occur. However, the detection distance of the mutual capacitance electrodes is very small, generally less than 1 mm. If the distance between the object and the mutual capacitance electrodes increases slightly, it is difficult for the capacitive sensor to detect the suspension of the object.

[0056] Therefore, for the mutual capacitance electrodes with staggered rows and columns, increasing the distance at which the capacitance sensor detects suspension is an urgent problem to be solved. However, the present application does not limit the capacitance sensor to only the mutual capacitance electrodes with staggered rows and columns, for example, it can also be a dot matrix self-capacitance electrode. Obviously, for any form of capacitance sensor, increasing the distance at which the capacitance sensor detects suspension is conducive to further enriching the interactive experience during the device control process, thereby improving the user experience.

[0057] Figure 3is a schematic flow chart of a detection method provided in an embodiment of the present application. The method 300 can increase the distance at which the capacitor detects suspension. The present application does not limit the specific device for executing the method 300. For example, the method 300 can be executed by a device with a computing function (such as a mobile device). The method 300 can be used to detect the suspension of at least one object near the capacitive sensor.

[0058] S310: Obtain a current capacitance value of a first capacitance position of the capacitance sensor.

[0059] The first capacitance position may be any capacitance position in the capacitance sensor. For example, the first capacitance position may be Figure 1 Or any one of the capacitor positions 110 in 2.

[0060] The current capacitance value may be the capacitance value of the capacitance position at the current moment (eg, the current frame). Figure 2 It can indicate the capacitance value of the capacitive sensor at the current moment 120. In other words, Figure 2 The capacitance value 120 of any capacitance position 110 can be used as the current capacitance value of the first capacitance position.

[0061] For example, the current capacitance value can be determined via the capacitance signal.

[0062] Optionally, the capacitive sensor includes mutual capacitance electrodes. Optionally, the capacitive sensor includes self-capacitance electrodes. Optionally, the electrodes of the capacitive sensor are electrodes arranged in rows and columns in an interlaced manner. Optionally, the electrodes of the capacitive sensor are electrodes arranged in a dot matrix manner.

[0063] S320, determining a superimposed capacitance value of the first capacitance position according to the current capacitance value of the first capacitance position, wherein the superimposed capacitance value includes a superposition of the current capacitance value of the first capacitance position and a current capacitance value of a second capacitance position, and / or a superposition of the current capacitance value of the first capacitance position and a historical capacitance value of the first capacitance position, and the second capacitance position is a capacitance position around the first capacitance position.

[0064] The superimposed capacitance value of the first capacitor position can be determined based on the current capacitance value of the first capacitor position, but the present application is not limited to being determined based only on the current capacitance value of the first capacitor position, that is, in addition to the current capacitance value of the first capacitor position, other parameters can also be considered.

[0065] In some embodiments, the superimposed capacitance value may include the superposition of the current capacitance value of the first capacitance position and the current capacitance value of the second capacitance position. In other embodiments, the superimposed capacitance value may include the superposition of the current capacitance value of the first capacitance position and the historical capacitance value of the first capacitance position. In still other embodiments, the superimposed capacitance value may include the superposition of the current capacitance value of the first capacitance position and the current capacitance value of the second capacitance position, and the superposition of the current capacitance value of the first capacitance position and the historical capacitance value of the first capacitance position.

[0066] The second capacitor position is a capacitor position around the first capacitor position. For example, the second capacitor position may be a capacitor position within a preset distance from the first capacitor position. For another example, the second capacitor position may be a capacitor position adjacent to the first capacitor position. For another example, the second capacitor position may be one or more capacitor positions near the first capacitor position.

[0067] The superposition by the current capacitance value of the second capacitance position can be understood as superposition in the spatial domain. Figure 2 , assuming that the first capacitor position is the object capacitor position, that is, the capacitor position with a capacitance value 120 of "4", the second capacitor position may be a capacitor position with a capacitance value 120 of "3" adjacent to the object capacitor position, or a capacitor position with a capacitance value 120 of "2", or all capacitor positions with capacitance values ​​120 of "2" and "3", that is, the capacitor position adjacent to the object capacitor position by "one grid". In other embodiments, the second capacitor position may also be one of the capacitor positions adjacent to the object capacitor position by "two grids" or "three grids".

[0068] It should be noted that it is assumed above that the first capacitance position is the object capacitance position. As mentioned above, the first capacitance position may be any capacitance position, not just the object capacitance position.

[0069] The superposition may include summation, weighted summation, arithmetic average, weighted average, etc. For example, the superimposed capacitance value may be the sum of the current capacitance value of the first capacitance position and the current capacitance value of the second capacitance position.

[0070] See also Figure 2 When the object is suspended at the object position 210, not only the capacitance value 120 of the object capacitance position will change, but also the capacitance value 120 of the capacitance position 110 around the object capacitance position will change, and the change is smaller than the change of the capacitance value 110 of the object capacitance position. In this way, superimposing the current capacitance values ​​of the first capacitance position and the second capacitance position can greatly amplify the change of the capacitance value of the object capacitance position, moderately amplify the change of the capacitance value of the capacitance position around the object capacitance position, and less amplify the capacitance value of the capacitance position far from the object capacitance position.

[0071] Therefore, when the suspension distance is far and the capacitance value change of the capacitance position is small, the change of each capacitance position can be increased by superposition, especially the change of the capacitance value of the object capacitance position, so that the detection device can detect the suspension of the object, thereby increasing the suspension detection distance.

[0072] The superposition of the historical capacitance value of the first capacitor position can be understood as superposition in the time domain. The historical capacitance value is a concept relative to the current capacitance value. The current capacitance value of the first capacitor position is the capacitance value of the first capacitor position at the current moment, and the historical capacitance value of the first capacitor position is a capacitance value of the first capacitor position before the current moment. The historical capacitance value of the first capacitor position can also be multiple capacitance values ​​of the first capacitor position before the current moment.

[0073] Superposition may include summation, weighted summation, arithmetic mean, weighted mean, etc.

[0074] See also Figure 2 , when the object is suspended at the object position 210, it often has a certain duration. For example, if the time unit is frame, assuming that the object stays for 3 frames, in these 3 frames, the object does not move, and there are no other factors affecting the capacitance value. That is to say, in these 3 frames, each frame is Figure 2 The values ​​of the capacitance matrix shown. Superimposing the capacitance values ​​of the first frame and the third frame in these three frames is equivalent to amplifying the change in capacitance value caused by the object suspension by 2 times. Among them, the change in capacitance value of the object capacitance position is larger than that of other capacitance positions. Therefore, by superimposing historical capacitance values, the change in capacitance value of the object capacitance position can be particularly increased, so that the detection device can detect the suspension of the object, thereby increasing the distance of suspension detection. It can be understood that the above example is superimposed based on historical capacitance values ​​that are not adjacent to the current frame.

[0075] It can be understood that the above is only an example. When the object stays for more than 3 frames or less than 3 frames, and when the object moves slightly or other factors have some impact on the capacitance value, the change in the capacitance value of the object's capacitance position can also be increased by superposition of historical capacitance values, so that the detection device can detect the suspension of the object, thereby increasing the distance of suspension detection.

[0076] When an object is suspended at a distance from the capacitive sensor, the change in capacitance caused by the suspension of the object is small, making it difficult for the detection device to detect the suspension. In the embodiment of the present application, by superimposing the capacitance position in the spatial domain and / or the time domain, the change in capacitance value of the capacitance position corresponding to the suspended object can be amplified, so that the detection device can detect the suspension of the object, thereby increasing the distance of suspension detection.

[0077] In some embodiments, determining the superimposed capacitance value of the first capacitance position based on the current capacitance value includes: obtaining the current capacitance values ​​of multiple second capacitance positions, wherein the multiple second capacitance positions and the first capacitance position form a 3 by 3 or 5 by 5 square matrix; adding the current capacitance values ​​of the multiple second capacitance positions to the current capacitance value of the first capacitance position to obtain the superimposed capacitance value.

[0078] The plurality of second capacitor positions and the first capacitor position form a 3 by 3 square matrix, which can be understood as the second capacitor position being a capacitor position adjacent to the first capacitor position in a "grid", or can also be understood as the second capacitor position being a capacitor position in a "circle" around the first capacitor position.

[0079] Figure 4 is a schematic diagram of another capacitor matrix provided in an embodiment of the present application. In the case where the second capacitor position and the first capacitor position form a 3×3 square matrix, Figure 2 By superimposing the capacitance values ​​120 of each capacitor position 110 in Figure 4 A capacitor matrix 100 is shown.

[0080] It should be noted that when the first capacitor position is at the edge of the capacitor matrix, there are actually not enough second capacitor positions to form a 3x3 square matrix with the first capacitor position. At this time, a 3x3 square matrix can be virtually constructed, and the first capacitor position is located at the center of the 3x3 square matrix. The missing second capacitor position can be considered to have a capacitance value of 0. However, as mentioned above, the first capacitor position refers to any capacitor position, and as long as there is a capacitor position and the surrounding 3x3 square matrix, it falls within the scope of this application.

[0081] Will Figure 4 and Figure 2 By comparison, it can be seen that the capacitance values ​​of the object capacitance position and the capacitance position 110 near it increase significantly, while the capacitance position 110 far from the object capacitance position increases less. Therefore, the method provided in the embodiment of the present application can amplify the change in the capacitance value of the capacitance position corresponding to the suspended object, so that the detection device can detect the suspension of the object, thereby increasing the distance of suspension detection.

[0082] The plurality of second capacitor positions and the first capacitor position form a 5×5 square matrix, which can be understood as the second capacitor position being the capacitor position adjacent to the first capacitor position by two grids, or the second capacitor position being the capacitor position surrounding the first capacitor position by two circles. The other contents of the 5×5 square matrix are similar to the technical solution of the 3×3 square matrix, and will not be repeated here.

[0083] When an object is suspended at a distance from the capacitive sensor, the change in capacitance caused by the suspension of the object is small, making it difficult for the detection device to detect the suspension. In the embodiment of the present application, the capacitance values ​​of the capacitance positions of "one grid" or "two grids" around the first capacitance position are superimposed on the airspace, which can significantly amplify the change in capacitance value of the capacitance position corresponding to the suspended object, so that the detection device can detect the suspension of the object, thereby further increasing the distance of suspension detection.

[0084] In other embodiments, determining the superimposed capacitance value of the first capacitance position according to the current capacitance value of the first capacitance position includes: obtaining the historical capacitance value of the first capacitance position, wherein the historical capacitance value includes the capacitance value of at least one frame before the current frame, the at least one frame is adjacent to the current frame, and the current capacitance value of the first capacitance position is located in the current frame; determining the superimposed capacitance value according to the historical capacitance value.

[0085] The present application does not limit the specific number of frames of the historical capacitance value. For example, the historical capacitance value may be the capacitance value of 5 frames before the current frame.

[0086] Optionally, the historical capacitance value may be capacitance values ​​of a plurality of consecutive frames adjacent to the current frame.

[0087] For example, suppose the object stays for 3 frames. During these 3 frames, the object does not move and no other factors affect the capacitance value. That is, in these 3 frames, each frame is Figure 2 The capacitance matrix values ​​shown in FIG. Superimposing the capacitance values ​​in these three frames is equivalent to amplifying the change in capacitance value caused by the object suspension by three times. Therefore, compared with superimposing historical capacitance values ​​that are not adjacent to the current frame, using historical capacitance values ​​that are adjacent to the current frame can further amplify the enhancement of capacitance value caused by the object suspension, thereby improving the reliability of detection.

[0088] The superposition may include addition, weighted addition, arithmetic average, weighted average, etc. For example, the current capacitance value and the historical capacitance value of the first capacitance position may be arithmetic averaged to obtain the superposition capacitance value of the first capacitance position.

[0089] When an object is suspended at a slightly distance from the capacitive sensor, the change in capacitance caused by the suspension of the object is small, making it difficult for the detection device to detect the suspension. In an embodiment of the present application, by superimposing the capacitance value of at least one frame before the current frame to the current capacitance value, the change in capacitance value of the capacitance position corresponding to the suspended object can be significantly amplified, thereby increasing the distance of suspension detection and improving the user experience. On the other hand, using historical capacitance values ​​adjacent to the current frame can further amplify the enhancement of capacitance value caused by the suspension of the object, thereby improving the reliability of detection.

[0090] Optionally, determining the superimposed capacitance value according to the historical capacitance value includes: adding the historical capacitance value to the current capacitance value of the first capacitance position to obtain the superimposed capacitance value.

[0091] For example, the addition may be performed according to Formula 1.

[0092]

[0093] Among them, S n It is a form of expression of superposition capacitance value, F i represents the capacitance matrix of the i-th frame. Formula 1 can be understood as adding the capacitance values ​​of the previous k frames in the n-th frame, and the n-th frame can be regarded as the aforementioned current frame.

[0094] For another example, the addition can be performed according to Formula 2.

[0095] S n =S n-1 -F n-k +F n (Formula 2)

[0096] The parameters in Formula 2 can refer to the description of Formula 1 and will not be repeated here.

[0097] The result obtained by formula 2 is the same as that of formula 1, except that formula 2 can calculate the superposition capacitance value of the current frame based on the superposition capacitance value of the previous frame. In the case of a large amount of data, formula 2 can be used to quickly calculate the superposition capacitance value, reducing the delay caused by the amount of calculation.

[0098] Figure 5 Schematic diagram of a capacitor matrix provided in an embodiment of the present application. Figure 5 (a) in the figure can represent the capacitance matrix of the current frame. Figure 5 (b) in the figure can represent the capacitance matrix of the first frame before the current frame. Figure 5 (c) in FIG. 5 can represent the capacitance matrix of the second frame before the current frame.

[0099] Figure 6 Schematic diagram of another capacitor matrix provided in an embodiment of the present application. Figure 6 (a) in the formula can be used to represent Figure 5 (a) is the superposition capacitance value after adding the equation 1 or equation 2, where k is 2. Figure 6 From (a) in the figure, we can see that the change in capacitance caused by the object's suspension is relative to Figure 5 (a) is further enlarged.

[0100] In the embodiment of the present application, the capacitance value of at least one frame before the current frame can be added to the current capacitance value. This solution is simple to operate and accurate in calculation.

[0101] Optionally, determining the superimposed capacitance value according to the historical capacitance value includes: performing weighted addition of the historical capacitance value and the current capacitance value of the first capacitance position to obtain the superimposed capacitance value.

[0102] Exemplarily, the historical capacitance values ​​may be weighted according to the distance from the current frame. For example, a smaller weight may be given to the historical capacitance values ​​that are farther away from the current frame, and a larger weight may be given to the historical capacitance values ​​that are closer to the current frame. For another example, the change of the capacitance value may be identified, and if an abnormal change occurs, the weight of the capacitance value of the frame where the abnormal change occurs may be reduced to avoid excluding the abnormal situation.

[0103] Optionally, determining the superimposed capacitance value according to the historical capacitance value includes: arithmetically averaging the historical capacitance value and the current capacitance value of the first capacitance position to obtain the superimposed capacitance value.

[0104] For example, the arithmetic mean may be calculated according to Formula 3.

[0105]

[0106] Among them, A n It is another form of superimposed capacitance value. The other parameters can refer to the description of formula 1 and will not be repeated here. Formula 3 can be understood as calculating the arithmetic average of the capacitance values ​​of the previous k frames in the nth frame, and the nth frame can be regarded as the aforementioned current frame.

[0107] For another example, the arithmetic mean can be calculated according to Formula 4.

[0108]

[0109] The parameters in Formula 4 can be referred to in the previous text and will not be repeated here. The result obtained by Formula 4 is the same as that of Formula 3, except that Formula 4 can calculate the superposition capacitance value of the current frame based on the superposition capacitance value of the previous frame. In the case of a large amount of data, Formula 4 can be used to quickly calculate the superposition capacitance value, reducing the delay caused by the amount of calculation.

[0110] Optionally, determining the superimposed capacitance value according to the historical capacitance value includes: taking a weighted average of the historical capacitance value and the current capacitance value of the first capacitance position to obtain the superimposed capacitance value.

[0111] Exemplarily, the historical capacitance values ​​may be weighted according to the distance from the current frame. For example, a smaller weight may be given to the historical capacitance values ​​that are farther away from the current frame, and a larger weight may be given to the historical capacitance values ​​that are closer to the current frame. For another example, the change of the capacitance value may be identified, and if an abnormal change occurs, the weight of the capacitance value of the frame where the abnormal change occurs may be reduced to avoid excluding the abnormal situation.

[0112] Figure 6 (b) in the above formula can be used to express Figure 5 (a) in the figure uses formula 3 or formula 4 to calculate the arithmetic average of the superposition capacitance, where k is 2 and some approximations are made to the result. Figure 6 From (b) in the figure, we can see that the change in capacitance caused by the object's suspension is relative to Figure 5 (a) is further enlarged.

[0113] Optionally, determining the superimposed capacitance value according to the historical capacitance value includes: determining the superimposed capacitance value according to an attenuation parameter and the historical capacitance value.

[0114] It can be understood that when the attenuation parameter is used, the aforementioned k parameter may not be used to calculate the superposition capacitance value.

[0115] In the embodiment of the present application, the attenuation parameter can take a value greater than or equal to 0 and less than 1. The attenuation parameter is used to process the historical capacitance value, and a smaller attenuation parameter can make the current capacitance value have a greater weight, thereby increasing the sensitivity of the detection.

[0116] Further, determining the superposition capacitance value according to the attenuation parameter and the historical capacitance value may include: determining the superposition capacitance value according to Formula 5:

[0117] S n = rS n-1 +F n (Formula 5)

[0118] Among them, S n is the superposition capacitance value of the first capacitor position in the nth frame, the nth frame is the current frame, and F n is the current capacitance value of the first capacitance position, r is the attenuation parameter, and n is an integer greater than 1.

[0119] For example, r satisfies 0≤r<1.

[0120] In the embodiment of the present application, the historical capacitance value is the superposition capacitance value of the previous frame, so that the superposition capacitance value of the current frame can be quickly calculated when the amount of data is large. On the other hand, using the attenuation parameter to process the historical capacitance value can make the current capacitance value have a greater weight, thereby increasing the sensitivity of the detection.

[0121] The above content describes the technical solutions of superposition in the air domain and time domain respectively. Both superposition in the air domain and superposition in the time domain can improve the signal-to-noise ratio and increase the distance of suspension detection. The combination of superposition in the air domain and time domain can be applied to a wider range of application scenarios. For example, when timely response is required, air domain superposition can be selected first. For another example, when accurate identification of the suspension position is required, time domain superposition can be selected first. In this way, the applicability of suspension detection can be improved by selecting parameter combinations in different scenarios.

[0122] S330: Perform suspension detection according to the superimposed capacitance value.

[0123] In some embodiments, performing suspension detection according to the superimposed capacitance value includes: determining that the at least one object is suspended near the first capacitance position when the superimposed capacitance value is greater than or equal to a suspension threshold.

[0124] The suspension threshold can be preset. For example, the suspension threshold can be set to 20. Figure 4 In the case shown, it can be detected that the object is suspended near the object position 210. It should be noted that Figure 4 There are multiple superimposed capacitance values ​​greater than 20, but the capacitance positions corresponding to these superimposed capacitance values ​​are within a region, so in some embodiments it can be determined that an object is suspended near the object position 210.

[0125] The present application does not limit the specific suspension threshold, and technicians can set an appropriate suspension threshold as needed to achieve suspension detection.

[0126] In the embodiment of the present application, suspension detection can be achieved by determining the magnitude relationship between the superposition capacitance value and the suspension threshold.

[0127] In some embodiments, suspension detection is performed based on the superimposed capacitance value, including: when the superimposed capacitance values ​​corresponding to multiple capacitance positions of the capacitance sensor are greater than or equal to a suspension threshold, determining that multiple objects are respectively suspended near the multiple capacitance positions, wherein the distance between two capacitance positions among the multiple capacitance positions is greater than a preset threshold.

[0128] The preset threshold can be preset. If the distance between two capacitor positions in the multiple capacitor positions is greater than the preset threshold, it means that the multiple capacitor positions do not belong to the same area, which can also be understood as the presence of two capacitor positions with a large distance. Or it can be understood that the multiple capacitor positions belong to at least two areas.

[0129] The present application does not limit the specific preset threshold value, and technicians can set an appropriate preset threshold value as needed to achieve suspension detection of multiple objects.

[0130] The method provided by the embodiment of the present application can detect the suspension of multiple objects, thereby improving the user experience. Compared with the technical solution of using self-capacitance electrodes arranged in a dot matrix to detect the suspension of multiple objects, the method provided by the embodiment of the present application can use mutual capacitance electrodes arranged in a staggered row and column for detection because it enhances the distance of detecting suspension, thereby reducing the electrode cost and signal overhead.

[0131] In some embodiments, before performing suspension detection according to the superimposed capacitance value, the method further includes: determining that the current capacitance value is less than or equal to a contact threshold, wherein the contact threshold is used to indicate whether the at least one object is in contact with the capacitance sensor.

[0132] Determining that the current capacitance value is less than or equal to the contact threshold value indicates that the object has not yet made contact with the capacitive sensor. It is understandable that when the object has made contact with the capacitive sensor, the superimposed capacitance value is likely to exceed the suspension threshold value, but it should not be considered as suspension at this time because contact has occurred.

[0133] Optionally, it may also be determined whether the superposition capacitance value is less than or equal to the contact threshold.

[0134] Figure 7 700 is a schematic flow chart of another detection method provided by an embodiment of the present application. The present application does not limit the specific device for executing method 700. For example, method 700 can be executed by a device with computing function (such as a mobile device). The method 700 can be used to detect the suspension of at least one object near a capacitive sensor.

[0135] S710: Obtain a current capacitance value of a first capacitance position of the capacitance sensor.

[0136] S720, determining whether the current capacitance value exceeds the contact threshold.

[0137] For example, if the amplitude of the capacitance signal corresponding to the current capacitance value exceeds the contact threshold, S730 is executed.

[0138] For example, if the amplitudes of the capacitance signals corresponding to all current capacitance values ​​do not exceed the contact threshold, S740 is executed.

[0139] S730, determining that the object contacts the first capacitor position.

[0140] For example, in a computing device including a screen, a detection device and a system, the detection device can determine that an object (such as a finger) has touched the screen surface at this time, and then perform a corresponding operation, such as the detection device can send some instructions to the system.

[0141] S740, determining that no contact occurs.

[0142] S750, determining a superimposed capacitance value at a first capacitance position.

[0143] S760: Determine whether the superposition capacitance value exceeds the suspension threshold.

[0144] For example, if the amplitude of the capacitance signal corresponding to the superimposed capacitance value exceeds the suspension threshold, S770 is executed.

[0145] For example, if the amplitudes of the capacitance signals corresponding to all the superimposed capacitance values ​​do not exceed the suspension threshold, S780 is executed.

[0146] S770, determining that the object is suspended near the first capacitor position.

[0147] For example, in a computing device including a screen, a detection device and a system, the detection device can determine that an object (such as a finger) is floating on the screen surface at this time, and then perform a corresponding operation, such as the detection device can send other instructions to the system.

[0148] Furthermore, the detection device can determine the position and amount of the suspended fingers and send this information to the system.

[0149] S780, confirm that no suspension occurs.

[0150] In the embodiment of the present application, contact detection is also performed before suspension detection, thereby eliminating the situation where the object has already contacted the capacitive sensor, thereby improving the accuracy of suspension detection.

[0151] In other embodiments, performing suspension detection based on the superimposed capacitance value includes: determining that the current capacitance value is less than or equal to a contact threshold, and the superimposed capacitance value is greater than or equal to a suspension threshold, wherein the contact threshold is used to indicate whether the at least one object is in contact with the capacitive sensor.

[0152] For example, in a computing device including a screen, a detection device and a system, the detection device can determine a current capacitance value and a superimposed capacitance value. If the amplitude of the capacitance signal corresponding to the current capacitance value exceeds the contact threshold, it is judged that the finger is in contact with the screen surface; if the amplitude of the capacitance signal corresponding to the current capacitance value does not exceed the contact threshold, but the amplitude of the capacitance signal corresponding to the superimposed capacitance value exceeds the suspension threshold, it is judged that the finger is suspended near the screen surface; if the amplitude of the capacitance signal corresponding to the current capacitance value does not exceed the contact threshold, and the amplitude of the capacitance signal corresponding to the superimposed capacitance value does not exceed the suspension threshold, it is judged that the finger does not contact the screen surface or is suspended near the screen surface.

[0153] Furthermore, the processing device can determine the position and number of fingers touching or hovering on the screen surface based on the capacitance positions where the amplitude of the capacitance signal exceeds the contact threshold or the hovering threshold and the number of areas where the capacitance positions are located, and send instructions to the system in response.

[0154] The embodiment of the present application can perform suspension detection and contact detection simultaneously, thereby improving the efficiency of suspension detection.

[0155] Optionally, it may also be determined whether the superposition capacitance value is less than or equal to the contact threshold.

[0156] The method embodiments of the present application are described in detail above. The device embodiments of the present application are described below. The device embodiments correspond to the method embodiments, so the parts not described in detail can refer to the previous method embodiments. The device can implement any possible implementation of the above method.

[0157] Figure 8 800 is a schematic block diagram of a detection device provided in an embodiment of the present application. The device 800 is used to detect the suspension of at least one object near a capacitive sensor.

[0158] like Figure 8 As shown, the device 800 includes: an acquisition module 810, used to obtain the current capacitance value of the first capacitance position of the capacitance sensor; a processing module 820, used to determine the superimposed capacitance value of the first capacitance position according to the current capacitance value of the first capacitance position, wherein the superimposed capacitance value includes the superposition of the current capacitance value of the first capacitance position and the current capacitance value of the second capacitance position, and / or the superposition of the current capacitance value of the first capacitance position and the historical capacitance value of the first capacitance position, and the second capacitance position is a capacitance position around the first capacitance position; a detection module 830, used to perform suspension detection according to the superimposed capacitance value.

[0159] The acquisition module 810, the processing module 820 and the detection module 830 can all be implemented by software or by hardware. Exemplarily, the implementation of the acquisition module 810 is described below by taking the acquisition module 810 as an example. Similarly, the implementation of the processing module 820 and the detection module 830 can refer to the implementation of the acquisition module 810.

[0160] As an example of a software functional unit, the acquisition module 810 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the computing instance may be one or more.

[0161] As an example of a hardware functional unit, the acquisition module 810 may include at least one computing device, such as a server, etc. Alternatively, the acquisition module 810 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0162] The present application also provides a computing device 900. Fig. 9 As shown, the computing device 900 includes: a bus 902, a processor 904, a memory 906, a communication interface 908, and a capacitive sensor 910. The processor 904, the memory 906, the communication interface 908, and the capacitive sensor 910 communicate with each other through the bus 902. The computing device 900 can be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in the computing device 900.

[0163] The bus 902 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 The bus 902 may include a path for transmitting information between various components of the computing device 900 (eg, the memory 906, the processor 904, the communication interface 908, and the capacitive sensor 910).

[0164] The processor 904 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0165] The memory 906 may include a volatile memory, such as a random access memory (RAM). The memory 906 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0166] The memory 906 stores executable program codes, and the processor 904 executes the executable program codes to respectively implement the functions of the acquisition module 810, the processing module 820 and the detection module 830, thereby implementing the detection method. That is, the memory 906 stores instructions for executing the detection method.

[0167] The communication interface 908 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 900 and other devices or communication networks.

[0168] The capacitive sensor 910 may include self-capacitive electrodes or mutual-capacitive electrodes. The electrodes of the capacitive sensor 910 may be arranged in a staggered manner in rows and columns, or in a dot matrix manner.

[0169] In some embodiments, computing device 900 also includes a screen 912 that includes a capacitive sensor 910 .

[0170] For example, the processor 904 may read the capacitance signal of the capacitance sensor 910 through the bus 902 and call the instructions in the storage 906 for subsequent processing.

[0171] The embodiment of the present application also provides a computer program product including instructions. The computer program product may be software or a program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes the above detection method.

[0172] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by the computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to perform the above-mentioned detection method.

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

Claims

1. A detection method, characterized in that: The method is used to detect the levitation of at least one object near a capacitive sensor, the method comprising: Acquire a current capacitance value of a first capacitance position of the capacitance sensor; Determine a superimposed capacitance value of the first capacitance position according to a current capacitance value of the first capacitance position, wherein the superimposed capacitance value includes a superposition of a current capacitance value of the first capacitance position and a current capacitance value of a second capacitance position, and / or a superposition of a current capacitance value of the first capacitance position and a historical capacitance value of the first capacitance position, and the second capacitance position is a capacitance position around the first capacitance position; Suspension detection is performed according to the superposition capacitance value.

2. The method according to claim 1, characterized in that The determining, according to the current capacitance value, the superposition capacitance value of the first capacitance position includes: Acquire current capacitance values ​​of a plurality of second capacitance positions, wherein the plurality of second capacitance positions and the first capacitance position form a 3×3 or 5×5 square matrix; The current capacitance values ​​of the plurality of second capacitance positions are added to the current capacitance value of the first capacitance position to obtain the superimposed capacitance value.

3. The method according to claim 1, characterized in that The determining, according to the current capacitance value of the first capacitance position, the superposition capacitance value of the first capacitance position includes: Acquire a historical capacitance value of the first capacitance position, wherein the historical capacitance value includes a capacitance value of at least one frame before a current frame, the at least one frame is adjacent to the current frame, and the current capacitance value of the first capacitance position is located in the current frame; The superposition capacitance value is determined according to the historical capacitance value.

4. The method according to claim 3, characterized in that The determining the superposition capacitance value according to the historical capacitance value includes: The historical capacitance value is added to the current capacitance value of the first capacitance position to obtain the superimposed capacitance value.

5. The method according to claim 3, characterized in that: The determining the superposition capacitance value according to the historical capacitance value includes: The superposition capacitance value is determined according to the attenuation parameter and the historical capacitance value.

6. The method according to claim 5, characterized in that The determining the superposition capacitance value according to the attenuation parameter and the historical capacitance value includes: determining the superposition capacitance value according to the following formula: S n =rS m-1 +F m ; Among them, S n is the superimposed capacitance value of the first capacitor position in the nth frame, the nth frame is the current frame, and F n is the current capacitance value of the first capacitance position, r is the attenuation parameter, and n is an integer greater than 1.

7. The method according to any one of claims 1 to 6, characterized in that The capacitive sensor includes mutual capacitance electrodes.

8. The method according to any one of claims 1 to 7, characterized in that The performing suspension detection according to the superposition capacitance value includes: When the superimposed capacitance value is greater than or equal to a levitation threshold, it is determined that the at least one object is levitating near the first capacitance position.

9. The method according to any one of claims 1 to 8, characterized in that The performing suspension detection according to the superposition capacitance value includes: When the superimposed capacitance values ​​corresponding to the multiple capacitance positions of the capacitance sensor are greater than or equal to the suspension threshold, it is determined that the multiple objects are respectively suspended near the multiple capacitance positions, wherein the distance between two capacitance positions in the multiple capacitance positions is greater than a preset threshold.

10. The method according to any one of claims 1 to 9, characterized in that Before performing suspension detection according to the superposition capacitance value, the method further includes: It is determined that the current capacitance value is less than or equal to a contact threshold, wherein the contact threshold is used to indicate whether the at least one object is in contact with the capacitive sensor.

11. A detection device, characterized in that: The device is used to detect the suspension of at least one object near a capacitive sensor, and the device comprises: An acquisition module, used to acquire a current capacitance value of a first capacitance position of the capacitance sensor; a processing module, configured to determine a superimposed capacitance value of the first capacitance position according to a current capacitance value of the first capacitance position, wherein the superimposed capacitance value includes a superposition of a current capacitance value of the first capacitance position and a current capacitance value of a second capacitance position, and / or a superposition of a current capacitance value of the first capacitance position and a historical capacitance value of the first capacitance position, and the second capacitance position is a capacitance position around the first capacitance position; The detection module is used to perform suspension detection according to the superposition capacitance value.

12. The device according to claim 11, characterized in that The processing module is specifically used for: Acquire current capacitance values ​​of a plurality of second capacitance positions, wherein the plurality of second capacitance positions and the first capacitance position form a 3×3 or 5×5 square matrix; The current capacitance values ​​of the plurality of second capacitance positions are added to the current capacitance value of the first capacitance position to obtain the superimposed capacitance value.

13. The device according to claim 11, characterized in that The processing module is specifically used for: Acquire a historical capacitance value of the first capacitance position, wherein the historical capacitance value includes a capacitance value of at least one frame before a current frame, the at least one frame is adjacent to the current frame, and the current capacitance value of the first capacitance position is located in the current frame; The superposition capacitance value is determined according to the historical capacitance value.

14. The device according to claim 13, characterized in that The processing module is specifically used for: The historical capacitance value is added to the current capacitance value of the first capacitance position to obtain the superimposed capacitance value.

15. The device according to claim 13, characterized in that The processing module is specifically used for: The superposition capacitance value is determined according to the attenuation parameter and the historical capacitance value.

16. The device according to claim 15, characterized in that The processing module is specifically used to determine the superposition capacitance value according to the following formula: S m =rS n-1 +F n ; Among them, S n is the superimposed capacitance value of the first capacitor position in the nth frame, the nth frame is the current frame, and F n is the current capacitance value of the first capacitance position, r is the attenuation parameter, and n is an integer greater than 1.

17. The device according to any one of claims 11 to 16, characterized in that The capacitive sensor includes mutual capacitance electrodes.

18. The device according to any one of claims 11 to 17, characterized in that The detection module is specifically used for: When the superimposed capacitance value is greater than or equal to a levitation threshold, it is determined that the at least one object is levitating near the first capacitance position.

19. The device according to any one of claims 11 to 18, characterized in that The detection module is specifically used for: When the superimposed capacitance values ​​corresponding to the multiple capacitance positions of the capacitance sensor are greater than or equal to the suspension threshold, it is determined that the multiple objects are respectively suspended near the multiple capacitance positions, wherein the distance between two capacitance positions in the multiple capacitance positions is greater than a preset threshold.

20. The device according to any one of claims 11 to 19, characterized in that The processing module is also used for: It is determined that the current capacitance value is less than or equal to a contact threshold, wherein the contact threshold is used to indicate whether the at least one object is in contact with the capacitive sensor.

21. A computing device, characterized in that The method comprises a processor and a memory, wherein the processor is configured to execute instructions stored in the memory so that the computing device executes the method according to any one of claims 1 to 10.

22. The computing device of claim 21, wherein: Also included is a screen including a capacitive sensor.

23. The computing device of claim 22, wherein: The capacitive sensor includes mutual capacitance electrodes.

24. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device, the computing device is caused to perform the method according to any one of claims 1 to 10.

25. A computer-readable storage medium, characterized in that: The method comprises computer program instructions, and when the computer program instructions are executed by a computing device, the computing device performs the method as claimed in any one of claims 1 to 10.