Touch identification method and related product

By analyzing the relationship between the self-capacitance value and mutual capacitance value of the touch panel, combined with preset periodic signal acquisition and difference judgment, the accuracy and reliability of touch recognition are improved, and the problem of low recognition rate in the existing technology is solved. question.

CN118535035APending Publication Date: 2024-08-23BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410547541.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing touch recognition technology has a low recognition rate for whether there is a person touching the touch panel, and is easily affected by factors such as temperature, humidity, dust, etc., resulting in unclear reasons for capacitance value changes and poor reliability of recognition results.

Method used

By acquiring the capacitance sampling signal of the self-capacitance value and the mutual capacitance value of the touch panel, it is determined whether there is a touch behavior based on the relationship between the self-capacitance value and the mutual capacitance value. The preset periodicity is used to obtain the signal, combined with the maximum and minimum value difference. value to judge signal stability and improve recognition accuracy.

Benefits of technology

It improves the reliability and accuracy of touch recognition, reduces the dependence on changes in a single capacitance value, and enhances the recognition ability in different scenarios, especially effective in environments such as rain and fog.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535035A
    Figure CN118535035A
Patent Text Reader

Abstract

The invention relates to a touch identification method and related products, the touch identification method comprises the following steps: obtaining a capacitance sampling signal of a touch panel, the capacitance sampling signal comprising a self-capacitance value and a mutual capacitance value of the touch panel; and determining whether a touch behavior on the touch panel exists or not according to the self-capacitance value and the mutual capacitance value. By the adoption of the touch recognition method, the touch recognition rate for recognizing whether the person conducts the touch behavior on the touch panel or not can be increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a touch recognition technology, and in particular to a touch recognition method and related products. Background Art

[0002] As touch panels are widely used, touch recognition technology that identifies whether a touch panel is effectively touched, that is, whether a person touches the touch panel, has also been developed. Current touch recognition technology still has the disadvantage of a low touch recognition rate when identifying whether a person touches the touch panel. Summary of the invention

[0003] Based on this, it is necessary to provide a touch recognition method and related products that can improve the touch recognition rate of identifying whether a person is performing a touch behavior on a touch panel in order to address the above technical problems.

[0004] In a first aspect, the present application provides a touch recognition method, the method comprising:

[0005] Acquire a capacitance sampling signal of a touch panel, wherein the capacitance sampling signal includes a self-capacitance value and a mutual capacitance value of the touch panel;

[0006] It is determined whether there is a touch behavior on the touch panel according to the self-capacitance value and the mutual capacitance value.

[0007] In one embodiment, determining whether there is a touch behavior on the touch panel according to the self-capacitance value and the mutual capacitance value includes:

[0008] Whether there is a touch behavior on the touch panel is determined according to the magnitude relationship between the self-capacitance value and the mutual capacitance value.

[0009] In one embodiment, determining whether there is a touch behavior on the touch panel according to the magnitude relationship between the self-capacitance value and the mutual capacitance value includes:

[0010] If the self-capacitance value is greater than the mutual capacitance calculation value, it is determined that there is a touch behavior on the touch panel, the mutual capacitance calculation value is obtained by calculating the mutual capacitance value, and the mutual capacitance calculation value is greater than or equal to the mutual capacitance value; or

[0011] If the self-capacitance value is less than or equal to the mutual capacitance calculation value, it is determined that there is no touch behavior on the touch panel.

[0012] In one embodiment, the mutual capacitance calculation value is obtained by calculating the mutual capacitance value, including: the mutual capacitance calculation value is the sum of the mutual capacitance value and a preset value.

[0013] In one embodiment, the step of acquiring a capacitance sampling signal of a touch panel includes:

[0014] According to a preset cycle, a capacitance sampling signal of the touch panel is obtained.

[0015] In one of the embodiments, before determining that there is a touch behavior on the touch panel, the method further includes:

[0016] According to the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value contained in the at least one capacitance sampling signal acquired, it is determined whether the current capacitance sampling signal acquired within the current preset period is stable, the at least one capacitance sampling signal refers to a signal acquired within at least one continuous preset period, the first preset period of the at least one preset period is the first preset period after the most recent determination that there is no touch behavior on the touch panel, and the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value are updated according to the self-capacitance value and the mutual capacitance value of the current capacitance sampling signal.

[0017] In one embodiment, determining whether the current capacitance sampling signal acquired within the current preset period is stable according to the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value contained in at least one capacitance sampling signal acquired includes:

[0018] Calculating the difference between the maximum self-capacitance value and the minimum self-capacitance value contained in the at least one capacitance sampling signal obtained, to obtain a self-capacitance sampling difference corresponding to the current capacitance sampling signal;

[0019] Calculating a difference between the maximum mutual capacitance value and the minimum mutual capacitance value contained in the at least one capacitance sampling signal acquired, to obtain a mutual capacitance sampling difference corresponding to the current capacitance sampling signal;

[0020] It is determined whether the current capacitance sampling signal acquired within the current preset period is stable according to the self-capacitance sampling difference and the mutual capacitance sampling difference.

[0021] In one embodiment, the determining that there is a touch behavior on the touch panel includes:

[0022] If the current capacitance sampling signal is stable, it is determined that there is a touch behavior on the touch panel.

[0023] In one of the embodiments, if the current capacitance sampling signal is stable, determining that there is a touch behavior on the touch panel includes:

[0024] If the current capacitance sampling signal is stable, then when the number of stable capacitance sampling signals in the at least one capacitance sampling signal reaches a preset threshold, it is determined that there is a touch behavior on the touch panel.

[0025] In one embodiment, the method further comprises:

[0026] If the current capacitance sampling signal is unstable, it is determined that there is no touch behavior on the touch panel when the number of stable capacitance sampling signals in the at least one capacitance sampling signal does not reach a preset threshold; or

[0027] If the current capacitance sampling signal is unstable, and the capacitance sampling signal acquired in a previous preset period of the at least one capacitance sampling signal is also unstable, it is determined that there is no touch behavior on the touch panel.

[0028] In one of the embodiments, before determining whether there is a touch behavior on the touch panel according to the magnitude relationship between the self-capacitance value and the mutual capacitance value, the method further includes:

[0029] Determining whether the self-capacitance value is greater than a self-capacitance threshold and whether the mutual-capacitance value is greater than a mutual-capacitance threshold;

[0030] The determining whether there is a touch behavior on the touch panel according to the magnitude relationship between the self-capacitance value and the mutual capacitance value includes:

[0031] If the self-capacitance value is greater than the self-capacitance threshold and the mutual capacitance value is greater than the mutual capacitance threshold, it is determined whether there is a touch behavior on the touch panel according to the magnitude relationship between the self-capacitance value and the mutual capacitance value.

[0032] In a second aspect, the present application further provides a touch recognition device, the device comprising:

[0033] A signal acquisition module, used to acquire a capacitance sampling signal of the touch panel, wherein the capacitance sampling signal includes a self-capacitance value and a mutual capacitance value of the touch panel;

[0034] The touch recognition module is used to determine whether there is a touch behavior on the touch panel according to the self-capacitance value and the mutual capacitance value.

[0035] In a third aspect, the present application also provides a vehicle door handle, comprising a processor and a touch panel connected to each other, wherein the processor is used to execute the steps of the method shown in the first aspect or any embodiment of the first aspect to determine whether there is any touching behavior on the touch panel.

[0036] In a fourth aspect, the present application further provides a vehicle, comprising a door handle as shown in the third aspect.

[0037] In a fifth aspect, the present application further provides a computer device, comprising: a memory and a processor, wherein the memory stores program instructions; when the program instructions are executed by the processor, the processor executes the method shown in the first aspect or any embodiment of the first aspect.

[0038] In a sixth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium; when the computer program runs on one or more processors, the method shown in the first aspect or any embodiment of the first aspect is executed.

[0039] Since the capacitance value is affected by factors such as temperature, humidity, and dust, it is difficult to intuitively infer and know the reasons for the change in capacitance value and the possible changes under different reasons. In other words, the reason for the change in the self-capacitance value or mutual capacitance value of the touch panel is not necessarily the presence of a person's touch behavior, and when there is a person's touch behavior, a single self-capacitance value or mutual capacitance value does not necessarily change according to the expected law. However, when there is a person's touch behavior on the touch panel, or when the environment and weather of the touch panel change significantly, the self-capacitance value and mutual capacitance value of the touch panel will be affected. Therefore, based on the changes in the self-capacitance value and the mutual capacitance value in the same scene, the relationship between the two capacitance values ​​of the self-capacitance value and the mutual capacitance value is summarized, and the relationship between the self-capacitance value and the mutual capacitance value of the touch panel in different scenes can be obtained.

[0040] Based on this, by acquiring the capacitance sampling signal including the self-capacitance value and the mutual capacitance value of the touch panel, according to the relationship between the self-capacitance value and the mutual capacitance value of the touch panel in the capacitance sampling signal, the scene in which the touch panel is located can be identified, that is, it can be identified whether there is a touch behavior of a person on the touch panel. The above touch recognition method makes touch recognition independent of the change of a single self-capacitance value or mutual capacitance value, the recognition result is more reliable, and the touch recognition rate can be improved.

[0041] It can be understood that the touch recognition device provided in the second aspect, the door handle provided in the third aspect, the vehicle provided in the fourth aspect, the computer device provided in the fifth aspect, and the computer-readable storage medium provided in the sixth aspect are all used to execute the method shown in the first aspect of the present application or any embodiment of the first aspect. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments are briefly introduced below.

[0043] Figure 1 One of the flow charts of the touch recognition method provided in the embodiment of the present application;

[0044] Figure 2 A graph showing the self-capacitance and mutual capacitance of a touch panel in different scenarios provided by an embodiment of the present application;

[0045] Figure 3 A second flow chart of the touch recognition method provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of a process for updating the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value according to the self-capacitance value and the mutual capacitance value of the current capacitance sampling signal provided in an embodiment of the present application;

