Scanning method, apparatus, electronic device, and medium
By staggering the display scan frame and the touch scan frame and adopting different scanning orders, the problem of incomplete touch data in TDDI technology is solved, the response speed and reporting rate of touch operations are improved, and the user experience is improved.
Patent Information
- Application Number
- CN202311244140.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-25
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2043-09-25
AI Technical Summary
In existing TDDI technology, the reporting rate of touch scanning and display scanning is low, resulting in incomplete touch data during fast touch operations, disconnection or ghost points, affecting the user experience.
Adopting an interleaved display scan frame and touch scan frame design, adjacent touch scan frames adopt different scanning orders to ensure that the touch area scanned last is not adjacent to the touch area scanned first. The display time period and touch time period are interleaved to increase the touch scan frequency.
It improves the response speed and reporting rate of touch operations, solves the disconnection or ghost point problems caused by incomplete touch data, and improves the user's touch experience.
Smart Images

Figure CN119690259B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic devices, and in particular to a scanning method, device, electronic device, and medium. Background Art
[0002] With the rapid development of modern technology, electronic devices such as smartphones, tablets, and laptops have become widely used in daily life. Touchscreens, as interfaces for human-computer interaction, are used in a wide range of scenarios. TDDI (Touch and Display Driver Integration) integrates the touch and display driver chipsets into a single chip, enabling touch and display scanning through time-sharing multiplexing. Using TDDI technology can effectively reduce the cost of electronic devices and improve their sensitivity. Summary of the Invention
[0003] To overcome the problems existing in the related art, the present disclosure provides a scanning method, device, electronic device and medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a scanning method is provided, the scanning method comprising:
[0005] In a display scanning frame, display scanning is performed sequentially for m display time periods, wherein a touch scanning period is provided between two adjacent display time periods in some or all of the display time periods. A touch scanning frame includes n touch time periods that are performed sequentially, and each touch time period scans a group of touch areas, wherein n and m are integers greater than or equal to 2.
[0006] In a first touch scanning frame, performing touch scanning on the n groups of touch areas in a first scanning order;
[0007] In a second touch scanning frame, performing touch scanning on the n groups of touch areas in a second scanning order;
[0008] The first touch scanning frame and the second touch scanning frame are two adjacent touch scanning frames, and the touch area scanned last in the first scanning sequence is not adjacent to the touch area scanned first in the second scanning sequence.
[0009] In some exemplary embodiments of the present disclosure, the first scanning order and the second scanning order are in reverse order.
[0010] In some exemplary embodiments of the present disclosure, the display touch panel includes N groups of area sets, each group of the touch areas includes N sub-areas, and each group of the area sets includes one sub-area of each of the n groups of touch areas, wherein N is determined based on the hardware performance of the display touch panel;
[0011] The scanning method further includes:
[0012] In each of the touch time periods, N sub-areas in the N groups of area sets belonging to the same touch area are scanned simultaneously.
[0013] In some exemplary embodiments of the present disclosure, the area of each group of region sets is the same; and / or,
[0014] The areas of the n sub-regions in each group of the region sets are the same.
[0015] In some exemplary embodiments of the present disclosure, the area of each group of region sets is different; and / or,
[0016] The areas of the n sub-regions in each group of the region sets are different.
[0017] In some exemplary embodiments of the present disclosure, the ratio of m to n is an integer greater than or equal to 2.
[0018] In some exemplary embodiments of the present disclosure, the scanning method further includes:
[0019] In response to the received touch operation, acquiring touch information, wherein the touch information includes at least one touch scan frame;
[0020] When the touch information includes multiple touch scan frames, the touch scan frames after the first touch scan frame are reported; or,
[0021] When the touch information includes a touch scan frame, the touch scan frame is delayed for a frame time before being reported.
[0022] In some exemplary embodiments of the present disclosure, the scanning method includes:
[0023] In response to the received touch operation, the touch scanning steps of the first touch scanning frame and the second touch scanning frame are performed.
[0024] According to a second aspect of an embodiment of the present disclosure, a scanning device is provided, the scanning device comprising:
[0025] A first scanning module is configured to sequentially perform display scanning on m display time periods in a display scanning frame, wherein a touch time period for performing touch scanning is provided between two adjacent display time periods in some or all of the display time periods;
[0026] a second scanning module configured to perform touch scanning on n groups of touch areas in a first scanning order in a first touch scanning frame; and perform touch scanning on n groups of touch areas in a second scanning order in a second touch scanning frame; the first touch scanning frame and the second touch scanning frame are two adjacent touch scanning frames, and the touch area scanned last in the first scanning order is not adjacent to the touch area scanned first in the second scanning order;
[0027] A touch scan frame includes n touch time periods executed sequentially, and each touch time period scans a group of touch areas, wherein n and m are integers greater than or equal to 2.
[0028] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device including:
[0029] Display touch panel, having display touch function;
[0030] processor;
[0031] a memory for storing processor-executable instructions;
[0032] The processor is configured to execute executable instructions in the memory to implement the scanning method provided in the first aspect of the present disclosure.
[0033] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which executable instructions are stored. When the executable instructions are executed by a processor, the scanning method provided by the first aspect of the present disclosure is implemented.
[0034] The above-mentioned method of the present disclosure has the following beneficial effects: the display time period in the display scan frame and the touch time period in the touch scan frame are staggered. Since one touch scan frame corresponds to one or more touch scan frames, the reporting rate can be improved, thereby increasing the response speed of the electronic device to touch operations. Adjacent first touch scan frames and second touch scan frames perform touch scans on n groups of touch areas in a first scanning order and a second scanning order, respectively. The touch area scanned last in the first scanning order is not adjacent to the touch area scanned first in the second scanning order. This can ensure that two touch areas that are relatively far apart on the display touch panel have a relatively long scanning time interval between the scanning processes of the two adjacent touch scan frames. This can, to a certain extent, prevent the user's touch operation on the touch area from being staggered with the touch area's scanning time period, thereby preventing valid touch data from being collected. This, to a certain extent, solves the problem of touch disconnection or missed touch data due to incomplete touch data, thereby improving the user's touch experience.
[0035] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0037] Figure 1 is a flowchart of a scanning method according to an exemplary embodiment.
[0038] Figure 2 is a schematic diagram of a display touch panel according to an exemplary embodiment.
[0039] Figure 3a The figure is a schematic diagram showing a display time period and a touch time period according to an exemplary embodiment.
[0040] Figure 3b is a schematic diagram showing a display time period and a touch time period according to another exemplary embodiment.
[0041] Figure 4 is a flowchart of a scanning method according to an exemplary embodiment.
[0042] Figure 5 is a block diagram of a scanning device according to an exemplary embodiment.
[0043] Figure 6 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0044] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.
[0045] At present, the refresh rate of mainstream display touch panels is 60 times per second, that is, the display interface is refreshed once every 16.6ms. Taking the LCD (Liquid Crystal Display) display touch panel as an example, the refresh of the display touch panel is not completed by a one-time scan, but is scanned line by line from left to right and from top to bottom to complete the refresh of a display frame. Vsync (vertical synchronization) and Hsync (horizontal synchronization) are timing signals for the refresh process of the display touch panel. Before each display frame is scanned, the Vsync signal is valid once, so the frame frequency of the display touch panel can be determined by the Vsync signal, that is, the number of times the display touch panel is refreshed per second (unit Hz); before each display scan of a line, the Hsync signal is valid once, so the line frequency of the display touch panel can be determined by the Hsync signal, that is, the number of times the display touch panel scans a line from left to right per second (unit Hz).
[0046] TDDI (Touch and Display Driver Integration) integrates the touch and display driver into the same chip. Touch scanning and display scanning are implemented through time-sharing multiplexing, dividing the frame refresh time into two parts: one for touch scanning and the other for display scanning, which do not interfere with each other to reduce mutual interference between signals. Therefore, touch scanning can be implemented during Vsync Blanking (vertical synchronization blanking) or Hsync Blanking (horizontal synchronization blanking). Vsync Blanking refers to the time required to return to the initial scanning position of the next frame after completing the scan of the last row of the current frame. Hsync Blanking refers to the time required to return to the initial scanning position of the next row after completing the scan of the current row. Typically, Vsync Blanking is 1000-2000us, and Hsync Blanking is 100-200us.
[0047] The circuitry used for touch scanning in electronic devices includes an AFE (Analog Front End) and an ADC (Analog-to-Digital Converter). To save costs, the AFE channels use a 1:N MUX (Multiplexer) architecture, meaning that one AFE channel can be time-shared with N physical channels. Each MUX scan typically takes longer than 100µs. Therefore, if touch scanning is performed within Vsync blanking, N MUX scans can be performed simultaneously within the Vsync blanking, making the MUX interval (approximately 10µs) almost negligible. Because the Vsync time is the same as the refresh time, i.e., 60Hz, the reporting rate (the frequency of data reporting) is limited to 60Hz. When users use electronic devices for gaming and entertainment that requires rapid strokes, a low reporting rate can affect the responsiveness of touch operations. To increase the reporting rate, the only way is to double the reporting rate through interpolation. This means that within the scan time of a display scan frame, for example, 8.3ms, software calculates a frame of touch scan data and then reports it. However, the touch scan frame data calculated through the interpolation algorithm differs from the actual scan data and cannot truly reflect the user's touch operation. While interpolation can increase the reporting rate, it cannot effectively improve the accuracy of touch operation response.
[0048] If touch scanning is performed within Hsync Blanking, N groups of muxes must be scanned within N Hsync Blanking frames, and the N groups of touch scan data must be concatenated to complete a single frame of touch scan data. Because multiple touch scans can be completed within a single display scan, the reporting rate can reach 120Hz or higher, improving touch performance, authenticity, and accuracy. However, due to the long interval between MUX scans, if a user quickly and lightly touches or draws a line on the display touch panel, incomplete touch scan data can easily lead to touch data anomalies, resulting in touch interruptions, missed touch captures, and other issues. For example, if the MUX adopts a 1:4 architecture, all physical channels of the display touch panel need to be divided into 4 times (4 MUXs) to complete the scanning. Assuming that the Vsync Blanking time is 1ms, and two frames of touch scanning are completed in one frame of display scanning, the MUX interval time is (16.6ms-1ms) / 8=1.95ms. The interval time between multiple scanning processes in a touch scanning frame is relatively long. There will be two touch areas with a relatively close physical distance, but the interval time between these two touch areas during the touch scanning process is relatively long. As a result, the user has moved to a farther touch area within the above-mentioned interval time before the scanning of the touch area with a relatively close physical distance is started. As a result, the touch data applied by the user on the display touch panel cannot be effectively collected, and the integrity of the touch scanning data cannot be guaranteed, resulting in touch disconnection or "touch ghost points" and other phenomena.
[0049] The following example illustrates the situation where incomplete touch scan data may occur. Suppose the user touches the Figure 2 At the location indicated by the circle in the middle, the majority of the horizontal touch area falls within column 3, with a small portion falling within column 4. Theoretically, the horizontal coordinate of the touch point should be at the center of the circle, i.e., column 3. However, if the finger touches this location between the completion of MUX3 scanning and the start of MUX4 scanning, the channel on column 3 will have missed the scanning time, resulting in incomplete touch data. This means that the data from column 3 is lost, leaving only the data from column 4. The actual coordinates fed back will then be on column 4, causing touch deviation.
[0050] For example, refer to Figure 2As shown, the user clicks on column 4 of the touch area and gradually slides towards column 8. Since the touch scanning order is columns 1, 5, 9, and 13 as the first sequence, columns 2, 6, 10, and 14 as the second sequence, columns 3, 7, 11, and 15 as the third sequence, and columns 4, 6, 12, and 16 as the fourth sequence, after column 4 is scanned, column 5 is scanned next. There is a VsyncBlanking duration between the scans of columns 4 and 5. During this time interval, the user's finger has already moved from column 4 to column 8, but the touch scanning step has just executed the scan of column 5, resulting in the data of the touch process not being effectively collected.
[0051] In order to solve the above problems, the present disclosure provides a scanning method, in which the display time period in the display scanning frame and the touch time period in the touch scanning frame are staggered. Since one touch scanning frame corresponds to one or more touch scanning frames, the reporting rate can be improved, and the response speed of the electronic device to the touch operation can be improved. The adjacent first touch scanning frame and the second touch scanning frame perform touch scanning on n groups of touch areas in the first scanning order and the second scanning order respectively. The touch area scanned last in the first scanning order is not adjacent to the touch area scanned first in the second scanning order. This can effectively solve the problem of disconnection or ghost points due to incomplete touch data when the user performs a sliding touch operation, thereby improving the user's touch experience. For example, it can effectively solve the problem mentioned above that when the user performs a sliding touch in the Vsync Blanking time interval, the user's sliding touch cannot be effectively collected.
[0052] The exemplary embodiments of the present disclosure provide a scanning method that can be applied to smart electronic devices with a display touch panel, such as mobile phones, tablet computers, notebooks, and smart watches. The display touch panel can be used to display images and receive user touch input. The touch input includes any input from a conductive object such as one or more fingers of the user, a stylus, or the like that directly contacts the display touch panel. Figure 1 As shown, the scanning method shown in the present disclosure includes:
[0053] S101 . In a display scanning frame, display scanning is sequentially performed on m display time periods, wherein a touch time period for performing touch scanning is provided between two adjacent display time periods in part or all of the display time periods.
[0054] S102 : In a first touch scanning frame, perform touch scanning on n groups of touch areas in a first scanning sequence.
[0055] S103. In the second touch scanning frame, perform touch scanning on n groups of touch areas in a second scanning order; the first touch scanning frame and the second touch scanning frame are two adjacent touch scanning frames, and the touch area scanned last in the first scanning order is not adjacent to the touch area scanned first in the second scanning order.
[0056] In step S101, since TDDI technology can realize touch scanning and display scanning in a time-sharing multiplexing manner, that is, while the display touch panel is refreshing and displaying a new frame of image, it can also scan the touch input. A frame of display scanning is divided into m display time periods that are executed in sequence, and a frame of touch scanning is divided into n touch time periods that are executed in sequence. Among them, there is a touch time period for performing touch scanning between two adjacent display time periods in some or all of the display time periods, that is, the display time period and the touch time period are staggered, so m and n are integers greater than or equal to 2. In this way, it is possible to achieve multiple frames of touch scanning in one frame of display scanning, so that the frequency of touch scanning is multiple times the frequency of display scanning. Since a touch data is reported after completing a frame of touch scanning, the reporting rate is improved, and the sensitivity of the display touch panel to touch operations is improved.
[0057] In one example, if Figure 3a As shown, a frame of display scan 31 can be divided into 8 display time periods 310 executed in sequence, and a frame of touch scan frame 32 can be divided into 4 touch time periods 320 executed in sequence. There is a touch time period for executing touch scan between two adjacent display time periods in all display time periods. The 8 display time periods 310 are interlaced with the 8 touch time periods 320. The scanning of all display areas of the display touch panel can be completed in one frame of display scan 31, and the scanning of all touch areas of the display touch panel can be completed in one frame of touch scan frame 32, that is, one frame of display scan 31 corresponds to two frames of touch scan 32. If the frequency of display scan is 60Hz, the frequency of touch scan is 120Hz.
[0058] In another example, Figure 3b As shown, a display scan frame 31 can be divided into 8 display time periods 310 executed in sequence, and a touch scan frame 32 can be divided into 4 touch time periods 320 executed in sequence, wherein the duration of a display scan frame 31 corresponds to the duration of a touch scan frame 32, that is, the frequency of touch scanning is the same as the frequency of display scanning, both of which are 60Hz. Figure 3b As shown, the 8 display time periods 310 and the 4 touch time periods 320 are not staggered, but two display time periods 310 are set between two adjacent touch time periods 320, that is, not any two adjacent display time periods are set with a touch time period, and only some display time periods are set with a touch time period for performing touch scanning.
[0059] In step S102, to save costs, the AFE channel uses MUX for time-sharing multiplexing, that is, one AFE channel is time-sharing multiplexed by multiple physical channels. The AFE collects analog touch data, and the ADC converts the analog touch data provided by the AFE into digital touch data. The AFE can only collect one set of data at a time, that is, one MUX circuit completes the collection within one touch time period, and the physical channels connected to one MUX circuit are the corresponding set of touch areas. The display touch panel corresponds to multiple physical channels, so the display touch panel can be divided into multiple groups of touch areas based on the MUX architecture. Each touch time period scans a group of touch areas. When all touch time periods are scanned, the scan of all touch areas of the display touch panel is completed, that is, one frame of touch scanning is completed.
[0060] In one example, if Figure 2 As shown, taking an 18*16 display touch panel as an example, the AFE channel adopts a 1:4 MUX architecture, including 4 MUX circuits, namely MUX1, MUX2, MUX3, and MUX4. The touch data acquisition of one MUX is completed within one touch time period. Therefore, when all four MUXs are scanned, a frame of touch scanning is completed. Among them, MUX1 is connected to the physical channels of columns 1, 5, 9, and 13 of the display touch panel, MUX2 is connected to the physical channels of columns 2, 6, 10, and 14 of the display touch panel, MUX3 is connected to the physical channels of columns 3, 7, 11, and 15 of the display touch panel, and MUX4 is connected to the physical channels of columns 4, 8, 12, and 16 of the display touch panel. Therefore, columns 1, 5, 9, and 13 of the touch panel are a group of touch areas. Columns 2, 6, 10, and 14 of the touch panel form a group of touch area B; columns 3, 7, 11, and 15 of the touch panel form a group of touch area C; and columns 4, 8, 12, and 16 of the touch panel form a group of touch area D. During the first touch time period of a touch scan frame, touch area A is scanned; during the second touch time period, touch area B is scanned; during the third touch time period, touch area C is scanned; and during the fourth touch time period, touch area D is scanned. Because a MUX 1:4 time-division multiplexing mode is used, only one group of touch areas is scanned during each touch time period.
[0061] In the two adjacent touch scanning frames, the two touch scanning frames scan the n groups of touch areas in different scanning sequences, that is, the first touch scanning frame scans the n groups of touch areas in a first scanning sequence, and the second touch scanning frame scans the n groups of touch areas in a second scanning sequence, so as to ensure that the last scanned touch area in the first touch scanning frame is not adjacent to the first scanned touch area in the second touch scanning frame. For example, the display touch panel is divided into four touch areas, arranged in the order of touch area A, touch area B, touch area C, and touch area D. In the first touch scanning frame, touch scanning is performed in the order of touch area A, touch area B, touch area C, and touch area D. The second adjacent touch scanning frame cannot first scan the touch area A, that is, the second touch scanning frame can perform touch scanning in the order of touch area B, touch area C, touch area D, and touch area A, or in the order of touch area D, touch area B, touch area A, and touch area C, or in the order of touch area C, touch area B, touch area A, and touch area D. Different scanning sequences are not limited, as long as the first scanned touch area in the second touch scanning frame is not adjacent to the last scanned touch area in the first touch scanning frame.
[0062] If the adjacent touch scanning frames are always scanned in the same scanning sequence, when the first touch scanning frame ends and enters the second display scanning frame, a Vsync Blanking will be interval in the scanning process switched by MUX4 to MUX1, which will cause the physical distance of the touch movement position of the user on the display touch panel to be short, but the interval time to be long, resulting in an abnormality in the process of quickly drawing a line on the display touch panel. If the two adjacent touch scanning frames respectively use different scanning sequences to scan the touch areas, so that the last scanned touch area in the first touch scanning frame is not adjacent to the first scanned touch area in the second touch scanning frame, when the first touch scanning frame ends and enters the second display scanning frame, although a Vsync Blanking will still be interval, the touch physical distance of the display touch panel is also lengthened, which can effectively solve the abnormality in the process of quickly drawing a line.
[0063] In the present disclosure, the display time period in the display scanning frame and the touch time period in the touch scanning frame are interleaved, the two adjacent touch scanning frames use different scanning sequences to scan the multiple groups of touch areas, and the last scanned touch area in the first touch scanning frame is not adjacent to the first scanned touch area in the second touch scanning frame, which not only can improve the report rate and improve the response speed of the electronic device to the touch operation, but also can effectively solve the problem of broken line or ghost point due to incomplete touch data when quickly drawing a line, and improve the touch experience of the user.
[0064] In some embodiments, the first scanning order and the second scanning order are in reverse order.
[0065] In two adjacent touch scanning frames, the first touch scanning frame scans n groups of touch areas in a first order, and the second touch scanning frame scans n groups of touch areas in the reverse order of the first order. For example, in the first touch scanning frame, touch scanning is performed in the order of touch area A, touch area B, touch area C, and touch area D, and in the second touch scanning frame, touch scanning is performed in the order of touch area D, touch area C, touch area B, and touch area A. This ensures that the touch area scanned last in the first touch scanning frame is not adjacent to the touch area scanned first in the second touch scanning frame.
[0066] by Figure 2 In the example of the 18*16 display touch panel, the AFE channel adopts a 1:4 MUX architecture, including 4 MUX circuits, namely MUX1, MUX2, MUX3, and MUX4. The columns 1, 5, 9, and 13 of the touch panel are touch area A, the columns 2, 6, 10, and 14 of the touch panel are touch area B, the columns 3, 7, 11, and 15 of the touch panel are touch area C, and the columns 4, 8, 12, and 16 of the touch panel are touch area D. MUX1 scans the touch area Domain A, MUX2 scans touch area B, MUX3 scans touch area C, and MUX4 scans touch area D. Then, the first touch scan frame scans touch area A, touch area B, touch area C, and touch area D in the order of MUX1, MUX2, MUX3, and MUX4, that is, first scans column 1, column 5, column 9, and column 13, then scans column 2, column 6, column 10, and column 14, then scans column 3, column 7, column 11, and column 15, and finally scans column 4, column 8, column 12, and column 16 to complete the first touch scan frame. The adjacent second touch scan frame scans touch area D, touch area C, touch area B, and touch area A in the order of MUX4, MUX3, MUX2, and MUX1, that is, first scans column 4, column 8, column 12, and column 16, then scans column 3, column 7, column 11, and column 15, then scans column 2, column 6, column 10, and column 14, and finally scans column 1, column 5, column 9, and column 13 to complete the second touch scan frame.
[0067] For adjacent touch scan frames, scanning n groups of touch areas in reverse order can effectively solve the abnormal problems in the fast line drawing process. For example, since columns 4 and 5 belong to different groups of touch areas, scanning from column 4 to column 5 will experience a Vsync Blanking time, which is a long time. If the line is drawn during this period, the touch cannot be scanned, that is, the physical distance of the touch movement position is short, but the interval time is long. If adjacent touch scan frames scan n groups of touch areas in reverse order, then after the previous touch scan frame scans column 4, the next touch scan frame will not scan column 6, but will scan column 8. Therefore, although the scanning time interval remains unchanged, the physical distance becomes longer, and the touch information during the line drawing process can be collected to ensure the integrity of the touch data.
[0068] In some embodiments, the display touch panel includes N sets of area sets, each set of touch areas includes N sub-areas, and each set of area sets includes one sub-area of each of the n sets of touch areas, where N is determined based on hardware performance of the display touch panel;
[0069] The scanning method further includes:
[0070] In each touch time period, N sub-areas belonging to the same touch area in the N group of area sets are scanned simultaneously.
[0071] Each group of touch areas contains N sub-areas, and one sub-area of each group of touch areas in the n groups of touch areas constitutes an area set, where the specific value of N is determined by the hardware performance of the display touch panel. For example, if the size of the display touch panel is 18*16, it can be divided into 4 groups of area sets. For another example, if the size of the display touch panel is 32*32, it can be divided into 8 groups of area sets.
[0072] In one example, the AFE channel adopts a 1:4 MUX architecture, including four MUX circuits, namely MUX1, MUX2, MUX3, and MUX4. Therefore, the display touch panel is divided into four groups of touch areas. Columns 1, 5, 9, and 13 of the touch panel are touch area A, columns 2, 6, 10, and 14 of the touch panel are touch area B, columns 3, 7, 11, and 15 of the touch panel are touch area C, and columns 4, 8, 12, and 16 of the touch panel are touch area D. Figure 2Taking the 18*16 display touch panel as an example, each touch area includes 4 sub-areas, and a sub-area of each touch area in the 4 touch areas constitutes a group of area sets, that is, the entire display touch panel is divided into 4 groups of area sets, among which sub-area columns 1, 2, 3, and 4 are area set a, sub-area columns 5, 6, 7, and 8 are area set b, sub-area columns 9, 10, 11, and 12 are area set c, and sub-area columns 13, 14, 15, and 16 are area set d.
[0073] Since the area set includes one sub-area of each touch area in n groups of touch areas, and the MUX only scans one touch area in each touch time, the N sub-areas belonging to the same touch area in the N groups of area sets are scanned simultaneously in each touch time period. For example, since sub-area columns 1, 2, 3, and 4 are area set a, sub-area columns 5, 6, 7, and 8 are area set b, sub-area columns 9, 10, 11, and 12 are area set c, and sub-area columns 13, 14, 15, and 16 are area set d, and sub-area columns 1, 5, 9, and 13 are touch area A, sub-area columns 2, 6, 10, and 14 are touch area B, sub-area columns 3, 7, 11, and 15 are touch area C, and sub-area columns 4, Column 8, column 12, and column 16 are touch area D. Therefore, in one touch time period, sub-area column 1 in area set a, sub-area column 5 in area set b, sub-area column 9 in area set c, and sub-area column 13 in area set d will be scanned simultaneously. In the next touch time, sub-area column 2 in area set a, sub-area column 6 in area set b, sub-area column 10 in area set c, and sub-area column 14 in area set d will be scanned simultaneously, and so on, until a frame of touch scanning is completed.
[0074] In some embodiments, the area of each group of region sets is the same; and / or, the areas of the n sub-regions in each group of region sets are the same. Since each group of touch control areas contains N sub-regions, and the region set includes one sub-region of each group of touch control areas in the n groups of touch control areas, the area of each group of region sets is the sum of one sub-region of each group of touch control areas in all touch control areas. The areas of the N sub-regions can be the same or different, so the area of each group of region sets can also be the same or different. For example, the area of each group of region sets is the same, and the areas of the n sub-regions in each group of region sets are different; for another example, the area of each group of region sets is different, and the areas of the n sub-regions in each group of region sets are the same; for another example, the area of each group of region sets is the same, and the areas of the n sub-regions in each group of region sets are the same, which is beneficial to the production of the display touch panel and the process is simpler.
[0075] If the N sub-areas contained in each set of touch areas are equal in area, then the area of each set of area sets is the same. Figure 2 As shown, each sub-region corresponds to a column of the display touch panel. Therefore, the areas of the n sub-regions in each region set are identical. The area of each region set is the sum of the sub-regions corresponding to the four columns, resulting in the same area for each region set. Because the sub-regions and region sets are identical, each touch area on the display touch panel can achieve the same detection time.
[0076] In some embodiments, the area of each set of region groups is different; and / or the areas of the n sub-regions in each set of region groups are different. For example, the area of each set of region groups is different, but the areas of the n sub-regions in each set of region groups are the same; for another example, the area of each set of region groups is the same, but the areas of the n sub-regions in each set of region groups are different; for another example, the area of each set of region groups is different, and the areas of the n sub-regions in each set of region groups are also different.
[0077] To improve the accuracy of touch scanning, the frequently touched area (e.g., the center area) on the display touch panel can be divided more finely according to the user's usage habits, and the area can be divided into multiple sub-areas. Therefore, more scan times can be obtained within a limited area, improving the accuracy of touch data. For the less frequently touched area (e.g., the edge area) on the display touch panel, it can be divided into fewer sub-areas. Since the areas of the sub-areas are different, the area of each group of area sets will also be different.
[0078] In some embodiments, the ratio of m to n is an integer greater than or equal to 2.
[0079] like Figure 3a As shown, a display scan frame 31 is divided into eight display time periods 310 executed sequentially, and a touch scan frame 32 is divided into four touch time periods 320 executed sequentially. A touch time period 320 is inserted between every two adjacent display time periods 310, and correspondingly, a display time period 310 is inserted between every two adjacent touch time periods 320. The display time periods 310 and the touch time periods 320 are interleaved. In this way, one display scan frame 31 corresponds to two touch scan frames 32. Since the time of one display scan frame 31 is the refresh time of the display touch panel, the frequency of the display scan frame 31 is 60Hz, and the frequency of the touch scan frame 32 is 120Hz. After each completed touch scan frame, touch data is reported to the TDDI chip, so the reporting rate is 120Hz. That is, if the ratio of m to n is equal to 2, the reporting rate is 120Hz.
[0080] If you want to increase the reporting rate, you can divide a display scan frame into multiple shorter display time periods, so that the touch time periods that can meet the requirements of more than two touch scan frames can be inserted into every two adjacent display time periods. For example, to increase the reporting rate to 240Hz, you can divide a display scan frame into 16 sequentially executed display time periods and a touch scan frame into 4 sequentially executed touch time periods. To increase the reporting rate to 360Hz, you can divide a display scan frame into 24 sequentially executed display time periods and a touch scan frame into 4 sequentially executed touch time periods.
[0081] like Figure 3b As shown, a display scan frame 31 is divided into eight display time periods 310, which are executed sequentially. A touch scan frame 32 is divided into four touch time periods 320, which are executed sequentially. A touch time period 320 is inserted between every two adjacent display time periods 310. Correspondingly, two display time periods 310 are inserted between every two adjacent touch time periods 320. Thus, one display scan frame 31 corresponds to one touch scan frame 32. Since the frequency of the display scan frame 31 is 60 Hz, the frequency of the touch scan frame 32 is also 60 Hz. After each completed touch scan frame, touch data is reported to the TDDI chip, resulting in a 60 Hz reporting rate. That is, if the ratio of m to n is equal to 1, the reporting rate is the same as the display scan frame frequency, which cannot be effectively improved.
[0082] According to an exemplary embodiment, Figure 4 As shown, the scanning method in this embodiment includes:
[0083] S401 . In a display scanning frame, display scanning is sequentially performed on m display time periods, wherein a touch time period for performing touch scanning is provided between two adjacent display time periods in part or all of the display time periods.
[0084] S402 : In a first touch scanning frame, perform touch scanning on n groups of touch areas in a first scanning order.
[0085] S403. In the second touch scanning frame, perform touch scanning on n groups of touch areas in a second scanning order; the first touch scanning frame and the second touch scanning frame are two adjacent touch scanning frames, and the touch area scanned last in the first scanning order is not adjacent to the touch area scanned first in the second scanning order.
[0086] S404, in response to the received touch operation, executing touch scanning steps of a first touch scanning frame and a second touch scanning frame;
[0087] S405: Acquire touch information, where the touch information includes at least one touch scan frame;
[0088] S406, when the touch information contains multiple frames of touch scanning frames, reporting the touch scanning frames after the first frame of touch scanning frames.
[0089] S407, when the touch information contains one frame of touch scanning frames, reporting the touch scanning frames after delaying one frame of touch scanning frames.
[0090] In step S401, S402 and S403, the same as the implementation in the above embodiment, which will not be repeated here.
[0091] In step S404, when the touch display panel is in the lighting state, the TDDI chip will continuously perform touch scanning and display scanning on the display touch panel based on the time division multiplexing rule, by continuously performing display scanning to ensure that the display touch panel continuously updates the display content, and by touch scanning to ensure that the display touch panel can capture touch operations when receiving scanning, and further obtain touch information (i.e. touch data), and then report to the processor for subsequent data processing process. Whether the user performs touch operation or not, as long as the display touch panel is in the lighting state, the touch scanning will be continuously performed, and the touch scanning steps of the first touch scanning frame and the second touch scanning frame will be repeatedly executed. Of course, in some cases, the touch scanning steps of the first touch scanning frame and the second touch scanning frame can also be executed in response to the touch operation after receiving the touch operation, and other ways of touch scanning steps can be executed when no touch operation is received. Among them, the electronic device receives the touch operation of the user acting on the display touch panel, which can include touch operations such as clicking, sliding, etc., and the touch operation is scanned according to the touch scanning steps of the first touch scanning frame and the second touch scanning frame.
[0092] For step S405, when the user performs touch operation on the display touch panel, the TDDI chip will continuously perform touch scanning, so that the touch information generated by the touch operation of the user can be obtained. Among them, the touch information contains at least one frame of touch scanning frame.
[0093] For steps S406 and S407, refer to Figure 2As shown, during the touch scanning process, when the user operates the display touch panel, the first landing point of the touch operation is located in column 3 of the touch area. It is possible that the touch scanning step for column 3 of the touch area has just been completed and the touch scanning step for column 4 of the touch area or the touch scanning step for column 1 of the touch area has already been entered, resulting in the touch data acting on column 3 of the touch area not being collected. Only in the next second touch scanning frame can the touch data of the user's touch operation be obtained. In such a situation, since it is impossible to accurately determine the first landing point of the user, it can also be understood that there is no way to accurately obtain the first touch scanning frame during the user's touch operation. In order to ensure the accuracy of the collected touch data, different methods are used according to the length of time the user operates on the display touch panel to process the touch information (i.e., touch data) generated by the user's touch operation on the display touch panel.
[0094] In step S406, when the touch information includes multiple touch scan frames, it is impossible to determine whether the touch data collected by the first touch scan frame is complete, and since the touch information includes other touch scan frames subsequent to the first touch scan frame in addition to the first touch scan frame, the other touch scan frames can already represent the user's intention of the touch operation. Therefore, even if the first touch scan frame is ignored (i.e., discarded), and only the touch data of the other touch scan frames after the first touch scan frame are reported to the TDDI chip (or processor), it is still possible to respond to the second touch scan frame and subsequent touch scan frames.
[0095] In step S407, when the touch information contains one touch scan frame, that is, the user quickly clicks on the display touch panel, if the first touch scan frame (that is, the only touch scan frame) is discarded, no touch data will be reported, and the display touch panel will not respond to the user's touch operation, which is equivalent to missing the touch data of the user's touch operation, which will inevitably reduce the user's experience. Therefore, in order to avoid the situation where touch data is missed, when there is only one touch scan frame in the touch information, the touch scan frame is delayed by one frame in reporting, ensuring that the touch data of the touch operation in the touch area where the quick click occurs can be accurately reported, avoiding the situation where the touch data is incomplete, that is, the situation where "touch ghost points" appear, so as to improve the accuracy and reliability of touch operation acquisition.
[0096] In the present disclosure, the first frame of touch information, the touch scanning frame, is processed, and whether to delay reporting or ignore it is selected based on the frame number of the touch scanning frame in the touch information. This can improve the accuracy of touch, avoid missed click touches and click operations becoming line operations, ensure the accuracy of the click touch operation position, and enhance the user's touch experience.
[0097] The exemplary embodiment of the present disclosure provides a scanning device, such as Figure 5 As shown, a block diagram of a scanning device shown in the present disclosure.
[0098] The block diagram includes: a first scanning module 51 and a second scanning module 52. The first scanning module 51 is configured to sequentially perform display scanning on m display time periods in a display scanning frame, wherein a touch time period for performing touch scanning exists between two adjacent display time periods in some or all of the display time periods. The second scanning module 52 is configured to perform touch scanning on n groups of touch areas in a first scanning order in a first touch scanning frame, and to perform touch scanning on n groups of touch areas in a second scanning order in a second touch scanning frame. The first touch scanning frame and the second touch scanning frame are two adjacent touch scanning frames, and the touch area scanned last in the first scanning order is not adjacent to the touch area scanned first in the second scanning order. A touch scanning frame includes n sequentially executed touch time periods, each of which scans a group of touch areas, wherein n and m are integers greater than or equal to 2.
[0099] In an exemplary embodiment of the present disclosure, the first scanning order and the second scanning order are in reverse order.
[0100] In an exemplary embodiment of the present disclosure, the display touch panel includes N sets of area sets, each set of touch areas includes N sub-areas, and each set of area sets includes one sub-area of each of the n sets of touch areas, where N is determined based on the hardware performance of the display touch panel;
[0101] The second scanning module 52 is further configured to simultaneously scan N sub-regions belonging to the same touch region in the N group of region sets in each touch time period.
[0102] In an exemplary embodiment of the present disclosure, the areas of each group of region sets are the same; and / or the areas of the n sub-regions in each group of region sets are the same.
[0103] In an exemplary embodiment of the present disclosure, the area of each group of region sets is different; and / or the areas of the n sub-regions in each group of region sets are different.
[0104] In an exemplary embodiment of the present disclosure, the ratio of m to n is an integer greater than or equal to 2.
[0105] In an exemplary embodiment of the present disclosure, the second scanning module 52 is also used to: obtain touch information in response to a received touch operation, where the touch information includes at least one touch scanning frame; when the touch information includes multiple touch scanning frames, report the touch scanning frame after the first touch scanning frame; or, when the touch information includes one touch scanning frame, report the touch scanning frame with a delay of one frame.
[0106] In an exemplary embodiment of the present disclosure, the second scanning module 52 is further configured to: execute the touch scanning steps of the first touch scanning frame and the second touch scanning frame in response to the received touch operation.
[0107] Regarding the scanning device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated on here.
[0108] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0109] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 602 may include one or more modules to facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
[0110] The memory 604 is configured to store various types of data to support operations on the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0111] The power supply assembly 606 provides power to the various components of the electronic device 600. The power supply assembly 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0112] The multimedia component 608 includes a screen to provide an output interface between the electronic device 600 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swiping, and gestures on the touch panel. The touch sensor can not only sense a boundary of a touching or swiping action, but also detect duration and pressure related to the touching or swiping action. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0113] The audio component 610 is configured to output and / or input an audio signal. For example, the audio component 610 includes a microphone (MIC) to receive an external audio signal when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 also includes a speaker to output an audio signal.
[0114] The I / O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0115] The sensor component 614 includes one or more sensors to provide various state assessments for the electronic device 600. For example, the sensor component 614 can detect an open / closed state of the electronic device 600, relative positioning of components, such as a display and a keypad of the electronic device 600, a change in position of the electronic device 600 or a component of the electronic device 600, presence or absence of user contact with the electronic device 600, an orientation or acceleration / deceleration of the electronic device 600, and a temperature change of the electronic device 600. The sensor component 614 can include a proximity sensor configured to detect presence of a nearby object without any physical touch. The sensor component 614 can further include a light sensor, such as a CMOS or CCD image sensor, for use in an imaging application. In some embodiments, the sensor component 614 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0116] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0117] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0118] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by the processor 620 of the electronic device 600 to perform the above scanning method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0119] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables a processing device of the electronic device to perform a scanning method provided by an exemplary embodiment of the present disclosure.
[0120] Other embodiments of the present invention will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
[0121] It should be understood that the present invention is not limited to the exact construction described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A scanning method, characterized in that: The scanning method includes: In a display scanning frame, display scanning is performed sequentially for m display time periods, wherein a touch scanning period is provided between two adjacent display time periods in some or all of the display time periods. A touch scanning frame includes n touch time periods that are performed sequentially, and each touch time period scans a group of touch areas, wherein n and m are integers greater than or equal to 2. In a first touch scanning frame, performing touch scanning on the n groups of touch areas in a first scanning order; In a second touch scanning frame, performing touch scanning on the n groups of touch areas in a second scanning order; The first touch scanning frame and the second touch scanning frame are two adjacent touch scanning frames, and the touch area scanned last in the first scanning sequence is not adjacent to the touch area scanned first in the second scanning sequence.
2. The scanning method according to claim 1, wherein: The first scanning order and the second scanning order are in reverse order.
3. The scanning method according to claim 1, wherein: The display touch panel includes N groups of area sets, each group of the touch areas includes N sub-areas, and each group of the area sets includes one sub-area of each of the n groups of touch areas, wherein N is determined based on the hardware performance of the display touch panel; The scanning method further includes: In each of the touch time periods, N sub-areas in the N groups of area sets belonging to the same touch area are scanned simultaneously.
4. The scanning method according to claim 3, characterized in that: The area of each group of region sets is the same; and / or, The areas of the n sub-regions in each group of the region sets are the same.
5. The scanning method according to claim 3, wherein: The area of each group of region sets is different; and / or, The areas of the n sub-regions in each group of the region sets are different.
6. The scanning method according to any one of claims 1 to 5, characterized in that: The ratio of m to n is an integer greater than or equal to 2.
7. The scanning method according to any one of claims 1 to 5, characterized in that: The scanning method further comprises: In response to the received touch operation, acquiring touch information, wherein the touch information includes at least one touch scan frame; When the touch information includes multiple touch scan frames, the touch scan frames after the first touch scan frame are reported; or, When the touch information includes a touch scan frame, the touch scan frame is delayed for a frame time before being reported.
8. The scanning method according to any one of claims 1 to 5, characterized in that: The scanning method includes: In response to the received touch operation, the touch scanning steps of the first touch scanning frame and the second touch scanning frame are performed.
9. A scanning device, characterized in that: The scanning device comprises: A first scanning module is configured to sequentially perform display scanning on m display time periods in a display scanning frame, wherein a touch time period for performing touch scanning is provided between two adjacent display time periods in some or all of the display time periods; a second scanning module configured to perform touch scanning on n groups of touch areas in a first scanning order in a first touch scanning frame; and perform touch scanning on n groups of touch areas in a second scanning order in a second touch scanning frame; the first touch scanning frame and the second touch scanning frame are two adjacent touch scanning frames, and the touch area scanned last in the first scanning order is not adjacent to the touch area scanned first in the second scanning order; A touch scan frame includes n touch time periods executed sequentially, and each touch time period scans a group of touch areas, wherein n and m are integers greater than or equal to 2.
10. An electronic device, characterized in that: The electronic device comprises: Display touch panel, having display touch function; processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions in the memory to implement the scanning method according to any one of claims 1 to 8.
11. A non-transitory computer-readable storage medium having executable instructions stored thereon, characterized in that: When the executable instruction is executed by a processor, the scanning method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Voltage driving method for display panel and device
CN107978295A
Touch device and touch scanning method
CN112578941A