Touch detection method and device of display panel and electronic equipment

By using a combination of different sampling frequencies during idle and working periods, the false alarm points and response time or power consumption problems in the existing touch detection methods are solved, and more efficient and accurate acquisition of touch position information is achieved, improving the user experience.

CN120447777APending Publication Date: 2025-08-08BOE TECHNOLOGY GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510536189.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-25
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The existing touch detection methods are susceptible to noise interference, resulting in false alarm points, affecting the user's touch experience, and the touch response time or power consumption cannot meet user needs at the same time.

Method used

Touch sampling is performed using a sampling frequency higher than that in the idle time period, and a higher sampling frequency is used during the working period. If a signal is sampled within multiple cycles, the touch position information is obtained.

Benefits of technology

It improves the accuracy and efficiency of touch position information, reduces false alarm points, meets users' needs for touch response time, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120447777A_ABST
    Figure CN120447777A_ABST
Patent Text Reader

Abstract

The invention discloses a touch detection method and device for a display panel, and the method comprises the steps: carrying out the touch sampling in at least two first sampling periods through employing a first sampling frequency after determining that a touch signal is detected in an idle time period; and if the touch signal is sampled by using the first sampling frequency in the at least two first sampling periods, obtaining touch position information on the display panel. According to the technical scheme, false alarm points in the touch detection process can be effectively reduced, and therefore the touch experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of display detection technology, and in particular relates to a touch detection method, device, and electronic device for a display panel. Background Art

[0002] When a user touches the display panel with a finger or stylus, a touch signal is generated. This signal is then detected and analyzed by the operating system, which in turn notifies the currently running application to perform the corresponding operation. However, existing touch detection methods are susceptible to noise interference when detecting touch signals, resulting in false positives, which in turn affects the user's touch experience. Summary of the Invention

[0003] The present application provides a touch detection method, device, and electronic device for a display panel, which can effectively reduce false alarm points during the touch detection process, thereby improving the user's touch experience.

[0004] In a first aspect, the present application provides a touch detection method for a display panel, comprising:

[0005] After determining that a touch signal is detected during an idle time period, touch sampling is performed using a first sampling frequency in at least two first sampling periods, where the first sampling frequency is higher than a second sampling frequency for touch sampling during the idle time period and a third sampling frequency for touch sampling during the working time period;

[0006] If the touch signal is sampled using the first sampling frequency in at least two first sampling periods, the touch position information on the display panel is acquired.

[0007] In some embodiments, the above-mentioned determination that a touch signal is detected during an idle time period includes:

[0008] During the idle time period, touch sampling is performed using the second sampling frequency, and a touch signal is sampled.

[0009] In some embodiments, the sum of the at least two first sampling periods and the sampling time of touch sampling performed using the second sampling frequency is less than or equal to a preset touch response time threshold.

[0010] In some embodiments, the sampling time for performing touch sampling using the second sampling frequency is two second sampling periods corresponding to the second sampling frequency.

[0011] In some embodiments, the number of the first sampling periods is two, and performing touch sampling using the first sampling frequency in at least two first sampling periods includes:

[0012] Sampling the touch signal using a first sampling frequency to obtain a first sampling result, and determining whether the first sampling result reaches a preset touch threshold;

[0013] When the first sampling result reaches a preset touch threshold, first touch position information is acquired, and touch sampling is performed on the touch signal using the first sampling frequency to obtain a second sampling result;

[0014] When the second sampling result reaches a preset touch threshold, second touch position information is acquired.

[0015] In some embodiments, the step of obtaining the touch position information on the display panel includes:

[0016] The touch position information on the display panel is acquired according to the first touch position information and / or the second touch position information.

[0017] In some embodiments, the step of acquiring the touch position information on the display panel based on the first touch position information and / or the second touch position information includes:

[0018] Determine that the second touch position information is touch position information on the display panel, or,

[0019] A position average is obtained according to the first touch position information and the second touch position information, and the position average is used as the touch position information on the display panel.

[0020] In some embodiments, after a touch signal is detected during an idle time period, the above determination further includes:

[0021] Make sure the display panel's operating mode enters a high touch reporting rate requirement mode.

[0022] In a second aspect, an embodiment of the present application further provides a touch detection device for a display panel, comprising:

[0023] a touch detection module, configured to determine, after detecting a touch signal during an idle time period, to perform touch sampling using a first sampling frequency in at least two first sampling periods, the first sampling frequency being higher than a second sampling frequency for performing touch sampling during the idle time period and a third sampling frequency for performing touch sampling during the working time period;

[0024] The touch position determination module is configured to obtain touch position information on the display panel if a touch signal is sampled using the first sampling frequency within at least two first sampling periods.

[0025] In a third aspect, an embodiment of the present application further provides an electronic device, including a processor and a memory, wherein the memory stores computer instructions, and the processor executes the computer instructions in the memory to perform a method as described in any one of the above embodiments.

[0026] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the method described in any one of the above embodiments is implemented.

[0027] In a fifth aspect, an embodiment of the present application further provides a computer program product, which, when executed by a processor, implements a method as described in any one of the above embodiments.

