Touch detection method and device for capacitive screen

CN115469769BActive Publication Date: 2026-09-15GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110657389.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-11
Publication Date
2026-09-15
Estimated Expiration
2041-06-11

AI Technical Summary

Technical Problem

[0005]本申请提供一种电容屏的触控检测方法及装置,以解决电容屏的触控操作的检测准确度较低的技术问题

Benefits of technology

[0016] In summary, the capacitive touch detection method and apparatus provided in this application can determine different preset conditions based on the temperature information of the current environment, and then detect touch actions according to the different preset conditions. Especially when the ambient temperature is high, the size of the first area in the preset conditions is reduced, thereby improving the detection accuracy. This prevents the capacitance value from being unstable due to the capacitance change of the capacitive screen in a high-temperature environment from affecting the detection results. In addition, it reduces the possibility of misidentification, reduced recognition accuracy, and recognition jump points that may occur under high-temperature conditions, thereby improving the detection accuracy of touch operations on the capacitive screen and improving the user experience of electronic devices with capacitive screens.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115469769B_ABST
    Figure CN115469769B_ABST
Patent Text Reader

Abstract

The application provides a touch detection method and device of a capacitive screen, which can determine different preset conditions according to temperature information of a current environment, and detect touch actions according to the different preset conditions. In particular, in the case that the environmental temperature is high, the size of a first area in the preset conditions is reduced, thereby improving the detection accuracy, preventing the unstable capacitance value caused by the change of the capacitance of the capacitive screen in a high-temperature environment from affecting the detection result, and further reducing the misrecognition, reducing the recognition accuracy, and recognizing the jump point that may occur in the high-temperature case, improving the detection accuracy of the touch operation of the capacitive screen, and improving the user experience of the electronic device with the capacitive screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and more particularly to a method and apparatus for detecting touch on a capacitive touchscreen. Background Technology

[0002] Currently, an increasing number of electronic devices are equipped with capacitive screens for user interaction via displayed pages. These screens not only display images but also allow users to interact with the displayed content by tapping, swiping, or using their fingers or a capacitive stylus.

[0003] In the prior art, in order to determine the specific touch position of the user on the capacitive screen, electronic devices introduce a high-frequency current into the capacitive screen, so that the surface of the capacitive screen is equivalent to a capacitor introduced by the high-frequency current. Multiple capacitance detection devices are set on the non-display side of the capacitive screen. When the user touches the surface of the capacitive screen with a finger or capacitive stylus, the electric field on the surface of the capacitive screen changes. When the multiple capacitance detection devices detect the change in capacitance value, they determine that a touch action has occurred on the surface of the capacitive screen.

[0004] Using existing technology, due to the material properties of capacitive touchscreens, the stability of capacitance in different areas inside the touchscreen is inconsistent when exposed to high temperatures. This causes the capacitance value of the touchscreen itself to change, which in turn affects the accuracy of the capacitance value detected by the capacitance detection device, thereby reducing the accuracy of touch action detection on the touchscreen. Summary of the Invention

[0005] This application provides a touch detection method and apparatus for a capacitive touchscreen to solve the technical problem of low detection accuracy of touch operations on capacitive touchscreens.

[0006] The first aspect of this application provides a touch detection method for a capacitive screen, comprising: acquiring capacitance values ​​at multiple detection locations on the capacitive screen; determining that a touch action has occurred on the surface of the capacitive screen when the capacitance values ​​at the multiple detection locations meet a first preset condition; wherein the first preset condition is determined by temperature information of the environment in which the capacitive screen is located.

[0007] In one embodiment of the first aspect of this application, before obtaining the capacitance values ​​at multiple detection locations on the capacitive touchscreen, the method further includes: obtaining temperature information of the environment where the capacitive touchscreen is located; determining the first preset condition based on the temperature information and a mapping relationship; wherein the mapping relationship includes multiple temperature information items and a correspondence between each temperature information item and the preset condition.

[0008] In one embodiment of the first aspect of this application, the preset conditions include: at least one target detection position among the plurality of detection positions has a capacitance value greater than a preset threshold; the at least one target detection position is located in a first region of a preset shape on the capacitive screen; and the capacitance values ​​of all target detection positions in the first region show a decreasing trend from the center to the edge of the first region.

