Touch detection method and device, electronic equipment and storage medium

By monitoring capacitive changes in capacitive touch screens and obtaining temperature values, judging the touch position and calibrating the baseline values, the problem of abnormal detection of capacitive touch screens in noise scenarios is solved, the detection accuracy and reliability are improved, and the user experience is improved.

CN120523345APending Publication Date: 2025-08-22BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410190497.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-20
Publication Date
2025-08-22

AI Technical Summary

Technical Problem

In noisy scenarios such as charging and magnetic fields, the detection of capacitive touch screens is abnormal, affecting the screen touch effect and reducing the user experience.

Method used

By monitoring the capacitance change value at any position in the touch screen, obtaining the temperature value of the position, determining whether it is a touch position, and calibrating the baseline value in a non-touch position to improve detection accuracy.

Benefits of technology

It effectively avoids touch detection abnormalities, improves the reliability and accuracy of touch detection results, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120523345A_ABST
    Figure CN120523345A_ABST
Patent Text Reader

Abstract

The invention provides a touch detection method and device, electronic equipment and a storage medium, and relates to the field of touch screens. Comprising the steps of obtaining a current first temperature value of any position when it is monitored that a capacitance change value corresponding to any position in a touch screen is larger than a first change threshold value, then determining whether the position is a touch position or not according to the first temperature value, and then calibrating a baseline value of the touch screen under the condition that the position is not the touch position. And obtaining a calibrated baseline value. Therefore, whether the position is the touch position or not is determined on the basis of monitoring the capacitance change and the temperature change of each position in the touch screen, and calibration of the baseline value of the touch screen is triggered when it is determined that any position is detected to be abnormal, so that the touch detection abnormality is effectively avoided, and the accuracy of the touch detection is improved. The reliability and accuracy of the touch detection result are improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of touch screens, and in particular to a touch detection method, device, electronic device, and storage medium. Background Art

[0002] Currently, smart electronic devices such as mobile phones use capacitive touchscreens as a medium for human-computer interaction, allowing users to control the device by touching the screen. However, in noisy environments such as charging and magnetic fields, capacitive touchscreens may experience detection anomalies, affecting touchscreen performance and reducing the user experience. Summary of the Invention

[0003] The present disclosure aims to solve one of the technical problems in the related art at least to a certain extent.

[0004] A first embodiment of the present disclosure provides a touch detection method, including:

[0005] When it is detected that the capacitance change value corresponding to any position on the touch screen is greater than a first change threshold, obtaining a current first temperature value of the any position;

[0006] determining, according to the first temperature value, whether any of the positions is a touch position;

[0007] In a case where any of the positions is not a touch position, the baseline value of the touch screen is calibrated to obtain a calibrated baseline value.

[0008] A second embodiment of the present disclosure provides a touch detection device, including:

[0009] an acquisition module, configured to acquire a current first temperature value of any position on the touch screen when a capacitance change value corresponding to the any position on the touch screen is detected to be greater than a first change threshold;

[0010] a determination module, configured to determine whether any of the positions is a touch position according to the first temperature value;

[0011] The calibration module is used to calibrate the baseline value of the touch screen when any of the positions is not a touch position, so as to obtain a calibrated baseline value.

[0012] The third embodiment of the present disclosure proposes an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the touch detection method proposed in the first embodiment of the present disclosure is implemented.

[0013] The fourth embodiment of the present disclosure provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the touch detection method provided in the first embodiment of the present disclosure is implemented.

[0014] The touch detection method, device, electronic device, and storage medium provided by the present disclosure have the following beneficial effects:

[0015] In the disclosed embodiment, when a capacitance change corresponding to any location on the touch screen is detected to be greater than a first change threshold, the current first temperature value of the location is obtained. Based on the first temperature value, whether the location is a touch location is determined. If the location is not a touch location, the baseline value of the touch screen is calibrated to obtain a calibrated baseline value. Thus, by monitoring capacitance changes and temperature changes at various locations on the touch screen to determine whether the location is a touch location, and triggering a calibration of the touch screen baseline value if a detection anomaly is determined at any location, touch detection anomalies are effectively avoided, the reliability and accuracy of touch detection results are improved, and the user experience is enhanced.

[0016] Additional aspects and advantages of the present disclosure will be given in part in the description below and in part will be obvious from the description below, or will be learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and / or additional aspects and advantages of the present disclosure will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0018] Figure 1 A schematic diagram of a touch screen ghost point recognition scenario provided by an embodiment of the present disclosure;