[0028] In an embodiment of the present application, after a touch signal is detected during an idle time period, touch sampling is performed within multiple first sampling cycles using a first sampling frequency. The first sampling frequency is higher than a second sampling frequency for touch sampling during the idle time period and a third sampling frequency for touch sampling during the working time period. If touch signals are sampled in all cases, touch position information on the display panel is obtained, which can simultaneously improve the accuracy and efficiency of the obtained touch position information, thereby effectively reducing false alarm points in the touch detection process while meeting the user's requirements for touch response time, thereby improving the user's touch experience. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0030] Figure 1 A schematic flow chart of a touch detection method for a display panel provided in an embodiment of the present application;

[0031] Figure 2A is a schematic diagram of a conventional first touch response time using a conventional frequency combination;

[0032] Figure 2B is a schematic diagram of another existing first touch response time using a conventional frequency combination;

[0033] Figure 2C is a schematic diagram of another conventional first touch response time using a conventional frequency combination;

[0034] Figure 3A A schematic diagram of an existing low-latency frequency combination;

[0035] Figure 3B is a schematic diagram of another existing low-latency frequency combination;

[0036] Figure 3C A schematic diagram of a low-latency frequency combination provided in an embodiment of the present application;

[0037] Figure 4 A schematic diagram of a process for obtaining touch position information on a display panel provided in an embodiment of the present application;

[0038] Figure 5 A schematic diagram of a process for obtaining touch position information on a display panel using an existing touch detection method;

[0039] Figure 6 A schematic diagram of a process for obtaining touch position information on a display panel using another existing touch detection method;

[0040] Figure 7 A schematic diagram of a process for obtaining touch position information on a display panel provided in an embodiment of the present application;

[0041] Figure 8 A schematic structural diagram of a touch detection device for a display panel provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in some embodiments of the present application. Obviously, the embodiments described are only some embodiments of the present application, not all embodiments. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0043] Unless the context requires otherwise, throughout the specification and claims, the term "comprising" is to be construed in an open, inclusive sense, that is, meaning "including, but not limited to."

[0044] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.

[0045] When describing some embodiments, the word "connected" and its derivatives may be used. The term "connected" should be understood broadly. For example, "connected" can mean fixed connection, detachable connection, or integration; it can be directly connected or indirectly connected through an intermediate medium. For example, when describing some embodiments, the term "connected" may be used to indicate that two or more components are in direct physical or electrical contact with each other.

[0046] Additionally, the use of “based on” is meant to be open and inclusive, as a process, step, calculation, or other action “based on” one or more stated conditions or values may, in practice, be based on additional conditions or values beyond those stated.

[0047] It should be understood that the various steps described in the method embodiments of the present application can be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.

[0048] As described in the background art, existing methods for detecting touch signals on display panels have drawbacks. Specifically, these methods are susceptible to interference from various factors during the detection of touch signals from display panels, such as noise, electromagnetic interference, ambient temperature, and humidity. This can lead to false positives, severely impacting the accuracy of touch operations and, in turn, the user's touch experience.

[0049] In addition, touch response time can be used to evaluate device performance. However, when using the above-mentioned touch detection method of the display panel for touch detection, there are two situations. First, the response time may be too long, which cannot meet the user's needs in games, drawing, and other interactive applications that require instant response. Second, although the touch response time meets the user's needs, the overall power consumption of the device is relatively large, which will weaken the overall performance of the device, such as shortening battery life, thereby further affecting the user's actual usage experience.

[0050] Therefore, in an embodiment of the present application, a technical solution is provided that can reduce false alarm points in the touch detection process, thereby improving the user touch experience. In this technical solution, after a touch signal is detected in an idle time period, sampling is performed within multiple first sampling periods using a first sampling frequency. If touch signals are sampled, the touch position information on the display panel is obtained. Figure 1 A flow chart of a touch detection method for a display panel provided in an embodiment of the present application is shown as follows: Figure 1 As shown, the following steps are included:

[0051] Step 101: After a touch signal is detected during an idle time period, touch sampling is performed using a first sampling frequency in at least two first sampling periods, where the first sampling frequency is higher than a second sampling frequency for touch sampling during the idle time period and a third sampling frequency for touch sampling during the working time period.

[0052] The idle time period in this step refers to the time period during which the display panel automatically enters a low-power state when the user is not interacting with the display panel, that is, the time period in which it is in idle mode. During this time period, various components of the display panel, such as the processor and touch sensor, will operate at a lower power level to reduce overall power consumption. The touch signal is an electrical signal that is obtained when a touch sensor, such as a capacitive sensor, detects and converts the touch action when a user touches the display panel with a finger or a stylus. The first sampling period refers to a continuous time period during which touch sampling is performed at a first sampling frequency after a touch signal is detected during the idle time period of the display panel. The first sampling frequency is used to continue touch sampling of touch signals detected during the idle time period and has a higher set value. The second sampling frequency refers to the frequency at which touch sampling is performed during the idle time period of the display panel. The working time period refers to the time period during which the display panel is in a higher power consumption state to meet user needs when the user is interacting with the display panel, that is, the time period in working mode. The third sampling frequency refers to the frequency at which touch sampling is performed during the working time period of the display panel. There is a certain relationship between the above-mentioned sampling frequencies, that is, the first sampling frequency is higher than the third sampling frequency, and the third sampling frequency is higher than the second sampling frequency. The values of these sampling frequencies can be flexibly set according to the actual needs of the user and the application scenario of the display panel. For example, when the display panel is used in a gaming scenario, the first sampling frequency can be set to 1500Hz, the second sampling frequency is set to 120Hz, and the third sampling frequency is set to 240Hz or 480Hz. There is also a certain mathematical relationship between the above-mentioned sampling frequency and sampling period, that is, the value of the sampling period is the reciprocal of the sampling frequency. For example, when the first sampling frequency is 1500Hz, the value of the first sampling period is 1 / 1500.

