Touch data processing method and device, equipment and storage medium

By coaxial detection and coordinate offset correction of capacitive touch screens, the coordinate jitter problem in coaxial state in multi-touch operation is solved, and the stability and accuracy of touch operation are improved.

CN119271067APending Publication Date: 2025-01-07SHENZHEN HEYTAP TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411303096.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In multi-touch operation, touch point coordinate jitter is prone to occur in the coaxial state of the capacitive touch screen, which affects the accuracy and stability of the operation.

Method used

By coaxially detecting the current frame of the touch screen, the coordinate offset of the coaxial touch point is determined, and coordinate correction is performed to obtain the corrected coordinates to solve the coordinate jitter problem.

Benefits of technology

Improves the stability of multi-touch operation, reduces coordinate offsets in touch operation, and enhances the accuracy of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271067A_ABST
    Figure CN119271067A_ABST
Patent Text Reader

Abstract

The invention discloses a touch data processing method and device, equipment, a storage medium and a computer program product. The method comprises the steps that coaxial detection is conducted on a current frame of a touch screen; under the condition of determining that one or more touch points coaxial with the first touch point exist in the current frame, determining a first coordinate of the first touch point in the current frame, and determining a coordinate offset of the first touch point; and correcting the first coordinate of the first touch point according to the coordinate offset of the first touch point to obtain the corrected coordinate of the first touch point. Therefore, aiming at the touch operation of multi-point touch and in the coaxial state, the coordinate of the first touch point is corrected by utilizing the determined coordinate offset, the problem of coordinate jitter under the condition is solved, and the stability of the touch operation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of touch technology, and in particular to a touch data processing method, device, equipment, storage medium and computer program product. Background Art

[0002] Touch screen (Touch Panel), also known as "touch screen" or "touch panel", is an interactive input device, which is widely used in various electronic devices due to its simple operation, high sensitivity and fast response speed. Capacitive touch screen uses the charge change of the conductive layer caused by the human body's charge to detect the touch position. When the touch screen is operated by multiple fingers, when the multiple touch points are in a coaxial state, the touch point coordinates are easily jittered due to the influence of the coaxial touch points, affecting the accuracy of the touch operation. Summary of the invention

[0003] The embodiments of the present application are intended to provide a touch data processing method, apparatus, device, storage medium and computer program product.

[0004] The technical solution of this application is implemented as follows:

[0005] In a first aspect, a touch data processing method is provided, comprising:

[0006] Perform coaxial detection on the current frame of the touch screen;

[0007] In the case of determining that there are one or more touch points coaxial with the first touch point in the current frame, determining a first coordinate of the first touch point in the current frame, and determining a coordinate offset of the first touch point;

[0008] Coordinate correction is performed on the first coordinates of the first touching point according to the coordinate offset of the first touching point to obtain the corrected coordinates of the first touching point.

[0009] In a second aspect, a touch data processing device is provided, comprising:

[0010] A detection unit, used for performing coaxial detection on a current frame of the touch screen;

[0011] a determining unit, configured to determine a first coordinate of the first touch point in the current frame and a coordinate offset of the first touch point when it is determined that one or more touch points coaxial with the first touch point exist in the current frame;

[0012] The correction unit is used to correct the first coordinates of the first touching point according to the coordinate offset of the first touching point to obtain the corrected coordinates of the first touching point.

[0013] In a third aspect, a touch data processing device is provided, comprising: a processor and a memory configured to store a computer program that can be run on the processor,

[0014] Wherein, when the processor is configured to run a computer program, the steps of the aforementioned method are executed.

[0015] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, wherein the computer program implements the steps of the aforementioned method when executed by a processor.

[0016] In a fifth aspect, a computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the aforementioned method are implemented.

[0017] In the embodiment of the present application, a touch data processing method, device, equipment, storage medium and computer program product are provided, the method comprising: performing coaxial detection on the current frame of the touch screen; determining the first coordinate of the first touch point in the current frame and determining the coordinate offset of the first touch point when determining that there are one or more touch points coaxial with the first touch point in the current frame; correcting the first coordinate of the first touch point according to the coordinate offset of the first touch point to obtain the corrected coordinate of the first touch point. In this way, for a touch operation of multi-touch and in a coaxial state, the coordinate of the first touch point is corrected using the determined coordinate offset, solving the problem of coordinate jitter in this case and improving the stability of the touch operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a schematic diagram of a first flow chart of a touch data processing method in an embodiment of the present application;

