Touch data processing method and device

By determining the angle and inclination direction between the touch body and the screen, and calibrating the touch position of the capacitance pen, the problem of poor touch accuracy of the capacitance pen is solved and the user experience is improved.

CN120447780APending Publication Date: 2025-08-08LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The first electrode of the existing capacitor pen is an elongated structure, which causes a deviation in the signal area received by the touch layer at the screen, resulting in a deviation in the actual pen tip position and the corresponding point position of the touch reporting value. The user's usage accuracy is poor and the experience is poor.

Method used

By determining the angle between the touch body and the horizontal plane and the screen and the horizontal plane, and the inclination direction of the touch body relative to the screen, the angle information and the electrode signal reception position are collected by a gyroscope to calibrate the first touch position to obtain a second touch position closer to the actual touch position.

Benefits of technology

Improves touch accuracy and user experience, ensuring that the display position matches the actual touch position.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120447780A_ABST
    Figure CN120447780A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a touch data processing method and device.The touch data processing method comprises the steps that in response to touch operation input on a screen by a touch body, a first touch position is determined, and a first included angle between the touch body and the horizontal plane and a second included angle between the screen and the horizontal plane are obtained; the inclination direction of the touch body relative to the screen is determined based on a first electrode signal and a second electrode signal output by the touch body, the first electrode signal is output by a first electrode on the touch body, and the second electrode signal is output by a second electrode on the touch body; the first touch position is processed based on the first included angle, the second included angle and the inclination direction, a second touch position is obtained, and the distance between the second touch position and the actual touch position of the touch body is smaller than the distance between the first touch position and the actual touch position of the touch body.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of touch technology, and more particularly to a touch data processing method and device. Background Art

[0002] Capacitive pens are currently widely used in electronic devices such as tablets and laptops. However, the first electrode of the capacitive stylus is currently a slender structure. The entire electrode will send signals to the outside. Then the touch layer on the screen receives a signal area. The Touch IC will calculate a center coordinate as the touch reporting value based on the area of the signal area. The reported value is shifted backward compared to the actual touch position of the capacitive pen tip. This will cause a deviation between the actual pen tip position and the reporting point position corresponding to the touch reporting value, resulting in poor user accuracy and a bad experience. Summary of the Invention

[0003] The present invention provides a touch data processing method, including:

[0004] In response to a touch operation inputted by a touch object on the screen, determining a first touch position, and obtaining a first angle between the touch object and a horizontal plane, and a second angle between the screen and the horizontal plane;

[0005] determining a tilt direction of the touch body relative to the screen based on a first electrode signal and a second electrode signal output by the touch body, wherein the first electrode signal is output by a first electrode on the touch body, and the second electrode signal is output by a second electrode on the touch body;

[0006] The first touch position is processed based on the first angle, the second angle, and the tilt direction to obtain a second touch position, wherein the distance between the second touch position and the actual touch position of the touch object is smaller than the distance between the first touch position and the actual touch position of the touch object.

[0007] In one embodiment, obtaining a first angle between the screen and a horizontal plane, and a second angle between the touch object and the horizontal plane, includes:

[0008] obtaining a first angle between the touch body and a horizontal plane based on angle information collected by a gyroscope of the touch body;

[0009] A second angle between the screen and the horizontal plane is obtained based on angle information collected by a gyroscope of a device where the screen is located.

[0010] In one embodiment, the method further comprises:

[0011] Determining a third angle between the touch object and the screen based on the first angle and the second angle;

[0012] The processing of the first touch position based on the first angle, the second angle, and the tilt direction includes:

[0013] The first touch position is processed based on the third angle and the tilt direction.

[0014] In one embodiment, determining a third angle between the touch object and the screen based on the first angle and the second angle includes:

[0015] Calculating a difference between the first angle and the second angle;

[0016] A third angle between the touch object and the screen is determined based on the difference.

[0017] In one embodiment, determining the tilt direction of the touch object relative to the screen based on the first electrode signal and the second electrode signal output by the touch object includes:

[0018] determining a first receiving position of the first electrode signal on the screen;

[0019] determining a second receiving position of the second electrode signal on the screen;

[0020] determining signal reception times of the first electrode signal and the second electrode signal;