[0019] Figure 2 A schematic diagram of a flow chart of a touch detection method provided by an embodiment of the present disclosure;

[0020] Figure 3 A schematic diagram of capacitance values ​​of a touch screen in different states provided by an embodiment of the present disclosure;

[0021] Figure 4 A schematic flow chart of a touch detection method provided by another embodiment of the present disclosure;

[0022] Figure 5 A schematic flow chart of a touch detection method provided by another embodiment of the present disclosure;

[0023] Figure 6 A schematic flow chart of a touch detection method provided by another embodiment of the present disclosure;

[0024] Figure 7A schematic structural diagram of a touch detection device provided in an embodiment of the present disclosure;

[0025] Figure 8 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0026] The following describes in detail embodiments of the present disclosure, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.

[0027] The touch detection method, device, electronic device, and storage medium according to the embodiments of the present disclosure are described below with reference to the accompanying drawings.

[0028] Currently, electronic devices using capacitive touch screens, such as mobile phones, may experience ghost points in scenarios such as charging, radio frequency interference, and calibration anomalies. Figure 1 As shown, Figure 1 This is a schematic diagram of a touch screen ghost point recognition scenario provided in an embodiment of the present disclosure, wherein a ghost point is an abnormal point that is not touched by the user but is recognized by the touch screen integrated circuit (Touch Integrated Circuit, Touch IC), which may cause the touch screen to be unable to respond to user input or automatic sliding and clicking, affecting the user experience.

[0029] In response to the above-mentioned problems, the present disclosure proposes a touch detection method. During the touch screen process, after the touch screen integrated circuit Touch IC detects a change in the capacitance value of a certain position on the touch screen and exceeds a change threshold, it obtains the coordinates, temperature and other data of the position and performs analysis and processing. If the position is not a touch position, the baseline value is recalibrated, thereby providing conditions for reducing the frequency of touch point ghost points, improving the reliability and accuracy of touch detection, and enhancing the user experience.

[0030] Figure 2 A schematic flow chart of a touch detection method provided by an embodiment of the present disclosure.

[0031] The embodiment of the present disclosure is described by taking the touch detection method configured in a touch detection device as an example. The touch detection device can be applied to any electronic device to enable the electronic device to perform a touch detection function.

[0032] like Figure 2 As shown, the touch detection method may include the following steps:

[0033] Step 201 : When it is detected that a capacitance change value corresponding to any position on the touch screen is greater than a first change threshold, a current first temperature value of any position is obtained.

[0034] The first change threshold is a critical value of capacitance change when any position on the touch screen is touched. It can be preset or determined by the touch detection device according to the performance of the touch screen. This disclosure does not limit this.

[0035] The following combination Figure 3 , the principle of the capacitance change value corresponding to each position of the touch screen is explained. Figure 3 As shown, Figure 3 This is a schematic diagram of the capacitance values ​​of the touch screen in different states provided by the embodiment of the present disclosure. Figure 3 The capacitance values ​​shown in the "Baseline Value" graph are the capacitance values ​​of each position on the touch screen in a non-touch state; the capacitance values ​​shown in the "Raw Data" graph are the capacitance values ​​corresponding to each position obtained by real-time detection of the touch screen; and the "Change Value" is the difference between the "Raw Data" and the "Baseline Value" of each position.

[0036] In the present disclosure, when the touch screen integrated circuit Touch IC detects that the capacitance change value at any position in the touch screen is greater than a first change threshold, it can determine the coordinates of the any position and obtain the current first temperature value of the any position through the temperature measuring device built into the touch screen (such as a temperature sensor), and then report the coordinate information and the first temperature value of the any position to the touch screen driver.

[0037] Step 202: Determine whether any position is a touch position according to the first temperature value.

[0038] In the present disclosure, after receiving the coordinates of any position and the first temperature value, the touch screen driver may analyze and process the first temperature value of any position to determine whether the position is a touch position.

[0039] In some possible implementations, any position is determined to be a touch position when a difference between a first temperature value and at least one second temperature value is greater than or equal to a difference threshold.

[0040] The second temperature value is the current temperature value of the reference position whose corresponding capacitance change value is less than the second change threshold.