[0053] Step 102: If a touch signal is sampled using the first sampling frequency within at least two first sampling periods, then touch position information on the display panel is obtained.

[0054] Based on step 101, when the touch signal is sampled within at least two first sampling periods using the first sampling frequency, if the touch signal is sampled within both first sampling periods, touch position information on the display panel, i.e., position information of the user's contact with the display panel, is obtained based on the touch signal. For example, if the touch signal is sampled within both first sampling periods using the first sampling frequency, position information of the user's contact with the display panel is obtained using the touch signal. This position information refers to the position information of the point of contact between the user's finger or stylus and the display panel, as reported by the system, and includes the coordinates of the contact point.

[0055] It can be seen that in the embodiment of the present application, after determining that a touch signal is detected during an idle time period, touch sampling is performed within multiple first sampling periods using a first sampling frequency. If touch signals are sampled, touch position information on the display panel is obtained, which can simultaneously improve the accuracy and efficiency of the obtained touch position information, thereby effectively reducing false alarm points in the touch detection process while also meeting the user's requirements for touch response time, thereby improving the user's touch experience.

[0056] In an embodiment of the present application, when a touch signal is sampled using a first sampling frequency within at least two first sampling periods, the value of the first sampling frequency used within each first sampling period may be the same or different. When the value of the first sampling frequency used within each first sampling period is the same, the value of the driving frequency within each first sampling period is also the same; when the value of the first sampling frequency within each first sampling period is different, the value of the driving frequency within each first sampling period is also different, and in this case, its value is the same as the value of the first sampling frequency within the same sampling period. In addition, if the value of the first sampling frequency within each first sampling period is different, multiple first sampling periods are combined to meet the user's touch response time requirements. For example, if the first sampling frequency can be set to 1500Hz and 1600Hz respectively, the above-mentioned first sampling frequency can be used for sampling in two consecutive first sampling periods. In this case, 1500Hz is used for sampling in one first sampling period, and 1600Hz is used for sampling in the other first sampling period. However, if the first sampling frequency can be set to 1500Hz, 800Hz and 800Hz respectively, the above-mentioned first sampling frequency can be used for sampling in three consecutive first sampling periods. In this case, 1500Hz is used for sampling in one first sampling period, and 800Hz is used for sampling in the remaining first sampling periods. The specific value of the above-mentioned first sampling frequency can be flexibly set according to the needs of the user and the application scenarios of the device. In this way, the sampling frequency and the number of sampling periods can be adjusted more flexibly to meet the ever-changing market demands and user expectations.

[0057] The number of the first sampling cycles mentioned above is not fixed but can be flexibly set based on user needs and the application scenario of the display panel. This means that while the user's requirements for touch response speed and accuracy are met, the device's power consumption can also be effectively controlled to avoid unnecessary energy waste. By properly setting the number of sampling cycles, it is possible to optimize device power consumption while ensuring touch performance, providing users with a more efficient and energy-saving user experience. For example, the first sampling cycle can be set to 2 to 4.

[0058] In an embodiment of the present application, touch signal detection is performed during an idle period, and when it is determined that the touch signal is detected, touch sampling of the touch signal can be performed using a second sampling frequency during the idle period of the display panel to complete the touch signal detection. Specifically, when a user touches the display panel with a finger or stylus, the system immediately starts touch sampling at the second sampling frequency until a touch signal is sampled, ensuring that any subtle changes in the touch signal are not missed. For example, if the second sampling frequency is 120Hz, when a user's finger touches the display panel, the system immediately begins touch signal sampling at a frequency of 120 times per second. Once a touch signal is sampled, touch signal detection during the idle period ends.

[0059] In an embodiment of the present application, after a touch signal is detected during an idle period of the display panel, and before touch sampling has been performed using the first sampling frequency for at least two first sampling periods, the operating mode of the display panel can be switched to accommodate user needs. Specifically, the system switches the display panel from the idle mode during the idle period to a high touch reporting rate demand mode. The high touch reporting rate demand mode is a specific operating mode of the display panel. In this operating mode, a higher sampling frequency, i.e., the first sampling frequency, can be used to sample the touch signal, to meet user needs for response speed, accuracy, and overall user experience.

[0060] Typically, when a user interacts with a display panel, they experience a touch response time, also known as touch press delay. This touch response time refers to the time interval between when the user's finger or stylus touches the display panel surface and when the operating system recognizes and begins to process the touch event. In simple terms, it is the time required for the touch input to be sensed by the hardware and converted into a signal that the software can understand. The touch response time generally includes the following stages: (1) physical contact, when the user touches the display panel with a finger or stylus; (2) sensor detection, when the sensor under the display panel detects the touch event, such as a capacitive sensor or other type of sensor; (3) signal conversion, when the sensor detects the touch event, it immediately converts the user's physical contact into an electrical signal; (4) data processing, when the converted electrical signal is transmitted to the processor, and the operating system receives and analyzes the electrical signal; (5) application response, when the operating system notifies the running application of the touch event, and the application then performs the corresponding operation according to the user's instructions. The above-mentioned touch response time is an important indicator for evaluating the user experience of a display panel, such as a display panel. Its length directly affects the response speed, operation smoothness and competitive advantage of the touch device. For example, a shorter touch response time means that the display panel can respond to user operations faster, which is especially important for games, drawing and other interactive application scenarios that require timely feedback.