[0021] The tilt direction of the touch object relative to the screen is determined based on the signal receiving time, the first receiving position, and the second receiving position of the first electrode signal and the second electrode signal.

[0022] In one embodiment, the method further comprises:

[0023] Obtaining a first mapping relationship table constructed by actual touch point positions corresponding to different touch operations applied by the touch-sensitive object on the screen during a historical period, touch point positions determined by the device in response to the touch operations, angles between the touch-sensitive object and the screen, and tilt directions of the touch-sensitive object relative to the screen;

[0024] The second touch position is determined in combination with the first mapping relationship table.

[0025] In one embodiment, the processing of the first touch position based on the first angle and the tilt direction to obtain the second touch position includes:

[0026] determining a third angle between the screen and the touch object based on a difference between the first angle and the second angle;

[0027] Determine the corresponding actual touch point position based on matching the third angle and the tilt direction in the first mapping relationship table;

[0028] The first touch position is updated based on the actual touch point position to obtain a second touch position.

[0029] In one embodiment, the method further comprises:

[0030] Obtaining a second mapping relationship table of the touch point position compensation value, the angle between the touch body and the screen, and the tilt direction of the touch body relative to the screen;

[0031] The second touch position is determined in combination with the second mapping relationship table.

[0032] In one embodiment, the processing of the first touch position based on the first angle, the second angle, and the tilt direction to obtain the second touch position includes:

[0033] determining a third angle between the screen and the touch object based on a difference between the first angle and the second angle;

[0034] Determine a corresponding touch point position compensation value based on matching the second angle in the second mapping relationship table;

[0035] The first touch position is calibrated based on the tilt direction and the touch point position compensation value to obtain the second touch position.

[0036] Another embodiment of the present application also provides a touch data processing device, including:

[0037] a first determining module, configured to determine a first touch position in response to a touch operation inputted by a touch object on the screen, and obtain a first angle between the touch object and a horizontal plane, and a second angle between the screen and the horizontal plane;

[0038] a second determining module, configured to determine a tilt direction of the touch-sensitive body relative to the screen based on a first electrode signal and a second electrode signal output by the touch-sensitive body, wherein the first electrode signal is output by a first electrode on the touch-sensitive body, and the second electrode signal is output by a second electrode on the touch-sensitive body;

[0039] The processing module is configured to process the first touch position based on the first angle, the second angle, and the tilt direction to obtain a second touch position, wherein the distance between the second touch position and the actual touch position of the touch object is smaller than the distance between the first touch position and the actual touch position of the touch object.

[0040] Other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present application. The purposes and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0041] The technical solution of the present application is further described in detail below through the accompanying drawings and examples. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific implementation methods or the description of the prior art. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0043] Figure 1 4 is a flow chart of a touch data processing method in an embodiment of the present application.

[0044] Figure 2 FIG. 4 is a flow chart of a touch data processing method in another embodiment of the present application.

[0045] Figure 3 This is a schematic diagram of an application example in an embodiment of the present application.

[0046] Figure 4 This is another schematic diagram of an application example in the embodiments of the present application.

[0047] Figure 5 2 is a structural block diagram of a touch data processing device in an embodiment of the present application. DETAILED DESCRIPTION

[0048] Below, specific embodiments of the present application are described in detail with reference to the accompanying drawings, but are not intended to limit the present application.

[0049] It should be understood that various modifications may be made to the embodiments disclosed herein. Therefore, the following description should not be considered as limiting, but merely as an example of an embodiment. Other modifications within the scope and spirit of the present disclosure will occur to those skilled in the art.

[0050] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the general description of the present disclosure given above and the detailed description of the embodiments given below, serve to explain the principles of the present disclosure.

[0051] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0052] It should also be understood that although the present application has been described with reference to certain specific examples, those skilled in the art will be able to implement many other equivalent forms of the present application that have the features described in the claims and are therefore within the scope of protection defined thereby.

[0053] The above and other aspects, features and advantages of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.

[0054] Specific embodiments of the present disclosure will be described hereinafter with reference to the accompanying drawings; however, it should be understood that the disclosed embodiments are merely examples of the present disclosure, which may be implemented in a variety of ways. Well-known and / or repetitive functions and structures are not described in detail to avoid obscuring the present disclosure with unnecessary or redundant detail. Therefore, the specific structural and functional details disclosed herein are not intended to be limiting, but rather to serve as a basis and representative basis for the claims to teach those skilled in the art to variously employ the present disclosure with substantially any suitable detailed structure.