[0041] The second change threshold is a critical capacitance value for determining that any position on the touch screen is not touched. It may be preset or determined by the touch detection device according to the performance of the touch screen, and this disclosure does not limit this.

[0042] The second change threshold may be the same as the first change threshold, or may be different from the first change threshold. For example, the second change threshold may be a value smaller than the first change threshold, which is not limited in the present disclosure.

[0043] The reference position is a position on the touch screen other than the position corresponding to the first temperature value.

[0044] Among them, the difference threshold is a temperature critical value used to determine whether a certain position has generated a temperature change due to being touched. It can be pre-set or determined by the touch detection device based on the current ambient temperature, etc. This disclosure does not limit this.

[0045] In the present disclosure, when the difference between the first temperature value and at least one second temperature value is greater than or equal to the difference threshold, it can be considered that the capacitance change at any position is caused by being touched. At this time, any position can be determined as a touch position.

[0046] In some possible implementations, when the difference between the first temperature value and at least one second temperature value is less than a difference threshold, it can be considered that the capacitance change at any position is not caused by being touched. In this case, any position can be determined as a non-touch position.

[0047] Step 203 : When any position is not a touch position, calibrate the baseline value of the touch screen to obtain a calibrated baseline value.

[0048] In the present disclosure, when any position is not a touch position, it can be considered that any position is not a position touched by the user, that is, the capacitance change value at this time is greater than the first change threshold, which is caused by other reasons. At this time, in order to minimize the frequency of abnormal touch detection, the baseline value of the touch screen can be calibrated to obtain the calibrated baseline value.

[0049] It should be noted that if any position is not a touch position, the touch screen driver will not report this position to the framework layer to avoid touch screen malfunction, ghost points, etc. In addition, the touch screen driver will notify the TouchIC to recalibrate the touch screen baseline value.

[0050] In the disclosed embodiment, when a capacitance change corresponding to any location on the touch screen is detected to be greater than a first change threshold, the current first temperature value of the location is obtained. Based on the first temperature value, whether the location is a touch location is determined. If the location is not a touch location, the baseline value of the touch screen is calibrated to obtain a calibrated baseline value. Thus, by monitoring capacitance changes and temperature changes at various locations on the touch screen to determine whether the location is a touch location, and triggering a calibration of the touch screen baseline value if a detection anomaly is determined at any location, touch detection anomalies are effectively avoided, the reliability and accuracy of touch detection results are improved, and the user experience is enhanced.

[0051] Figure 4 A flow chart of a touch detection method provided by an embodiment of the present disclosure is shown as follows: Figure 4 As shown, the touch detection method may include the following steps:

[0052] Step 401 : When it is detected that a capacitance change value corresponding to any position on the touch screen is greater than a first change threshold, a current first temperature value of any position is obtained.

[0053] The specific implementation of step 401 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.

[0054] Step 402: Obtain the temperature value of the current environment of the touch screen.

[0055] In the present disclosure, after obtaining the current first temperature value of any position, the temperature value of the environment where the touch screen is currently located can be obtained.

[0056] It should be noted that, depending on the current environment in which the touch screen is located, the corresponding temperature values ​​may be the same or different, and this disclosure does not limit this.

[0057] Step 403: Determine a preset temperature range according to the ambient temperature.

[0058] The preset temperature range is a temperature range used to determine whether any position is a touch position. It can be pre-set or determined by the touch detection device according to the current ambient temperature. This disclosure does not limit this.

[0059] It should be noted that, depending on the temperature value of the environment in which the touch screen is currently located, the determined preset temperature range may be the same or different, and this disclosure does not limit this.

[0060] Step 404 : When the first temperature value falls within a preset temperature range, determine any position as a touch position.

[0061] In the present disclosure, when the first temperature value falls within a preset temperature range, it can be considered that the capacitance change at any position corresponding to the first temperature value is caused by being touched. In this case, the any position can be determined as a touch position.

[0062] It should be noted that when any of these positions is a touch position, the touch screen driver can report this position to the framework layer, and then the framework layer can send the reported position to the corresponding application (Application, APP) window through judgment, and the APP will use the touch position.

[0063] In the disclosed embodiment, when a capacitance change corresponding to any location on the touch screen is detected to be greater than a first change threshold, the current first temperature value of the location is first obtained. Then, the temperature value of the environment in which the touch screen is currently located is obtained. Based on the temperature value of the environment, a preset temperature range is determined. Finally, if the first temperature value falls within the preset temperature range, the location is determined to be a touch location. Thus, by determining whether a location is a touch location based on the relationship between the current temperature value of a location on the touch screen and the preset temperature range, the efficiency and reliability of touch detection results are improved.

