Touch display control method, chip, related device and storage medium
Patent Information
- Application Number
- CN202610690635.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-19
- Publication Date
- 2026-09-01
AI Technical Summary
触摸感测时段的数量、相对时序位置和持续时长均由显示时序决定,难以精确匹配主动笔通信协议所要求的特定时序窗口,降低了触摸感测操作与主动笔通信协议的时序同步性和笔迹识别的准确性
[0021]The touch display control method disclosed herein determines the configuration information of one or more touch sensing periods to be executed within a single display frame cycle, based on the target communication protocol supported by the active pen. The configuration information includes at least: the number of touch sensing periods, the relative timing position of each touch sensing period, and the duration of each touch sensing period. Based on this configuration information, touch sensing operations are initiated and executed within the corresponding time window of a single display frame cycle to achieve data communication between the active pen and the touch display device. Display periods are scheduled within the remaining time period of a single display frame cycle excluding the touch sensing periods, and display driving operations are executed within these display periods to complete the display. Thus, by prioritizing the communication protocol requirements of the active pen in planning the timing configuration of touch sensing periods, precise timing synchronization between touch sensing operations and the active pen's communication protocol is achieved. This method breaks the limitations of the traditional TDDI architecture, which is dominated by display timing and passively allocates touch sensing periods. It enables touch sensing operations to start and end at precise times specified by the protocol, ensuring that the active pen completes key operations such as coding and uplink or downlink data transmission within a preset time window, thereby improving the accuracy of handwriting recognition.
Smart Images