[0055] This description may use the phrases "in one embodiment," "in another embodiment," "in a further embodiment," or "in other embodiments," each of which may refer to one or more of the same or different embodiments according to the present disclosure.

[0056] Below, the embodiments of the present application are described in detail with reference to the accompanying drawings.

[0057] like Figure 1 As shown, an embodiment of the present application provides a touch data processing method, including:

[0058] S1: In response to a touch operation input by a touch object on a screen, determining a first touch position, and obtaining a first angle between the touch object and a horizontal plane, and a second angle between the screen and the horizontal plane;

[0059] S2: determining a tilt direction of the touch object relative to the screen based on a first electrode signal and a second electrode signal output by the touch object, wherein the first electrode signal is output by a first electrode on the touch object, and the second electrode signal is output by a second electrode on the touch object;

[0060] S3: Processing the first touch position based on the first angle, the second angle, and the tilt direction to obtain a second touch position, wherein a distance between the second touch position and the actual touch position of the touch object is smaller than a distance between the first touch position and the actual touch position of the touch object.

[0061] In this embodiment, the touch body can be, but is not limited to, a touch pen, for example, a capacitive pen, etc., and this embodiment of the application does not limit this. When the user uses the touch body to perform input operations on the screen, such as clicking, drawing, writing, etc. on the screen with the touch body, the screen system responds to the touch operation input by the user on the screen and calculates the first touch position. The first touch position does not match the actual touch position of the touch body on the screen, and there is a first distance between the two positions. At the same time, the system will obtain the first angle between the touch body and the horizontal plane, and the second angle between the screen and the horizontal plane. The first angle value can be sent to the system by the touch body, or input by the user, or collected by the device system, which may be specific. The second angle can be collected by the device and sent to the screen system, etc., which may be specific. In this embodiment, the touch object is provided with a first electrode and a second electrode. Both the first electrode and the second electrode transmit electrode signals to the screen. The screen system determines the tilt direction of the touch object relative to the screen based on the first electrode signal output by the first electrode and the second electrode signal output by the second electrode on the touch object. For example, the tilt direction of the touch object relative to the screen is determined based on the order in which the two electrode signals are received. After the screen system obtains the first angle, the second angle, and the tilt direction, it processes the first touch position based on these three parameters, such as by calibration or updating, to obtain a second touch position. The second touch position is located at a second distance from the actual touch position of the touch object. This second distance is less than the first distance, meaning that the second touch position is closer to the actual touch position than the first touch position.

[0062] Based on the above scheme, it can be seen that in this embodiment, the tilt direction of the touch object relative to the screen is determined by obtaining the first electrode signal and the second electrode signal, and then the angle between the touch object and the horizontal plane and the angle between the screen and the horizontal plane are respectively obtained. The first touch position is processed in combination with the determined tilt direction to obtain the second touch position. The second touch position can be obtained by calibrating the first touch position, or can be calculated based on the first touch position, or can be directly calculated based on the first angle, the second angle, and the tilt direction, etc., and the embodiments of the present application are not limited to this. After the screen system obtains the second touch position, it will display the second touch position as the final touch point position on the screen, so that the displayed position matches the actual touch position, improving touch and display accuracy, and thus improving the user experience.

[0063] In one embodiment, obtaining a first angle between the screen and a horizontal plane, and a second angle between the touch object and the horizontal plane, includes:

[0064] S4: Obtaining a first angle between the touch-sensitive object and a horizontal plane based on angle information collected by a gyroscope of the touch-sensitive object;

[0065] S5: Obtain a second angle between the screen and the horizontal plane based on angle information collected by a gyroscope of the device where the screen is located.

[0066] In this embodiment, a first gyroscope is provided within the touch sensor, and a second gyroscope is provided within the device housing the screen. The first angle is determined by the screen system based on angle information collected by the first gyroscope, while the second angle is determined by the screen system based on angle information collected by the second gyroscope. This approach utilizes existing components within the device and touch sensor to collect angle information and determine the first and second angles, eliminating the need for additional components and reducing costs. Furthermore, using the gyroscope to collect angle information ensures accuracy, laying the foundation for subsequently determining the second touch position and ensuring accuracy in subsequent calculations.