[0009] In one embodiment of the first aspect of this application, in the mapping relationship, the temperature value corresponding to the plurality of temperature information is inversely proportional to the area of ​​the first region in the preset conditions corresponding to the plurality of temperature information.

[0010] In one embodiment of the first aspect of this application, the temperature information includes: a temperature value or a temperature range in which the temperature value is located.

[0011] In one embodiment of the first aspect of this application, obtaining the temperature information of the environment where the capacitive screen is located includes: receiving first information sent by a temperature sensor, and determining the temperature information based on the first information; wherein the temperature sensor is used to detect the temperature information of the environment where the capacitive screen is located; or, receiving second information sent by a first device, and determining the temperature information based on the second information; wherein the first device generates and sends the second information according to a received control command; or, receiving third information sent by a first application, and determining the temperature information based on the third information; wherein the first application is an application running on the capacitive screen that is capable of determining the temperature information of the environment where the capacitive screen is located.

[0012] In one embodiment of the first aspect of this application, obtaining the capacitance values ​​at multiple detection positions on the capacitive touchscreen includes: obtaining the capacitance values ​​at the multiple detection positions using multiple capacitance detection devices disposed at the multiple detection positions on the capacitive touchscreen; wherein each capacitance detection device is used to detect the capacitance value at one detection position; the multiple capacitance detection devices are distributed in a rectangle with rows A and columns B according to the length and width of the rectangular capacitive touchscreen; the first region is a rectangular region corresponding to M*N capacitance detection devices in rows M and columns N, where M≤A and N≤B.

[0013] In one embodiment of the first aspect of this application, before obtaining the capacitance values ​​at multiple detection locations on the capacitive touchscreen, the method further includes: receiving indication information; wherein the indication information is used to indicate a first preset condition, or the indication information includes the first preset condition; and determining the first preset condition based on the indication information.

[0014] The second aspect of this application provides a touch detection device for a capacitive screen, which can be used to execute the touch detection method for a capacitive screen provided in the first aspect of this application. The device includes: a plurality of capacitance detection devices for acquiring capacitance values ​​of a plurality of detection points set on the capacitive screen; and a capacitive screen control component for determining that a touch action has occurred on the surface of the capacitive screen when the capacitance values ​​of the plurality of detection points meet a first preset condition; wherein the first preset condition is determined by temperature information of the environment in which the capacitive screen is located.

[0015] In a second aspect of this application, the device further includes: a temperature sensor for acquiring temperature information of the environment in which the capacitive touchscreen is located; and a main control component for determining the first preset condition based on the temperature information and a mapping relationship; wherein the mapping relationship includes multiple temperature information items and a correspondence between each temperature information item and the preset condition.

[0016] In summary, the capacitive touch detection method and apparatus provided in this application can determine different preset conditions based on the temperature information of the current environment, and then detect touch actions according to the different preset conditions. Especially when the ambient temperature is high, the size of the first area in the preset conditions is reduced, thereby improving the detection accuracy. This prevents the capacitance value from being unstable due to the capacitance change of the capacitive screen in a high-temperature environment from affecting the detection results. In addition, it reduces the possibility of misidentification, reduced recognition accuracy, and recognition jump points that may occur under high-temperature conditions, thereby improving the detection accuracy of touch operations on the capacitive screen and improving the user experience of electronic devices with capacitive screens. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a schematic diagram illustrating the application scenario of this application;

[0019] Figure 2 A schematic diagram of the structure of an embodiment of the electronic device provided in this application;

[0020] Figure 3 A schematic diagram illustrating preset conditions for determining touch actions provided in this application;

[0021] Figure 4 A schematic diagram of the structure of an embodiment of the electronic device provided in this application;

[0022] Figure 5A schematic flowchart of an embodiment of the touch detection method for a capacitive screen provided in this application;

[0023] Figure 6 A schematic diagram of an embodiment of the mapping relationship provided in this application;

[0024] Figure 7 A schematic diagram illustrating another preset condition for determining touch actions provided in this application. Detailed Implementation