[0047] Figure 5 A flow chart of determining whether a current capacitance sampling signal acquired within a current preset period is stable according to a maximum self-capacitance value, a minimum self-capacitance value, a maximum mutual capacitance value, and a minimum mutual capacitance value contained in at least one capacitance sampling signal acquired, provided in an embodiment of the present application;

[0048] Figure 6 A third flowchart of the touch recognition method provided in an embodiment of the present application;

[0049] Figure 7 A fourth flowchart of the touch recognition method provided in an embodiment of the present application;

[0050] Figure 8 A fifth flowchart of the touch recognition method provided in an embodiment of the present application;

[0051] Fig. 9 A schematic diagram of the structure of a touch recognition device provided in an embodiment of the present application;

[0052] Fig.10 A schematic diagram of the structure of a door handle provided in an embodiment of the present application;

[0053] Fig.11 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application;

[0054] Fig.12 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to facilitate understanding of the embodiments of the present application, the embodiments of the present application will be described more fully below with reference to the relevant drawings. The preferred embodiments of the embodiments of the present application are given in the drawings. However, the embodiments of the present application can be implemented in many different forms and are not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the embodiments of the present application more thorough and comprehensive.

[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the technical field of the embodiments of the present application. The terms used herein in the description of the embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to limit the embodiments of the present application.

[0057] When used, the singular expressions "a", "an", "said", "above", "the" and "the" are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term "includes / comprising" specifies the presence of stated features, integers, steps, operations, parts or combinations thereof, but does not exclude the possibility of the presence or addition of one or more other features, integers, steps, operations, parts or combinations thereof.

[0058] Capacitance, also known as "capacitance", refers to the storage of free charge under a given potential difference, denoted as C, and the international unit is Farad (F). The touch panel described in the embodiment of the present application refers to a capacitive touch panel. A capacitive touch panel (hereinafter referred to as "touch panel") is a touch panel that uses the current induction of the human body to work. It is a four-layer composite glass screen, and the inner surface and interlayer of the glass screen are each coated with a layer of indium tin oxide (Indium tin oxide, ITO), and the outermost layer is a thin layer of silica glass protective layer. The interlayer ITO coating is used as the working surface, and four electrodes are drawn out at the four corners. The inner layer ITO is a shielding layer to ensure a good working environment. The touch panel is made of two layers of ITO to form a transverse electrode and a longitudinal electrode array. These transverse electrodes and longitudinal electrodes respectively form a capacitor with the ground. This capacitor is self-capacitance, also known as "self-capacitance". And the place where the transverse electrode and the longitudinal electrode intersect will also form a capacitor. The transverse electrode and the longitudinal electrode respectively constitute the two poles of the capacitor. This capacitor is mutual capacitance, also known as "mutual capacitance". When a person touches the touch panel, due to the grounding of the human body, the person's fingers and other touching parts form a capacitor with the touch panel, which is superimposed on the touch panel, causing the self-capacitance of the touch panel to change. When the fingers and other touching parts touch the touch panel, it will also affect the coupling between the horizontal electrodes and the vertical electrodes near the touch point, thereby changing the mutual capacitance of the touch panel.

[0059] As touch panels are widely used, touch recognition technology that identifies whether the touch panel is effectively touched, that is, whether a person has implemented a touch behavior on the touch panel, has also been developed. The current touch recognition technology usually detects the change in the single capacitance value of the touch panel before and after, or detects the difference between the single capacitance value collected in real time and the baseline to identify whether a person has implemented a touch behavior on the touch panel. It can be summarized that the recognition result of the current touch recognition technology depends to a large extent on the change of a single capacitance value. Since the capacitance value is affected by factors such as temperature, humidity, and dust, it is difficult to intuitively infer and know the reasons for the change in capacitance value and the possible changes under different reasons. In other words, the reason for the change in capacitance value is not necessarily the touch behavior of a person, and the capacitance value does not necessarily change according to the expected law when there is a touch behavior of a person. The current touch recognition technology identifies whether a person has implemented a touch behavior on the touch panel based on the change of a single capacitance value. The reliability of the recognition result is low, and touch recognition anomalies are prone to occur, that is, the current touch recognition technology has the disadvantage of a low touch recognition rate.

[0060] Based on this, Figure 1 As shown, the embodiment of the present application provides a touch recognition method capable of improving the touch recognition rate of identifying whether a person performs a touch behavior on a touch panel. The touch recognition method includes the following steps S101 to S102.

[0061] S101, acquiring a capacitance sampling signal of a touch panel, where the capacitance sampling signal includes a self-capacitance value and a mutual capacitance value of the touch panel.

[0062] S102, determining whether there is a touch behavior on the touch panel according to the self-capacitance value and the mutual capacitance value.

[0063] When a person touches the touch panel, or when the environment and weather of the touch panel change significantly, the self-capacitance and mutual capacitance of the touch panel will be affected. Figure 2 is a curve diagram of the self-capacitance and mutual capacitance of the touch panel in different scenarios, where: Figure 2 (a) is a curve diagram of the self-capacitance and mutual capacitance of the touch panel in a scenario where there is a touch behavior on the touch panel; Figure 2 (b) is a curve diagram of the self-capacitance and mutual capacitance of the touch panel in the rain scene; Figure 2 (c) is a curve diagram of the self-capacitance and mutual capacitance of the touch panel in the scenario of being rained on and touched. Figure 2 As shown in (a), the convex section of the curve corresponds to the self-capacitance value and the mutual capacitance value when there is a touch behavior on the touch panel. It can be clearly seen that the two capacitance values ​​maintain a relatively stable relationship when there is a touch behavior. Figure 2As shown in (b), the self-capacitance and mutual capacitance of the touch panel also maintain a relatively stable relationship in the rain scene, but this relationship is different from Figure 2 The relationship in (a) is different. Figure 2 As shown in (c), the convex section of the curve corresponds to the self-capacitance value and the mutual capacitance value when it is raining and there is a touch behavior on the touch panel. The relationship between the self-capacitance value and the mutual capacitance value in the scene of raining and there is a touch behavior on the touch panel is similar to the relationship maintained in the scene of only touch behavior; the concave section of the curve corresponds to the self-capacitance value and the mutual capacitance value when it is raining and there is no touch behavior on the touch panel, that is, the concave section of the curve corresponds to the self-capacitance value and the mutual capacitance value in the rain scene, and the relationship between the self-capacitance value and the mutual capacitance value is similar to Figure 2 The relationship in (b) is similar. Figure 2 The changes in the middle curve are analyzed: in the rain scene, the self-capacitance value and mutual capacitance value of the touch panel maintain a relatively stable relationship; in the scene where there is a touch behavior on the touch panel, the self-capacitance value and mutual capacitance value of the touch panel maintain a relatively stable relationship, and on the basis of the presence of touch behavior, the relationship between the self-capacitance value and the mutual capacitance value in the rain scene is similar to the relationship between the self-capacitance value and the mutual capacitance value in the scene without superimposed rain. It can be concluded that whether it is raining or not, when there is a touch behavior on the touch panel, there is a relatively stable relationship between the self-capacitance value and the mutual capacitance value of the touch panel. That is, there is a specific relationship between the self-capacitance value and the mutual capacitance value of the touch panel in the same scene, and the specific relationship between the self-capacitance value and the mutual capacitance value is different in different scenes.

[0064] Based on this, by obtaining a capacitance sampling signal including a self-capacitance value and a mutual capacitance value of the touch panel, according to the relationship between the self-capacitance value and the mutual capacitance value of the touch panel in the capacitance sampling signal, the scene in which the touch panel is located can be identified, and it can be identified whether there is any touching behavior of a person on the touch panel.

[0065] It should be noted that the embodiments of the present application only list three scenarios: a scene where there is a touch behavior on the touch panel, a scene where it is raining, and a scene where there is a touch behavior on the touch panel in the rain, but it does not mean that the change in the capacitance value of the touch panel is limited to these three scenarios. The main purpose is to draw the conclusion that there is a specific relationship between the self-capacitance value and the mutual capacitance value of the touch panel in the same scene, and the specific relationship between the self-capacitance value and the mutual capacitance value is different in different scenes. The embodiments of the present application do not limit the scene type in which the touch panel is located.

[0066] The touch recognition method in this embodiment identifies whether a person has touched the touch panel based on the self-capacitance value and mutual capacitance value of the touch panel and the relationship between the self-capacitance value and the mutual capacitance value, so that touch recognition does not depend on the change of a single self-capacitance value or mutual capacitance value, the recognition result is more reliable, and the touch recognition rate can be improved.

[0067] In one embodiment, the above step S102, determining whether there is a touch behavior on the touch panel according to the self-capacitance value and the mutual capacitance value, includes the following steps: determining whether there is a touch behavior on the touch panel according to the size relationship between the self-capacitance value and the mutual capacitance value.

[0068] Specifically, according to Figure 2 It can be seen that in the scenario where the touch panel is touched, the self-capacitance of the touch panel is greater than the mutual capacitance regardless of whether it is raining; the self-capacitance of the touch panel is less than the mutual capacitance in the rain scenario. Based on this, the scenario where the touch panel is located can be identified based on the magnitude relationship between the self-capacitance and mutual capacitance of the touch panel in the capacitance sampling signal to identify whether a person touches the touch panel.

[0069] In this embodiment, according to the self-capacitance value and mutual capacitance value of the touch panel, whether there is a touch behavior of a person on the touch panel is identified based on the size relationship between the self-capacitance value and the mutual capacitance value. If the self-capacitance value is greater than the mutual capacitance value, it indicates that there is a touch behavior on the touch panel. The touch recognition method in this embodiment makes touch recognition not dependent on the change of a single self-capacitance value or mutual capacitance value, but depends on the size relationship between the self-capacitance value and the mutual capacitance value, so that the recognition result is more reliable and the touch recognition rate can be improved.

[0070] In one embodiment, the above step of determining whether there is a touch behavior on the touch panel according to the magnitude relationship between the self-capacitance value and the mutual capacitance value includes the following steps:

[0071] If the self-capacitance value is greater than the mutual capacitance calculation value, it is determined that there is a touch behavior on the touch panel, the mutual capacitance calculation value is obtained by calculating the mutual capacitance value, and the mutual capacitance calculation value is greater than or equal to the mutual capacitance value; or

[0072] If the self-capacitance value is less than or equal to the mutual capacitance calculation value, it is determined that there is no touch behavior on the touch panel.

[0073] The mutual capacitance calculation value can be the sum of the mutual capacitance value and a fixed value, can be a multiple of the mutual capacitance value, or can be a value greater than or equal to the mutual capacitance value under more complex calculations. Figure 2 (a) and Figure 2 In (c), it can be seen that when there is a touch behavior on the touch panel, the self-capacitance value is not only greater than the mutual capacitance value, but the difference between the self-capacitance value and the mutual capacitance value is also relatively large. Therefore, a mutual capacitance calculation value greater than or equal to the mutual capacitance value is set. When the self-capacitance value is greater than the mutual capacitance calculation value, it is determined that there is a touch behavior on the touch panel. This will be closer to the size relationship between the self-capacitance value and the mutual capacitance value when there is a touch behavior in the actual situation, making the recognition result more accurate. The mutual capacitance calculation value is summarized through experimental data.

[0074] Correspondingly, if the self-capacitance value is less than or equal to the mutual capacitance calculation value, it is determined that there is no touch behavior on the touch panel. At this time, the touch panel may be in a rain scene, which is a situation where the self-capacitance value is less than the mutual capacitance value, or it may be in other scenes where there is no touch behavior, which is a situation where the self-capacitance value is less than the mutual capacitance value, or the self-capacitance value is greater than the mutual capacitance value but less than or equal to the mutual capacitance calculation value.

[0075] In one embodiment, the mutual capacitance calculation value is obtained by calculating the mutual capacitance value, including: the mutual capacitance calculation value is the sum of the mutual capacitance value and a preset value.

[0076] Specifically, the mutual capacitance calculation value can be intuitively made the sum of the mutual capacitance value and the preset value, and the preset value is also obtained based on the experimental data. When the self-capacitance value is greater than the mutual capacitance calculation value, that is, when the difference between the self-capacitance value and the mutual capacitance value is greater than the preset value, it is determined that there is a touch behavior of the touch panel, and the recognition result is more accurate.

[0077] In this embodiment, a mutual capacitance calculation value greater than or equal to the mutual capacitance value is set. When the self-capacitance value is greater than the mutual capacitance calculation value, it is determined that there is a touch behavior on the touch panel, which is closer to the size relationship between the self-capacitance value and the mutual capacitance value when there is a touch behavior in the actual situation. When the self-capacitance value does not meet the requirement of being greater than the mutual capacitance calculation value, it is determined that there is no touch behavior, and the situation in which the self-capacitance value and the mutual capacitance value change due to other factors other than the existence of the touch behavior is filtered out. The touch recognition method in this embodiment is used to identify whether there is a touch behavior on the touch panel, and the recognition result is more accurate.

[0078] In one of the embodiments, in the above step S101, obtaining the capacitance sampling signal of the touch panel includes the following steps: obtaining the capacitance sampling signal of the touch panel according to a preset period.

[0079] The preset period is set according to actual needs, such as 10ms. Specifically, according to the preset period, the capacitance sampling signal of the touch panel is obtained periodically in real time, that is, the self-capacitance value and mutual capacitance value of the touch panel are obtained periodically in real time.

[0080] In this embodiment, by periodically acquiring the self-capacitance value and the mutual capacitance value in real time, whether there is a touch behavior on the touch panel can be continuously and periodically identified, which can not only avoid obtaining accidental identification results in which the capacitance value satisfies the identification condition due to instantaneous fluctuations when a single capacitance sampling signal is unstable, but also achieve debouncing, that is, after the capacitance sampling signals of the preset threshold number of times are all stable, an effective identification result can be obtained. Periodic identification of whether there is a touch behavior can improve the accuracy of identifying the presence of a touch behavior on the touch panel.

[0081] like Figure 3As shown, in one of the embodiments, the touch recognition method further includes the following steps S301 to S304.

[0082] S301 , obtaining a capacitance sampling signal of a touch panel according to a preset cycle, where the capacitance sampling signal includes a self-capacitance value and a mutual capacitance value of the touch panel.

[0083] Specifically, in this round of touch recognition process, the capacitance sampling signal of the touch panel is obtained periodically in real time according to a preset period, that is, the self-capacitance value and the mutual capacitance value of the touch panel are obtained periodically in real time.

[0084] S302, if the self-capacitance value is greater than the mutual capacitance calculation value, then determine whether the current capacitance sampling signal obtained in the current preset period is stable according to the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value contained in the at least one capacitance sampling signal obtained. Wherein, the mutual capacitance calculation value is the sum of the mutual capacitance value and the preset value, the at least one capacitance sampling signal refers to the signal collected in at least one continuous preset period, the first preset period in the at least one preset period is the first preset period after the most recent determination that there is no touch behavior on the touch panel, and the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value are updated according to the self-capacitance value and the mutual capacitance value of the current capacitance sampling signal.

[0085] If, according to the self-capacitance value and mutual capacitance value in the capacitance sampling signal, it is determined that there is no touch behavior on the touch panel, then a round of touch recognition will end, and then enter the next round of touch recognition. In each round of touch recognition, the capacitance sampling signal of the touch panel is obtained according to the preset period. If, in this round of touch recognition, it is determined that there is a touch behavior according to the self-capacitance value and mutual capacitance value of the current capacitance sampling signal obtained in the current preset period, the capacitance sampling signal will continue to be obtained in the next preset period to continuously identify whether there is a touch behavior; if, in this round of touch recognition, it is determined that there is no touch behavior according to the self-capacitance value and mutual capacitance value of the current capacitance sampling signal obtained in the current preset period, then this round of touch recognition ends, and the next preset period is used as the first preset period of the next round of touch recognition process to perform the next round of touch recognition.

[0086] At least one preset cycle refers to the period from the first preset cycle to the current preset cycle during this round of touch recognition. The capacitance sampling signal periodically obtained in at least one continuous preset cycle constitutes at least one capacitance sampling signal. When the current capacitance sampling signal is obtained within the current preset cycle, it is necessary to update the four sampling extreme values ​​of the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value contained in at least one capacitance sampling signal obtained during this round of touch recognition in real time according to the self-capacitance value and mutual capacitance value of the current capacitance sampling signal. After updating the above four sampling extreme values, when it is determined that the self-capacitance value of the current capacitance sampling signal is greater than the mutual capacitance calculation value, it can be further determined whether the current capacitance sampling signal is stable based on these four sampling extreme values.

[0087] It should be noted that the above four sampling extreme values ​​are all extreme values ​​contained in at least one capacitance sampling signal obtained during the current round of touch recognition, and have nothing to do with the capacitance sampling signal obtained during the previous round of touch recognition. If it is determined that there is no touch behavior on the touch panel based on the self-capacitance value and mutual capacitance value in the capacitance sampling signal, a round of touch recognition will be terminated, and the values ​​of the four sampling extreme values ​​will be set to the initial values, that is, the values ​​of the above four sampling extreme values ​​will be cleared to zero. Figure 4 The figure is a flow chart showing the process of updating the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value according to the self-capacitance value and the mutual capacitance value of the current capacitance sampling signal. Figure 4 As shown, it is determined whether the current preset period for obtaining the current capacitance sampling signal is the first preset period. If the current preset period for obtaining the current capacitance sampling signal is the first preset period of this round of touch recognition, only the current capacitance sampling signal is obtained during this round of touch recognition. The self-capacitance value of the current capacitance sampling signal is both the maximum self-capacitance value and the minimum self-capacitance value contained in at least one capacitance sampling signal obtained during this round of touch recognition. The mutual capacitance value is the same. If the current preset period for obtaining the current capacitance sampling signal is not the first preset period of this round of touch recognition, the existing maximum self-capacitance value and the minimum self-capacitance value are compared with the self-capacitance value of the current capacitance sampling signal, respectively, to update the maximum self-capacitance value and the minimum self-capacitance value. If the existing maximum self-capacitance value is less than the self-capacitance value, the maximum self-capacitance value is updated to the self-capacitance value, otherwise the existing maximum self-capacitance value is maintained. Continue to determine whether the existing minimum self-capacitance value is greater than the self-capacitance value. If it is greater, the minimum self-capacitance value is updated to the self-capacitance value, otherwise the existing minimum self-capacitance value is maintained. The mutual capacitance value is the same.

[0088] like Figure 5 As shown, in one of the embodiments, in the above step S302, determining whether the current capacitance sampling signal obtained within the current preset period is stable according to the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value contained in at least one capacitance sampling signal obtained includes the following steps S501 to S503.

[0089] S501, calculating the difference between the maximum self-capacitance value and the minimum self-capacitance value contained in at least one acquired capacitance sampling signal, and obtaining the self-capacitance sampling difference value corresponding to the current capacitance sampling signal.

[0090] S502, calculating a difference between a maximum mutual capacitance value and a minimum mutual capacitance value contained in at least one acquired capacitance sampling signal, and obtaining a mutual capacitance sampling difference corresponding to a current capacitance sampling signal.

[0091] S503: Determine whether the current capacitance sampling signal acquired within the current preset period is stable according to the self-capacitance sampling difference and the mutual-capacitance sampling difference.

[0092] Specifically, the self-capacitance sampling difference and the mutual-capacitance sampling difference are calculated and updated according to the above four sampling extreme values, and then, according to the preset rules, based on the self-capacitance sampling difference and the mutual-capacitance sampling difference corresponding to the current capacitance sampling signal, it is determined whether the current capacitance sampling signal is stable. The preset rules are such as: if the self-capacitance sampling difference is less than the product of the maximum self-capacitance value and the self-capacitance filtering value, and the mutual-capacitance sampling difference is less than the product of the maximum mutual-capacitance value and the mutual-capacitance filtering value, then it is determined that the current capacitance sampling signal is stable.

[0093] It is understandable that the self-capacitance sampling difference and the mutual capacitance sampling difference corresponding to the current capacitance sampling signal can be updated synchronously when the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value, and the minimum mutual capacitance value are updated. In this case, when it is determined that the self-capacitance value of the current capacitance sampling signal is greater than the mutual capacitance calculation value, it can be directly determined whether the current capacitance sampling signal is stable based on the self-capacitance sampling difference and the mutual capacitance sampling difference, without the need to calculate the self-capacitance sampling difference and the mutual capacitance sampling difference.

[0094] S303: Determine whether there is a touch behavior on the touch panel.

[0095] S304: If the self-capacitance value is less than or equal to the mutual-capacitance calculation value, it is determined that there is no touch behavior on the touch panel.

[0096] Specifically, when it is determined that there is no human touch behavior, this round of touch recognition ends, and the values ​​of the four sampling extreme values ​​of maximum self-capacitance value, minimum self-capacitance value, maximum mutual capacitance value and minimum mutual capacitance value are cleared to zero, and the next preset cycle is used as the first preset cycle of the next round of touch recognition process to perform the next round of touch recognition.

[0097] It should be noted that after executing step S301, it is necessary to select to execute steps S302 to S303 or to execute step S304 according to the magnitude relationship between the self-capacitance value and the mutual capacitance calculation value.

[0098] In one of the embodiments, the above step S303, determining that there is a touch behavior on the touch panel, includes the following steps: if the current capacitance sampling signal is stable, determining that there is a touch behavior on the touch panel.

[0099] In this embodiment, when it is determined that the self-capacitance value of the current capacitance sampling signal is greater than the mutual capacitance calculation value, it is further determined whether the current capacitance sampling signal is stable according to the sampling extreme value, and then it is determined that there is a touch behavior on the touch panel, which can filter out the situation where the capacitance value satisfies the self-capacitance value greater than the mutual capacitance calculation value due to instantaneous fluctuations in the case of a single capacitance sampling signal instability. In this case, there is actually no touch behavior on the touch panel. Under more stringent conditions, the accuracy of identifying the presence of touch behavior on the touch panel can be improved.

[0100] In one of the embodiments, the above step of determining that there is a touch behavior on the touch panel if the current capacitance sampling signal is stable includes the following steps: if the current capacitance sampling signal is stable, determining that there is a touch behavior on the touch panel when the number of stable capacitance sampling signals in at least one capacitance sampling signal reaches a preset threshold.

[0101] Specifically, when it is determined that the self-capacitance value of the current capacitance sampling signal is greater than the mutual capacitance calculation value, and when it is further determined that the current capacitance sampling signal is stable based on the sampling extreme value, when the number of stable capacitance sampling signals reaches the preset threshold value in at least one capacitance sampling signal obtained during this round of touch recognition, it is determined that there is a touch behavior on the touch panel. It is further set that the number of stable capacitance sampling signals reaches the preset threshold value before determining the condition of the touch behavior. The purpose is to perform debouncing processing on the capacitance sampling signal to avoid accidental contact behavior. For example, when a person accidentally touches it but does not intend to touch it, it is determined that the capacitance sampling signal is stable, and then it is determined that there is a touch behavior. If the capacitance sampling signals that have reached the preset threshold number are all stable, it can be determined that there is a touch behavior at this time, and an effective recognition result can be obtained, which can better ensure the accuracy of the recognition result.

[0102] If the number of stable capacitance sampling signals does not reach the preset threshold, the determination result corresponding to the capacitance sampling signal obtained in the previous preset cycle is maintained. For example, if the preset threshold is 5, then the determination result corresponding to the first stable capacitance sampling signal is determined by default to determine that there is no touch behavior of the touch panel, and the determination result corresponding to the second stable capacitance sampling signal is maintained to determine that there is no touch behavior of the person, and the third and fourth stable capacitance sampling signals are the same. When a total of five stable capacitance sampling signals are determined, the number of stable capacitance sampling signals reaches the preset threshold, so the determination result corresponding to the fifth stable capacitance sampling signal is determined to determine that there is a touch behavior of the person on the touch panel. It can be understood that in order to play a role in de-jittering, the determination results corresponding to the first four stable capacitance sampling signals are all used as invalid recognition results in this round of touch recognition process, and these four invalid recognition results, whether it is determined that there is a touch behavior or that there is no touch behavior, this recognition result is not included in the touch recognition rate and does not affect the current round of touch recognition process. Starting from the determination result corresponding to the fifth stable sampling result, it is used as a valid recognition result in this round of touch recognition process. Based on this, even if the determination result corresponding to the first four stable capacitance sampling signals is that there is no human touch behavior, this round of touch recognition will not end and each value will not be cleared to zero, but the capacitance sampling signal will continue to be acquired periodically. If the current capacitance sampling signal is the fifth stable capacitance sampling signal, it can be determined that there is a human touch behavior based on the current capacitance sampling signal. At this time, the capacitance sampling signal will continue to be acquired periodically, that is, the next capacitance sampling signal will be acquired within the next preset period, and touch recognition will continue.

[0103] Figure 6 The figure is a flow chart of the touch recognition method. Among them, the signal stability value is used to determine whether the current capacitance sampling signal meets the signal stability requirement for determining the presence of a person's touch behavior. The initial value of the signal stability value is 0. When the current capacitance sampling signal is stable, if the signal stability value corresponding to the current capacitance sampling signal exceeds the preset threshold, it indicates that the current capacitance sampling signal meets the signal stability requirement for determining the presence of a person's touch behavior. If the current preset cycle is the first preset cycle in this round of touch recognition process, the preset threshold is 5, and the specific implementation process of determining the presence of a touch behavior on the touch panel when the current capacitance sampling signal is stable is as follows: Figure 6As shown. If the self-capacitance sampling difference of the current capacitance sampling signal is less than the product of the maximum self-capacitance value and the self-capacitance filtering value, and the mutual capacitance sampling difference is less than the product of the maximum mutual capacitance value and the mutual capacitance filtering value, then the current capacitance sampling signal is determined to be stable, and the signal stability value is increased by 1. Since the signal stability value corresponding to the current capacitance sampling signal is 1 at this time, which does not exceed the preset threshold, the current capacitance sampling signal needs to be debounced, and the determination result corresponding to the first stable capacitance sampling signal is determined by default to determine that there is no touch behavior of a person. Then, the next capacitance sampling signal is continuously obtained periodically. If the next capacitance sampling signal is stable, the same identification process is performed, and the signal stability value changes from 1 to 2, which still does not exceed the preset threshold, so the debounce is continued to maintain the determination result that there is no touch behavior of a person. Until the fifth stable capacitance sampling signal is periodically obtained, the signal stability value changes from 4 to 5, which exceeds the preset threshold, and then it is determined that there is touch behavior of a person.

[0104] In this embodiment, on the basis of the current capacitance sampling signal being stable, it is further set that the number of stable capacitance sampling signals in at least one capacitance sampling signal obtained in this round of touch recognition process reaches a preset threshold before determining the condition of the presence of touch behavior, the purpose is to perform debouncing processing on the capacitance sampling signal to avoid the situation where accidental contact behavior is determined as the presence of touch behavior. If the capacitance sampling signals that have been stable for the preset threshold number of times are all stable, it is determined that there is touch behavior at this time, and an effective recognition result is obtained, which can better ensure the accuracy of the recognition result.

[0105] like Figure 7 As shown, in one embodiment, the touch recognition method further includes the following steps S701 to S706. Among them, steps S701 to S703 and S706 correspond to steps S301 to S302, step: if the current capacitance sampling signal is stable, it is determined that there is a touch behavior on the touch panel, and step S304 in the aforementioned embodiment. The discussion of steps S701 to S703 and S706 in this embodiment can refer to the aforementioned embodiment, and will not be repeated in this embodiment.

[0106] S701 , obtaining a capacitance sampling signal of a touch panel according to a preset cycle, where the capacitance sampling signal includes a self-capacitance value and a mutual capacitance value of the touch panel.

[0107] S702, if the self-capacitance value is greater than the mutual capacitance calculation value, determine whether the current capacitance sampling signal obtained in the current preset period is stable according to the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value contained in the at least one capacitance sampling signal obtained. Wherein, the mutual capacitance calculation value is the sum of the mutual capacitance value and the preset value, the at least one capacitance sampling signal refers to the signal collected in at least one continuous preset period, the first preset period in the at least one preset period is the first preset period after the most recent determination that there is no touch behavior on the touch panel, and the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value are updated according to the self-capacitance value and the mutual capacitance value of the current capacitance sampling signal.

[0108] S703: If the current capacitance sampling signal is stable, it is determined that there is a touch behavior on the touch panel.

[0109] S704: If the current capacitance sampling signal is unstable, it is determined that there is no touch behavior on the touch panel when the number of stable capacitance sampling signals in at least one capacitance sampling signal does not reach a preset threshold.

[0110] S705: If the current capacitance sampling signal is unstable, then when the capacitance sampling signal acquired in a previous preset period of at least one capacitance sampling signal is also unstable, it is determined that there is no touch behavior on the touch panel.

[0111] When it is determined that the self-capacitance value of the current capacitance sampling signal is greater than the mutual capacitance calculation value, if the current capacitance sampling signal is unstable, it means that the capacitance value of the current capacitance sampling signal may satisfy the situation that the self-capacitance value is greater than the mutual capacitance calculation value due to instantaneous fluctuations. In this case, it is not necessarily the case that a person has performed a touch behavior on the touch panel. Therefore, if the current capacitance sampling signal is unstable, even if the self-capacitance value of the current capacitance sampling signal is greater than the mutual capacitance calculation value, it cannot be determined that there is a touch behavior, and a specific analysis is required to ensure the accuracy of the recognition result.

[0112] The first situation: if the current capacitance sampling signal is unstable, and the number of stable capacitance sampling signals in at least one capacitance sampling signal does not reach the preset threshold, it is determined that there is no touch behavior on the touch panel. Specifically, if the preset threshold is 5, if the current preset cycle is the first preset cycle in this round of touch recognition process, and the current capacitance sampling signal is the first capacitance sampling signal obtained, then the number of stable capacitance sampling signals in at least one capacitance sampling signal is 0, which does not reach the preset threshold. The current capacitance sampling signal is unstable as the first capacitance sampling signal. It can be considered that the capacitance value of the current capacitance sampling signal satisfies the self-capacitance value greater than the mutual capacitance calculation value due to instantaneous fluctuations. It can be determined that there is no person touching the touch panel. If less than 5 stable capacitance sampling signals have been obtained before obtaining the unstable current capacitance sampling signal, that is, the capacitance sampling signal is unstable in the process of debouncing the capacitance sampling signal, it cannot be determined that there is a touch behavior of a person at this time. The less than 5 stable capacitance sampling signals obtained previously may be generated based on the accidental contact behavior of the person on the touch panel, and there is actually no touch behavior. Based on this, when the current capacitance sampling signal is unstable, it can be determined that there is no human touch behavior. When it is determined that there is no human touch behavior, this round of touch recognition ends, and the values ​​of the four sampling extreme values ​​of the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value, and the minimum mutual capacitance value are cleared to zero, and the signal stability value is cleared to zero, and the next round of touch recognition is entered to periodically obtain the capacitance sampling signal again.

[0113] The second situation: if the current capacitance sampling signal is unstable, then if the capacitance sampling signal obtained in the last preset cycle of at least one capacitance sampling signal is also unstable, it is determined that there is no touch behavior on the touch panel. Specifically, if the number of stable capacitance sampling signals in at least one capacitance sampling signal does not reach the preset threshold, if the current capacitance sampling signal is unstable, as described in the first situation, it is determined that there is no touch behavior of the touch panel by the person, and this round of touch recognition has ended, that is, if there is no capacitance sampling signal obtained in the last preset cycle that is unstable, the capacitance sampling signal continues to be obtained. Therefore, the premise of the existence of this second situation is that the number of stable capacitance sampling signals in at least one capacitance sampling signal has reached the preset threshold. For example, if the preset threshold is 5, if the capacitance sampling signals obtained in the first 5 preset cycles are stable, the corresponding determination result of the capacitance sampling signal obtained in the fifth preset cycle is to determine that there is a touch behavior of the touch panel by the person, and if the capacitance sampling signal obtained in the sixth preset cycle is unstable, then it is considered that this capacitance sampling signal may be accidentally unstable due to instantaneous fluctuations, so it can continue to be considered that the corresponding determination result of this capacitance sampling signal is to determine that there is a touch behavior of the touch panel by the person. If the capacitance sampling signal obtained in the sixth preset cycle is unstable, the capacitance sampling signal obtained in the seventh preset cycle is still unstable, then the possibility that the capacitance sampling signal is accidentally unstable can be ignored, so it is considered that the determination result corresponding to the capacitance sampling signal obtained in the seventh preset cycle is that there is no human touch behavior on the touch panel. Similarly, when it is determined that there is no human touch behavior, this round of touch recognition ends, and the values ​​of the four sampling extreme values ​​of the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value, and the minimum mutual capacitance value are cleared, and the signal stability value is cleared, and the next round of touch recognition is entered, and the capacitance sampling signal is periodically obtained again.

[0114] When the current capacitance sampling signal is unstable, the specific implementation process of further determining that there is no touch behavior on the touch panel is as follows: Figure 6As shown. If the self-capacitance sampling difference of the current capacitance sampling signal is not less than the product of the maximum self-capacitance value and the self-capacitance filtering value, or the mutual capacitance sampling difference is not less than the product of the maximum mutual capacitance value and the mutual capacitance filtering value, it is determined that the current capacitance sampling signal is unstable. To meet the situation described in steps S704 and S705, when the current capacitance sampling signal is unstable, a rule is set: determine whether the signal stability value exceeds the difference between the preset threshold and 1. If not, it is determined that there is no touch behavior of the person; if it exceeds, it is further determined whether the determination result corresponding to the capacitance sampling signal obtained in the previous preset cycle is to determine that there is a touch behavior of the person on the touch panel. If so, it is determined that the determination result corresponding to the current capacitance sampling signal is to determine that there is a touch behavior of the person on the touch panel. If not, it is determined that the determination result corresponding to the current capacitance sampling signal is to determine that there is no touch behavior of the person on the touch panel. In addition, to meet the situation described in steps S704 and S705, in this round of touch recognition process, if it is determined that there is a touch behavior of the person on the touch panel, the signal stability value is reduced by 1, and the capacitance sampling signal of the touch panel is continuously and periodically acquired.

[0115] Specifically, the initial value of the signal stability value is set to 0, the preset threshold is set to 5, and the difference between the preset threshold and 1 is 4. Figure 6, if the current preset cycle is the first preset cycle in this round of touch recognition process, and the current capacitance sampling signal is the first capacitance sampling signal obtained, then the signal stability value at this time is still the initial value 0, which does not exceed the difference between the preset threshold and 1, and it is determined that there is no touch behavior of a person. If the current preset cycle is the fourth preset cycle in this round of touch recognition process, it indicates that 3 stable capacitance sampling signals have been obtained in this round of touch recognition, and the signal stability value has increased by 1 three times, and the value is 3, which still does not exceed the difference between the preset threshold and 1, and it is determined that there is no touch behavior of a person. If the current preset cycle is the fifth preset cycle in this round of touch recognition process, it indicates that 4 stable capacitance sampling signals have been obtained in this round of touch recognition, and the signal stability value has increased by 1 four times, and the value is 4, which exceeds the difference between the preset threshold and 1. At this time, it is determined whether the determination result corresponding to the capacitance sampling signal obtained in the fourth preset cycle is to determine that there is a touch behavior of a person on the touch panel. It has been discussed in the above embodiments that when the capacitance sampling signal is stable, in order to de-jitter the capacitance sampling signal, when the signal stability value does not exceed the preset threshold, the determination result corresponding to the capacitance sampling signal is determined to maintain the determination result corresponding to the capacitance sampling signal obtained in the previous preset cycle. Based on this, it can be concluded that the determination result corresponding to the capacitance sampling signal obtained in the fourth preset cycle is to maintain the determination that there is no touch behavior of a person, and then, the determination result corresponding to the fifth preset cycle is also to determine that there is no touch behavior of a person on the touch panel. In summary, if the current capacitance sampling signal is unstable, then if the number of stable capacitance sampling signals in at least one capacitance sampling signal does not reach the preset threshold, it is determined that there is no touch behavior on the touch panel.

[0116] If the current preset cycle is the sixth preset cycle in this round of touch recognition, it indicates that 5 stable capacitance sampling signals have been obtained in this round of touch recognition, and the signal stability value is 5 after being incremented by 1 five times, which exceeds the preset threshold value. The determination result corresponding to the fifth stable capacitance sampling signal is that there is a touch behavior on the touch panel. Since it is determined that there is a touch behavior of a person on the touch panel, the signal stability value is reduced by 1, and the capacitance sampling signal of the touch panel is continuously acquired periodically. Therefore, in the sixth preset cycle, that is, when the current capacitance sampling signal is acquired in the current preset cycle, the corresponding signal stability value is 4. The signal stability value still exceeds the difference between the preset threshold and 1. At this time, since the determination result corresponding to the capacitance sampling signal acquired in the fifth preset cycle is that there is a touch behavior of a person on the touch panel, the determination result corresponding to the current capacitance sampling signal is determined to be that there is a touch behavior of a person on the touch panel. Then, the signal stability value is reduced by 1, that is, the signal stability value is reduced to 3, and the capacitance sampling signal is continuously acquired in the seventh preset cycle. In summary, when the determination result corresponding to the capacitance sampling signal obtained in the previous preset cycle is that a person has touched the touch panel, considering that the current capacitance sampling signal obtained in the current preset cycle may be accidentally unstable due to momentary fluctuations, it can continue to be considered that the determination result corresponding to the current capacitance sampling signal is that a person has touched the touch panel.

[0117] If the current preset cycle is the seventh preset cycle in this round of touch recognition process, and the capacitance sampling signal obtained in the sixth preset cycle is unstable, the signal stability value corresponding to the current capacitance sampling signal is 3, and the signal stability value does not exceed the difference between the preset threshold and 1. Therefore, the determination result corresponding to the current capacitance sampling signal is that it is determined that there is no touch behavior of the touch panel. In summary, if the current capacitance sampling signal is unstable, then if the capacitance sampling signal obtained in the previous preset cycle of at least one capacitance sampling signal is also unstable, it is determined that there is no touch behavior on the touch panel.

[0118] S706: If the self-capacitance value is less than or equal to the mutual-capacitance calculation value, it is determined that there is no touch behavior on the touch panel.

[0119] Specifically, when the self-capacitance value is less than or equal to the mutual capacitance calculation value and it is determined that there is no human touch behavior, this round of touch recognition ends, and the values ​​of the four sampling extreme values ​​of the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value are cleared to zero, and the signal stability value is cleared to zero, and the next preset cycle is used as the first preset cycle of the next round of touch recognition process to perform the next round of touch recognition.

[0120] It should be noted that after executing step S702, it is necessary to select to execute step S703, step S704 or step S705 according to whether the current capacitance sampling signal is stable.

[0121] In this embodiment, if the current capacitance sampling signal is unstable, even if the self-capacitance value of the current capacitance sampling signal is greater than the mutual capacitance calculation value, it cannot be determined that there is a touch behavior, and specific analysis is required. Specifically, there are three situations: First, when the number of stable capacitance sampling signals in at least one capacitance sampling signal obtained during the current round of touch recognition does not reach the preset threshold, the previously obtained stable capacitance sampling signal may be generated based on the accidental contact behavior of the person on the touch panel, and there is actually no touch behavior. Based on this, when the current capacitance sampling signal is unstable, it can be determined that there is no touch behavior of the person. Second, when the determination result corresponding to the capacitance sampling signal obtained in the previous preset period is to determine that there is a touch behavior of the person on the touch panel, considering that the current capacitance sampling signal obtained in the current preset period may be accidentally unstable due to instantaneous fluctuations, it can continue to be considered that the determination result corresponding to the unstable current capacitance sampling signal is to determine that there is a touch behavior of the person on the touch panel. Third, if the capacitance sampling signals obtained in two consecutive preset periods are unstable, the possibility that the current capacitance sampling signal is accidentally unstable can be ignored at this time, so it can be considered that the determination result corresponding to the current capacitance sampling signal is to determine that there is no touch behavior of the person on the touch panel. On the basis of determining that the self-capacitance value of the current capacitance sampling signal is greater than the mutual capacitance calculation value, it is further judged whether the current capacitance sampling signal is stable, and for the two situations of the current capacitance sampling signal being stable and unstable, multiple possible situations are deeply analyzed, so as to finally identify whether there is a person touching the touch panel, thereby improving the reliability and accuracy of the identification results.

[0122] like Figure 8 As shown, in one of the embodiments, the touch recognition method further includes the following steps S801 to S803.

[0123] S801, obtaining a capacitance sampling signal of a touch panel, where the capacitance sampling signal includes a self-capacitance value and a mutual capacitance value of the touch panel.

[0124] S802, determining whether the self-capacitance value is greater than a self-capacitance threshold and whether the mutual-capacitance value is greater than a mutual-capacitance threshold.

[0125] The self-capacitance threshold and the mutual-capacitance threshold are used to filter out invalid self-capacitance values ​​and mutual-capacitance values, respectively. Taking the self-capacitance threshold as a trigger limit value, if the self-capacitance value is greater than the self-capacitance threshold, it indicates that the touch panel is touched. At this time, the contact may be that there is a person touching the touch panel, or it may be rain, dust, etc. falling on the touch panel; if the self-capacitance value is less than or equal to the self-capacitance threshold, it indicates that the touch panel is not touched, and there is no person touching the touch panel. At this time, the self-capacitance value of the touch panel obtained is regarded as invalid data, and it can be directly considered that the scene where the touch panel is located is a scene where no person touches the touch panel, without further subsequent touch recognition based on this self-capacitance value. The same is true for the mutual-capacitance threshold. It should be noted that if the self-capacitance value is less than or equal to the self-capacitance threshold, or the mutual-capacitance value is less than or equal to the mutual-capacitance threshold, it can be considered that there is no person touching the touch panel.

[0126] If the self-capacitance threshold and the mutual capacitance threshold are passed, and it is determined through the above judgment that no person has touched the touch panel, there is no need to perform subsequent touch recognition based on the self-capacitance value and the mutual capacitance value of the current capacitance sampling signal, and this round of touch recognition ends. The four sampling extreme values ​​of the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value, as well as the signal stability value are all cleared to enter the next round of touch recognition, and the capacitance sampling signal is periodically acquired again.

[0127] S803: If the self-capacitance value is greater than the self-capacitance threshold and the mutual-capacitance value is greater than the mutual-capacitance threshold, determine whether there is a touch behavior on the touch panel according to the magnitude relationship between the self-capacitance value and the mutual-capacitance value.

[0128] When the self-capacitance value is greater than the self-capacitance threshold and the mutual capacitance value is greater than the mutual capacitance threshold, it indicates that the touch panel is touched. At this time, it is further determined whether there is a touch behavior on the touch panel based on the size relationship between the self-capacitance value and the mutual capacitance value.

[0129] In this embodiment, the self-capacitance threshold and the mutual-capacitance threshold are set as the trigger limit values ​​for determining whether the touch panel is touched. If the current capacitance sampling signal does not meet the conditions that the self-capacitance value is greater than the self-capacitance threshold and the mutual-capacitance value is greater than the mutual-capacitance threshold, then the invalid current capacitance sampling signal and the self-capacitance value and the mutual-capacitance value can be used to directly determine that the touch panel is not touched, and then determine that there is no person touching the touch panel; if the above conditions are met, then further determine whether there is a touch behavior on the touch panel based on the size relationship between the self-capacitance value and the mutual-capacitance value. The touch recognition method in this embodiment can not only improve the reliability and accuracy of identifying whether there is a touch behavior, but also avoid redundant recognition, making the recognition process simpler.

[0130] In one embodiment, the touch recognition method further includes the following steps:

[0131] Acquire a capacitance sampling signal of the touch panel according to a preset cycle, wherein the capacitance sampling signal includes a self-capacitance value and a mutual capacitance value of the touch panel;

[0132] Determine whether the self-capacitance value is greater than the self-capacitance threshold and whether the mutual-capacitance value is greater than the mutual-capacitance threshold;

[0133] If the self-capacitance value is greater than the self-capacitance threshold and the mutual capacitance value is greater than the mutual capacitance threshold, then when the self-capacitance value is less than or equal to the mutual capacitance calculation value, it is determined that there is no touch behavior on the touch panel, wherein the mutual capacitance calculation value is the sum of the mutual capacitance value and a preset value; or

[0134] If the self-capacitance value is greater than the self-capacitance threshold value and the mutual capacitance value is greater than the mutual capacitance threshold value, then when the self-capacitance value is greater than the mutual capacitance operation value, the difference between the maximum self-capacitance value and the minimum self-capacitance value contained in the at least one capacitance sampling signal obtained is calculated to obtain the self-capacitance sampling difference value corresponding to the current capacitance sampling signal, and the difference between the maximum mutual capacitance value and the minimum mutual capacitance value contained in the at least one capacitance sampling signal obtained is calculated to obtain the mutual capacitance sampling difference value corresponding to the current capacitance sampling signal, and according to the self-capacitance sampling difference value and the mutual capacitance sampling difference value, it is determined whether the current capacitance sampling signal obtained in the current preset period is stable, wherein the at least one capacitance sampling signal refers to a signal collected in at least one continuous preset period, the first preset period in the at least one preset period is the first preset period after the most recent determination that there is no touch behavior on the touch panel, and the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value are updated according to the self-capacitance value and the mutual capacitance value of the current capacitance sampling signal;

[0135] If the current capacitance sampling signal is stable, then when the number of stable capacitance sampling signals in at least one capacitance sampling signal reaches a preset threshold, it is determined that there is a touch behavior on the touch panel; or

[0136] If the current capacitance sampling signal is unstable, it is determined that there is no touch behavior on the touch panel when the number of stable capacitance sampling signals in at least one capacitance sampling signal does not reach a preset threshold; or

[0137] If the current capacitance sampling signal is unstable, then when the capacitance sampling signal acquired in a previous preset period of at least one capacitance sampling signal is also unstable, it is determined that there is no touch behavior on the touch panel.

[0138] In this round of touch recognition, the current capacitance sampling signal is obtained within the current preset period, and the implementation process of identifying whether there is a touch behavior on the touch panel based on the self-capacitance value and mutual capacitance value of the current capacitance sampling signal is as follows: Figure 6 See Figure 6 , the touch recognition process can be summarized as follows:

[0139] First, determine whether the self-capacitance value and mutual capacitance value of the current capacitance sampling signal satisfy that the self-capacitance value is greater than the self-capacitance threshold and the mutual capacitance value is greater than the mutual capacitance threshold. If not satisfied, it indicates that the touch panel is not touched. At this time, it is determined that there is no touch behavior on the touch panel, and this round of touch recognition is ended. The signal stability value updated in this round of touch recognition process and the four sampling extreme values ​​of the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value, and the minimum mutual capacitance value are cleared. It can be understood that if the current preset cycle is the first preset cycle in this round of touch recognition process, the four sampling extreme values ​​and the signal stability value at this time are the initial value 0. If the current preset cycle is not the first preset cycle in this round of touch recognition process, the four sampling extreme values ​​and the signal stability value at this time are usually not the initial value, and they need to be cleared. If satisfied, it indicates that the touch panel is touched. At this time, the maximum self-capacitance value, minimum self-capacitance value, maximum mutual capacitance value and minimum mutual capacitance value contained in at least one capacitance sampling signal acquired during this round of touch recognition are updated according to the self-capacitance value and mutual capacitance value of the current capacitance sampling signal, and the self-capacitance sampling difference value and mutual capacitance sampling difference value corresponding to the current capacitance sampling signal are calculated. Then, it is determined whether the self-capacitance value and mutual capacitance value of the current capacitance sampling signal satisfy that the self-capacitance value is greater than the sum of the mutual capacitance value and the preset value.

[0140] Furthermore, if the self-capacitance value is not greater than the sum of the mutual capacitance value and the preset value, it indicates that the touch panel may be in a scene other than the scene where the touch behavior exists, such as in a rainy scene, the touch panel is wetted by rain, causing the self-capacitance value and the mutual capacitance value to change. At this time, it is determined that there is no touch behavior on the touch panel, and this round of touch recognition ends. The signal stability value updated during this round of touch recognition and the four sampling extreme values ​​of the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value, and the minimum mutual capacitance value are cleared. If the self-capacitance value is greater than the sum of the mutual capacitance value and the preset value, it indicates that there may be a touch behavior on the touch panel, but it is still necessary to continue to determine whether the self-capacitance sampling difference and the mutual capacitance sampling difference corresponding to the current capacitance sampling signal meet the self-capacitance sampling difference less than the product of the maximum self-capacitance value and the self-capacitance filter value and the mutual capacitance sampling difference less than the product of the maximum mutual capacitance value and the mutual capacitance filter value to determine whether the current capacitance sampling signal is stable. It can be understood that the self-capacitance sampling difference and the mutual-capacitance sampling difference can be updated synchronously when the four sampling extreme values ​​are updated. When the self-capacitance sampling difference and the mutual-capacitance sampling difference are needed to determine whether the current capacitance sampling signal is stable, the self-capacitance sampling difference and the mutual-capacitance sampling difference can be calculated based on the updated four sampling extreme values.

[0141] Furthermore, if the self-capacitance sampling difference is less than the product of the maximum self-capacitance value and the self-capacitance filtering value and the mutual capacitance sampling difference is less than the product of the maximum mutual capacitance value and the mutual capacitance filtering value, it indicates that the current capacitance sampling signal is stable. Then, when the capacitance sampling signal is de-jittered to avoid accidental contact behavior, it is determined that the capacitance sampling signal is stable, and then it is determined that there is a touch behavior. If the capacitance sampling signals that have reached the preset threshold number of times in this round of touch recognition, including the current capacitance sampling signal, are all stable, then an effective recognition result is obtained, and it is determined that there is a touch behavior of a person on the touch panel. If the number of stable capacitance sampling signals in this round of touch recognition, including the current capacitance sampling signal, does not reach the preset threshold, then the determination result corresponding to the capacitance sampling signal obtained in the previous preset period is maintained, and the determination result at this time is not used as a valid recognition result, but only plays a role in de-jittering, and then the capacitance sampling signal continues to be periodically obtained.

[0142] If the self-capacitance sampling difference is not less than the product of the maximum self-capacitance value and the self-capacitance filtering value and the mutual capacitance sampling difference is not less than the product of the maximum mutual capacitance value and the mutual capacitance filtering value, it indicates that the current capacitance sampling signal is unstable. At this time, three situations are specifically analyzed: First, when the number of stable capacitance sampling signals in at least one capacitance sampling signal obtained during this round of touch recognition does not reach the preset threshold, the previously obtained stable capacitance sampling signal may be based on the accidental contact behavior of the person on the touch panel, but there is actually no touch behavior. Based on this, when the current capacitance sampling signal is unstable, it can be determined that there is no touch behavior of the person. Second, when the determination result corresponding to the capacitance sampling signal obtained in the previous preset period is to determine that there is a touch behavior of the person on the touch panel, considering that the current capacitance sampling signal obtained in the current preset period may be accidentally unstable due to instantaneous fluctuations, it can continue to be considered that the determination result corresponding to the unstable current capacitance sampling signal is to determine that there is a touch behavior of the person on the touch panel. Third, if the capacitance sampling signals acquired within two consecutive preset cycles are unstable, the possibility that the current capacitance sampling signal is accidentally unstable can be ignored, so it can be considered that the determination result corresponding to the current capacitance sampling signal is that there is no human touch behavior on the touch panel. When the current capacitance sampling signal is unstable and it is determined that there is no human touch behavior on the touch panel, this round of touch recognition ends, and the signal stability value updated in this round of touch recognition and the four sampling extreme values ​​of the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value, and the minimum mutual capacitance value are cleared.

[0143] Figure 6The purpose of the operation methods such as adding 1 to the signal stability value or subtracting 1 from the signal stability value as shown in the figure is to achieve the expected determination result through the above judgment rules. The main purpose is to be able to obtain the expected determination result through the above judgment rules. The numerical operation method is not limited to the method described in this embodiment.

[0144] In this embodiment, according to the self-capacitance value and mutual capacitance value of the touch panel, based on the size relationship between the self-capacitance value and the self-capacitance threshold, the size relationship between the mutual capacitance value and the mutual capacitance threshold, the size relationship between the self-capacitance value and the mutual capacitance value, the stability of the capacitance sampling signal, etc., it is identified whether there is a person touching the touch panel, so that touch recognition does not rely on the change of a single self-capacitance value or mutual capacitance value, the recognition result is more reliable and accurate, and the touch recognition rate is improved.

[0145] The touch recognition method of this embodiment can not only be used to identify whether there is a person touching the touch panel, but also can be used to identify whether there is a person touching the touch panel in scenes such as rain, fog, etc. It can also be used to identify whether the capacitance value of the touch panel changes due to the presence of a person touching the touch panel, or whether the capacitance value of the touch panel changes due to factors such as rain, dust, etc.

[0146] like Fig. 9 As shown, the embodiment of the present application further provides a touch recognition device 900. The touch recognition device 900 includes a signal acquisition module 901 and a touch recognition module 902. The signal acquisition module 901 is used to acquire a capacitance sampling signal of a touch panel, and the capacitance sampling signal includes a self-capacitance value and a mutual capacitance value of the touch panel. The touch recognition module 902 is used to determine whether there is a touch behavior on the touch panel according to the self-capacitance value and the mutual capacitance value.

[0147] In one embodiment, the touch recognition module 902 is further configured to determine whether there is a touch behavior on the touch panel according to the magnitude relationship between the self-capacitance value and the mutual capacitance value.

[0148] In one embodiment, the touch recognition module 902 is further used to determine that there is a touch behavior on the touch panel if the self-capacitance value is greater than the mutual capacitance calculation value, the mutual capacitance calculation value is obtained by calculating the mutual capacitance value, and the mutual capacitance calculation value is greater than or equal to the mutual capacitance value; or if the self-capacitance value is less than or equal to the mutual capacitance calculation value, determine that there is no touch behavior on the touch panel.

[0149] In one embodiment, the mutual capacitance calculation value is obtained by calculating the mutual capacitance value, including: the mutual capacitance calculation value is the sum of the mutual capacitance value and a preset value.

[0150] In one embodiment, the signal acquisition module 901 is further configured to acquire a capacitance sampling signal of the touch panel according to a preset period.

[0151] In one of the embodiments, the touch recognition module 902 is further used to determine whether the current capacitance sampling signal obtained within the current preset period is stable according to the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value contained in the at least one capacitance sampling signal obtained, the at least one capacitance sampling signal refers to the signal collected within at least one continuous preset period, the first preset period in the at least one preset period is the first preset period after the most recent determination that there is no touch behavior on the touch panel, the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value are updated according to the self-capacitance value and the mutual capacitance value of the current capacitance sampling signal.

[0152] In one embodiment, the touch recognition module 902 includes a first difference calculation unit, a second difference calculation unit and a signal stability determination unit. The first difference calculation unit is used to calculate the difference between the maximum self-capacitance value and the minimum self-capacitance value contained in at least one capacitance sampling signal obtained, and obtain the self-capacitance sampling difference corresponding to the current capacitance sampling signal. The second difference calculation unit is used to calculate the difference between the maximum mutual capacitance value and the minimum mutual capacitance value contained in at least one capacitance sampling signal obtained, and obtain the mutual capacitance sampling difference corresponding to the current capacitance sampling signal. The signal stability determination unit is used to determine whether the current capacitance sampling signal obtained within the current preset period is stable according to the self-capacitance sampling difference and the mutual capacitance sampling difference.

[0153] In one embodiment, the touch recognition module 902 is further configured to determine that there is a touch behavior on the touch panel if the current capacitance sampling signal is stable.

[0154] In one embodiment, the touch recognition module 902 is further configured to determine that there is a touch behavior on the touch panel if the current capacitance sampling signal is stable and the number of stable capacitance sampling signals in at least one capacitance sampling signal reaches a preset threshold.

[0155] In one of the embodiments, the touch recognition module 902 is further used to, if the current capacitance sampling signal is unstable, determine that there is no touch behavior on the touch panel when the number of stable capacitance sampling signals in at least one capacitance sampling signal does not reach a preset threshold; or if the current capacitance sampling signal is unstable, determine that there is no touch behavior on the touch panel when the capacitance sampling signal obtained within a previous preset period in at least one capacitance sampling signal is also unstable.

[0156] In one embodiment, the touch recognition device 900 further includes a determination module for determining whether the self-capacitance value is greater than the self-capacitance threshold and whether the mutual-capacitance value is greater than the mutual-capacitance threshold. The touch recognition module 902 is further configured to determine whether there is a touch behavior on the touch panel according to the size relationship between the self-capacitance value and the mutual-capacitance value if the self-capacitance value is greater than the self-capacitance threshold and the mutual-capacitance value is greater than the mutual-capacitance threshold.

[0157] For the explanation of each term, please refer to the relevant description in the aforementioned method embodiment, which will not be elaborated here.

[0158] It should be noted that the specific execution process of the touch recognition device 900 can be found in Figures 1 to 8 The specific description of the illustrated embodiment will not be repeated here.

[0159] Each module in the above-mentioned touch recognition device 900 can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0160] Touch detection technology is widely used in the automotive field. For example, based on touch detection technology, it is possible to identify whether a door handle is touched by a person, detect whether the door handle is touched by a person, and then determine whether to unlock or open the door.