[0067] In another embodiment, the method further comprises:

[0068] S6: Determine a third angle between the touch object and the screen based on the first angle and the second angle;

[0069] The processing of the first touch position based on the first angle, the second angle, and the tilt direction includes:

[0070] S7: Processing the first touch position based on the third angle and the tilt direction.

[0071] The determining of the third angle between the touch object and the screen based on the first angle and the second angle includes:

[0072] S8: Calculating the difference between the first angle and the second angle;

[0073] S9: Determine a third angle between the touch object and the screen based on the difference.

[0074] For example, in this embodiment, the first and second angles are both measured relative to a horizontal plane. Therefore, the difference between the first and second angles can be calculated to obtain a third angle between the touchscreens. When the screen system processes a first touch position based on the first and second angles and the tilt direction to obtain a second touch position, the screen system processes the first touch position based on the third angle and the tilt direction to obtain the second touch position.

[0075] Specific, combined Figure 3 As shown, the angle between the screen and the horizontal plane is determined to be DEG A using the angle information collected by gyroscope 1, and the angle between the touch screen and the horizontal plane is determined to be DEG B using the angle information collected by gyroscope 2. Then, the third angle (Tilt) = DEG B - DEG A can be calculated through trigonometric functions.

[0076] Further, such as Figure 2 As shown, the determining the tilt direction of the touch body relative to the screen based on the first electrode signal and the second electrode signal output by the touch body includes:

[0077] S10: Determine a first receiving position of the first electrode signal on the screen;

[0078] S11: Determine a second receiving position of the second electrode signal on the screen;

[0079] S12: Determine the signal receiving time of the first electrode signal and the second electrode signal;

[0080] S13: Determine the tilt direction of the touch object relative to the screen based on the signal receiving time, the first receiving position, and the second receiving position of the first electrode signal and the second electrode signal.

[0081] For example, in this embodiment, the touch-sensitive body is elongated, i.e., pen-shaped, and has a first electrode and a second electrode spaced apart along its length. When a user uses the touch-sensitive body to input a touch operation on the screen, both the first electrode and the second electrode transmit electrode signals to the screen. Upon receiving the first electrode signal transmitted by the first electrode, the screen system determines the receiving position of the signal on the screen, i.e., the first receiving position. Simultaneously, upon receiving the second electrode signal transmitted by the second electrode, the screen system determines the receiving position of the signal on the screen, i.e., the second receiving position. The screen system also determines the reception time of the first and second electrode signals. Based on the reception times and reception positions of the two electrode signals, a line vector can be determined. For example, if the first electrode signal is obtained first and then the second electrode signal, the line vector can be determined based on this sequential relationship and the reception positions of the two electrode signals. Based on this line vector, the screen system can accurately determine the tilt direction of the touch-sensitive body relative to the screen.

[0082] For example, Figure 4 As shown, the first receiving position of the first electrode signal on the screen is A(X, Y), and the second receiving position of the second electrode signal on the screen is C(X, Y). The line vector is the line between the second receiving position and the first receiving position, and the direction is from the second receiving position to the first receiving position.

[0083] Furthermore, in one embodiment, the method further includes:

[0084] S14: Obtaining a first mapping relationship table constructed by actual touch point positions corresponding to different touch operations applied by the touch-sensitive object on the screen during a historical period, touch point positions determined by the device in response to the touch operations, angles between the touch-sensitive object and the screen, and tilt directions of the touch-sensitive object relative to the screen;

[0085] S15: Determine the second touch position in combination with the first mapping relationship table.

[0086] In this embodiment, the screen system obtains actual touch point locations corresponding to different touch operations performed on the screen by a touch-sensitive object during a historical period. The actual touch point locations can be user-entered data, such as touch position data collected by the user during a touch experiment test for different touch operations performed on the screen by the touch-sensitive object. The screen system also obtains the touch point location, the angle between the touch-sensitive object and the screen, and the tilt direction of the touch-sensitive object relative to the screen, determined by the device in response to the touch operation. The system associates and stores the obtained data, such as the actual touch point location, the touch point location, the angle between the touch-sensitive object and the screen, and the tilt direction of the touch-sensitive object relative to the screen corresponding to the same touch operation, to generate a first mapping table. After obtaining the first mapping table, the screen system processes the first touch position based on a third angle and tilt direction to obtain a second touch position. The system then processes the first touch position based on the third angle, tilt direction, and the first mapping table to determine the second touch position.