[0061] Therefore, the above-mentioned display panel can be evaluated by calculating the first touch response time of the display panel to determine whether it meets the needs of the user. The above-mentioned first touch response time refers to the time required for the touch input of the user's first contact with the display panel to be sensed by the hardware and converted into a signal that the software can understand, that is, the time for sampling the touch signal in the idle time period, and the sum of the time for sampling in at least two sampling cycles after the display panel switches to the working mode, that is, the working time period. The sampling frequency used by the display panel is different, and the calculated first touch response time is also different. The sampling frequency combinations used by existing display panels include conventional combinations and low-latency combinations. For example, if the display panel uses a conventional combination of sampling frequencies, and samples two cycles in both the idle time period and the working time period, the following three situations are included:

[0062] In the first case, the sampling frequency of the display panel in idle mode is 120Hz, and the sampling frequency of the display panel in working mode is 360Hz, which can be expressed as Idle 120Hz+Active 360Hz. At this time, the first touch response time About 22ms, such as Figure 2A The idle mode is the operating mode of the display panel during the idle period, and the working mode is the operating mode of the display panel during the working period. The two modes can be represented by Idle and Active respectively.

[0063] In the second case, the sampling frequency of the display panel in idle mode is 120Hz, and the sampling frequency of the display panel in working mode is 240Hz, which can be expressed as Idle 120Hz+Active 240Hz. At this time, the first touch response time is is 25ms, such as Figure 2B shown.

[0064] In the third case, the sampling frequency of the display panel in idle mode is 120Hz, and the sampling frequency of the display panel in working mode is 1000Hz, which can be expressed as Idle 120Hz+Active 1000Hz. At this time, the first touch response time is About 18.6ms, such as Figure 2C shown.

[0065] If the first touch response time of the display panel is determined to be less than or equal to 20ms based on user needs, then only the third case meets the user's needs. However, in the third case, the display panel in working mode continues to perform touch sampling at a frequency of 1000Hz, which will cause its power consumption to far exceed the user's power consumption specification requirements, which will lead to a decrease in the battery life of the entire device and affect the user experience.

[0066] If the display panel uses a low-latency sampling frequency combination, there are three cases:

[0067] In the first case, when two cycles are sampled in both the idle time period and the working time period, and the sampling frequency of the display panel in the idle mode is 120H, the sampling frequency of the display panel in the working time period is 1500Hz in the high touch reporting rate demand mode, and the sampling frequency in other working time periods is 480Hz, at this time, the first touch response time is is 18ms, such as Figure 3A The idle mode is the operating mode of the display panel during the idle period, and the high touch reporting rate demand mode is the specific operating mode of the display panel during the working period. The above two modes can be represented by Idle and Ultra-Active Mode respectively.

[0068] In the second case, when two cycles are sampled in both the idle time period and the working time period, and the sampling frequency of the display panel in the idle mode is 120H, the sampling frequency of the display panel in the working time period is 1500Hz in the high touch reporting rate demand mode, and the sampling frequency of other working time periods is 240Hz, at this time, the first touch response time is is 18ms, such as Figure 3B shown.

[0069] If the display panel's first touch response time is determined to be less than or equal to 20ms based on user requirements, both of the above scenarios meet the user's needs. However, in both scenarios, because the display panel is in a high touch reporting rate demand mode, only single-frequency sampling is used, and the sampling time is extremely short. This results in inaccurate noise determination during this period, which is significantly affected by noise, thereby increasing the probability of generating false alarm points. The false alarm point system above reports the user's contact position with the display panel based on the sampled touch signal, such as a specific point on the display panel.

[0070] Therefore, in an embodiment of the present application, it is determined to use the second sampling frequency to sample the touch signal in the idle time period, and to use the first sampling frequency to sample the touch signal in at least two first sampling periods, that is, the third case. At this time, the first touch response time of the display panel is the sum of at least two first sampling periods and the sampling time of sampling using the second sampling frequency, and when the sum of the above time is less than or equal to the touch time threshold, it is determined that the user needs are met. The above touch response time threshold can be set according to user needs, the application scenario of the display panel, and the performance of the display panel. For example, when the touch response time threshold is set to 20ms, and the sampling frequency of the display panel in the idle mode is 120Hz, and the sampling frequency of the display panel in the high touch reporting rate demand mode in the four first sampling periods is 1500Hz, as shown in FIG. Figure 3C As shown, the first touch response time It is about 19.3ms. At this time, 19.3ms is less than 20ms, so it is considered that the display panel meets the user's needs and is less affected by noise.

[0071] Among various low-latency combination situations, the third situation, compared with the first and second situations, can not only meet the user's needs for fast response, but also effectively reduce noise interference, thereby ensuring that the feedback of subsequent touch point positions is more accurate, thereby improving the user's touch experience.

[0072] In an embodiment of the present application, when touch sampling is performed during the idle period of the display panel using the second sampling frequency, the sampling time of the above process can be controlled so that the ultimately calculated first touch response time of the display panel meets the user's requirements. Specifically, the sampling time for sampling using the second sampling frequency can be controlled to be two second sampling periods corresponding to the above second sampling frequency. The above second sampling period refers to a continuous period of time during which sampling is performed at the second sampling frequency during the idle period of the display panel.