[0025] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0026] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0027] The technical solutions of this application will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0028] Figure 1 This is a schematic diagram illustrating the application scenario of this application, such as... Figure 1 As shown, this application can be applied to electronic devices 1 with capacitive screens, including: mobile phones, tablet computers, smart interactive flat panels, student online learning terminal products, and any other electronic devices equipped with capacitive screens.

[0029] Specifically, the display side of the capacitive screen 11 on the electronic device 1 can be used to display screen content to the user. At the same time, it also allows the user 2 to perform touch actions such as clicking and sliding on the display side of the capacitive screen 11 using their fingers, capacitive stylus, etc., to interact with the content at the corresponding position of the displayed screen content.

[0030] For electronic device 1, it is necessary to determine the specific touch position of user 2 on capacitive screen 1 in order to further determine the specific content of the interactive operation that user 2 needs to perform based on the touch position. To determine the position of user 2's touch action, such as... Figure 1 The electronic device 1 shown also introduces a high-frequency current into the capacitive screen 11, so that the surface of the capacitive screen 11 is equivalent to a capacitor introduced by the high-frequency current. Multiple capacitance detection devices 111 are provided on the non-display side of the capacitive screen 11. When the user 2 touches the surface of the capacitive screen 11 with a finger or capacitive stylus, the user 2's finger and the surface of the capacitive screen 11 form a coupling capacitor, which causes the electric field on the surface of the capacitive screen 11 to change, resulting in a reduction of the high-frequency current on the capacitive screen 11. This causes a change in the capacitance value of the capacitive screen 11. At this time, after detecting the change in capacitance value, the multiple capacitance detection devices 111 determine that a touch action has occurred on the surface of the capacitive screen 11.

[0031] In some embodiments, Figure 2 A schematic diagram of the structure of an embodiment of the electronic device provided in this application, in conjunction with Figure 1 and Figure 2 As shown, the electronic device 1 provided in this application specifically includes: a capacitive screen 11, multiple capacitance detection devices 111, a capacitive screen control component 12, and a main control component 13. The capacitance detection devices 111 are located below the capacitive screen 11 and can be used to detect the capacitance value at corresponding positions on the capacitive screen, and send the capacitance value to the capacitive screen control component 12. The capacitive screen control component 12 can be a capacitance control board in the electronic device, etc., and can receive the capacitance values ​​detected by the multiple capacitance detection devices 111. After receiving the capacitance values ​​detected by the multiple capacitance detection devices 111, it determines whether a touch action has occurred on the capacitive screen 11 based on whether the capacitance value meets preset conditions. Subsequently, the information of the determined area where the touch action occurred is sent to the main control component 13 for further processing. The main control component 13 can be a processing unit such as a CPU of the electronic device 1, or a main control processing system, etc. The main control component 13 and the capacitive screen control component 12 can be connected via a USB cable. In specific implementations, the capacitive screen control component 12 and the main control component 13 can be two separate components, or the functions of the capacitive screen control component 12 and the main control component 13 in this embodiment can also be implemented by the same component. This application does not limit this.

[0032] In some embodiments, the electronic device 1 has multiple capacitance detection devices 111 on the non-display side of the capacitive touchscreen 11. These multiple capacitance detection devices 111 are arranged in a matrix of A rows and B columns according to the length and width of the rectangular capacitive touchscreen, meaning the electronic device 1 has a total of A*B capacitance detection devices 111. Each capacitance detection device 111 can be used to detect the capacitance value at the detection location of the device 111. When all the capacitance detection devices 111 send their detected capacitance values ​​to the capacitive touchscreen control component 12, the capacitive touchscreen control component 12 further determines whether a touch action has occurred on the capacitive touchscreen based on the received capacitance values.

[0033] In some embodiments, Figure 3 This application provides a schematic diagram of preset conditions for determining touch actions, wherein, in conjunction with Figure 1 and Figure 3 When the capacitive screen control component 12 receives multiple capacitance values ​​detected by all capacitance detection devices 111, it determines whether a touch action has occurred on the surface of the capacitive screen 11 by checking whether the multiple capacitance values ​​meet preset conditions.