[0087] Specifically, the processing the first touch position based on the first angle and the tilt direction to obtain the second touch position includes:

[0088] S16: Determine a third angle between the screen and the touch object based on the difference between the first angle and the second angle;

[0089] S17: performing matching in the first mapping relationship table based on the third angle, the tilt direction, and the first touch position to determine a corresponding actual touch point position;

[0090] S18: updating the first touch position based on the actual touch point position to obtain a second touch position.

[0091] For example, if both the first and second angles are determined based on a horizontal plane, the screen system will calculate the angle between the screen and the touch-sensitive object, i.e., the third angle, based on the difference between the first and second angles. The system then matches the third angle, the tilt direction, and the first touch position in the first mapping table to determine the corresponding actual touch point position. The first touch position is then updated based on the determined actual touch point position to obtain the second touch position.

[0092] In another embodiment, the method further comprises:

[0093] S19: Obtaining a second mapping relationship table based on different touch point position compensation values, angles between the touch object and the screen, and tilt directions;

[0094] S20: Determine the second touch position in combination with the second mapping relationship table.

[0095] In this embodiment, the screen system obtains the touch point position compensation value for the touch position determined for different touch operations input by the touch body, as well as the angle between the touch body and the screen. The touch point position compensation value has a one-to-one correspondence with the touch position calculated by the screen system in response to the touch operation, such as the first touch position, that is, each touch position has a corresponding touch point position compensation value. The touch point position compensation value also has a one-to-one correspondence with the angle between the touch body and the screen when the touch operation is output, that is,

[0096] The touch point position compensation value corresponding to the same touch point, the angle between the touch object and the screen, and the tilt direction of the touch object relative to the screen are then associated and stored to generate a second mapping relationship table. After obtaining the second mapping relationship table, when the screen system processes the first touch position based on the third angle and tilt direction to obtain the second touch position, it processes the first touch position based on the third angle, tilt direction, and the second mapping relationship table to determine the second touch position.

[0097] Specifically, the processing of the first touch position based on the first angle, the second angle, and the tilt direction to obtain the second touch position includes:

[0098] S21: determining a third angle between the screen and the touch object based on a difference between the first angle and the second angle;

[0099] S22: performing matching in the second mapping relationship table based on the third angle to determine a corresponding touch point position compensation value;

[0100] S23: Calibrate the first touch position based on the tilt direction and the touch point position compensation value to obtain the second touch position.

[0101] For example, as mentioned above, the first angle and the second angle are both angles determined based on the horizontal plane, so the screen system will calculate the angle between the screen and the touch body based on the difference between the first angle and the second angle, that is, the third angle. Then, based on the third angle, a match is performed in the second mapping relationship table to determine the corresponding touch point position compensation value. After that, the screen system performs corresponding position compensation on the first touch position vector based on the tilt direction and the touch point position compensation value, and finally obtains the second touch position. At this point, the screen system can use the second touch position as the touch reporting point position to perform a matching response, such as displaying a trajectory, triggering a corresponding application, and so on.

[0102] like Figure 5 As shown, another embodiment of the present application also provides a touch data processing device 100 ,include:

[0103] a first determining module, configured to determine a first touch position in response to a touch operation inputted by a touch object on the screen, and obtain a first angle between the touch object and a horizontal plane, and a second angle between the screen and the horizontal plane;

[0104] a second determining module, configured to determine a tilt direction of the touch-sensitive body relative to the screen based on a first electrode signal and a second electrode signal output by the touch-sensitive body, wherein the first electrode signal is output by a first electrode on the touch-sensitive body, and the second electrode signal is output by a second electrode on the touch-sensitive body;

[0105] The processing module is configured to process the first touch position based on the first angle, the second angle, and the tilt direction to obtain a second touch position, wherein the distance between the second touch position and the actual touch position of the touch object is smaller than the distance between the first touch position and the actual touch position of the touch object.