Figure CN122672684A_ABST
Abstract
Description
Technical Field
[0001] This disclosure belongs to the field of touch technology, specifically relating to a touch display control method, chip, related device and storage medium. Background Technology
[0002] Touchscreen displays are increasingly used in electronic devices, especially in portable mobile terminals, where they have become a primary human-computer interaction method. Touchscreen devices integrate display driver circuitry and touch driver circuitry into a single chip, typically employing a time-division multiplexing mechanism. This mechanism alternates between display driver operations and touch sensing operations within the same display frame cycle, achieving time-sharing operation of touch and display functions, thereby effectively reducing chip area and system cost. Currently, in Touch and Display Driver Integration (TDDI) chips, the synchronization control of touch sensing and display is generally display-driven, meaning that a time window is allocated for touch sensing operations within the remaining time period of the display frame cycle. The number, relative timing position, and duration of touch sensing periods are all determined by the display timing, making it difficult to accurately match the specific timing window required by the active pen communication protocol. This reduces the timing synchronization between touch sensing operations and the active pen communication protocol, as well as the accuracy of handwriting recognition. Meanwhile, when the display driving circuit dynamically adjusts the frame rate, the remaining time period of the display segment within a frame display cycle changes, and the number, relative timing position, and duration of touch sensing segments also fluctuate, further reducing the timing synchronization between touch sensing operation and active pen communication protocol and the accuracy of handwriting recognition. Summary of the Invention
[0003] In view of the above problems, this disclosure provides a touch display control method, chip, related device and storage medium, which aims to improve the timing synchronization of touch sensing operation and active pen communication protocol and the accuracy of handwriting recognition.
[0004] According to a first aspect of this disclosure, a touch display control method is provided, comprising:
[0005] Based on the target communication protocol supported by the active pen, configuration information for one or more touch sensing periods to be executed within a single display frame cycle is determined. This configuration information includes at least: the number of touch sensing periods, the relative timing position of each touch sensing period, and the duration of each touch sensing period. Based on this configuration information, touch sensing operations are initiated and executed within the corresponding time window of the single display frame cycle to achieve data communication between the active pen and the touch display device. Display periods are scheduled within the remaining time period of the single display frame cycle excluding the touch sensing periods, and display driving operations are executed within these display periods to complete the screen display. Optionally, the timing arrangement of the touch sensing periods prioritizes the timing requirements of the target communication protocol, and the display periods are dynamically adjusted according to the arrangement of the touch sensing periods.
[0006] Optionally, the type of touch sensing operation includes any one or more combinations of pen-up scanning, pen-down scanning, finger touch scanning, and noise scanning.
[0007] Optionally, the step of initiating and executing a touch sensing operation within a corresponding time window of a display frame period based on the configuration information to achieve data communication between the active pen and the touch display device includes:
[0008] Based on the configuration information, determine the type of touch sensing operation to be performed in the current frame display period and one or more corresponding touch sensing time windows; for each touch sensing time period, monitor whether the start time of the time window has been reached by a timer; when the start time is reached, start and execute the corresponding type of touch sensing operation in the corresponding touch sensing time period; when the start time has not been reached, continue to monitor by a timer until the start condition is met.
[0009] Optionally, different types of touch sensing operations are assigned to corresponding touch sensing periods. The relative position and duration of each touch sensing period are configured independently according to functional requirements to adapt to the time characteristics and performance requirements of different types of touch sensing operations.
[0010] Optionally, the step of arranging a display period within the remaining time period excluding the touch sensing period in the display frame cycle, and performing display driving operations within the display period to complete the screen display, includes:
[0011] A touch time slot indication signal is generated, wherein when the touch time slot indication signal is a first value, it instructs the display driving circuit to perform a display driving operation, and when the touch time slot indication signal is a second value, it instructs the display driving circuit to pause the execution of the display driving operation.
[0012] Optionally, the step of arranging a display period within the remaining time period excluding the touch sensing period in the display frame cycle, and performing display driving operations within the display period to complete the screen display, further includes:
[0013] During the one or more touch sensing periods that need to be executed within the current frame display period, the touch time slot indication signal is controlled to a second value to instruct the display driving circuit to pause the execution of display driving operations;
[0014] During the remaining time period within the current frame display cycle, excluding the touch sensing period, the touch time slot indication signal is controlled to a first value to instruct the display driving circuit to perform display driving operations.
[0015] According to a second aspect of this disclosure, a chip is provided, configured to perform the steps of the touch display control method described above.
[0016] According to a third aspect of this disclosure, a touch display control device is provided, comprising:
[0017] The configuration information determination unit is used to determine the configuration information of one or more touch sensing periods to be executed within a frame display period according to the target communication protocol supported by the active pen. The configuration information includes at least: the number of touch sensing periods, the relative timing position of each touch sensing period, and the duration of each touch sensing period. The touch sensing operation execution unit is used to start and execute the touch sensing operation in the corresponding time window within the frame display period based on the configuration information, so as to realize data communication between the active pen and the touch display device. The display driving operation execution unit is used to arrange display periods in the remaining time period of the frame display period excluding the touch sensing periods, and execute display driving operations within the display periods to complete the screen display.
[0018] According to a fourth aspect of this disclosure, an electronic device is provided, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method described above.
[0019] According to a fifth aspect of this disclosure, a storage medium is provided that stores a computer program or instructions, which, when executed by a processor, implement the steps of the method described above.
[0020] This disclosure brings the following beneficial effects:
[0021] The touch display control method disclosed herein determines the configuration information of one or more touch sensing periods to be executed within a single display frame cycle, based on the target communication protocol supported by the active pen. The configuration information includes at least: the number of touch sensing periods, the relative timing position of each touch sensing period, and the duration of each touch sensing period. Based on this configuration information, touch sensing operations are initiated and executed within the corresponding time window of a single display frame cycle to achieve data communication between the active pen and the touch display device. Display periods are scheduled within the remaining time period of a single display frame cycle excluding the touch sensing periods, and display driving operations are executed within these display periods to complete the display. Thus, by prioritizing the communication protocol requirements of the active pen in planning the timing configuration of touch sensing periods, precise timing synchronization between touch sensing operations and the active pen's communication protocol is achieved. This method breaks the limitations of the traditional TDDI architecture, which is dominated by display timing and passively allocates touch sensing periods. It enables touch sensing operations to start and end at precise times specified by the protocol, ensuring that the active pen completes key operations such as coding and uplink or downlink data transmission within a preset time window, thereby improving the accuracy of handwriting recognition.
[0022] Furthermore, since the configuration information for the touch sensing period can be flexibly configured according to different active pen communication protocols, this solution has good compatibility, can support multiple mainstream active pen standards, and can adapt to the type requirements of touch sensing operations in different application scenarios, thereby improving the flexibility and accuracy of handwriting recognition.
[0023] Furthermore, a touch time slot indication signal is generated. When the touch time slot indication signal is at a first value, it instructs the display driving circuit to execute the display driving operation; when the touch time slot indication signal is at a second value, it instructs the display driving circuit to pause the execution of the display driving operation. During one or more touch sensing periods required to be executed within the current frame display period, the touch time slot indication signal is set to the second value to instruct the display driving circuit to pause the execution of the display driving operation. During the remaining time period within the current frame display period excluding the touch sensing periods, the touch time slot indication signal is set to the first value to instruct the display driving circuit to execute the display driving operation. In this way, when the display driving circuit dynamically adjusts the frame rate, the number, relative timing position, and duration of the touch sensing periods are not affected, avoiding the time window offset or compression problem of the touch sensing periods caused by frame rate switching. This improves the timing synchronization between the touch sensing operation and the active pen communication protocol, as well as the accuracy of handwriting recognition.
[0024] Other features and advantages of this disclosure will be set forth in the following description and will be apparent in part from the description or may be learned by practicing the disclosure. The objects and other advantages of this disclosure are realized and obtained through the structures particularly pointed out in the description and the drawings.
[0025] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0026] The above and other objects, features and advantages of this disclosure will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:
[0027] Figure 1 This is a schematic diagram illustrating the division of a display frame period in related technologies.
[0028] Figure 2 This is a schematic diagram of the structure of a touch display device according to an embodiment of the present disclosure;
[0029] Figure 3 This is a flowchart illustrating a touch display control method according to an embodiment of the present disclosure;
[0030] Figure 4 This is a schematic diagram illustrating the time segmentation of a display frame period according to an embodiment of the present disclosure;
[0031] Figure 5 This is a schematic diagram illustrating the division of touch sensing time periods in a display frame period at different frame rates according to an embodiment of the present disclosure.
[0032] Figure 6 This is a schematic diagram of the structure of a touch display control device according to an embodiment of the present disclosure;
[0033] Figure 7 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present disclosure. Detailed Implementation
[0034] Various embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. In the various drawings, the same elements are indicated by the same or similar reference numerals. For clarity, the various portions in the drawings are not drawn to scale.
[0035] Terminology used in this article:
[0036] Active stylus (hereinafter referred to as active stylus): refers to a stylus tip that can emit a coding signal. The coding signal is detected by the detection electrodes distributed on the touch screen, and the touch position of the stylus tip on the touch screen is calculated accordingly to realize the pen writing function.
[0037] Active pen communication protocol: refers to the signal timing, encoding format and scanning coordination mechanism agreed upon between the active pen and the touch display device to achieve reliable communication. It requires the touch display device to reserve a scanning window at a precise time point to complete data transmission and reception.
[0038] Figure 1 This is a schematic diagram illustrating the division of a display frame period in related technologies. For example... Figure 1 As shown, taking the intra-frame touch driving (long-H, Long Horizontal) mode as an example, in the Touch and Display Driver Integration (TDDI) chip, each display frame period T is divided into multiple display periods (DP) and touch sensing periods (TP). The synchronization control of touch sensing and display is primarily display-driven; that is, a time window is allocated for touch sensing operations within the remaining time period of the display period within a display frame period. This method simplifies the design of the display driver circuit by "squeezing out" idle time for touch use in the horizontal cycle. Specifically, the generation of touch sensing periods (TP) relies on line time (i.e., one horizontal scan cycle, 1H) as the basic time unit, performing the operation of "squeezing out time for touch." Since the number, relative timing position, and duration of touch sensing periods (TP) are all determined by the display timing, their allocation is constrained by line time, making it difficult to accurately match the specific timing window required by the active pen communication protocol. This reduces the timing synchronization between touch sensing operations and the active pen communication protocol, as well as the accuracy of handwriting recognition.
[0039] Furthermore, when the display driver circuit dynamically adjusts the frame rate, the remaining time period of the display segment (DP) within a single frame display cycle changes, and the number, relative timing position, and duration of the touch sensing segment (TP) also fluctuate. For example... Figure 1 As shown, the frame rates of frame display cycle 2 and frame display cycle 3 are different. The duration T1 of the touch sensing period (TP) in frame display cycle 2 is different from the duration T3 of the touch sensing period (TP) in frame display cycle 3. The time interval T2 between touch sensing periods (TP) in frame display cycle 2 is different from the time interval T4 between touch sensing periods (TP) in frame display cycle 3. Obviously, the fluctuation in the relative timing position and duration of the touch sensing period (TP) further reduces the timing synchronization between touch sensing operation and active pen communication protocol and the accuracy of handwriting recognition.
[0040] Based on this, this disclosure provides a touch display control method, chip, related device and storage medium to improve the timing synchronization of touch sensing operation and active pen communication protocol and the accuracy of handwriting recognition.
[0041] Figure 2 This is a schematic diagram of a touch display device according to an embodiment of the present disclosure. Figure 2 As shown,
[0042] The touch display device 200 can perform display functions and touch sensing functions, and can be applied to devices such as televisions, monitors, tablets, and mobile phones. However, the application of the touch display device 200 disclosed herein should not be limited thereto. In some embodiments, the touch display device 200 is an integrated capacitive touch display screen, so that a conductive object such as an active pen or finger can perform touch. In some embodiments, the touch display screen can be disposed above the pixel array of a display panel; in this embodiment, the touch display screen is embedded in the pixel array of the display panel. Figure 2 As shown, the touch display device 200 of this embodiment includes a display panel 210 and a touch display module. The touch display module includes a display driving circuit 220, a touch driving circuit 230 and a communication unit 240 connected to the display panel 210.
[0043] The display panel 210 has image display functionality and touch sensing functionality for sensing passive stylus (including fingers) and active stylus touches. In this embodiment, an OLED screen is used as an example, but it should be understood that the display screen disclosed herein can also be, for example, an LCD screen or other types of display screens. Furthermore, the display panel 210 can operate in a display mode and a touch sensing mode. The display panel 210 can display images during the display mode and can act as a touch panel for touch sensing during the touch sensing mode. Figure 2 As shown, in this embodiment, the display panel 210 includes multiple pixels 211 arranged in an n x m matrix, multiple sensors 212 (e.g., touch electrodes in a capacitive touch display), multiple data lines D1 to Dm, multiple gate lines G1 to Gn, and multiple touch lines T1 to Tk (n, m, and k are integers greater than or equal to 2). Each row of pixels 211 is connected to one gate line; each column of pixels 211 is connected to one data line, and each sensor 212 is connected to one touch line. However, the connection method of the gate lines, data lines, and touch lines is not limited to this; it is sufficient to ensure that each pixel 211 is connected to a corresponding gate line and data line, and each sensor 212 is connected to a corresponding touch line. The multiple pixels 211 form a pixel array to display an image, and the multiple sensors 212 are used to sense sensing data including touch position, touch pressure, etc., and generate uplink data based on this sensing data to transmit, for example, sensing data including touch position, touch pressure, etc., panel information of the touch display device 200, protocol version, etc., to the active pen. In some embodiments, the sensor 312 generates uplink data according to a target communication protocol supported by the active pen, such as USI (Universal Stylus Initiative).
[0044] like Figure 2As shown, the display driving circuit 220 includes a timing control circuit 221, a data driving circuit 222 connected to the timing control circuit 221, and a selection driving circuit 223. In some embodiments, the timing control circuit 221 drives the data driving circuit 222 and the selection driving circuit 223 according to a clock signal provided by the host (not shown), so that the selection driving circuit 223 provides a gating signal to each pixel 211 through gating lines G1 to Gn; the data driving circuit 222 provides a data signal to each pixel 211 through data lines D1 to Dm, wherein the gating signal is used to control whether the pixel 211 receives the data signal, and the data signal is used to drive the display panel 210 to display an image.
[0045] The touch driving circuit 230 is connected to the timing control circuit 221 and is connected to each sensor 212 via multiple touch lines T1 to Tk to drive the sensor 212 to provide sensing data, such as touch position and touch pressure. In some embodiments, the touch driving circuit 230 drives each sensor 212 to sense sensing data in response to the timing control circuit 221; in this embodiment, the touch driving circuit 230 drives each sensor 212 in response to a synchronization signal input from the host.
[0046] The communication unit 240 is connected to the display panel 210. The communication unit 240 can pair and communicate with the active pen using methods such as short-range wireless communication (e.g., Bluetooth, NFC). The communication unit 240 is used to send uplink data to the active pen. This uplink data is used to transmit to the active pen sensing data provided by the sensing element 212, including touch position, touch pressure, panel information of the touch display device 200, protocol version, etc. The communication unit 240 is also used to receive downlink signals from the active pen. These downlink signals include, for example, pen data (e.g., pen pressure information indicating the pressure applied when the active pen contacts the touchscreen, pen identification information distinguishing the current active pen from another active pen, status information indicating whether one or more functions of the current active pen are activated, etc.). After unpacking the downlink signals to obtain downlink data, the communication unit 240 provides this data to the display panel 210 so that the display panel 210 can respond accordingly.
[0047] Figure 3 This is a schematic flowchart of a touch display control method according to an embodiment of the present disclosure. Figure 3 As shown, the touch display control method provided in this embodiment includes the following steps:
[0048] In step S310, configuration information for one or more touch sensing periods to be executed within a frame display period is determined according to the target communication protocol supported by the active pen. The configuration information includes at least: the number of touch sensing periods, the relative timing position of each touch sensing period, and the duration of each touch sensing period.
[0049] In step S320, based on the configuration information, a touch sensing operation is initiated and executed within the corresponding time window of the display frame cycle to realize data communication between the active pen and the touch display device.
[0050] In step S330, a display period is arranged in the remaining time period excluding the touch sensing period in the display frame cycle, and a display driving operation is performed in the display period to complete the display.
[0051] The following is combined with Figure 2 and Figure 3 The touch display control method of the present disclosure will be described in detail.
[0052] In step S310, configuration information for one or more touch sensing periods to be executed within a single display frame cycle is determined based on the target communication protocol supported by the active pen. Since different types of active pen communication protocols have specific requirements for coding timing, communication frequency, and data transmission windows, precise configuration is required for each specific protocol. For example, some active pen communication protocols require uplink or downlink data communication at fixed time points within each display frame cycle. This dictates that the touch sensing period must start near that time point and ensure sufficient duration to complete the full signal acquisition process. The configuration information includes not only the number of touch sensing periods and their relative timing positions but also the specific duration of each touch sensing period. It should be noted that the touch sensing operation type performed during the touch sensing period can include any one or more combinations of pen uplink scanning, pen downlink scanning, finger touch scanning, and noise scanning. The specific type of operation performed can be flexibly configured according to the current application scenario and the requirements of the active pen communication protocol. Different types of touch sensing operations are assigned to corresponding touch sensing time periods. The relative position and duration of each touch sensing time period are independently configured according to functional requirements to adapt to the time characteristics and performance requirements of different types of touch sensing operations. For example, in applications supporting high-precision writing, pen-up scanning and pen-down scanning can be prioritized to ensure timely transmission of the active pen's position and pressure information. In multi-touch interaction, finger scanning can be dynamically inserted to achieve parallel recognition of pen and finger operations. Furthermore, to improve the touch signal-to-noise ratio, noise scanning can be periodically inserted to collect environmental noise characteristics and perform subsequent signal compensation processing, thereby improving the overall stability and accuracy of touch detection. It is understandable that, because the configuration information of touch sensing time periods can be flexibly configured according to different active pen communication protocols, this solution has good compatibility, supports multiple mainstream active pen standards, and adapts to the type of touch sensing operations required in different application scenarios, improving the flexibility and accuracy of handwriting recognition.
[0053] In step S320, based on the configuration information determined in step S310, the touch sensing operation is accurately initiated and executed within the corresponding time window of a display frame cycle. In some embodiments, for each display frame cycle, the touch driving circuit 230 determines the type of touch sensing operation to be executed in the current display frame cycle and one or more corresponding touch sensing time windows according to the configuration information. For each touch sensing time window, a timer monitors whether the start time of the time window has arrived. When the start time arrives, the corresponding type of touch sensing operation is initiated and executed within the corresponding touch sensing time window. When the start time has not arrived, the timer continues to monitor until the start condition is met, that is, the timer detects that the start time of the corresponding touch sensing time window has arrived. It can be understood that by prioritizing the communication protocol requirements of the active pen to plan the timing configuration of the touch sensing time window, precise timing synchronization between the touch sensing operation and the active pen communication protocol is achieved. This method breaks the limitations of the traditional TDDI architecture, which is dominated by display timing and passively allocates touch sensing time periods. It enables touch sensing operations to start and end at precise time points specified by the protocol, thereby ensuring that the active pen completes key operations such as coding and uplink or downlink data transmission within the preset time window, thus improving the accuracy of handwriting recognition.
[0054] In step S330, within each frame display period, the touch display device rationally plans the remaining time, excluding the time period allocated to touch sensing operations, as a display period. The display driving circuit 220 performs normal display driving operations within this display period to ensure the continuity and integrity of the screen. In some embodiments, the timing control circuit 221 can generate a touch slot indication signal. When the touch slot indication signal is a first value (e.g., high level), it instructs the display driving circuit 220 to perform display driving operations; when the touch slot indication signal is a second value (e.g., low level), it instructs the display driving circuit 220 to pause the display driving operations. In some embodiments, for each frame display period, the timing control circuit 221 controls the touch slot indication signal to a second value for one or more touch sensing periods required to be executed within the current frame display period, instructing the display driving circuit 220 to pause the display driving operations; and controls the touch slot indication signal to a first value for the remaining time period excluding touch sensing periods within the current frame display period, instructing the display driving circuit 220 to perform display driving operations.
[0055] It is understood that in this embodiment, each display frame period T is divided into multiple display periods (DP) and touch sensing periods (TP). During the touch sensing periods, the touch driving circuit 230 performs touch sensing operations, while during the display periods, the display driving circuit 220 performs display driving operations. The timing arrangement of the touch sensing periods prioritizes the timing requirements of the target active pen communication protocol. For example, a scanning window for receiving active pen signals is inserted at a specific time point to ensure that the active pen can complete uplink or downlink communication according to its protocol. To achieve this goal, touch time is no longer passively allocated based on the display frame rate. Instead, the touch sensing operation is placed in a dominant position under synchronous control. The start time and duration of the touch scan are precisely configured according to the coding timing specified by the active pen communication protocol, thereby ensuring the accuracy and integrity of the active pen signal acquisition. Based on this, the display driving operation dynamically yields and adjusts according to the occupied touch sensing period. That is, when entering a touch sensing period, the display driving circuit 220 pauses the current display scanning action and resumes the display task after the touch scan is completed. Obviously, when the display driving circuit 220 dynamically adjusts the frame rate, the number of touch sensing periods, their relative timing positions, and durations are not affected. This avoids the problem of time window offset or compression of touch sensing periods caused by frame rate switching, thereby improving the timing synchronization between touch sensing operation and active pen communication protocol, as well as the accuracy of handwriting recognition.
[0056] Figure 4 This is a schematic diagram illustrating the time segmentation of a display frame period according to an embodiment of this disclosure. Figure 4 As shown in this embodiment, each display frame period T is divided into multiple display periods (DP) and touch sensing periods (TP). The start time and duration of the touch sensing periods (TP) are precisely configured according to the requirements of the target active pen communication protocol to ensure that the corresponding touch scanning operation is completed within the critical time window for active pen coding or signal transmission. These touch sensing periods can be distributed at specific positions within the frame display period, such as near the beginning, middle, or end of the frame. The specific distribution depends on the supported active pen communication protocol type and its uplink / downlink communication timing requirements. In one embodiment, the number, relative timing position, and duration of touch sensing periods (TP) can be flexibly adjusted according to different scanning tasks. The display periods (DP) automatically adapt to the distribution of touch sensing periods (TP), dynamically forming discontinuous but logically coherent display driving intervals in each frame.
[0057] When the display driving circuit 220 performs dynamic frame rate adjustment, the embodiments of this disclosure can ensure that the relative timing position and duration of the touch sensing period (TP) are not affected by changes in the display frame rate. Figure 4As shown, the frame rates of frame display cycle 2 and frame display cycle 3 are different. The duration T1 of the touch sensing period (TP) in frame display cycle 2 is the same as the duration T1 of the touch sensing period (TP) in frame display cycle 3. The time interval T2 between touch sensing periods (TP) in frame display cycle 2 is the same as the time interval T2 between touch sensing periods (TP) in frame display cycle 3. Clearly, the relative timing position and duration of the touch sensing period (TP) do not fluctuate, improving the timing synchronization between touch sensing operation and the active pen communication protocol, and the accuracy of handwriting recognition.
[0058] Figure 5 This is a schematic diagram illustrating the division of touch sensing time periods within a display frame period at different frame rates, according to an embodiment of this disclosure. Figure 5 As shown, the frame rate of display frame period A (e.g., 90 Hz) is different from that of display frame period B (e.g., 60 Hz), the frame rate of display frame period C (e.g., 90 Hz) is different from that of display frame period D (e.g., 60 Hz), the frame rate of display frame period A is the same as that of display frame period C, and the frame rate of display frame period B is the same as that of display frame period D. Twelve touch sensing periods (TPs) can be divided into display frame periods A and C, and eighteen touch sensing periods (TPs) can be divided into display frame periods B and D. Different touch sensing operations can be performed in different touch sensing periods (TPs), such as pen upward scanning (represented by "U" in the figure), pen downward scanning (represented by "P" in the figure), finger touch scanning (represented by "F" in the figure), and noise scanning (represented by "N" in the figure). The specific type of operation performed can be flexibly configured according to the current application scenario and the requirements of the active pen communication protocol. The interval between the pen upscanning period and the first pen downscanning period is T5, the interval between adjacent touch sensing periods is T6, and the duration of each touch sensing period is T7. Clearly, different types of touch sensing operations are assigned to corresponding touch sensing periods. The relative temporal position and duration of each touch sensing period are independently configured according to functional requirements to adapt to the temporal characteristics and performance requirements of different types of touch sensing operations. During dynamic frame rate adjustment, the relative temporal position and duration of the touch sensing period (TP) remain stable, improving the timing synchronization between touch sensing operations and the active pen communication protocol, as well as the accuracy of handwriting recognition.
[0059] Figure 6 This is a schematic diagram of a touch display control device according to an embodiment of the present disclosure. Figure 6 The touch display control device 600 shown includes a configuration information determination unit 610, a touch sensing operation execution unit 620, and a display driving operation execution unit 630.
[0060] The configuration information determination unit 610 is used to determine configuration information for one or more touch sensing periods to be executed within a display frame cycle, based on the target communication protocol supported by the active pen. The configuration information includes at least: the number of touch sensing periods, the relative timing position of each touch sensing period, and the duration of each touch sensing period. The touch sensing operation execution unit 620 is used to initiate and execute touch sensing operations within the corresponding time window of the display frame cycle based on the configuration information, thereby enabling data communication between the active pen and the touch display device. The display driving operation execution unit 630 is used to schedule display periods within the remaining time period of the display frame cycle excluding the touch sensing periods, and execute display driving operations within the display periods to complete the screen display.
[0061] Since the specific process of the touch display control method has been described in detail above, it will not be repeated here.
[0062] This disclosure also provides an electronic device 700, such as... Figure 7 As shown, it includes a memory 720, a processor 710, a power supply component 730, a network interface 740, an input / output interface 750, and a program stored in the memory 720 and executable on the processor 710. When the program is executed by the processor 710, it can implement the various processes of the embodiments of the above methods and achieve the same technical effects. To avoid repetition, it will not be described again here.
[0063] This disclosure also provides a chip, including... Figure 6 The touch display control device 600 shown implements the steps of the method described above. The chips here include general-purpose processors (such as CPUs and GPUs), mobile device main processors (APs), programmable logic chips (such as FPGAs), and application-specific integrated circuits (such as ASICs). The beneficial effects achievable by the method provided in the embodiments of this disclosure can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0064] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. Therefore, this disclosure also provides a storage medium storing a computer program or instructions that, when executed by a processor, can implement the various processes of the embodiments of the above methods.
[0065] Since the instructions stored in the storage medium can execute the steps of the method provided in the embodiments of this disclosure, the beneficial effects achievable by the method provided in the embodiments of this disclosure can be realized, as detailed in the preceding embodiments, and will not be repeated here. Specific implementations of the above operations can be found in the preceding embodiments, and will not be repeated here.
[0066] Finally, it should be noted that the above embodiments are merely examples for clearly illustrating this disclosure and are not intended to limit the implementation. Those skilled in the art can make other variations or modifications based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the scope of this disclosure.
Claims
1. A touch display control method, comprising: Based on the target communication protocol supported by the active pen, configuration information for one or more touch sensing periods to be executed within a single display frame cycle is determined. The configuration information includes at least: the number of touch sensing periods, the relative timing position of each touch sensing period, and the duration of each touch sensing period. Based on the configuration information, touch sensing operations are initiated and executed within the corresponding time window of the single display frame cycle to achieve data communication between the active pen and the touch display device. Display periods are arranged in the remaining time period of the single display frame cycle excluding the touch sensing periods, and display driving operations are executed within the display periods to complete the screen display. 2.The touch display control method of claim 1, wherein, The timing arrangement of the touch sensing period prioritizes the timing requirements of the target communication protocol, and the display period is dynamically adjusted according to the arrangement of the touch sensing period. 3.The touch display control method of claim 1, wherein, The types of touch sensing operations include any one or more combinations of pen-up scanning, pen-down scanning, finger touch scanning, and noise scanning. 4.The touch display control method of claim 3, wherein, The step of initiating and executing a touch sensing operation within the corresponding time window of a display frame period based on the configuration information to achieve data communication between the active pen and the touch display device includes: Based on the configuration information, determine the type of touch sensing operation to be performed in the current frame display period and one or more corresponding touch sensing time windows; for each touch sensing time period, monitor whether the start time of the time window has been reached by a timer; when the start time is reached, start and execute the corresponding type of touch sensing operation in the corresponding touch sensing time period; when the start time has not been reached, continue to monitor by a timer until the start condition is met. 5.The touch display control method of claim 4, wherein, Different types of touch sensing operations are assigned to corresponding touch sensing time periods. The relative position and duration of each touch sensing time period are configured independently according to functional requirements to adapt to the time characteristics and performance requirements of different types of touch sensing operations. 6.The touch display control method of claim 4, wherein, The step of arranging a display period within the remaining time period excluding the touch sensing period in a single frame display cycle, and performing display driving operations within the display period to complete the screen display, includes: A touch time slot indication signal is generated, wherein when the touch time slot indication signal is a first value, it instructs the display driving circuit to perform a display driving operation, and when the touch time slot indication signal is a second value, it instructs the display driving circuit to pause the execution of the display driving operation.
7. The touch display control method according to claim 6, wherein, The method of arranging a display period within the remaining time period excluding the touch sensing period in the display frame cycle, and performing display driving operations within the display period to complete the screen display, further includes: During the one or more touch sensing periods that need to be executed within the current frame display period, the touch time slot indication signal is controlled to a second value to instruct the display driving circuit to pause the execution of display driving operations; During the remaining time period within the current frame display cycle, excluding the touch sensing period, the touch time slot indication signal is controlled to a first value to instruct the display driving circuit to perform display driving operations.
8. A chip configured to perform the steps of the touch display control method as claimed in any one of claims 1 to 7.
9. A touch display control device, comprising: The configuration information determination unit is used to determine the configuration information of one or more touch sensing periods to be executed within a frame display period according to the target communication protocol supported by the active pen. The configuration information includes at least: the number of touch sensing periods, the relative timing position of each touch sensing period, and the duration of each touch sensing period. The touch sensing operation execution unit is used to start and execute the touch sensing operation in the corresponding time window within the frame display period based on the configuration information, so as to realize data communication between the active pen and the touch display device. The display driving operation execution unit is used to arrange display periods in the remaining time period of the frame display period excluding the touch sensing periods, and execute display driving operations within the display periods to complete the screen display.
10. An electronic device, comprising: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the touch display control method as described in any one of claims 1 to 7.
11. A storage medium storing a computer program or instructions that, when executed by a processor, implement the steps of the touch display control method as described in any one of claims 1 to 7.