[0034] In some embodiments, when no touch action occurs on the capacitive screen 11, the capacitance values ​​detected by all capacitance detection devices 111 remain unchanged. However, when a touch action occurs on the capacitive screen 11 at a certain location, the capacitance value detected by the corresponding capacitance detection device 111 at that location increases significantly, and the capacitance value detected by the capacitance detection device 111 closer to the touch action location is larger. Therefore, in some embodiments, the preset conditions for the capacitive screen control component 12 to determine whether a touch action has occurred on the surface of the capacitive screen 11 include at least the following:

[0035] a. Among the capacitance values ​​detected by the multiple capacitance detection devices 111, at least one capacitance value is greater than a preset threshold value. Specifically, assuming that when the capacitive touchscreen 11 is not touched, all capacitance detection devices 111 detect a capacitance value of X, and a preset threshold value of Y is set, when the capacitive touchscreen 111 is touched at a certain location, the capacitance value Z detected by the corresponding capacitance detection device 111 at that location will be greater than the preset threshold value Y. The detection location where the detected capacitance value is greater than the preset threshold value Y is then recorded as the target detection location. In some embodiments, the preset threshold value Y can be preset, adjusted according to instructions from the electronic device or the user, or adjusted in real time by the electronic device according to different operating scenarios.

[0036] b. The target detection position corresponding to the capacitance value detected in a being greater than the preset threshold is located within a first region of a preset shape on the capacitive touchscreen. Due to the limitations of the touch method, when a touch action occurs, the change in capacitance value near the touch position will be limited to a certain range and will not exceed that range. Therefore, a preset region can be used to determine whether the change in capacitance value exceeds this range. For example, in... Figure 3 In the example shown, the first region 112 can be defined as a rectangular area on the capacitive touchscreen containing the detection positions of M*N capacitance detection devices arranged in M ​​rows and N columns, where M≤A and N≤B. Figure 3 In the first region 112, there is a rectangular area of ​​10 rows and 10 columns. The capacitance values ​​detected by the capacitance detection device within this rectangular area are denoted as C11, C12, C13...C1010 according to the row and column numbers. Now, assuming that near the detection position corresponding to C55 on the capacitive screen 11, a touch action by a finger, stylus, etc., causes a change in the capacitance value detected by the capacitance detection device, the range of the detection point where the capacitance value changes will not exceed the first region 112.

[0037] c. The capacitance values ​​detected by all capacitance detection devices within the first region show a decreasing trend from the center towards the edge of the region. For example, suppose that in... Figure 3 If a touch action occurs near the detection position corresponding to C55 in the first area 112 of the capacitive screen 11, the touch action will cause the capacitance value of C55 in the first area 112 to be at its maximum, and the capacitance value will gradually decrease from C55 to the four edges of the rectangular area.

[0038] Finally, when the capacitive screen control component 12 determines that the received capacitance value satisfies the aforementioned preset condition ab, it determines that a touch action has occurred in the first area 112 on the capacitive screen 11, and sends the information of the first area 112, such as its position coordinates on the capacitive screen 11, to the main control component 13, which then performs subsequent processing, such as determining the control displayed on the capacitive screen 11 in the first area 112 and executing the function corresponding to the control. This application does not limit the subsequent processing of the touch action by the main control component 13.

[0039] In some embodiments, due to the inherent material properties of the capacitive touchscreen 11, the stability of the capacitance in different areas within the capacitive touchscreen 11 is inconsistent when exposed to high temperatures. This causes a change in the capacitance value of the capacitive touchscreen 11 itself, reducing the accuracy of the capacitance value detected by the capacitance detection device 111. Consequently, this affects the capacitive touchscreen control component 12's judgment on whether the capacitance value meets preset conditions, further reducing detection accuracy. In some cases, even if no touch action occurs on the capacitive touchscreen 11, the change in its capacitance value may be incorrectly interpreted by the capacitive touchscreen control component 12 as a touch action, leading to misidentification of touch actions, reduced recognition accuracy, and recognition skipping.

[0040] Therefore, in some embodiments, the electronic device provided in this application can also determine different preset conditions based on the current ambient temperature to detect touch actions. In particular, it can determine a first area with a smaller area in the preset conditions based on the ambient temperature, thereby improving the detection accuracy when the temperature is high and preventing misidentification of touch actions, reduced recognition accuracy, and recognition jump points caused by changes in the capacitance of the capacitive screen itself, thereby improving the detection accuracy of touch operations on the capacitive screen.