[0073] In the embodiment of the present application, after sampling is performed using the first sampling frequency within two first sampling periods, the sampled touch signal can be used to perform subsequent operations, specifically, Figure 4 As shown, the following steps are included:

[0074] Step 401: Perform touch sampling on a touch signal using a first sampling frequency to obtain a first sampling result, and determine whether the first sampling result reaches a preset touch threshold;

[0075] After determining that a touch signal is detected during an idle period of the display panel, this step further switches to a high touch reporting rate demand mode and continuously samples the touch signal using a first sampling frequency within two first sampling periods to obtain a first sampling result. The first sampling result is then compared with a preset touch threshold to determine whether the first sampling result reaches the preset control threshold. The first sampling result refers to the amount of touch signal sampled within the first sampling period using the first sampling frequency. The first sampling result includes one or more touch signal quantities, and the amount of touch signal sampled each time can be different. The number of touch signal quantities included in the first sampling result is related to the first sampling frequency. For example, when the first sampling frequency is 1500 Hz, the touch signal can be sampled 1500 times, and the first sampling result can include 1500 touch signal quantities, and these touch signal quantities can be different. The touch threshold is a critical value used to distinguish valid touch signals from noise interference. It can be set according to the characteristics of the display panel and the application scenario, and may vary depending on the device, driver, or operating system.

[0076] Step 402: When the first sampling result reaches a preset touch threshold, first touch position information is acquired, and touch sampling is performed on the touch signal using a first sampling frequency to obtain a second sampling result.

[0077] Based on step 401, when the touch signal quantities in the obtained first sampling results all reach the preset touch threshold, that is, the touch signal quantities are all greater than or equal to the preset touch threshold, first touch position information can be further obtained. Then, touch sampling is continued using the first sampling frequency in two first sampling periods to obtain a second sampling result. If the touch signal quantities in the first sampling results do not reach the preset touch threshold, touch signal detection is continued during the idle time period of the display panel. The first touch position information refers to the location information of the touch point, for example, coordinates A1, A2, and A3 of the touch point when the user's finger contacts the display panel. The second sampling result refers to the touch signal quantities sampled when the touch signal is continued to be sampled in two other first sampling periods using the same or different first sampling frequencies. The second sampling result includes one or more touch signal quantities, and the touch signal quantities sampled each time can be different. The number of touch signal quantities included in the second sampling result is also related to the first sampling frequency.

[0078] In an embodiment of the present application, the process of obtaining the first touch position information is as follows: when a user touches the display panel, the coupling capacitance between the electrodes changes, causing the value of the capacitor array to change. Then, the touch signal is sampled using a first sampling frequency. During this process, the change value of the capacitor array can be collected and a data matrix is generated based on it. Finally, the data matrix is processed using a corresponding algorithm, such as a centroid algorithm, to obtain the position information of the touch point, such as the first touch position information. The display panel is composed of multiple horizontal electrodes and vertical electrodes, which can form a capacitor array.

[0079] Step 403: When the second sampling result reaches a preset touch threshold, obtain second touch position information.

[0080] Based on step 402, the touch signal amount in the second sampling result is also compared with the preset touch threshold. When it reaches the preset touch threshold, that is, when it is greater than or equal to the preset touch threshold, the second touch position information can be further obtained. If the touch signal amount in the second sampling result does not reach the preset touch threshold, the touch signal detection continues during the idle time period of the display panel. The second touch position information refers to the position information of the touch point, for example, the coordinates B1, B2, and B3 of the touch point when the user's finger contacts the display panel. The process of obtaining the second touch position information is the same as the method of obtaining the first touch position information, and reference can be made to the above embodiment.

[0081] In the present application, after obtaining the first touch position information and the second touch position information in the above embodiment, the touch position information on the display panel can be further determined based on the above position information, that is, the position information of the touch point finally fed back by the system. Specifically, there are the following two situations:

[0082] In the first case, the touch position information on the display panel is obtained based only on the second touch position information. In this case, the last acquired second touch position information can be directly used as the touch position information of the display panel. For example, the coordinates B3 of the touch point last acquired in the second touch position information are used as the touch point position coordinates on the display panel and fed back.

[0083] In the second case, the touch position information on the display panel is obtained by combining the first touch position information and the second touch position information. Specifically, the first touch position information and the second touch position information are averaged to obtain a position average value, which is then used as the touch position information on the display panel. For example, the coordinate average of coordinates A1, A2, and A3 in the first touch position information and coordinates B1, B2, and B3 in the second touch position information is calculated, and the resulting value is used as the final coordinate value of the touch point.

[0084] Acquiring touch position information on the display panel through any of the above methods can make the final feedback touch position information more accurate, thereby effectively improving the accuracy of touch operations and user interaction experience, and further enhancing the overall performance of the display panel and user satisfaction.

[0085] Typically, when the display panel is used in a game scene, the process of the system obtaining the touch position information of the display panel is as follows: Figure 5 As shown, the following steps are included:

[0086] Step 501: The user starts the game and the host switches to game mode;

[0087] A user can launch a game app by touching the display panel with a finger or stylus. The console of the device equipped with the display panel will then switch to Game Mode to accommodate the user's gaming needs. Game Mode is an optimized state where the system adjusts hardware and software configurations to provide a better gaming experience.