[0161] Based on this, in order to improve the touch detection accuracy of the door handle, and improve the touch detection accuracy of the door handle in rain, fog, and large temperature difference environments, such as Fig.10 As shown, the embodiment of the present application also provides a vehicle door handle 1000. The vehicle door handle 1000 includes a processor 1001 and a touch panel 1002 connected to each other. The processor 1001 is used to execute the following Figures 1 to 8 The method steps shown are to determine whether there is a touch behavior on the touch panel 1002.

[0162] Specifically, the processor 1001 of the door handle 1000 obtains the capacitance sampling signal of the touch panel 1002, and based on the self-capacitance value and mutual capacitance value of the touch panel 1002 in the capacitance sampling signal and the relationship between the self-capacitance value and the mutual capacitance value, it is finally identified whether a person touches the touch panel 1002 of the door handle 1000.

[0163] In this embodiment, the touch recognition of the touch panel 1002 of the door handle 1000 does not rely on the change of a single self-capacitance value or mutual capacitance value, and the recognition result is more reliable and the touch recognition rate is higher. In this embodiment, the method for the processor 1001 to identify whether a person has performed a touch behavior on the touch panel 1002 of the door handle 1000 can refer to the touch recognition method in the aforementioned embodiment, and the beneficial effects can also refer to the beneficial effects of the touch recognition method in the aforementioned embodiment, which will not be described in detail in this embodiment. Based on this, the touch recognition of the touch panel 1002 of the door handle 1000 is more reliable and more accurate, which is conducive to more accurately detecting whether the door handle 1000 is touched by a person, and is conducive to more accurately judging whether to unlock or open the door.