[0019] Figure 2 This is a coaxial schematic diagram of multi-touch operation in an embodiment of the present application;

[0020] Figure 3 This is a schematic diagram of the influence of touch point B on touch point A in a floating scenario in an embodiment of the present application;

[0021] Figure 4 A schematic diagram of a capacitance data frame in an embodiment of the present application;

[0022] Figure 5 A schematic diagram of touch coordinate jitter in a multi-finger coaxial state in an embodiment of the present application;

[0023] Figure 6 This is a second flow chart of the touch data processing method in the embodiment of the present application;

[0024] Figure 7 This is a schematic diagram of a third flow chart of the touch data processing method in the embodiment of the present application;

[0025] Figure 8 This is a schematic diagram of the structure of a touch data processing device in an embodiment of the present application;

[0026] Fig. 9 Schematic diagram of the structure of the touch data processing device in the embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present application.

[0028] The touch data processing method provided in the embodiment of the present application is applied to a terminal device with a touch screen, and the terminal device can be implemented in various forms. For example, the terminal device described in the embodiment of the present application may include a mobile phone, a camera, a tablet computer, a laptop computer, a PDA, a portable media player (PMP), a navigation device, a wearable device, etc. The touch screen of the terminal device mainly includes capacitive, resistive, infrared, and ultrasonic.

[0029] The embodiment of the present application provides a touch data processing method, which uses a determined coordinate offset to correct the coordinates of the first touch point for a multi-touch touch operation in a coaxial state, thereby solving the problem of coordinate jitter in this case and improving the stability of the touch operation.

[0030] Figure 1 FIG. 1 is a schematic diagram of a first flow chart of a touch data processing method in an embodiment of the present application. Figure 1 As shown, the method may specifically include:

[0031] Step 101: Perform coaxial detection on the current frame of the touch screen;

[0032] The touch screen can be a capacitive touch screen that supports multi-touch. The current frame contains touch data received by the detection component of the touch screen at the current moment. By processing and analyzing the touch data of the current frame, the coordinates of the touch point in the current frame can be determined, and touch instructions can be generated and executed based on the coordinates of the touch point.

[0033] Coaxial means that when performing multi-touch operation on the touch screen, two or more touch points or touch areas are located on the same axis or approximately on the same axis. This coaxial relationship may have an important impact on the accuracy, stability or response speed of the touch operation.

[0034] Figure 2Schematic diagram of the coaxial multi-touch operation in the embodiment of the present application. Figure 2 As shown in the figure, when the touch screen is touched by three fingers, the three fingers correspond to touch points A, B and C respectively, touch point A is coaxial with touch point B, touch point B is coaxial with touch point C, and touch point B is coaxial with both touch points A and C. Due to the coaxial states in the touch principle, crosstalk occurs, which in turn affects the touch data sensed by the detection component, resulting in coordinate offset, causing jitter in the final display screen.

[0035] For example, the embodiments of the present application may use one or more of the following methods to implement coaxial detection:

[0036] (1) The distance between the two touch points in the horizontal direction is less than or equal to the specified distance threshold; (2) The distance between the two touch points in the vertical direction is less than or equal to the specified distance threshold; (3) There is an overlapping area between the two touch areas in the horizontal direction; (4) There is an overlapping area between the two touch areas in the vertical direction.

[0037] In some embodiments, the method further includes: when it is determined that the terminal device is in a suspended state, executing the steps of the touch data processing method provided in the embodiment of the present application, and when it is determined that the terminal device is in a grounded state, not executing (skipping) the steps of the touch data processing method provided in the embodiment of the present application. For example, when it is detected that the terminal device is connected to a charger, it is determined that the terminal device is in a grounded state; when it is detected that the terminal device is not connected to a charger, it is determined that the terminal device is in a suspended state.