[0064] Figure 5 A flow chart of a touch detection method provided by an embodiment of the present disclosure is shown as follows: Figure 5 As shown, the touch detection method may include the following steps:

[0065] Step 501 : When it is detected that a capacitance change value corresponding to any position on the touch screen is greater than a first change threshold, a current first temperature value of any position is obtained.

[0066] Step 502: Obtain the temperature value of the current environment of the touch screen.

[0067] Step 503: Determine a preset temperature range according to the ambient temperature.

[0068] The specific implementation of steps 501 to 503 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.

[0069] Step 504 : If the first temperature value does not fall within a preset temperature range, determine that any position is a non-touch position.

[0070] In the present disclosure, when the first temperature value does not fall within the preset temperature range, it can be considered that the capacitance change at any position corresponding to the first temperature value is not caused by being touched. In this case, the any position can be determined as a non-touch position.

[0071] Step 505 : When any position is not a touch position, calibrate the baseline value of the touch screen to obtain a calibrated baseline value.

[0072] The specific implementation of step 505 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.

[0073] In an embodiment of the present disclosure, when a capacitance change value corresponding to any position on the touch screen is detected to be greater than a first change threshold, a current first temperature value of the position is obtained, and then the temperature value of the environment in which the touch screen is currently located is obtained. A preset temperature range is then determined based on the temperature value of the environment. If the first temperature value does not fall within the preset temperature range, the position is determined to be a non-touch position. If the position is a non-touch position, the baseline value of the touch screen is calibrated to obtain a calibrated baseline value. Thus, by determining whether a position is a touch position based on the relationship between the current temperature value of any position on the touch screen and the preset temperature range, and triggering a calibration of the baseline value of the touch screen if a detection anomaly is determined at any position, the reliability and accuracy of the touch detection results are improved, thereby enhancing the user experience.

[0074] Figure 6 A flow chart of a touch detection method provided by an embodiment of the present disclosure is shown as follows: Figure 6 As shown, the touch detection method may include the following steps:

[0075] Step 601 : When it is detected that a capacitance change value corresponding to any position on the touch screen is greater than a first change threshold, a current first temperature value of any position is obtained.

[0076] Step 602: Determine whether any position is a touch position according to the first temperature value.

[0077] The specific implementation of steps 601 to 602 can refer to the detailed description of other embodiments of the present disclosure and will not be repeated here.

[0078] Step 603 : When any position is not a touch position, obtain the third temperature value currently corresponding to each position on the touch screen.

[0079] In the present disclosure, when any position is not a touch position, the temperature values ​​currently corresponding to each position in the touch screen can be obtained.

[0080] Step 604 : When the third temperature values ​​are within the preset temperature range, or when the differences between the third temperature values ​​are less than the difference threshold, the current capacitance value of each position is determined as the baseline value after touch screen calibration.

[0081] In the present disclosure, when each third temperature value is within a preset temperature range, or when the difference between each third temperature value is less than a difference threshold, it can be considered that each position in the touch screen is not touched. At this time, the current capacitance value of each position can be determined as the baseline value after calibration of the touch screen.

[0082] In an embodiment of the present disclosure, when a capacitance change value corresponding to any position on the touch screen is detected to be greater than a first change threshold, a current first temperature value of the position is obtained. Then, based on the first temperature value, whether the position is a touch position is determined. If the position is not a touch position, a current third temperature value corresponding to each position on the touch screen is obtained. If each third temperature value is within a preset temperature range, or if the difference between each third temperature value is less than a difference threshold, the current capacitance value of each position is determined as the baseline value of the touch screen after calibration. Thus, when any position is not a touch position, the baseline value of the touch screen is calibrated based on the current capacitance value and temperature value of each position on the touch screen, thereby reducing the frequency of touch detection anomalies and improving the accuracy of touch detection results.

[0083] In order to implement the above embodiments, the present disclosure further provides a touch detection device.

[0084] Figure 7 This is a schematic diagram of the structure of the touch detection device provided by an embodiment of the present disclosure.

[0085] like Figure 7 As shown, the touch detection device 700 may include: an acquisition module 701 , a determination module 702 , and a calibration module 703 .