[0164] It should be emphasized that the door handle 1000 in this embodiment can not only identify whether a person touches the touch panel 1002 through the processor 1001, but also identify whether a person touches the touch panel 1002 through the processor 1001 when the vehicle is in rain, fog, or a large temperature difference environment, and can also identify through the processor 1001 whether a change in the capacitance value of the touch panel 1002 is caused by a person touching the touch panel 1002 or by factors such as rain, temperature, and dust.

[0165] like Fig.11 As shown, the embodiment of the present application further provides a vehicle 1100. The vehicle 1100 includes Fig.10 A vehicle door handle 1000 is shown.

[0166] Specifically, the processor of the door handle 1000 obtains the capacitance sampling signal of the touch panel, and based on the self-capacitance value and mutual capacitance value of the touch panel in the capacitance sampling signal and the relationship between the self-capacitance value and the mutual capacitance value, it finally identifies whether a person has touched the touch panel of the door handle 1000.

[0167] In this embodiment, the touch recognition of the touch panel of the door handle 1000 does not rely on the change of a single self-capacitance value or mutual capacitance value, and the recognition result is more reliable and the touch recognition rate is higher. The method for the processor in this embodiment to identify whether a person has performed a touch behavior on the touch panel of the door handle 1000 can refer to the touch recognition method in the aforementioned embodiment, and the beneficial effects can also refer to the beneficial effects of the touch recognition method in the aforementioned embodiment, which will not be described in detail in this embodiment. Based on this, the touch recognition of the touch panel of the door handle 1000 is more reliable and more accurate, which is conducive to the vehicle 1100 to more accurately detect whether the door handle 1000 is touched by a person, and is conducive to the vehicle 1100 to more accurately determine whether to unlock or open the door.