[0038] Figure 3 Schematic diagram of the influence of touch point B on touch point A in a floating scene in an embodiment of the present application. Figure 3 As shown in the figure, in the floating scenario, that is, when the terminal device is not grounded, the coordinate jitter problem caused by multi-finger coaxiality is particularly obvious. When two fingers of the human body are connected and touch the screen at the same time, it will affect the change of capacitance data. The change of capacitance data will cause the coordinate of the touch point to change. When the finger touching point A does not move, when touch point B is clicked by another finger, the coordinate of point A jitters instead, which affects the user's touch operation.

[0039] In some embodiments, the method further includes: when it is determined that the terminal device is running a specific service, executing the steps of the touch data processing method provided in the embodiment of the present application; when the terminal device is running a non-specific service, not executing (skipping) the steps of the touch data processing method provided in the embodiment of the present application. For example, the specific service may be a game service.

[0040] In some embodiments, the method further includes: when it is determined that the terminal device is in a suspended state and is running a specific service, executing the steps of the touch data processing method provided in the embodiment of the present application.

[0041] Step 102: when it is determined that there are one or more touch points coaxial with the first touch point in the current frame, determine the first coordinates of the first touch point in the current frame, and determine the coordinate offset of the first touch point;

[0042] The first touch point can be understood as any touch point among the multiple touch points in a coaxial state. Figure 2 As shown, the first touch point may be touch point A or touch point B, and the first touch point may also be touch point B or touch point C.

[0043] In some embodiments, the coordinate offset of the first touch point is determined according to the coordinate change of the first touch point in multiple consecutive frames. In some embodiments, the first touch point is a preset first coordinate offset, and the first coordinate offset can also be used to correct the coordinates of the first touch point in the reference frame. The first coordinate offset can be one of one or more preset coordinate offsets.

[0044] In some embodiments, the coordinate offset of the first touch point is determined based on the first coordinate change and the second coordinate change, the first coordinate change is the coordinate change of the first touch point between the current frame and the first reference frame, and the second coordinate change is the coordinate change of the first touch point between the first reference frame and the second reference frame.

[0045] Exemplarily, determining the coordinate offset of the first touch point includes: performing coaxial detection on the first reference frame of the current frame; determining the second coordinate of the first touch point in the first reference frame when it is determined that there are not one or more touch points coaxial with the first touch point in the first reference frame, and determining the third coordinate of the first touch point in the second reference frame of the current frame; determining a first coordinate change of the first touch point based on the first coordinate and the second coordinate of the first touch point; determining a second coordinate change of the first touch point based on the second coordinate and the third coordinate of the first touch point; and determining the coordinate offset of the first touch point based on the first coordinate change and the second coordinate change.

[0046] The first touch point in the current frame and the first reference frame are both in a coaxial state, and the first coordinate change is used to characterize the normal coordinate change of the first touch point when a touch operation is performed on the first touch point, and the jitter affected by the coaxial touch point.

[0047] The second reference frame is a frame in which there are no one or more touch points coaxial with the first touch point, that is, the first touch point in the first reference frame and the second reference frame is in a non-coaxial state, and the second coordinate change is used to characterize the normal coordinate change when the first touch point is subjected to a click operation or a sliding operation.

[0048] In some embodiments, the coordinate offset of the first touch point is determined based on the first coordinate change and the second coordinate change, including: subtracting the first coordinate change from the second coordinate change to obtain the coordinate offset of the first touch point, and the coordinate offset is used to characterize the jitter of the first touch point affected by the coaxial touch point.

[0049] The first reference frame may be an adjacent frame or a non-adjacent frame of the current frame, and the second reference frame may be an adjacent frame or a non-adjacent frame of the first reference frame. In some embodiments, the first reference frame is a previous frame of the current frame, and the first reference frame includes touch data received by the detection component of the touch screen at the previous moment, and the second reference frame may be a previous frame of the first reference frame, that is, a previous frame of the current frame, and the second reference frame includes touch data received by the detection component of the touch screen at the previous moment.

[0050] In some embodiments, the method further includes: configuring the coordinate offset of the first touch point as a first coordinate offset, where the first coordinate offset is used to correct the coordinates of the first touch point in one or more frames after the current frame.