[0041] In some embodiments, Figure 4 A schematic diagram of the structure of an embodiment of the electronic device provided in this application, wherein, as shown... Figure 4 The electronic device 1 shown is in the following... Figure 2 Based on the embodiment shown, it also includes: a temperature sensor 14, used to detect the temperature of the environment where the electronic device 1 is located, and send the detected temperature to the main control component 13, which controls the capacitor control component 12 to detect touch actions on the surface of the capacitive screen according to a first preset condition corresponding to the temperature.

[0042] In some embodiments, Figure 5 This application provides a schematic flowchart of an embodiment of a touch detection method for a capacitive touchscreen, which can be applied to, for example... Figure 4 In the electronic device 1 with a capacitive touchscreen 11 shown, the main control component 13 performs the function of detecting touch actions on the surface of the capacitive touchscreen 11. Specifically, as shown... Figure 5 The methods shown include:

[0043] S101: The main control component 13 acquires the temperature information of the environment where the capacitive touchscreen is located.

[0044] Before detecting touch actions on the surface of the capacitive screen 11, in this embodiment, the main control component 13 first determines the temperature information of the current environment through S101. The temperature information can be a specific temperature value, such as a specific temperature value in the form of 25°, 35°, etc.; or, the temperature information can also be a temperature range in which the temperature value is located, such as a temperature range expressed in the form of 25°-30°, 30°-35°, greater than 35°, or less than 35°.

[0045] In some embodiments, such as Figure 4 In the illustrated electronic device 1, the temperature sensor 14 can detect the temperature of the environment where the capacitive touchscreen is located and send the detected temperature to the main control component 13. The information sent by the temperature sensor 14 is recorded as first information. After receiving the first information, the main control component 13 can determine the corresponding temperature information based on the first information. For example, when the first information indicating that the current temperature value is 36°C is received, the main control component 13 can determine that the current temperature information is a temperature range greater than 35°C based on the first information.

[0046] Alternatively, in another possible embodiment, the electronic device 1 may not include a temperature sensor 14. Instead, another first device sends second information to the main control component 13, indicating the current temperature. For example, a user can send a control command to the first device using a mobile phone or similar device. This command causes the first device to send the second information to the main control component 13 of the electronic device 1, allowing the main control component 13 to determine the corresponding temperature information upon receiving the second information. The first device can also be a physical interaction device such as a keyboard or mouse on the electronic device 1. After the user inputs the current temperature through these devices, the main control component 13 receives the information from the interaction device and determines the temperature information.

[0047] Alternatively, in another possible embodiment, the electronic device 1 may also have a weather query application running in the operating system of the electronic device 1, denoted as the first application, without the temperature sensor 14. The first application can obtain the temperature information of the current location through the Internet and send the third information to the main control component 13, so that the main control component 13 can determine the corresponding temperature information based on the third information after receiving the third information.

[0048] S102: The main control component 13 or the capacitive screen control component 12 determines the first preset condition corresponding to the temperature information based on the temperature information obtained in S101.

[0049] In some embodiments, S102 can be executed by the main control component 13, wherein after determining the temperature information, the main control component 13 determines a first preset condition and sends the first preset condition to the capacitive screen control component 12, so that the capacitive screen control component 12 performs subsequent touch actions on the surface of the capacitive screen 11 according to the received first preset condition. Alternatively, in other embodiments, S102 can also be executed by the capacitive screen control component 12, in which case after determining the temperature information, the main control component 13 sends the temperature information to the capacitive screen control component 12, and the capacitive screen control component 12 determines the first preset condition according to the temperature information, thereby performing subsequent touch actions on the surface of the capacitive screen 11 according to the received first preset condition. Alternatively, in yet another embodiment, after determining a temperature change, the main control component 13 can also send temperature change indication information to the capacitive screen control component 12, such as indicating a temperature increase or decrease, so that the capacitive screen control component 12 determines the corresponding first preset condition according to the received temperature change indication information.