[0088] Step 502: The host notifies the touch chip to enter the game mode through the communication protocol;

[0089] After switching to gaming mode in step 501, the host computer notifies the touch chip via a communication protocol to also enter gaming mode. For example, the host computer communicates with the touch chip via a serial peripheral interface (SPI) or an inter-integrated circuit interface (ICI) to notify the touch chip to enter gaming mode. This information, in turn, involves adjusting the display panel's touch sampling rate and optimizing the touch signal processing algorithm. The touch chip, a component of the display panel, is responsible for detecting and processing touch signals and transmitting information such as touch location to the main controller.

[0090] Step 503: The display panel is in idle mode;

[0091] On the basis of step 502 , when the user does not continue to touch the display panel, the display panel is in an idle mode, and in this mode, touch sampling is performed on the touch signal at a lower sampling frequency.

[0092] Step 504: determine whether the touch signal in the idle time period reaches a preset touch threshold;

[0093] After the touch signal is detected in step 503 , the touch signal amount is compared with the preset touch threshold. If the touch signal amount is greater than or equal to the preset touch threshold, step 505 is executed; otherwise, step 503 is executed.

[0094] Step 505: The display panel switches to working mode;

[0095] After determining in step 504 that the touch signal in the idle time period is greater than or equal to the preset touch threshold, the mode of the display panel is switched to enter the working mode.

[0096] Step 506: performing touch sampling on the touch signal;

[0097] Based on step 505, in the working mode, touch sampling is performed on the touch signal using another sampling frequency, for example, sampling using a sampling frequency of 360Hz, 240Hz, 1000Hz, etc. Specifically, the same frequency is used for TX driving and RX sampling, and multiple sampling cycles are continued to complete the sampling of the touch signal. The above-mentioned TX driving refers to the processing and driving of the signal at the transmitting end to efficiently and reliably transmit the signal to the receiving end; RX sampling refers to the processing and sampling of the signal at the receiving end to recover the original data.

[0098] Step 507: The touch chip reports touch position information.

[0099] On the basis of step 506 , the touch position information is fed back according to the sampled touch signal, for example, the coordinates of the touch point between the user and the display panel are fed back.

[0100] When the display panel is used in a game scene, the process of the system obtaining the touch position information of the display panel is as follows: Figure 6 As shown, the following steps are included:

[0101] Step 601: The user starts the game and the host switches to game mode;

[0102] A user can launch a game app by touching the display panel with a finger or stylus. The console of the device equipped with the display panel will then switch to Game Mode to accommodate the user's gaming needs. Game Mode is an optimized state where the system adjusts hardware and software configurations to provide a better gaming experience.

[0103] Step 602: The host notifies the touch chip to enter the game mode through the communication protocol;

[0104] Based on step 601, after the host switches to the game mode, it will notify the touch chip through the communication protocol to also enter the game mode. For example, the host communicates with the touch chip through communication protocols such as the serial peripheral interface and the internal integrated circuit interface to inform the touch chip to enter the game mode, that is, to adjust the touch sampling rate of the display panel, optimize the touch signal processing algorithm and other operations.

[0105] Step 603: The display panel is in idle mode;

[0106] On the basis of step 602 , when the user does not continue to touch the display panel, the display panel is in an idle mode, and in this mode, touch sampling is performed on the touch signal at a lower sampling frequency.

[0107] Step 604: Determine whether the touch signal during the idle time period reaches a preset touch threshold;

[0108] After the touch signal is detected in step 603 , the touch signal amount is compared with the preset touch threshold. If the touch signal amount is greater than or equal to the preset touch threshold, step 605 is executed; otherwise, step 603 is executed.

[0109] Step 605: The display panel switches to a high touch reporting rate demand mode;

[0110] After determining in the above step 604 that the touch signal in the idle time period is greater than or equal to the preset touch threshold, the display panel mode is switched to enter a high touch reporting rate requirement mode. The above high touch reporting rate requirement mode is a type of working mode, in which a higher sampling frequency can be used for sampling.

[0111] Step 606: performing touch sampling on the touch signal;

[0112] Based on step 605, in a high touch reporting rate mode, a higher single sampling frequency is used to sample the touch signal, for example, 1500Hz. Specifically, the same frequency is used for TX driving and RX sampling, and multiple sampling cycles are continued to complete the sampling of the touch signal. TX driving refers to the processing and driving of the signal at the transmitting end to efficiently and reliably transmit the signal to the receiving end; RX sampling refers to the processing and sampling of the signal at the receiving end to recover the original data.

[0113] Step 607: Determine whether the touch signal reaches a preset touch threshold;

[0114] On the basis of step 606 , the sampled touch signal amount is compared with the preset touch threshold. When the touch signal amount is greater than or equal to the preset touch threshold, step 608 is executed; otherwise, step 603 is executed.

[0115] Step 608: The touch chip reports touch position information.

[0116] After determining in step 607 that the touch signal amount is greater than or equal to the preset touch threshold, touch position information is fed back according to the sampled touch signal, for example, the coordinates of the touch point between the user and the display panel are fed back.

[0117] Since the above method of obtaining touch position information on the display panel uses a lower sampling frequency or a higher single-frequency sampling frequency to sample the touch signal, this will lead to inaccurate judgment of touch noise, thereby generating false alarm points, seriously affecting the user's touch experience.