[0051] Furthermore, the method further includes: performing coaxial detection on the next frame of the current frame; when there are one or more touch points coaxial with the first touch point in the next frame of the current frame, using the first coordinate offset as the coordinate offset of the first touch point in the next frame; when there are no one or more touch points coaxial with the first touch point in the next frame, configuring the first coordinate offset as a default value. The default value may be 0.

[0052] That is, if the previous frame of the current frame is in a non-coaxial state and the current frame is in a coaxial state, the coordinate offset of the first touch point is used as the first coordinate offset to correct the coordinates of the first touch point in the current frame and one or more frames after it. If the next frame of the current frame is in a non-coaxial state, there is no need to perform coordinate correction, and the first coordinate offset is set to zero.

[0053] In some embodiments, the method further includes: performing coaxial detection on a first reference frame of the current frame; and when there are one or more touch points coaxial with the first touch point in the first reference frame, using a preset first coordinate offset as the coordinate offset of the first touch point. That is, if the previous frame of the current frame is in a coaxial state and the current frame is in a coaxial state, the coordinates of the first touch point in the current frame can be directly corrected according to the first coordinate offset.

[0054] In some embodiments, the first coordinate offset may be one of one or more preset coordinate offsets. For example, when the touch operation on the touch screen is a multi-point click operation, the first coordinate offset is determined to be a first value; when the touch operation on the touch screen is a multi-point slide operation, the first coordinate offset is determined to be a second value.

[0055] In some embodiments, according to the capacitance data of the first touch area corresponding to the first touch point, determining the first coordinates of the first touch point in the current frame is by analyzing the change of the capacitance data of the first touch area in the current frame to determine the first coordinates of the first touch point.

[0056] In some embodiments, when there are one or more touch points coaxial with the first touch point in the current frame, the capacitance data of the first touch area corresponding to the first touch point is filtered to obtain the filtered capacitance data of the first touch area; based on the filtered capacitance data of the first touch area, the first coordinates of the first touch point are determined.

[0057] The filtering algorithm may be one of the following: for example, median filtering, average filtering, weighted average filtering, etc. For example, the filtering process using weighted average filtering specifically includes: performing weighted averaging on the capacitance data of the first touch area in one or more reference frames and the capacitance data of the first touch area in the current frame to obtain the capacitance data of the first touch area after filtering.

[0058] Figure 4 is a schematic diagram of a capacitance data frame in an embodiment of the present application, such as Figure 4 As shown, the size of the capacitance data frame is 16*38, and the capacitance data frame includes the capacitance data received by each detection component. The size of the touch area can be a fixed size such as 3*3 or 4*4. Touch point A is coaxial with touch point B, and touch point B is coaxial with touch point C. When touch point B is clicked by another finger, touch points A and C will be affected, resulting in coordinate changes. Therefore, the capacitance data of touch points A and C can be filtered and optimized, and combined with the subsequent coordinate correction algorithm to further improve the anti-shake effect.

[0059] Step 103: performing coordinate correction on the first coordinates of the first touching point according to the coordinate offset of the first touching point to obtain the corrected coordinates of the first touching point.

[0060] The correction formula can be: corrected coordinates = original coordinates - coordinate offset.

[0061] In some embodiments, the coordinate offset of the first touch point includes a horizontal coordinate offset and a vertical coordinate offset. The horizontal coordinate of the first coordinate of the first touch point is subtracted from the horizontal coordinate offset to obtain the corrected horizontal coordinate of the first touch point; the vertical coordinate offset is subtracted from the vertical coordinate of the first coordinate of the first touch point to obtain the corrected vertical coordinate of the first touch point.

[0062] The correction formula may be: the corrected abscissa = the original abscissa - the abscissa offset, and the corrected ordinate = the original ordinate - the ordinate offset.

[0063] In some embodiments, the method further includes: performing boundary check processing on the corrected coordinates of the first touch point, and changing the coordinates to boundary values ​​if they exceed the boundary position. For example, if the corrected horizontal coordinate exceeds the upper / lower boundary value of the horizontal coordinate, the corrected horizontal coordinate is set to the upper / lower boundary value of the horizontal coordinate; if the corrected vertical coordinate exceeds the upper / lower boundary value of the vertical coordinate, the corrected vertical coordinate is set to the upper / lower boundary value of the vertical coordinate.