[0050] In some embodiments, taking the main control component 13 as an example, the method for determining temperature information and the first preset condition in S102 is explained. Specifically, in embodiments of this application, where different temperatures correspond to different preset conditions for detecting touch actions, the main control component 13 can pre-store mapping relationships. For example, Figure 6 This is a schematic diagram of an embodiment of the mapping relationship provided in this application, wherein the mapping relationship includes a one-to-one correspondence between N temperature information items and N preset conditions. Then, when the main control component 13 determines that the current temperature information corresponds to... Figure 6 When temperature information 2 is shown in the mapping relationship, the first preset condition corresponding to the temperature information can be determined through the mapping relationship. Figure 6 Preset condition 2. In some embodiments, the mapping relationship can be preset, input by the user of the electronic device, or acquired and stored in advance by the electronic device.

[0051] In some embodiments, combined with Figure 3 In the illustrated embodiment, the preset conditions in the mapping relationship may include: a) Among the capacitance values ​​detected by the plurality of capacitance detection devices 111, at least one capacitance value is greater than a preset threshold value. b) The target detection position corresponding to the capacitance value detected in a that is greater than the preset threshold value is located within a first region of a preset shape on the capacitive screen. c) The capacitance values ​​detected by all capacitance detection devices within the first region exhibit a decreasing trend from the center to the edge of the region.

[0052] In some embodiments, in the mapping relationship, the area of ​​the first region is different under the preset conditions corresponding to different temperature information, and the specific temperature value of the temperature information is inversely proportional to the area of ​​the first region. That is, the higher the temperature value corresponding to the temperature information, the smaller the area of ​​the first region; the lower the temperature value corresponding to the temperature information, the larger the area of ​​the first region.

[0053] For example, assuming that in the mapping relationship, the preset condition corresponding to the temperature information "less than 35°" corresponds to a rectangular area corresponding to 100 capacitor detection positions (10x10) on the capacitive touchscreen; and the preset condition corresponding to the temperature information "greater than 35°" corresponds to a rectangular area corresponding to 25 capacitor detection devices (5x5) on the capacitive touchscreen, then... Figure 7 This application provides another schematic diagram of preset conditions for determining touch actions, showing a first area 112 corresponding to 25 capacitance detection devices (5x5), and... Figure 3 The first region shown is smaller in area.

[0054] Then in such Figure 4 In the electronic device shown, assuming the current temperature is less than 35°C, the capacitive screen control component 12 uses the preset conditions corresponding to the first region 112a to detect touch actions on the surface of the capacitive screen in a larger area; assuming the current temperature is greater than 35°C, the capacitive screen control component 12 uses the preset conditions corresponding to the first region 112b to detect touch actions on the surface of the capacitive screen in a smaller area, so as to improve detection accuracy and thus improve accuracy, and prevent detection errors caused by changes in the capacitance of the capacitive screen itself at higher temperatures.

[0055] S103: The capacitive touch screen control component 12 acquires the capacitance values ​​at multiple detection positions on the capacitive touch screen.

[0056] Specifically, after determining the first preset condition in S102, the capacitive screen control component can detect touch actions on the surface of the capacitive screen according to the first preset condition. In order to detect touch actions, the capacitive screen control component 12 first obtains the capacitance values ​​of multiple detection positions on the capacitive screen in S103.

[0057] In some embodiments, when applied in, such as Figure 4 In the electronic device 1 shown, the capacitive screen 11 is provided with multiple capacitance detection devices 111 on the non-display side. Each capacitance detection device 111 is used to detect the capacitance value at its detection position. In S103, the capacitive screen control component 12 acquires the capacitance value detected by the multiple detection devices.

[0058] In some embodiments, the capacitive screen control component 12 may determine the first preset condition through S101-S102 each time a touch action is detected on the surface of the capacitive screen; or, the capacitive screen control component 12 may determine the first preset condition through S101-S102, wait a preset time interval, and then re-determine the preset condition, and continue to execute S103-S104 using the determined first preset condition within the interval.

[0059] S104: When the capacitive screen control component 12 determines that the capacitance values ​​at multiple detection positions meet the first preset condition, it determines that a touch action has occurred on the surface of the capacitive screen 11, and sends the information of the first area where the touch action occurred to the main control component 13, which then performs subsequent processing on the touch action.