[0168] It should be emphasized that the vehicle 1100 in this embodiment can not only identify whether a person touches the touch panel of the door handle 1000, but also identify whether a person touches the touch panel of the door handle 1000 in an environment such as rain, fog, or large temperature difference, and can also identify whether a change in the capacitance value of the touch panel is caused by a person touching the touch panel or by factors such as rain, temperature, and dust.

[0169] In one embodiment, the vehicle also includes a control system, which is used to detect whether the door handle is touched by a person, to determine whether to unlock or open the door, to control the unlocking or opening of the door, etc.

[0170] In one embodiment, the processor of the door handle is integrated into the control system of the vehicle, and the control system of the vehicle performs touch recognition of the touch panel of the door handle.

[0171] like Fig.12 As shown, the embodiment of the present application further provides a computer device 1200. Exemplarily, the computer device 1200 may include a processor 1201, a communication interface 1202, a communication bus 1203, and a memory 1204. Specifically, the computer device 1200 may include:

[0172] At least one processor 1201, such as a CPU, at least one communication interface 1202, a memory 1204, and at least one communication bus 1203. The communication bus 1203 is used to realize the connection and communication between these components. The communication interface 1202 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface or a Bluetooth interface, etc.). The memory 1204 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1204 may optionally be at least one storage device located away from the aforementioned processor 1201. Fig.12 As shown, the memory 1204 as a computer storage medium may include an operating system and program instructions.