[0106] In one embodiment, obtaining a first angle between the screen and a horizontal plane, and a second angle between the touch object and the horizontal plane, includes:

[0107] obtaining a first angle between the touch body and a horizontal plane based on angle information collected by a gyroscope of the touch body;

[0108] A second angle between the screen and the horizontal plane is obtained based on angle information collected by a gyroscope of a device where the screen is located.

[0109] In one embodiment, the apparatus further comprises:

[0110] a third determining module, configured to determine a third angle between the touch object and the screen based on the first angle and the second angle;

[0111] The processing of the first touch position based on the first angle, the second angle, and the tilt direction includes:

[0112] The first touch position is processed based on the third angle and the tilt direction.

[0113] In one embodiment, determining a third angle between the touch object and the screen based on the first angle and the second angle includes:

[0114] Calculating a difference between the first angle and the second angle;

[0115] A third angle between the touch object and the screen is determined based on the difference.

[0116] In one embodiment, determining the tilt direction of the touch object relative to the screen based on the first electrode signal and the second electrode signal output by the touch object includes:

[0117] determining a first receiving position of the first electrode signal on the screen;

[0118] determining a second receiving position of the second electrode signal on the screen;

[0119] determining signal reception times of the first electrode signal and the second electrode signal;

[0120] The tilt direction of the touch object relative to the screen is determined based on the signal receiving time, the first receiving position, and the second receiving position of the first electrode signal and the second electrode signal.

[0121] In one embodiment, the apparatus further comprises:

[0122] a first obtaining module, configured to obtain a first mapping relationship table of the actual touch point position of the touch-sensitive object on the screen during a historical period, the touch point position determined by the device in response to a touch operation, the angle between the touch-sensitive object and the screen, and the tilt direction of the touch-sensitive object relative to the screen;

[0123] The fourth determining module is configured to determine the second touch position in combination with the first mapping relationship table.

[0124] In one embodiment, the processing of the first touch position based on the first angle and the tilt direction to obtain the second touch position includes:

[0125] determining a third angle between the screen and the touch object based on a difference between the first angle and the second angle;

[0126] Determine the corresponding actual touch point position based on matching the third angle and the tilt direction in the first mapping relationship table;

[0127] The first touch position is updated based on the actual touch point position to obtain a second touch position.

[0128] In one embodiment, the apparatus further comprises:

[0129] A second obtaining module is used to obtain a second mapping relationship table of the touch point position compensation value and the angle between the touch body and the screen;

[0130] A fifth determining module is configured to determine the second touch position in combination with the second mapping relationship table.

[0131] In one embodiment, the processing of the first touch position based on the first angle, the second angle, and the tilt direction to obtain the second touch position includes:

[0132] determining a third angle between the screen and the touch object based on a difference between the first angle and the second angle;

[0133] Determine a corresponding touch point position compensation value based on matching the second angle in the second mapping relationship table;

[0134] The first touch position is calibrated based on the tilt direction and the touch point position compensation value to obtain the second touch position.

[0135] Furthermore, an embodiment of the present application further provides an electronic device, including:

[0136] one or more processors;

[0137] a memory configured to store one or more programs;

[0138] When the one or more programs are executed by the one or more processors, the one or more processors implement the touch data processing method as described above.

[0139] Furthermore, an embodiment of the present application further provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the touch data processing method described above. It should be understood that each solution in this embodiment has the corresponding technical effects of the above method embodiments, and will not be further described here.

[0140] Furthermore, an embodiment of the present application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer-readable instructions. When the computer-executable instructions are executed, at least one processor executes a touch data processing method such as the one in the embodiment described above.

[0141] It should be noted that the computer storage medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above. Computer-readable media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory medium (RAM), a read-only memory medium (ROM), an erasable programmable read-only memory medium (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory medium (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system or device. In the present application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program configured for use by or in conjunction with an instruction execution system, system, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, antenna, optical cable, RF, or any suitable combination thereof.

[0142] In addition, it will be understood by those skilled in the art that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage and optical storage, etc.) that contain computer-usable program code.

[0143] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction system that is implemented in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0144] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of protection of the present application is limited to these examples. In line with the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

Claims