[0086] An acquisition module 701 is configured to acquire a current first temperature value at any position on the touch screen when a capacitance change value corresponding to any position on the touch screen is detected to be greater than a first change threshold;

[0087] A determination module 702 is configured to determine whether any position is a touch position according to the first temperature value;

[0088] The calibration module 703 is configured to calibrate the baseline value of the touch screen when any position is not a touch position, so as to obtain a calibrated baseline value.

[0089] Optionally, the determining module 702 is specifically configured to:

[0090] When the first temperature value falls within a preset temperature range, determining any position as a touch position; or

[0091] When the first temperature value does not fall within the preset temperature range, any position is determined to be a non-touch position.

[0092] Optionally, before determining whether any position is a touch position according to the first temperature value, the determining module 702 is further configured to:

[0093] Get the temperature value of the touch screen's current environment;

[0094] Determine the preset temperature range based on the ambient temperature value.

[0095] Optionally, the determining module 702 is specifically configured to:

[0096] If the difference between the first temperature value and at least one second temperature value is greater than or equal to a difference threshold, determining any position as a touch position; or

[0097] determining any position as a non-touch position when a difference between the first temperature value and at least one second temperature value is less than a difference threshold;

[0098] The second temperature value is the current temperature value of the reference position whose corresponding capacitance change value is less than the second change threshold.

[0099] Optionally, the calibration module 703 is specifically configured to:

[0100] Obtain the third temperature value currently corresponding to each position of the touch screen;

[0101] When the third temperature values ​​are all within the preset temperature range, or when the differences between the third temperature values ​​are all less than the difference threshold, the current capacitance value of each position is determined as the baseline value after touch screen calibration.

[0102] The functions and specific implementation principles of the above modules in the embodiments of the present disclosure can be referred to the above method embodiments and will not be repeated here.

[0103] The touch detection device of the disclosed embodiment, when detecting that the capacitance change value corresponding to any position on the touch screen is greater than a first change threshold, obtains the current first temperature value of any position, then determines whether the position is a touch position based on the first temperature value. If any position is not a touch position, the touch screen baseline value is calibrated to obtain a calibrated baseline value. Thus, by determining whether a position is a touch position based on monitoring capacitance changes and temperature changes at each position on the touch screen, and triggering calibration of the touch screen baseline value if a detection anomaly is determined at any position, touch detection anomalies are effectively avoided, the reliability and accuracy of touch detection results are improved, and the user experience is enhanced.

[0104] In order to implement the above embodiments, the present disclosure further proposes an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the touch detection method proposed in the above embodiments of the present disclosure is implemented.

[0105] In order to implement the above embodiments, the present disclosure further proposes a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the touch detection method proposed in the above embodiments of the present disclosure is implemented.

[0106] Figure 8 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. Figure 8 The electronic device 12 shown is only an example and should not limit the functionality and scope of use of the embodiments of the present disclosure.

[0107] like Figure 8 As shown, electronic device 12 is implemented as a general-purpose computing device. Components of electronic device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and a bus 18 that connects various system components (including system memory 28 and processing unit 16).

[0108] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnection (PCI) bus.

[0109] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.

[0110] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be configured to read and write non-removable, non-volatile magnetic media ( Figure 8 Not shown, often called a "hard drive"). Although Figure 8 Although not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a Compact Disc Read Only Memory (hereinafter referred to as: CD-ROM), a Digital Video Disc Read Only Memory (hereinafter referred to as: DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments of the present disclosure.

[0111] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 42 generally implement the functions and / or methods of the embodiments described herein.

[0112] The electronic device 12 can also communicate with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and / or any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). This communication can occur via an input / output (I / O) interface 22. Furthermore, the electronic device 12 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that, although not shown, other hardware and / or software modules can be used in conjunction with the electronic device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0113] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28 , such as implementing the methods mentioned in the above embodiments.

[0114] The disclosed technical solution, when detecting a capacitance change at any location on the touch screen that is greater than a first change threshold, obtains the current first temperature value of the location. Based on the first temperature value, the system then determines whether the location is a touch location. If the location is not a touch location, the system calibrates the touch screen's baseline to obtain a calibrated baseline value. Thus, by monitoring capacitance changes and temperature changes at each location on the touch screen to determine whether the location is a touch location, and triggering a baseline calibration if a detection anomaly is detected at any location, the system effectively avoids touch detection anomalies, improves the reliability and accuracy of touch detection results, and enhances the user experience.