[0173] Exemplarily, the processor 1201 may be used to implement the above Fig. 9 The steps or methods performed by the signal acquisition module 901 and the touch recognition module 902 in FIG.

[0174] It is understandable that the above method is only an example, and the processor 1201 and other modules in the above computer device 1200 may also cooperate to perform the above method. Fig. 9 The steps or methods performed by the signal acquisition module 901 and the touch recognition module 902 are not limited in this document.

[0175] exist Fig.12 In the computer device 1200 shown, the processor 1201 may be used to load program instructions stored in the memory 1204 and specifically perform the following operations:

[0176] Acquire a capacitance sampling signal of the touch panel, where the capacitance sampling signal includes a self-capacitance value and a mutual capacitance value of the touch panel;

[0177] Whether there is a touch behavior on the touch panel is determined according to the self-capacitance value and the mutual capacitance value.

[0178] For the explanation of each term, please refer to the relevant description in the aforementioned method embodiment, which will not be elaborated here.

[0179] It should be noted that the specific implementation process can be found in Figures 1 to 8 The specific description of the illustrated embodiment will not be repeated here.

[0180] The present application also provides a computer-readable storage medium, which can store a plurality of instructions, and the instructions are suitable for being loaded and executed by a processor as described above. Figures 1 to 8 The method steps of the embodiment shown in the figure can be found in the specific execution process. Figures 1 to 8 The specific description of the illustrated embodiment will not be repeated here.