[0118] Therefore, in the embodiment of the present application, when the display panel is applied to a game scene, the touch signal can be sampled first by using a dual-frequency sampling frequency, that is, sampling using a first sampling frequency, and then the touch position information on the display panel is obtained. Specifically, Figure 7 As shown, the following steps are included:

[0119] Step 701: The user starts the game and the host switches to game mode;

[0120] A user can launch a game app by touching the display panel with a finger or stylus. The console of the device equipped with the display panel will then switch to Game Mode to accommodate the user's gaming needs. Game Mode is an optimized state where the system adjusts hardware and software configurations to provide a better gaming experience.

[0121] Step 702: The host notifies the touch chip to enter game mode through the communication protocol;

[0122] Based on step 701, after the host switches to the game mode, it will notify the touch chip through the communication protocol to also enter the game mode. For example, the host communicates with the touch chip through communication protocols such as the serial peripheral interface and the internal integrated circuit interface to inform the touch chip to enter the game mode, that is, to adjust the touch sampling rate of the display panel, optimize the touch signal processing algorithm and other operations.

[0123] Step 703: The display panel is in idle mode;

[0124] On the basis of step 702 , when the user does not continue to touch the display panel, the display panel is in an idle mode, and in this mode, touch sampling is performed on the touch signal at a lower sampling frequency, for example, 120 Hz is used to detect the touch signal.

[0125] Step 704: determine whether the touch signal in the idle time period reaches a preset touch threshold;

[0126] After the touch signal is detected in step 703, the touch signal amount is compared with the preset touch threshold. When it is greater than or equal to the preset touch threshold, step 705 is executed; otherwise, step 703 is executed to continue detection.

[0127] Step 705: The display panel switches to a high touch reporting rate demand mode;

[0128] After determining in the above step 704 that the touch signal in the idle time period is greater than or equal to the preset touch threshold, the display panel mode is switched to enter a high touch reporting rate requirement mode. The above high touch reporting rate requirement mode is a type of working mode, in which a higher sampling frequency can be used for sampling.

[0129] Step 706: perform touch sampling on the touch signal using the first sampling frequency;

[0130] Based on step 705, in the high touch reporting rate demand mode, a higher first sampling frequency is used to sample the touch signal to obtain a first sampling result. For example, 1500Hz is used for sampling. Specifically, the same frequency is used for TX driving and RX sampling, and multiple sampling cycles are continued to complete the sampling of the touch signal. The above-mentioned TX driving refers to the processing and driving of the signal at the transmitting end to efficiently and reliably transmit the signal to the receiving end; RX sampling refers to the processing and sampling of the signal at the receiving end to recover the original data.

[0131] Step 707: Determine whether the touch signal reaches a preset touch threshold;

[0132] On the basis of step 706 , the touch signal amount in the first sampling result is compared with the preset touch threshold. When the touch signal amount is greater than or equal to the preset touch threshold, step 708 is executed; otherwise, step 703 is executed.

[0133] Step 708: Acquire first touch position information, and perform touch sampling using a first sampling frequency.

[0134] After determining in step 707 that the touch signal amount is greater than or equal to the preset touch threshold, first touch position information, for example, the coordinates of the touch point between the user and the display panel, is obtained. Touch sampling is then continued using the first sampling frequency for multiple sampling cycles, for example, two first sampling cycles, to obtain a second sampling result. The value of the first sampling frequency in this step may be the same as or different from the value of the first sampling frequency in step 706.

[0135] Step 709: Determine whether the touch signal amount reaches a preset touch threshold;

[0136] After obtaining the second sampling result in step 708 , the touch signal amount in the second detection result is compared with the preset touch threshold. When it is greater than or equal to the preset touch threshold, step 710 is executed; otherwise, step 703 is executed.

[0137] Step 710: Obtain second touch position information;

[0138] In the above step 709 , after determining that the touch signal amount in the second detection result is greater than or equal to the preset touch threshold, second touch position information is further obtained, such as the coordinates of the touch point between the user and the display panel.

[0139] Step 711: The touch chip reports touch position information on the display panel.

[0140] After obtaining the first touch position information and the second touch position information in step 708 and step 710, the touch position information on the display panel that is finally reported by the touch chip can be determined in a corresponding manner. For example, when the touch position information on the display panel is determined by combining the first touch position information and the second touch position information, the coordinate average value can be calculated based on the first touch position information and the second touch position information, and the obtained coordinate average value is the final coordinate of the touch point that needs to be reported.

[0141] In the embodiments of the present application, the above-mentioned display panel touch detection method is also applicable to devices equipped with display panels, such as smartphones, tablet computers, and touch screen computers. When applied to these various devices, this method can also effectively reduce false positives during touch detection while meeting user requirements for touch response time, thereby improving the user's touch experience.

[0142] The present application also provides a touch detection device for a display panel. Figure 8 As shown, the touch detection device of the display panel includes a touch detection module 11 and a touch position determination module 12, wherein the touch detection module 11 is used to determine that after a touch signal is detected in an idle time period, sampling is performed using a first sampling frequency in at least two first sampling periods, and the first sampling frequency is higher than a second sampling frequency for sampling in the idle time period and a third sampling frequency for sampling in the working time period; the touch position determination module 12 is used to obtain touch position information on the display panel if a touch signal is sampled using the first sampling frequency in at least two first sampling periods.