[0060] Specifically, the capacitive touchscreen control component 12 can determine the received multiple capacitance values ​​based on the first preset condition determined in S102. The specific determination method can be found in [reference needed]. Figure 3 The example shown will not be repeated. Alternatively, other judgment criteria may be used in this embodiment to determine whether a touch action has occurred on the surface of the capacitive touchscreen by obtaining multiple capacitance values. These should all be understood as equivalent alternatives to the embodiments of this application and will not be repeated.

[0061] In summary, the touch detection method for capacitive screens provided in this embodiment can determine different preset conditions based on the temperature information of the current environment, and then detect touch actions according to these preset conditions. Especially when the ambient temperature is high, the size of the first area in the preset conditions is reduced, thereby improving the detection accuracy. This prevents the capacitance value from becoming unstable due to changes in the capacitance of the capacitive screen in a high-temperature environment, which could affect the detection results. Consequently, it reduces the possibility of misidentification, reduced recognition accuracy, and recognition jumps that may occur under high-temperature conditions, thereby improving the detection accuracy of touch operations on capacitive screens and enhancing the user experience of electronic devices with capacitive screens.

[0062] The touch detection method provided in the foregoing embodiments of this application adjusts preset conditions based on ambient temperature. In other possible embodiments, sensors can be used to acquire other environmental characteristic information such as temperature and humidity, and different preset conditions can be determined based on different environmental characteristic information. Then, touch actions on the capacitive screen are detected according to these different preset conditions. This enables electronic devices to have autonomous environmental awareness, allowing them to perform touch detection using different preset conditions based on the current environment, thereby adapting to different environments, improving detection accuracy, and enhancing the intelligence level of the electronic device.

[0063] In some embodiments, the electronic device provided in this application can determine preset conditions not only based on temperature information detected by a temperature sensor, but also by the user of the electronic device. For example, the capacitive screen control component 12 in electronic device 1 receives instruction information input by the user through interactive devices such as a mouse and keyboard. The instruction information can be used to indicate a first preset condition, allowing the capacitive screen control component 12 to determine different preset conditions based on different received instruction information. Subsequently, the touch action on the surface of the capacitive screen is detected based on the preset conditions indicated by the instruction information. This embodiment allows the user to decide to adjust the recognition accuracy under different circumstances and realizes the adjustment of preset conditions by the user of the electronic device without the need for professional personnel to set them, enriching the usage scenarios and functions of the electronic device, and further improving the intelligence level and user experience of the electronic device.

[0064] It should be noted that the division of components and modules in the touch detection device described above in this embodiment is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. These modules can be implemented entirely in software via processing elements; they can be fully implemented in hardware; or some modules can be implemented by processing elements calling software, while others are implemented in hardware. A processing element can be a separate entity, or it can be integrated into a chip within the device. Alternatively, it can be stored as program code in the device's memory, and called and executed by a processing element. The implementation of other modules is similar. Furthermore, these modules can be fully or partially integrated together, or implemented independently. The main control component described here can be an integrated circuit with signal processing capabilities. During implementation, each step of the above method or each of the above modules can be completed through the integrated logic circuit in the hardware of the main control component or through software instructions.

[0065] For example, these components / modules can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs). As another example, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together to implement a system-on-a-chip (SOC).

[0066] In the above embodiments, all or part of the method steps executed by the main control component in the touch detection device can be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially 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, all or part of the process or function described in the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks (SSDs)).

[0067] This application also provides an electronic device, including: a processor and a memory; wherein, the memory stores a computer program, and when the processor executes the computer program, the processor can be used to execute any of the touch detection methods in the foregoing embodiments of this application.

[0068] This application also provides a computer-readable storage medium storing a computer program, which, when executed, can be used to perform any of the touch detection methods described in the foregoing embodiments of this application.

[0069] This application also provides a chip for executing instructions, the chip being used to perform a touch detection method executed by a touch detection device as described in any of the foregoing embodiments of this application.