1. A touch data processing method, comprising: In response to a touch operation inputted by a touch object on the screen, determining a first touch position, and obtaining a first angle between the touch object and a horizontal plane, and a second angle between the screen and the horizontal plane; determining a tilt direction of the touch body relative to the screen based on a first electrode signal and a second electrode signal output by the touch body, wherein the first electrode signal is output by a first electrode on the touch body, and the second electrode signal is output by a second electrode on the touch body; The first touch position is processed based on the first angle, the second angle, and the tilt direction to obtain a second touch position, wherein the distance between the second touch position and the actual touch position of the touch object is smaller than the distance between the first touch position and the actual touch position of the touch object.

2. The touch data processing method according to claim 1, wherein: The obtaining of a first angle between the screen and a horizontal plane, and a second angle between the touch object and the horizontal plane, includes: obtaining a first angle between the touch body and a horizontal plane based on angle information collected by a gyroscope of the touch body; A second angle between the screen and the horizontal plane is obtained based on angle information collected by a gyroscope of a device where the screen is located.

3. The touch data processing method according to claim 1, wherein: The method further comprises: Determining a third angle between the touch object and the screen based on the first angle and the second angle; The processing of the first touch position based on the first angle, the second angle, and the tilt direction includes: The first touch position is processed based on the third angle and the tilt direction.

4. The touch data processing method according to claim 3, wherein: The determining of a third angle between the touch object and the screen based on the first angle and the second angle includes: Calculating a difference between the first angle and the second angle; A third angle between the touch object and the screen is determined based on the difference.

5. The touch data processing method according to claim 1, wherein: The determining the tilt direction of the touch object relative to the screen based on the first electrode signal and the second electrode signal output by the touch object includes: determining a first receiving position of the first electrode signal on the screen; determining a second receiving position of the second electrode signal on the screen; determining signal reception times of the first electrode signal and the second electrode signal; The tilt direction of the touch object relative to the screen is determined based on the signal receiving time, the first receiving position, and the second receiving position of the first electrode signal and the second electrode signal.

6. The touch data processing method according to claim 1, wherein: The method further comprises: Obtaining a first mapping relationship table constructed by actual touch point positions corresponding to different touch operations applied by the touch-sensitive object on the screen during a historical period, touch point positions determined by the device in response to the touch operations, angles between the touch-sensitive object and the screen, and tilt directions of the touch-sensitive object relative to the screen; The second touch position is determined in combination with the first mapping relationship table.

7. The touch data processing method according to claim 6, wherein: The processing of the first touch position based on the first angle and the tilt direction to obtain the second touch position includes: determining a third angle between the screen and the touch object based on a difference between the first angle and the second angle; Determine the corresponding actual touch point position based on matching the third angle and the tilt direction in the first mapping relationship table; The first touch position is updated based on the actual touch point position to obtain a second touch position.

8. The touch data processing method according to claim 1, wherein: The method further comprises: Obtaining a second mapping relationship table constructed by different touch point position compensation values and angles between the touch body and the screen; The second touch position is determined in combination with the second mapping relationship table.

9. The touch data processing method according to claim 8, wherein: The processing of the first touch position based on the first included angle, the second included angle, and the tilt direction to obtain the second touch position includes: determining a third angle between the screen and the touch object based on a difference between the first angle and the second angle; Matching the third angle in the second mapping relationship table to determine a corresponding touch point position compensation value; The first touch position is calibrated based on the tilt direction and the touch point position compensation value to obtain the second touch position.

10. A touch data processing device, comprising: a first determining module, configured to determine a first touch position in response to a touch operation inputted by a touch object on the screen, and obtain a first angle between the touch object and a horizontal plane, and a second angle between the screen and the horizontal plane; a second determining module, configured to determine a tilt direction of the touch-sensitive body relative to the screen based on a first electrode signal and a second electrode signal output by the touch-sensitive body, wherein the first electrode signal is output by a first electrode on the touch-sensitive body, and the second electrode signal is output by a second electrode on the touch-sensitive body; The processing module is configured to process the first touch position based on the first angle, the second angle, and the tilt direction to obtain a second touch position, wherein the distance between the second touch position and the actual touch position of the touch object is smaller than the distance between the first touch position and the actual touch position of the touch object.