[0143] In some embodiments, the above-mentioned determination that a touch signal is detected during an idle time period includes:

[0144] During the idle time period, touch sampling is performed using the second sampling frequency, and a touch signal is sampled.

[0145] In some embodiments, the sum of the at least two first sampling periods and the sampling time of touch sampling performed using the second sampling frequency is less than or equal to a preset touch response time threshold.

[0146] In some embodiments, the sampling time for performing touch sampling using the second sampling frequency is two second sampling periods corresponding to the second sampling frequency.

[0147] In some embodiments, the number of the first sampling periods is two, and performing touch sampling using the first sampling frequency in at least two first sampling periods includes:

[0148] Sampling the touch signal using a first sampling frequency to obtain a first sampling result, and determining whether the first sampling result reaches a preset touch threshold;

[0149] When the first sampling result reaches a preset touch threshold, first touch position information is acquired, and touch sampling is performed on the touch signal using the first sampling frequency to obtain a second sampling result;

[0150] When the second sampling result reaches a preset touch threshold, second touch position information is acquired.

[0151] In some embodiments, the step of obtaining the touch position information on the display panel includes:

[0152] The touch position information on the display panel is acquired according to the first touch position information and / or the second touch position information.

[0153] In some embodiments, the step of acquiring the touch position information on the display panel based on the first touch position information and / or the second touch position information includes:

[0154] Determine that the second touch position information is touch position information on the display panel, or,

[0155] A position average is obtained according to the first touch position information and the second touch position information, and the position average is used as the touch position information on the display panel.

[0156] In some embodiments, after a touch signal is detected during an idle time period, the above determination further includes:

[0157] Make sure the display panel's operating mode enters a high touch reporting rate requirement mode.

[0158] As described above, by detecting the touch signal through the touch detection device of the above-mentioned display panel, not only the accuracy of the acquired touch position information can be improved, but also the accuracy and efficiency of the acquired touch position information can be improved. Thus, while effectively reducing the false alarm points in the touch detection process, it can also meet the user's requirements for touch response time, thereby improving the user's touch experience.

[0159] An embodiment of the present application further provides an electronic device, including a processor and a memory, wherein the memory stores computer instructions, and the processor executes the computer instructions in the memory to perform any of the methods described in the above embodiments.

[0160] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method as described in any one of the above embodiments is implemented.

[0161] An embodiment of the present application further provides a computer program product, which, when executed by a processor, implements the method as described in any one of the above embodiments.

[0162] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that a person skilled in the art can conceive within the technical scope disclosed in this application should be included within the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A touch detection method for a display panel, characterized in that: include: After determining that a touch signal is detected during an idle time period, touch sampling is performed using a first sampling frequency in at least two first sampling periods, where the first sampling frequency is higher than a second sampling frequency for touch sampling during the idle time period and a third sampling frequency for touch sampling during the working time period; If the touch signal is sampled using the first sampling frequency within the at least two first sampling periods, touch position information on the display panel is acquired.

2. The method according to claim 1, characterized in that The determining that a touch signal is detected during an idle time period includes: During the idle time period, touch sampling is performed using the second sampling frequency, and the touch signal is sampled.

3. The method according to claim 2, characterized in that A sum of the at least two first sampling periods and a sampling time for touch sampling using the second sampling frequency is less than or equal to a preset touch response time threshold.

4. The method according to claim 3, characterized in that The sampling time for performing touch sampling using the second sampling frequency is the second sampling period corresponding to two second sampling frequencies.

5. The method according to any one of claims 1 to 4, characterized in that: The number of the first sampling periods is two, and performing touch sampling using the first sampling frequency in at least two first sampling periods includes: Performing touch sampling on the touch signal using a first sampling frequency to obtain a first sampling result, and determining whether the first sampling result reaches a preset touch threshold; When the first sampling result reaches a preset touch threshold, first touch position information is acquired, and touch sampling is performed on the touch signal using a first sampling frequency to obtain a second sampling result; When the second sampling result reaches a preset touch threshold, second touch position information is acquired.

6. The method according to claim 5, characterized in that The acquiring of touch position information on the display panel includes: The touch position information on the display panel is acquired according to the first touch position information and / or the second touch position information.

7. The method according to claim 6, characterized in that The acquiring touch position information on the display panel according to the first touch position information and / or the second touch position information includes: determining that the second touch position information is touch position information on the display panel, or, A position average is acquired according to the first touch position information and the second touch position information, and the position average is used as the touch position information on the display panel.

8. The method according to claim 1, characterized in that After determining that a touch signal is detected in an idle time period, and before performing touch sampling using the first sampling frequency within at least two first sampling periods, the method further includes: It is determined that the working mode of the display panel enters a high touch reporting rate requirement mode.

9. A touch detection device for a display panel, characterized in that: include: a touch detection module, configured to determine, after a touch signal is detected during an idle time period, to perform touch sampling using a first sampling frequency in at least two first sampling periods, the first sampling frequency being higher than a second sampling frequency for touch sampling during the idle time period and a third sampling frequency for touch sampling during a working time period; The touch position determining module is configured to obtain touch position information on the display panel if touch signals are sampled using the first sampling frequency within the at least two first sampling periods.

10. An electronic device, characterized in that: A touch detection device for a display panel comprising the method of claim 9.