Scanning method and device, electronic equipment and medium
By interleaving display scans and touch scanning in electronic devices and adopting different scanning sequences, the problem of disconnection or ghost points when quickly scribing or sliding touch is solved, improving the device's touch response speed and user experience.
Patent Information
- Application Number
- CN202311244140.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-25
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2043-09-25
AI Technical Summary
When existing electronic devices quickly scribbling or sliding touch, due to incomplete touch data, they are prone to disconnection or ghost points problems, which affects the user's touch experience.
By interleaving the display time period in the display scan frame and the touch time period in the touch scan frame, the two adjacent touch scan frames scan the touch area in different scanning orders, ensuring that the last scanned area is not adjacent to the first scanned area.
It improves the response speed of electronic devices to touch operations, avoids disconnection or ghost points when users slide touch, and improves the user's touch experience.
Smart Images

Figure CN119690259A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic equipment, and in particular to a scanning method, device, electronic equipment and medium. Background Art
[0002] With the rapid development of modern technology, electronic devices such as smart phones, tablet computers, and laptops are widely used in daily life. As an interface for human-computer interaction, touch screens are used in many scenarios. TDDI (Touch and Display Driver Integration) is the integration of touch and display drivers. It integrates the touch chip and the display chip into the same chip, and realizes touch scanning and display scanning through time-sharing multiplexing. Using TDDI technology can effectively reduce the cost of electronic devices and improve the sensing sensitivity of electronic devices. Summary of the invention
[0003] In order 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 one display scanning frame, display scanning is performed sequentially for 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, and one touch scanning 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;
[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 group of the touch areas in 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 control time periods, N sub-areas in the N groups of area sets belonging to the same touch control 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 by a frame time and 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, 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 part or all of the display time periods;
[0026] A second scanning module is used 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] Among them, a touch scanning frame includes n touch time periods executed sequentially, each of the touch time periods scans a group of the 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 comprising:
[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 method disclosed in the present invention has the following beneficial effects: the display time period in the display scanning frame and the touch time period in the touch scanning frame are staggered, and 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, 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, so that the two touch areas with relatively far physical distance on the display touch panel can have a relatively long scanning time interval in the scanning process of the two adjacent touch scanning frames, thereby avoiding to a certain extent the staggered touch operation of the user on the touch area and the scanning time period of the touch area, and failing to collect effective touch data, thereby to a certain extent solving the problem of touch disconnection or missed touch data due to incomplete touch data, and 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 present 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 shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some 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 by scanning from left to right and from top to bottom line by line 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 rate 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 rate 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) is the integration of touch and display drivers. It integrates the touch chip and the display chip into the same chip, and implements touch scanning and display scanning through time-division multiplexing. It divides a 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, you can choose to implement touch scanning 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 the scan of the last line of the current frame ends, and Hsync Blanking refers to the time required to return to the initial scanning position of the next line after the scan of the current line ends. Usually Vsync Blanking is 1000-2000us, and Hsync Blanking is 100-200us.
[0047] The circuits used to implement touch scanning in electronic devices include AFE (Analog Front End) and ADC (Analog-to-Digital Converter). In order to save costs, the AFE channel adopts MUX (Multiplexer) 1:N architecture, that is, one AFE channel can be time-shared by N physical channels. Each group of MUX scans is generally greater than 100us. Therefore, if the touch scanning method in Vsync Blanking is adopted, N groups of Mux can be scanned in Vsync Blanking at the same time, and the interval time of MUX (about 10us) can be almost ignored. Since the Vsync time is the same as the refresh time, that is, 60Hz, the reporting rate (the frequency of reporting data) is limited to 60Hz. When users use electronic devices to play games that require fast line drawing, if the reporting rate is too low, it will affect the response speed of touch operation. If you want to increase the reporting rate, you can only double the reporting rate through the interpolation algorithm, that is, in the scanning time of a display scanning frame, for example, a frame of touch scanning data is calculated by software in 8.3ms and then reported. However, the data of the touch scanning frame calculated by the interpolation algorithm is different from the data of the touch scanning frame collected by the actual scanning, and cannot reflect the real touch operation of the user. That is, the reporting rate can be increased through the interpolation algorithm, but the response accuracy of the touch operation cannot be effectively improved.
[0048] If the touch scan method in Hsync Blanking is adopted, N groups of Mux need to be scanned in N HsyncBlankings, and then the N groups of touch scan data are spliced together to complete one frame of touch scan data. Since multiple frames of touch scan can be completed in one frame of display scan, the reporting rate can reach 120Hz, or even higher, improving the performance, authenticity and accuracy of touch. However, due to the long time interval of MUX scanning, if the user quickly and lightly touches the display touch panel, it is easy to cause abnormal touch data due to incomplete touch scan data, resulting in touch interruption, touch missed acquisition and other problems. 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 touch scans are completed in one display scan, the MUX interval time is (16.6ms-1ms) / 8=1.95ms. The interval time between multiple scanning processes in one touch scan frame is relatively long. There will be two touch areas that are physically close, 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 touch area with a closer physical distance is scanned. 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 scan 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 position shown by the circle in the middle, most of the touch area in the horizontal direction falls on column 3, and a small part falls on column 4. In theory, the horizontal coordinate of the touch point should be the center of the circle, that is, on column 3. However, if the finger touches this position during the period between the completion of MUX3 scanning and the start of MUX4 scanning, since the channel on column 3 has missed the scanning time, the touch data will be incomplete, the data of column 3 will be lost, and only the data of column 4 will be available. At this time, the actual coordinates fed back will 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 toward column 8. Since the order of touch scanning is column 1, column 5, column 9, column 13 together as the first sequence, column 2, column 6, column 10, column 14 together as the second sequence scan, column 3, column 7, column 11, column 15 as the third sequence scan, and column 4, column 6, column 12, column 16 as the fourth sequence scan. After column 4 is scanned, column 5 will be scanned next, and there is a VsyncBlanking duration between the scan of column 4 and the scan of column 5. During this time interval, the user's finger has 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 caused by 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, it can effectively avoid the problem that the user's sliding touch cannot be effectively collected.
[0052] The exemplary embodiments of the present disclosure provide a scanning method, which 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, etc. 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 performed sequentially 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 , performing touch scanning on n groups of touch areas in a first touch scanning frame in a first scanning sequence.
[0055] S103, in the second touch scanning frame, performing 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-division multiplexing manner, that is, in the process of refreshing the display touch panel to display a new frame of image, the touch input can also be scanned. A display scanning frame is divided into m display time periods that are executed in sequence, and a touch scanning frame is divided into n touch time periods that are executed in sequence, wherein there is a touch time period for performing touch scanning between two adjacent display time periods in part 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 touch scanning frames corresponding to one display scanning frame, so that the frequency of touch scanning is multiple times the frequency of display scanning. Since a touch data will be reported after completing a frame of touch scanning, the reporting rate is improved, and the sensitivity of the display touch panel to touch operation 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 any 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. In one frame of display scan 31, the scanning of all display areas of the display touch panel can be completed, and in one frame of touch scan frame 32, the scanning of all touch areas of the display touch panel can be completed, that is, one frame of display scan 31 corresponds to two frames of touch scan 32. If the frequency of display scan is 60 Hz, the frequency of touch scan is 120 Hz.
[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 scan is the same as the frequency of display scan, both of which are 60Hz. Figure 3b As shown, the eight display time periods 310 and the four 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 every two adjacent display time periods are provided with a touch time period, and only some of the display time periods are provided with a touch time period for performing touch scanning.
[0059] In step S102, in order 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, and 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, a MUX circuit is completed for collection within a touch time period, and the physical channel connected by a MUX circuit is a 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, and a group of touch areas is scanned in each touch time period. When all touch time period scans are completed, the scan of all touch areas of the display touch panel is completed, that is, a frame of touch scan 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. A, 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. In a touch scan frame, touch area A is scanned in the first touch time period, touch area B is scanned in the second touch time period, touch area C is scanned in the third touch time period, and touch area D is scanned in the fourth touch time period. Since the MUX1:4 time-division multiplexing mode is adopted, only one group of touch areas is scanned in each touch time period.
[0061] In two adjacent touch scanning frames, the two touch scanning frames use different scanning orders to scan n groups of touch areas, that is, the first touch scanning frame scans n groups of touch areas in a first scanning order, and the second touch scanning frame scans n groups of touch areas in a second scanning order to ensure 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. For example, the display touch panel is divided into four touch areas, which are 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 adjacent second touch scanning frame cannot scan touch area A first, 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. The second touch scanning frame can also perform touch scanning in the order of touch area D, touch area B, touch area A, and touch area C. The second touch scanning frame can also perform touch scanning in the order of touch area C, touch area B, touch area A, and touch area D. There is no specific limitation on different scanning orders, as long as the touch area scanned first in the second touch scanning frame is not adjacent to the touch area scanned last in the first touch scanning frame.
[0062] If adjacent touch scan frames are scanned in the same scanning order, when the first touch scan frame ends and enters the second display scan frame, there will be a Vsync Blanking interval in the scanning process of switching from MUX4 to MUX1, and the physical distance of the user's touch movement position on the display touch panel will be short, but the interval time will be long, causing anomalies in the process of fast drawing on the display touch panel. If two adjacent touch scan frames use different scanning orders to scan the touch area, so that the touch area scanned last in the first touch scan frame is not adjacent to the touch area scanned first in the second touch scan frame, when the first touch scan frame ends and enters the second display scan frame, although there will still be a Vsync Blanking interval, the physical touch distance of the display touch panel will also be longer, which can effectively solve the abnormal situation in the process of fast drawing.
[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 staggered, and two adjacent touch scanning frames use different scanning orders to scan multiple groups of touch areas, ensuring 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, which can not only improve the reporting rate and the response speed of the electronic device to the touch operation, but also effectively solve the problem of line breakage or ghost points due to incomplete touch data when drawing quickly, thereby improving the user's touch experience.
[0064] In some embodiments, the first scanning order is in reverse order to the second scanning 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 a reverse order of the first order. For example, the touch scanning is performed in the order of touch area A, touch area B, touch area C, and touch area D in the first touch scanning frame, and the touch scanning is performed in the order of touch area D, touch area C, touch area B, and touch area A in the second touch scanning frame, so 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 scanning 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 scan column 1, column 5, column 9, and column 13, then scan column 2, column 6, column 10, and column 14, then scan column 3, column 7, column 11, and column 15, and finally scan column 4, column 8, column 12, and column 16 to complete the first touch scanning frame. The adjacent second touch scanning 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 scanning 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 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 drawing is performed during this period, the touch cannot be scanned, that is, the physical distance of the touch moving 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 in the 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 set of touch areas in the n sets of touch areas, wherein N is determined based on the hardware performance of the display touch panel;
[0069] The scanning method further comprises:
[0070] In each touch control time period, N sub-areas in the N group of area sets belonging to the same touch control area are scanned simultaneously.
[0071] Each group of touch areas includes N sub-areas, and a sub-area of each group of touch areas in the n groups of touch areas constitutes an area set, wherein 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, so that 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 group of touch areas includes 4 sub-areas, and a sub-area of each of the 4 groups of 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 column 1, column 2, column 3, and column 4 are area set a, sub-area column 5, column 6, column 7, and column 8 are area set b, sub-area column 9, column 10, column 11, and column 12 are area set c, and sub-area column 13, column 14, column 15, and column 16 are area set d.
[0073] Since the region set includes one sub-region of each touch region in the n groups of touch regions, and the MUX only scans one touch region in each touch time, the N sub-regions belonging to the same touch region in the N groups of region sets are scanned simultaneously in each touch time period. For example, since sub-region columns 1, 2, 3, and 4 are region set a, sub-region columns 5, 6, 7, and 8 are region set b, sub-region columns 9, 10, 11, and 12 are region set c, and sub-region columns 13, 14, 15, and 16 are region set d, and sub-region columns 1, 5, 9, and 13 are touch region A, sub-region columns 2, 6, 10, and 14 are touch region B, sub-region columns 3, 7, 11, and 15 are touch region C, and sub-region 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 area sets is the same; and / or, the areas of the n sub-areas in each group of area sets are the same. Since each group of touch control areas includes N sub-areas, and the area set includes one sub-area of each group of touch control areas in the n groups of touch control areas, the area of each group of area sets is the sum of one sub-area of each group of touch control areas in all touch control areas. The areas of the N sub-areas can be the same or different, so the area of each group of area sets can also be the same or different. For example, the area of each group of area sets is the same, and the areas of the n sub-areas in each group of area sets are different; for another example, the area of each group of area sets is different, and the areas of the n sub-areas in each group of area sets are the same; for another example, the area of each group of area sets is the same, and the areas of the n sub-areas in each group of area sets are the same, which is beneficial to the production of display touch panels and the process is simpler.
[0075] If the N sub-areas contained in each set of touch control areas are equal in area, then the area of each set of area sets is the same. Figure 2 As shown, each sub-region is a column corresponding to the display touch panel, so the areas of the n sub-regions in each group of area sets are the same, and the area of each group of area sets is the sum of the sub-regions corresponding to the four columns, so the area of each group of area sets is the same. Since the sub-regions are the same and the area of the area sets is the same, each touch area on the display touch panel can obtain the same detection time.
[0076] In some embodiments, the area of each set of regions is different; and / or the areas of the n sub-regions in each set of regions are different. For example, the area of each set of regions is different, but the areas of the n sub-regions in each set of regions are the same; for another example, the area of each set of regions is the same, but the areas of the n sub-regions in each set of regions are different; for another example, the area of each set of regions is different, and the areas of the n sub-regions in each set of regions are also different.
[0077] In order to improve the accuracy of touch scanning, the frequently touched area (such as 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 to improve the accuracy of touch data. The area that is not frequently touched on the display touch panel (such as the edge area) is divided into fewer sub-areas. Since the area of the sub-areas is 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 8 display time periods 310 executed in sequence, and a touch scan frame 32 is divided into 4 touch time periods 320 executed in sequence. 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 period 310 and the touch time period 320 are interlaced, so that 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, so the frequency of the touch scan frame 32 is 120Hz. After each touch scan frame is completed, the touch data will be reported to the TDDI chip once, 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 short display time periods, so that the touch time periods that can meet the needs of more than two touch scan frames can be inserted into every two adjacent display time periods. For example, if you want to increase the reporting rate to 240Hz, you can divide a display scan frame into 16 display time periods that are executed in sequence, and divide a touch scan frame into 4 touch time periods that are executed in sequence; if you want to increase the reporting rate to 360Hz, you can divide a display scan frame into 24 display time periods that are executed in sequence, and divide a touch scan frame into 4 touch time periods that are executed in sequence.
[0081] like Figure 3b As shown, a display scan frame 31 is divided into 8 display time periods 310 executed in sequence, and a touch scan frame 32 is divided into 4 touch time periods 320 executed in sequence. A touch time period 320 is inserted between every two adjacent display time periods 310, and correspondingly, two display time periods 310 are inserted between every two adjacent touch time periods 320. In this way, one display scan frame 31 corresponds to one touch scan frame 32. Since the frequency of the display scan frame 31 is 60Hz, the frequency of the touch scan frame 32 is also 60Hz. After each touch scan frame is completed, the touch data will be reported to the TDDI chip once, so the reporting rate is 60Hz, that is, if the ratio of m to n is equal to 1, the reporting rate is the same as the frequency of the display scan frame, and the reporting rate 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 performed sequentially 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 , performing touch scanning on n groups of touch areas in a first touch scanning frame in a first scanning sequence.
[0085] S403, in the second touch scanning frame, performing 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, acquiring touch information, where the touch information includes at least one touch scanning frame;
[0088] S406: When the touch information includes multiple touch scanning frames, report the touch scanning frames after the first touch scanning frame.
[0089] S407: When the touch information includes a touch scan frame, delay the touch scan frame by one frame time before reporting.
[0090] Among them, steps S401, S402 and S403 are the same as those in the above embodiment and are not described again here.
[0091] In step S404, when the touch display panel is in the lighted state, the TDDI chip will continuously perform touch scanning and display scanning on the display touch panel based on the time-sharing multiplexing rule, and ensure that the display touch panel continues to update the display content by continuously performing display scanning. The touch scanning ensures that the display touch panel can capture the touch operation when receiving the scan, and then obtain the touch information (i.e., touch data), and then report it to the processor for subsequent data processing. Regardless of whether the user performs a touch operation, as long as the display touch panel is in the lighted state, the touch scanning will continue, 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, after receiving the touch operation, the touch scanning steps of the first touch scanning frame and the second touch scanning frame can be executed in response to the touch operation, and when the touch operation is not received, the touch scanning steps of other methods are executed. The electronic device receives a touch operation performed by a user on a display touch panel, such as click, slide and other touch operations, and scans the touch operation according to the touch scanning steps of the first touch scanning frame and the second touch scanning frame.
[0092] In step S405, when the user performs a touch operation on the display touch panel, the TDDI chip continuously performs touch scanning, and thus the touch information generated by the user's touch operation can be obtained, wherein the touch information includes at least one touch scanning frame.
[0093] For steps S406 and S407, refer to Figure 2As shown, during the touch scan 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 scan step for column 3 of the touch area has just been completed, and the touch scan step for column 4 of the touch area or the touch scan 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 scan 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 the first touch scan frame in the user's touch operation process cannot be accurately obtained. In order to ensure the accuracy of the collected touch data, according to the length of time the user operates on the display touch panel, different methods are used 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, in addition to the first touch scan frame, other touch scan frames subsequent 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 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 a 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 of missing touch data, when there is only one touch scan frame in the touch information, the touch scan frame is delayed by one frame to ensure that the touch data of the touch operation in the touch area where the quick click occurs can be accurately reported, avoiding the situation of incomplete touch data, that is, the situation of "touch ghost points", so as to improve the accuracy and reliability of touch operation acquisition.
[0096] In the present disclosure, the first touch scan frame of the touch information is processed, and whether to delay reporting or ignore it is selected based on the frame number of the touch scan frame in the touch information. This can improve the accuracy of the touch, avoid missed click touches and convert click operations into 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 used 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 part or all of the display time periods; the second scanning module 52 is used to perform touch scanning on n groups of touch areas in a first scanning sequence in a first touch scanning frame; and perform touch scanning on n groups of touch areas in a second scanning sequence 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 sequence is not adjacent to the touch area scanned first in the second scanning sequence; wherein a touch scanning 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.
[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 set of touch areas in the n sets of touch areas, wherein 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-areas in the N group of area sets belonging to the same touch area in each touch time period.
[0102] In an exemplary embodiment of the present disclosure, 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.
[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, the touch information including 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 after 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 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 operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the 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 component 606 provides power to the various components of the electronic device 600. The power supply component 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 that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. 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 may receive external multimedia data. Each front camera and rear camera may 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 audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0114] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0115] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the electronic device 600, the relative positioning of components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an accelerometer, 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, and the instructions can be executed by a processor 620 of an 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 execute a scanning method provided by an exemplary embodiment of the present disclosure.
[0120] Those skilled in the art will readily appreciate other embodiments of the present invention 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 present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0121] It should be understood that the present invention is not limited to the exact construction that has been 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 comprises: In one display scanning frame, display scanning is performed sequentially for 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, and one touch scanning 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; 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, characterized in that: The first scanning order and the second scanning order are in reverse order.
3. The scanning method according to claim 1, characterized in that: 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 group of the touch areas in 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 control time periods, N sub-areas in the N groups of area sets belonging to the same touch control 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, characterized in that: 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 by a frame time and reported.
8. The scanning method according to any one of claims 1 to 5, characterized in that: The scanning method comprises: 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, 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 part or all of the display time periods; A second scanning module is used 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; Wherein, one touch scanning frame includes n touch time periods executed sequentially, each of the touch time periods scans a group of the 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 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 instructions are 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
Method and device for touch control scanning and touch panel
CN108228013A
Display touch scanning method, chip, storage medium and display device
CN108415606A
Touch device and touch scanning method
CN112578941A
Touch scanning method, touch screen and electronic equipment
CN116301416A