[0064] Figure 5 Schematic diagram of the touch coordinate jitter in the multi-finger coaxial state in the embodiment of the present application. Figure 5 As shown, when the first reference frame is in a non-coaxial state and the current frame is in a coaxial state, the first coordinate change of the touch point A in the current frame and the first reference frame is calculated, and the second coordinate change of the touch point A in the first reference frame and the second reference frame is calculated. The difference between the two coordinate changes is used as the coordinate offset of the touch point A. The original coordinates of the touch point A (the position shown by the solid circle) are corrected using the coordinate offset to obtain the corrected coordinates of the touch point A (the position shown by the dotted circle).

[0065] By adopting the above technical solution, for multi-touch touch operations in a coaxial state, the coordinates of the first touch point are corrected using the determined coordinate offset, thereby solving the problem of coordinate jitter in this case and improving the stability of the touch operation.

[0066] Based on the above embodiments of the present application, further examples are given, such as Figure 6 As shown, the method specifically includes:

[0067] Step 601: Start;

[0068] Step 602: Collect capacitance data of the current frame;

[0069] Step 603: Calculate and obtain the coordinates of the touch point in the current frame;

[0070] The touch screen includes a detection component, a controller, a display screen, and other auxiliary components. The detection component is used to collect touch data, and the controller is used to process the touch data based on a touch control algorithm to determine the coordinates X and Y of the touch point.

[0071] Step 604: determine whether the previous frame is in a non-coaxial state; if yes, execute step 605; if no, return to step 602;

[0072] Step 605: determine whether the current frame is in the coaxial state; if yes, execute step 606; if no, return to step 602;

[0073] To optimize the coaxial interference problem in the floating scene, first determine the change process of the coaxial state. Specifically, when the previous frame is in a non-coaxial state and the current frame is in a coaxial state, that is, there is no touch point coaxial with touch point A in the previous frame, and there is a touch point B coaxial with touch point A in the current frame, the steps of the coordinate correction method are executed for the current frame. When the previous frame is in a coaxial state or the current frame is in a non-coaxial state, continue to perform coaxial detection on the next frame, and do not execute the steps of the coordinate correction method for the current frame.

[0074] Step 606: Calculate the coordinate change A of the touch point A in the current frame compared with the coordinate change in the previous frame;

[0075] Step 607: Calculate the change B between the coordinates of the touch point A in the previous frame and the coordinates of the previous frame.

[0076] Step 608: Calculate the difference between the two values ​​to obtain the coordinate offset C=AB;

[0077] Step 609: subtract the coordinate offset C from the original coordinates of the current frame;

[0078] The coordinate offset C refers to the offset between the coordinate movement distance of the current frame and the coordinate movement distance of the previous frame. For example, if the previous frame is stationary and the current frame moves, then the coordinate change of the previous frame is 0 and the coordinate change of the current frame is 10. The coordinate offset is 10. Subtract 10 from the original coordinate, and the subtracted coordinate can be made the same as the previous time. This can eliminate the coordinate jitter problem of finger A caused by finger B pressing.

[0079] The coordinate offset C can be expressed by an X component and a Y component.

[0080] Step 610: Perform boundary check processing on the subtraction result to obtain the final corrected coordinates;

[0081] The coordinates obtained by subtracting the coordinate offset C from the original coordinates are subjected to boundary checking. If the coordinates exceed the screen resolution, they are forcibly changed to the resolution boundary value to obtain the final corrected coordinates.

[0082] Step 611: determine whether the next frame is in a non-coaxial state; if yes, execute step 614; if no, execute step 612;

[0083] Step 612: Subtract the coordinate offset C from the original coordinates of the next frame;

[0084] Step 613: Perform boundary check processing on the subtraction result to obtain the final corrected coordinates;

[0085] Step 614: Clear the coordinate offset C;

[0086] Next, when the current frame is in the coaxial state, determine whether the next frame is in the non-coaxial state. If the next frame is in the non-coaxial state, clear the coordinate offset C. That is to say, if the touch point A exits the coaxial state, clear the coordinate offset C. If the next frame is in the coaxial state, continue to use the coordinate offset C to correct the coordinates of the touch point A in the next frame.