[0070] This application also provides a program product, which includes a computer program stored in a storage medium. At least one processor can read the computer program from the storage medium. When the at least one processor executes the computer program, it can implement the touch detection method executed by the touch detection device as in any of the foregoing embodiments of this application.

[0071] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A touch detection method of a capacitive screen, characterized in that, include: Obtain the temperature information of the environment where the capacitive touchscreen is located; Obtain the capacitance values ​​at multiple detection locations on the capacitive touchscreen; Based on the temperature information and mapping relationship, preset conditions are determined; wherein, the mapping relationship includes multiple temperature information and the correspondence between each temperature information and the preset conditions, and the preset conditions include: among the multiple detection positions, there is at least one target detection position with a capacitance value greater than a preset threshold, and the at least one target detection position is located within a preset area of ​​a first region of a preset shape on the capacitive screen, and at the same time, the capacitance values ​​of all target detection positions in the first region show a trend of gradually decreasing from the center to the edge of the first region; When the capacitance values ​​at the plurality of detection locations meet the preset conditions, it is determined that a touch action has occurred on the surface of the capacitive touchscreen. In the mapping relationship, the temperature values ​​corresponding to the multiple temperature information are inversely proportional to the preset area of ​​the first region in the preset conditions corresponding to the multiple temperature information.

2. The method of claim 1, wherein, The temperature information includes: Temperature value or the temperature range in which the temperature value is located.

3. The method according to claim 1 or 2, characterized in that, The step of obtaining the temperature information of the environment where the capacitive touchscreen is located includes: The system receives first information from a temperature sensor and determines the temperature information based on the first information; wherein the temperature sensor is used to detect the temperature information of the environment in which the capacitive touchscreen is located. Alternatively, the system receives second information sent by the first device and determines the temperature information based on the second information; wherein the first device generates and sends the second information according to the received control command. Alternatively, the system may receive third information sent by a first application and determine the temperature information based on the third information; wherein the first application is an application running on the capacitive screen that is capable of determining the temperature information of the environment in which the capacitive screen is located.

4. The method according to claim 1 or 2, characterized in that, The step of obtaining capacitance values ​​at multiple detection locations on the capacitive touchscreen includes: The capacitance values ​​at the multiple detection positions are obtained by using multiple capacitance detection devices set at the multiple detection positions on the capacitive touchscreen. The capacitive detection device is used for detecting the capacitive value of one detection position; the plurality of capacitive detection devices are distributed in an A-row and B-column rectangular shape according to the length and width of the rectangular capacitive screen; the first region is a rectangular region corresponding to M rows N columns of the M N capacitive detection devices, and M≤A and N≤B.

5. The method of claim 1, wherein, Before acquiring the capacitance values ​​at multiple detection locations on the capacitive touchscreen, the method further includes: Receive instruction information; wherein the instruction information is used to indicate a preset condition, or the instruction information includes the preset condition; The preset conditions are determined based on the indicated information.

6. A touch detection device of a capacitive screen, characterized in that, include: Multiple capacitance detection devices are used to obtain capacitance values ​​at multiple detection positions set on the capacitive touchscreen; A capacitive touchscreen control component is used to determine that a touch action has occurred on the surface of the capacitive touchscreen when the capacitance values ​​at the plurality of detection positions meet preset conditions. A temperature sensor is used to acquire temperature information of the environment in which the capacitive touchscreen is located; The main control component is used to determine the preset conditions based on the temperature information and the mapping relationship; wherein the mapping relationship includes multiple temperature information and the correspondence between each temperature information and the preset conditions, and the preset conditions include: the multiple detection positions include at least one target detection position with a capacitance value greater than a preset threshold, and the at least one target detection position is located within a preset area of ​​a first region of a preset shape on the capacitive screen, and the capacitance values ​​of all target detection positions in the first region show a decreasing trend from the center to the edge of the first region; In the mapping relationship, the temperature values ​​corresponding to the multiple temperature information are inversely proportional to the preset area of ​​the first region in the preset conditions corresponding to the multiple temperature information.

Citation Information

Patent Citations

  • Multipoint touch detection method of capacitance touch screen

    CN101840295A

  • Threshold setting method and apparatus

    CN106484199A

  • Touch-type input device

    US20170075482A1