[0181] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.

[0182] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integration. 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), etc.

[0183] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0184] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0185] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A touch recognition method, characterized in that: The method comprises: Acquire a capacitance sampling signal of a touch panel, wherein the capacitance sampling signal includes a self-capacitance value and a mutual capacitance value of the touch panel; It is determined whether there is a touch behavior on the touch panel according to the self-capacitance value and the mutual capacitance value.

2. The method according to claim 1, characterized in that The determining, according to the self-capacitance value and the mutual capacitance value, whether there is a touch behavior on the touch panel includes: Whether there is a touch behavior on the touch panel is determined according to the magnitude relationship between the self-capacitance value and the mutual capacitance value.

3. The method according to claim 2, characterized in that The determining whether there is a touch behavior on the touch panel according to the magnitude relationship between the self-capacitance value and the mutual capacitance value includes: If the self-capacitance value is greater than the mutual capacitance calculation value, it is determined that there is a touch behavior on the touch panel, the mutual capacitance calculation value is obtained by calculating the mutual capacitance value, and the mutual capacitance calculation value is greater than or equal to the mutual capacitance value; or If the self-capacitance value is less than or equal to the mutual capacitance calculation value, it is determined that there is no touch behavior on the touch panel.

4. The method according to claim 3, characterized in that The mutual capacitance calculation value is obtained by calculating the mutual capacitance value, including: the mutual capacitance calculation value is the sum of the mutual capacitance value and a preset value.