[0087] Step 615: End.

[0088] By adopting the above technical solution, the jitter of the original coordinates is removed to solve the problem of multi-finger coaxial coordinate jitter, and the coordinate offset caused by the crosstalk of other fingers is subtracted from the original coordinates to avoid screen jitter.

[0089] Based on the above embodiments of the present application, further examples are given, such as Figure 7 As shown, the method specifically includes:

[0090] Step 701: Collect capacitance data of the current frame;

[0091] Step 702: determine whether the previous frame is in a non-coaxial state; if yes, execute step 703; if no, return to step 701;

[0092] Step 703: determine whether the current frame is in the coaxial state; if yes, execute step 704; if no, return to step 701;

[0093] Step 704: filter the capacitance data of the area corresponding to the touch point A;

[0094] For example, the capacitance data of the touch point A can be optimized by infinite impulse response (IIR) filtering, that is, the capacitance data of each node in the touch point A area is weighted averaged, and the current node Among them, X i is the capacitance value of each node in the i-th frame, w i is the weight value of the i-th frame.

[0095] Step 705: Calculate the coordinates of touch point A in the current frame according to the filtered capacitance data;

[0096] Step 706: Calculate the coordinate change A of the touch point A in the current frame compared with the coordinate change in the previous frame;

[0097] Step 707: Calculate the change B between the coordinates of the touch point A in the previous frame and the coordinates in the previous frame.

[0098] Step 708: Calculate the difference between the two values ​​to obtain the coordinate offset C=AB;

[0099] Step 709: subtract the coordinate offset C from the original coordinates of the current frame;

[0100] Step 710: Perform boundary checking on the subtraction result to obtain the final corrected coordinates.

[0101] By adopting the above technical solution, in order to solve the problem of multi-finger coaxial coordinate jitter, the capacitance data of the touch point is first corrected, and then combined with the subsequent coordinate correction algorithm, the coordinate offset caused by crosstalk from other fingers is subtracted from the original coordinate to remove the jitter of the original coordinate, thereby avoiding screen jitter.

[0102] To implement the method of the embodiment of the present application, based on the same inventive concept, the embodiment of the present application also provides a touch data processing device, such as Figure 8 As shown, the touch data processing device 80 includes:

[0103] The detection unit 801 is used to perform coaxial detection on the current frame of the touch screen;

[0104] A determining unit 802 is configured to determine a first coordinate of the first touch point in the current frame and a coordinate offset of the first touch point when it is determined that one or more touch points coaxial with the first touch point exist in the current frame;

[0105] The correction unit 803 is configured to correct the first coordinates of the first touch point according to the coordinate offset of the first touch point to obtain the corrected coordinates of the first touch point.

[0106] In some embodiments, the coordinate offset of the first touch point is determined according to a change in the coordinates of the first touch point in a plurality of consecutive frames.

[0107] In some embodiments, the first touch point is a preset first coordinate offset, the first coordinate offset may also be used to correct the coordinates of the first touch point in the reference frame, and the first coordinate offset may be one of one or more preset coordinate offsets.

[0108] In some embodiments, the determination unit 802 is used to perform coaxial detection on the first reference frame of the current frame; when it is determined that there are no one or more touch points coaxial with the first touch point in the first reference frame, determine the second coordinates of the first touch point in the first reference frame, and determine the third coordinates of the first touch point in the second reference frame of the current frame; determine the first coordinate change of the first touch point based on the first coordinate and the second coordinate of the first touch point; determine the second coordinate change of the first touch point based on the second coordinate and the third coordinate of the first touch point; determine the coordinate offset of the first touch point based on the first coordinate change and the second coordinate change.

[0109] In some embodiments, the determining unit 802 is further configured to configure the coordinate offset of the first touch point as the first coordinate offset;

[0110] The detection unit 801 is also used to perform coaxial detection on the next frame of the current frame;

[0111] The determination unit 802 is also used to, when there are one or more touch points coaxial with the first touch point in the next frame of the current frame, use the first coordinate offset as the coordinate offset of the first touch point in the next frame; when there are not one or more touch points coaxial with the first touch point in the next frame, configure the first coordinate offset as a default value.