[0115] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and features of different embodiments or examples, unless they are mutually inconsistent.

[0116] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. Throughout the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0117] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.

[0118] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and a portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing it in another suitable manner if necessary, and then storing it in a computer memory.

[0119] It should be understood that various parts of the present disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0120] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.

[0121] In addition, the functional units in the various embodiments of the present disclosure may be integrated into a single processing module, or each unit may exist physically separately, or two or more units may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.

[0122] The storage medium mentioned above may be a read-only memory, a magnetic disk, or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. A person of ordinary skill in the art may make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.

Claims

1. A touch detection method, characterized in that: include: When it is detected that the capacitance change value corresponding to any position on the touch screen is greater than a first change threshold, obtaining a current first temperature value of the any position; determining, according to the first temperature value, whether any of the positions is a touch position; In a case where any of the positions is not a touch position, the baseline value of the touch screen is calibrated to obtain a calibrated baseline value.

2. The method according to claim 1, wherein The determining, based on the first temperature value, whether any one of the positions is a touch position includes: In the case where the first temperature value falls within a preset temperature range, determining the any position as a touch position; or, When the first temperature value does not fall within a preset temperature range, the any position is determined to be a non-touch position.

3. The method according to claim 2, wherein Before determining whether any position is a touch position according to the first temperature value, the method further includes: Obtaining the temperature value of the current environment of the touch screen; The preset temperature range is determined according to the temperature value of the environment.

4. The method according to claim 1, wherein The determining, based on the first temperature value, whether any one of the positions is a touch position includes: In a case where the difference between the first temperature value and at least one second temperature value is greater than or equal to a difference threshold, determining the any one position as a touch position; or, determining that any one of the positions is a non-touch position when a difference between the first temperature value and at least one second temperature value is less than a difference threshold; The second temperature value is the current temperature value of the reference position whose corresponding capacitance change value is less than the second change threshold.

5. The method according to any one of claims 1 to 4, characterized in that: The step of calibrating the baseline value of the touch screen to obtain a calibrated baseline value includes: Obtaining a third temperature value currently corresponding to each position of the touch screen; When the third temperature values ​​are all within a preset temperature range, or when the differences between the third temperature values ​​are all less than a difference threshold, the current capacitance value of each position is determined as the baseline value of the touch screen after calibration.

6. A touch detection device, characterized in that: The device comprises: an acquisition module, configured to acquire a current first temperature value of any position on the touch screen when a capacitance change value corresponding to the any position on the touch screen is detected to be greater than a first change threshold; a determination module, configured to determine whether any of the positions is a touch position according to the first temperature value; The calibration module is used to calibrate the baseline value of the touch screen when any of the positions is not a touch position, so as to obtain a calibrated baseline value.

7. The device according to claim 6, characterized in that The determining module is specifically configured to: In the case where the first temperature value falls within a preset temperature range, determining the any position as a touch position; or, When the first temperature value does not fall within a preset temperature range, the any position is determined to be a non-touch position.

8. The device according to claim 7, wherein Before determining whether any position is a touch position according to the first temperature value, the determining module is further configured to: Obtaining the temperature value of the current environment of the touch screen; The preset temperature range is determined according to the temperature value of the environment.

9. The device according to claim 6, wherein The determining module is specifically configured to: In a case where the difference between the first temperature value and at least one second temperature value is greater than or equal to a difference threshold, determining the any one position as a touch position; or, determining that any one of the positions is a non-touch position when a difference between the first temperature value and at least one second temperature value is less than a difference threshold; The second temperature value is the current temperature value of the reference position whose corresponding capacitance change value is less than the second change threshold.

10. The device according to any one of claims 6 to 9, characterized in that: The calibration module is specifically used for: Obtaining a third temperature value currently corresponding to each position of the touch screen; When the third temperature values ​​are all within a preset temperature range, or when the differences between the third temperature values ​​are all less than a difference threshold, the current capacitance value of each position is determined as the baseline value of the touch screen after calibration.

11. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the touch detection method according to any one of claims 1 to 5 is implemented.

12. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the touch detection method according to any one of claims 1 to 5 is implemented.

Citation Information

Cited By

  • Wake-up method and device of touch panel, equipment and medium

    CN121722268A

  • A wake-up method, device, apparatus and medium of a touch panel

    CN121722268B