5. The method according to claim 4, characterized in that The step of acquiring a capacitance sampling signal of a touch panel includes: According to a preset cycle, a capacitance sampling signal of the touch panel is obtained.

6. The method according to claim 5, characterized in that Before determining that there is a touch behavior on the touch panel, the method further includes: According to the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value contained in the at least one capacitance sampling signal acquired, it is determined whether the current capacitance sampling signal acquired within the current preset period is stable, the at least one capacitance sampling signal refers to a signal acquired within at least one continuous preset period, the first preset period of the at least one preset period is the first preset period after the most recent determination that there is no touch behavior on the touch panel, and the maximum self-capacitance value, the minimum self-capacitance value, the maximum mutual capacitance value and the minimum mutual capacitance value are updated according to the self-capacitance value and the mutual capacitance value of the current capacitance sampling signal.

7. The method according to claim 6, characterized in that The step of determining whether a current capacitance sampling signal acquired within a current preset period is stable according to a maximum self-capacitance value, a minimum self-capacitance value, a maximum mutual capacitance value, and a minimum mutual capacitance value contained in at least one capacitance sampling signal acquired includes: Calculating the difference between the maximum self-capacitance value and the minimum self-capacitance value contained in the at least one capacitance sampling signal obtained, to obtain a self-capacitance sampling difference corresponding to the current capacitance sampling signal; Calculating a difference between the maximum mutual capacitance value and the minimum mutual capacitance value contained in the at least one capacitance sampling signal acquired, to obtain a mutual capacitance sampling difference corresponding to the current capacitance sampling signal; It is determined whether the current capacitance sampling signal acquired within the current preset period is stable according to the self-capacitance sampling difference and the mutual capacitance sampling difference.

8. The method according to claim 6 or 7, characterized in that: The determining that there is a touch behavior on the touch panel includes: If the current capacitance sampling signal is stable, it is determined that there is a touch behavior on the touch panel.

9. The method according to claim 8, characterized in that If the current capacitance sampling signal is stable, determining that there is a touch behavior on the touch panel includes: If the current capacitance sampling signal is stable, then when the number of stable capacitance sampling signals in the at least one capacitance sampling signal reaches a preset threshold, it is determined that there is a touch behavior on the touch panel.

10. The method according to claim 8, characterized in that The method further comprises: If the current capacitance sampling signal is unstable, it is determined that there is no touch behavior on the touch panel when the number of stable capacitance sampling signals in the at least one capacitance sampling signal does not reach a preset threshold; or If the current capacitance sampling signal is unstable, and the capacitance sampling signal acquired in a previous preset period of the at least one capacitance sampling signal is also unstable, it is determined that there is no touch behavior on the touch panel.

11. The method according to any one of claims 2 to 7, characterized in that: Before determining whether there is a touch behavior on the touch panel according to the magnitude relationship between the self-capacitance value and the mutual capacitance value, the method further includes: Determining whether the self-capacitance value is greater than a self-capacitance threshold and whether the mutual-capacitance value is greater than a mutual-capacitance threshold; The determining whether there is a touch behavior on the touch panel according to the magnitude relationship between the self-capacitance value and the mutual capacitance value includes: If the self-capacitance value is greater than the self-capacitance threshold and the mutual capacitance value is greater than the mutual capacitance threshold, it is determined whether there is a touch behavior on the touch panel according to the magnitude relationship between the self-capacitance value and the mutual capacitance value.

12. A touch recognition device, characterized in that: The device comprises: A signal acquisition module, used to acquire a capacitance sampling signal of the touch panel, wherein the capacitance sampling signal includes a self-capacitance value and a mutual capacitance value of the touch panel; The touch recognition module is used to determine whether there is a touch behavior on the touch panel according to the self-capacitance value and the mutual capacitance value.

13. A vehicle door handle, characterized in that: The vehicle door handle comprises a processor and a touch panel connected to each other, wherein the processor is used to execute the steps of the method according to any one of claims 1 to 11 to determine whether there is a touch behavior on the touch panel.

14. A vehicle, characterized in that: The vehicle includes the door handle of claim 13 .

15. A computer device, characterized in that: include: A memory and a processor, wherein the memory stores program instructions; when the program instructions are executed by the processor, the processor executes the method as claimed in any one of claims 1 to 11.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program; when the computer program is run on one or more processors, the method according to any one of claims 1 to 11 is executed.