[0112] In some embodiments, the determination unit 802 is used to perform coaxial detection on the first reference frame of the current frame; when there are one or more touch points coaxial with the first touch point in the first reference frame, the preset first coordinate offset is used as the coordinate offset of the first touch point.

[0113] In some embodiments, the coordinate offset of the first touch point includes a horizontal coordinate offset and a vertical coordinate offset;

[0114] The correction unit 803 is used to subtract the abscissa offset from the abscissa of the first coordinate of the first touch point to obtain the corrected abscissa of the first touch point; and to subtract the ordinate offset from the ordinate of the first coordinate of the first touch point to obtain the corrected ordinate of the first touch point.

[0115] In some embodiments, the determination unit 802 is used to filter the capacitance data of the first touch area corresponding to the first touch point when there are one or more touch points coaxial with the first touch point in the current frame to obtain the capacitance data after filtering the first touch area; and determine the first coordinates of the first touch point based on the capacitance data after filtering the first touch area.

[0116] In some embodiments, the determination unit 802 is used to perform weighted averaging on the capacitance data of the first touch area in one or more reference frames and the capacitance data of the first touch area in the current frame to obtain filtered capacitance data of the first touch area.

[0117] In practical applications, the above device can be a terminal device or a chip applied to a terminal device. In the present application, the device can realize the functions of multiple units by software, hardware, or a combination of software and hardware, so that the device can execute the touch data processing method provided in any of the above embodiments. The technical effects of each technical solution of the device can refer to the technical effects of the corresponding technical solution in the touch data processing method, and this application will not elaborate on this one by one.

[0118] Based on the hardware implementation of each unit in the above touch data processing device, the embodiment of the present application also provides a touch data processing device, such as Fig. 9 As shown, the touch data processing device 90 includes: a processor 901 and a memory 902 configured to store a computer program that can be run on the processor;

[0119] The processor 901 is configured to execute the method steps in the aforementioned embodiment when running a computer program.

[0120] Of course, in practical applications, Fig. 9 As shown, the various components in the touch data processing device are coupled together through a bus system 903. It can be understood that the bus system 903 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 903 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are marked as bus system 903 in the figure.

[0121] In practical applications, the processor may be at least one of an application-specific integrated circuit (ASIC), a digital signal processing device (DSPD), a programmable logic device (PLD), a field-programmable gate array (FPGA), a controller, a microcontroller, and a microprocessor. It is understandable that for different devices, the electronic device used to implement the functions of the processor may also be other, and the embodiments of the present application do not specifically limit this.

[0122] The above-mentioned memory can be a volatile memory (volatile memory), such as a random access memory (RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above-mentioned types of memory, and provide instructions and data to the processor.

[0123] The touch data processing device may be a chip, and the chip may further include an input interface, wherein the processor may control the input interface to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.

[0124] The chip may further include an output interface, wherein the processor may control the output interface to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.

[0125] The touch data processing device may also be a terminal device.

[0126] In an exemplary embodiment, the embodiment of the present application further provides a computer-readable storage medium, such as a memory including a computer program, and the computer program can be executed by a processor of a terminal device to complete the steps of the aforementioned method.

[0127] The embodiments of the present application also provide a computer program product, including a computer program, which, when executed by a processor, implements the steps of any one of the methods in the embodiments of the present application.

[0128] Optionally, the computer program product can be applied to the terminal device in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0129] The embodiment of the present application also provides a computer program.

[0130] Optionally, the computer program can be applied to the terminal device in the embodiments of the present application. When the computer program runs on the computer, the computer executes the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0131] It should be understood that in the embodiments of the present application, related data such as user information is involved. When the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0132] It should be understood that the terms used in the present application are only for the purpose of describing specific embodiments, but are not intended to limit the present application. The singular forms of "a", "said" and "the" used in the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in this article refers to and includes any or all possible combinations of one or more associated listed items. The expressions "having", "may have", "include" and "include", or "may include" and "may include" in this application can be used to indicate the presence of corresponding features (e.g., elements such as numerical values, functions, operations or components), but the presence of additional features is not excluded.

[0133] It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other and are not necessarily used to describe a specific order or sequence. For example, without departing from the scope of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information.

[0134] The technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0135] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and equipment can be implemented in other ways. The embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0136] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0137] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0138] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A touch data processing method, characterized in that: The method comprises: Perform coaxial detection on the current frame of the touch screen; In a case where it is determined that there are one or more touch points coaxial with the first touch point in the current frame, determining a first coordinate of the first touch point in the current frame, and determining a coordinate offset of the first touch point; Coordinate correction is performed on the first coordinates of the first touching point according to the coordinate offset of the first touching point to obtain the corrected coordinates of the first touching point.

2. The method according to claim 1, characterized in that The coordinate offset of the first touch point is determined according to the coordinate change of the first touch point in a plurality of consecutive frames.

3. The method according to claim 2, characterized in that The determining the coordinate offset of the first touch point includes: Performing coaxial detection on a first reference frame of the current frame; In a case where it is determined that there are not one or more touch points coaxial with the first touch point in the first reference frame, determining a second coordinate of the first touch point in the first reference frame, and determining a third coordinate of the first touch point in a second reference frame of the current frame; determining a first coordinate change amount of the first touch point according to the first coordinate and the second coordinate of the first touch point; determining a change amount of the second coordinate of the first touch point according to the second coordinate and the third coordinate of the first touch point; The coordinate offset of the first touch point is determined according to the first coordinate change amount and the second coordinate change amount.

4. The method according to claim 3, characterized in that The method further comprises: configuring the coordinate offset of the first touch point as a first coordinate offset; Performing coaxial detection on a next frame of the current frame; In a case where there are one or more touch points coaxial with the first touch point in a next frame of the current frame, using the first coordinate offset as the coordinate offset of the first touch point in the next frame; In a case where there are no one or more touch points coaxial with the first touch point in the next frame, the first coordinate offset is configured as a default value.

5. The method according to claim 1, characterized in that The determining the coordinate offset of the first touch point includes: Performing coaxial detection on a first reference frame of the current frame; In the case that there are one or more touch points coaxial with the first touch point in the first reference frame, the preset first coordinate offset is used as the coordinate offset of the first touch point.

6. The method according to claim 1, characterized in that The coordinate offset of the first touch point includes a horizontal coordinate offset and a vertical coordinate offset; The step of performing coordinate correction on the first coordinate of the first touching point according to the coordinate offset of the first touching point to obtain the corrected coordinate of the first touching point includes: subtracting the horizontal coordinate offset from the horizontal coordinate of the first coordinate of the first touch point to obtain a corrected horizontal coordinate of the first touch point; The vertical coordinate of the first coordinate of the first touch point is subtracted from the vertical coordinate of the first coordinate of the first touch point to obtain a corrected vertical coordinate of the first touch point.

7. The method according to any one of claims 1 to 6, characterized in that: The determining the first coordinates of the first touch point in the current frame includes: When there are one or more touch points coaxial with the first touch point in the current frame, filtering the capacitance data of the first touch area corresponding to the first touch point to obtain filtered capacitance data of the first touch area; The first coordinates of the first touch point are determined according to the filtered capacitance data of the first touch area.

8. The method according to claim 7, characterized in that The filtering process includes: A weighted average is performed on the capacitance data of the first touch area in one or more reference frames and the capacitance data of the first touch area in the current frame to obtain filtered capacitance data of the first touch area.

9. A touch data processing device, characterized in that: The device comprises: A detection unit, used for performing coaxial detection on a current frame of the touch screen; a determining unit, configured to determine a first coordinate of the first touch point in the current frame and a coordinate offset of the first touch point when it is determined that there are one or more touch points coaxial with the first touch point in the current frame; The correction unit is used to correct the first coordinates of the first touching point according to the coordinate offset of the first touching point to obtain the corrected coordinates of the first touching point.

10. A touch data processing device, characterized in that: The device comprises: a processor and a memory configured to store a computer program capable of being executed on the processor, Wherein, the processor is configured to execute the steps of the method according to any one of claims 1 to 8 when running the computer program.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.