Touch data processing method and electronic equipment

The target model handles the input position sensed by the touch display screen to generate more accurate feedback point positions, solving the problem of small signal sensing range and line jitter during line drawing operation, and realizing a more realistic user operation trajectory display.

CN120144003APending Publication Date: 2025-06-13LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510241882.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-02
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

When the passive stylus performs line drawing operations on the touch display screen, the signal sensing range is small and the position determination error is large, resulting in lines shaking and cannot accurately reflect the user's operation trajectory.

Method used

The target model processes the input position sensed by the touch display, generates a second position closer to the actual input position, and displays feedback points on the screen to reduce signal jumps and jitters.

Benefits of technology

It significantly improves the touch display effect, ensures that the line trajectory more realistically reflects user operations, and reduces jitter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120144003A_ABST
    Figure CN120144003A_ABST
Patent Text Reader

Abstract

The invention provides a touch data processing method and electronic equipment, and the method comprises the steps: obtaining a first position which is an input position which is sensed by a touch display screen and is used for representing the input of an operation body; obtaining a second position based on the first position and a target model; a feedback point for the second position is displayed on the touch display screen based on the second position, the position coordinates of the second position are different from those of the first position, and the feedback point is located at the input position of the operation 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 technical field of touch display, and particularly to a touch data processing method and an electronic device. Background Art

[0002] For electronic devices with a pen, there are currently three forms: passive pen, active pen, and electromagnetic pen. Among them, the passive pen has the lowest cost, but the problem is that the passive pen cannot actively send signals, resulting in a low amount of touch signals generated on the touch display screen. Moreover, due to the decreasing size of the pen tip, the signal sensing range is also very small, making the error in determining the position relatively large. Especially during line drawing operations, jitter is likely to occur. Summary of the Invention

[0003] The embodiments of the present application provide a touch data processing method, including:

[0004] Obtaining a first position, where the first position is the input position sensed by the touch display screen for representing the input of the operating body;

[0005] Obtaining a second position based on the first position and a target model;

[0006] Displaying a feedback point for the second position on the touch display screen based on the second position, where the position coordinates of the second position are different from those of the first position, and the feedback point is located at the input position of the operating body.

[0007] In one embodiment, the first distance between the feedback point and the input position of the operating body is less than the second distance between the first position and the input position of the operating body.

[0008] In one embodiment, the obtaining the second position based on the first position and the target model includes:

[0009] Inputting the first position to the target model;

[0010] Generating the second position by processing the first position based on the target model.

[0011] In one embodiment, the target model is a model trained based on sample data, and the sample data includes at least one of the following:

[0012] Grid position, grid initial sensing value, center area position of the touch area, edge area position of the touch area, actual position and sensing position of different line drawing samples on the touch area, line drawing angles of different line drawing samples, line drawing speeds of different line drawing samples, sensing values of each grid in response to different line drawing samples;

[0013] The grid is formed after the touch area is gridded.

[0014] In one embodiment, the training process of the target model includes:

[0015] Based on the obtained sample data, determine the initial state of each grid, the capacitance value of each grid in each drawing scenario, and the relevant information of the corresponding drawing sample;

[0016] Based on the relevant information of each sample in the sample data, determine the distance between the sensed position and the corresponding actual position of each sample point in the drawing sample;

[0017] Based on the distance, the initial state of each grid, the sensed value of each grid in each drawing scenario, and the relevant information of the corresponding drawing sample, perform calculations and learning to determine the target grids that need to be compensated in each drawing scenario, and the compensation parameters for each target grid, where the compensation parameters are used to compensate the sensed value;

[0018] Based on the compensation parameters, perform compensation processing on the corresponding target grids so that the new sensed position of the sample point calculated by combining the sensed value of the target grid after compensation matches the actual position of the sample point.

[0019] In one embodiment, determining the target grids that need to be compensated in each drawing scenario, and the compensation parameters for each target grid, includes:

[0020] Determine the target grids that are used to calculate the sensed position of the sample point when the sample point falls into the first grid. The target grids are located around the first grid, and the first grid is any grid within the touch area;

[0021] Determine the target sensed value that each target grid should have when the distance is 0 based on the calculation of the distance and the current sensed value of the target grid;

[0022] Based on the target sensed value and the current sensed value of the target grid, calculate and determine the compensation parameters of the target grid.

[0023] In one embodiment, the generating the second position by processing the first position based on the target model includes:

[0024] Based on the target model, process the first position to compensate the sensed value used to calculate the first position in the touch area;

[0025] Calculate the second position by combining the compensated sensed value.

[0026] In one embodiment, compensating the sensed values used to calculate the first position in the touch area, and calculating the second position by combining the compensated sensed values includes:

[0027] Determining the sensed value of the grid where the first position is located and the sensed values of target grids around the grid in the touch area, where the target grids are used to provide sensed values when calculating the first position, and the grid is formed after the touch area is gridded;

[0028] Determining the compensation parameters for the sensed values of the target grids, and compensating the sensed values of the target grids based on the compensation parameters;

[0029] Calculating the second position based on the sensed value of the grid where the first position is located and the compensated sensed values of the target grids.

[0030] Another embodiment of the present application also provides an electronic device, including:

[0031] A touch display screen for receiving input operations of an operating body and performing corresponding displays;

[0032] A processor for obtaining a first position, obtaining a second position based on the first position and a target model, and controlling the touch display screen to display a feedback point for the second position based on the second position, where the first position is an input position sensed by the touch display screen for characterizing the input of the operating body, the position coordinates of the second position are different from those of the first position, and the feedback point is located at the input position of the operating body.

[0033] In one embodiment, the first distance between the feedback point and the input position of the operating body is less than the second distance between the first position and the input position of the operating body.

[0034] Other features and advantages of the present application will be described in the following specification, and, in part, will become apparent from the specification or will be understood by implementing the present application. The objectives and other advantages of the present application can be achieved and obtained through the structures specifically pointed out in the written specification, claims, and drawings.

[0035] The technical solutions of the present application will be further described in detail below through the drawings and embodiments. Description of the Drawings

[0036] To more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings required for the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0037] Figure 1 It is the state diagram of the spike signal in the existing solution.

[0038] Figure 2 It is the rendering effect diagram of line drawing in the existing solution.

[0039] Figure 3 It is the schematic flowchart of the touch data processing method in the embodiment of the present application.

[0040] Figure 4 It is the state diagram after the touch area is meshed and undergoes a line drawing operation in the embodiment of the present application.

[0041] Figure 5 It is the learning process of the target model in the embodiment of the present application.

[0042] Figure 6 It is based on Figure 4 The flowchart of the compensation process shown in the state.

[0043] Figure 7 It is the structural block diagram of the electronic device in the embodiment of the present application. Specific Embodiments

[0044] Next, specific embodiments of the present application will be described in detail in conjunction with the accompanying drawings, but it is not a limitation of the present application.

[0045] It should be understood that various modifications can be made to the embodiments disclosed herein. Therefore, the following description should not be regarded as restrictive, but only as an example of the embodiments. Those skilled in the art will think of other modifications within the scope of the present disclosure.

[0046] The accompanying drawings included in the specification and constituting a part of the specification illustrate the 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, are used to explain the principles of the present disclosure.

[0047] Through the following description of the preferred forms of the embodiments given as non-limiting examples with reference to the accompanying drawings, these and other features of the present application will become apparent.

[0048] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art can surely implement many other equivalent forms of the present application, which have the features as described in the claims and thus are all within the protection scope defined hereby.

[0049] When combined with the accompanying drawings, the above and other aspects, features, and advantages of the present disclosure will become more apparent in view of the following detailed description.

[0050] 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 can be implemented in various ways. Well-known and / or repetitive functions and structures are not described in detail to avoid obscuring the present disclosure with unnecessary or redundant details. Therefore, the specific structural and functional details disclosed herein are not intended to be limiting, but are merely used as a basis for the claims and a representative basis for teaching those skilled in the art to use the present disclosure in substantially any suitable detailed structure in a variety of ways.

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

[0052] Next, embodiments of the present application will be described in detail with reference to the accompanying drawings.

[0053] Currently, when a touch display screen receives a touch operation of an operating body, for example, receiving a touch pen, specifically an operation of a passive touch pen, due to the small tip of the pen, insufficient capacitive induction cannot be generated between the touch pen and the touch display screen. Especially during a line drawing operation, such as using a passive touchpad for painting, writing, etc., or using a passive touchpad to click on the screen, or performing a sliding operation on the screen, a cross-electrode phenomenon will occur, so the signal jump is obvious. As a result, when the user uses the operating body to perform a line drawing operation, the lines displayed on the display screen will shake and cannot show the actual operation trajectory of the user. Assuming on an OLED screen, the mutual capacitance working principle will make this feature more obvious. As Figure 1 shown, the signal induction peak in the sensing area where the touch point is located is relatively high compared to the edge, the signal at the edge decays rapidly, the radiation range is very small, and the signal amount is highly concentrated in one sensing area. When calculating the reported position of the touch point, more edge sensing areas are required to provide sensing values to jointly determine the center of the touch point. The over-concentration of the signal amount will cause the system to be unable to determine the accurate position of the pen on the touch display screen. Especially when the touch pen draws a line on the screen and the operation trajectory passes through two or more electrodes, this phenomenon is more obvious. The peak signals generated by the sensing areas where each touch point is located will have jumps. The macroscopic manifestation is that there will be wavy line jitters when drawing a diagonal line. As Figure 2 shown.

[0054] To solve this technical problem, as Figure 3 shown, an embodiment of the present application provides a touch data processing method, including:

[0055] S1: Obtain a first position, where the first position is an input position sensed by a touch display screen for representing an input of an operating body;

[0056] S2: Obtain a second position based on the first position and a target model;

[0057] S3: Display a feedback point for the second position on the touch display screen based on the second position, where the position coordinates of the second position are different from those of the first position, and the feedback point is located at the input position of the operating body.

[0058] In this embodiment, the touch data processing method first obtains the first position of the input point determined by the touch display screen in response to the operation applied by the user on the screen through the operating body. This first position does not necessarily match the actual input position of the operating body, that is, the first position is the position that needs to be adjusted. Then, the target model is called to obtain the second position based on the first position and the target model. The position coordinates of the second position are different from those of the first position, that is, the first position and the second position are two different position information. After obtaining the second position, the system determines the input position of the feedback point of the operating body on the touch display screen based on the second position, that is, determines the input position of the input point based on the second position and displays it on the touch display screen. Compared with the first position, the second position is closer to the actual input position of the operating body. When the operating body performs painting, writing operations on the touch display screen, or clicks on the screen and slides on the screen, the first positions of all input points will be processed through the above process, so that the first positions of all input points are adjusted to obtain the second position. By sequentially displaying the second positions corresponding to each input point on the touch display screen, that is, the second positions of the feedback points, the obtained trajectory line can more truly reflect the actual operation trajectory of the operating body, and the jitter phenomenon caused by signal jumps no longer occurs, significantly improving the touch display effect. That is to say, the method adopted in the embodiment of the present application outputs the second position in real time for each real-time input first position through the target model and directly provides the feedback point on the screen, with low latency, obtained by passive stylus input, allowing the user to see it immediately. The feedback point can be located at the position where the passive stylus touches the screen (accuracy improved). Since the target model outputs the second position one-to-one for each first position, that is, as long as the touch display screen can sense and report the first position, the target model outputs the second position corresponding to the first position, and the target algorithm will not miss or lose points, so that no matter whether the user inputs a large or small graphic through the passive stylus, as long as the touch display screen can sense the point, it will be displayed as a feedback point on the screen, realizing what you input is what you get for passive stylus input.

[0059] In another embodiment of the present application, the display position of the feedback point in the touch area, that is, the second position, has a first distance from the actual input position of the operating body, and the first position corresponding to the feedback point has a second distance from the actual input position of the operating body. The first distance is less than the second distance, which means that the adjusted second position is closer to the actual input position of the operating body and can more truly reflect the actual operation trajectory of the operating body.

[0060] Further, obtaining the second position based on the first position and the target model includes:

[0061] S4: Input the first position to the target model;

[0062] S5: Process the first position based on the target model to generate the second position.

[0063] In this embodiment, the target model is a model for a user to process the first position to obtain the second position. When the user uses a stylus to perform an input operation on the touch display screen, the system calculates and determines the first position based on the generated touch sensing value, then calls the target model, and then inputs the first position into the target model to process the first position based on the target model to obtain the second position.

[0064] In practical applications, not only can the first position be input into the target model, but also other sensed information related to the input operation can be input into the target model together, so that the target model combines more information related to the input operation to calculate and determine the second position together, improving the calculation accuracy of the second position. The information related to the input operation can be related to the training data input during the training of the target model.

[0065] In this embodiment, the target model is a model trained based on sample data, that is, the target model is a model trained based on training data. The sample data (training data) includes at least one of the following:

[0066] Grid position, grid initial sensing value, center area position of the touch area, edge area position of the touch area, actual position and sensing position of different drawing samples on the touch area, drawing angle of different drawing samples, drawing speed of different drawing samples, sensing values of each grid in response to different drawing samples;

[0067] The grid is formed after the touch area is gridded, as Figure 4 shown, Figure 4 shows the state diagram of the touch area after gridding. Each grid has an initial sensing value, that is, when no touch operation is received, each grid has an initial sensing value, and the initial sensing value is usually low. The touch sensing ability of the peripheral edge area of the touch area is weaker than that of the center area of the touch area. Therefore, it is necessary to input the position information of the center area and the edge area of the touch area into the model so that the model can provide more accurate compensation calculations according to the position of the sensing area (grid area) involved in the drawing operation. The drawing angle of the drawing sample is determined by two input points.

[0068] When the training of the target model is completed and the target model is put into use, in response to the determination of the first position, the system can input the first position into the target model, and at the same time input the sensed values and position information of all grids in response to the input operation. When the input operation involves two input points, the input speed and the drawing direction can be calculated and determined, and then the first position, the input speed, the direction corresponding to the second input point, and the sensed values and position information of each grid are input into the target model at the same time, so that the target model combines multiple input information to complete the calculation and determination of the second position.

[0069] Further, in one embodiment, the training process of the target model includes:

[0070] S6: Determine the initial state of each grid, the sensed value of each grid in each drawing scenario, and the relevant information of the corresponding drawing sample based on the obtained sample data;

[0071] S7: Determine the distance between the sensed position and the corresponding actual position of each sample point in the drawing sample based on the relevant information of each sample in the sample data;

[0072] S8: Calculate and learn based on the distance, the initial state of each grid, the sensed value of each grid in each drawing scenario, and the relevant information of the corresponding drawing sample to determine the target grids that need to be compensated in each drawing scenario, and the compensation parameters for each target grid, where the compensation parameters are used to compensate the sensed values;

[0073] S9: Perform compensation processing on the corresponding target grids based on the compensation parameters, so that the new sensed position of the sample point calculated by combining the sensed values of the target grids after compensation processing matches the actual position of the sample point.

[0074] Continue to combine Figure 4 As shown, after obtaining the training data / sample data, input it into the target model. The target model will determine the initial state of each grid based on the obtained sample data, that is, the initial sensed state of all grids when no touch operation is received. At the same time, determine the sensed value of each grid and the relevant information of the corresponding drawing sample in different drawing scenarios, such as different drawing directions, different drawing speeds, different drawing types (straight lines, curves, etc.) scenarios. After determining the information required for calculation, based on the above-obtained information, determine the distance between the sensed position (equivalent to the first position) of each sample point (equivalent to the input point) in each drawing sample and the actual input position corresponding to the sample point, and the distance is the perpendicular distance. For example, Figure 4As shown in the figure, the curve in the figure corresponds to the induction trajectory of a drawing sample, which is formed by integrating the induction positions (the first positions) of each sample point. The straight line in the figure corresponds to the actual input trajectory of the drawing sample, which is formed by integrating the actual positions of each sample point. The distance is the vertical distance between the induction position of a sample point in the curve and the actual position of the corresponding sample point in the straight line.

[0075] After determining the distance, the target model will calculate and learn based on the distance, the initial states of each grid, the induction values of each grid in each drawing scenario, and the relevant information of the corresponding drawing sample. This process can be referred to Figure 5 As shown in Figure 5 Through the learning and convergence process shown in Figure 4 As shown in the figure, the induction value of 198 in the figure is the induction peak. The two grids around the grid with the induction value of 198, that is, the grids with induction values of 24 and 77 respectively, are the target grids corresponding to the grid with the induction value of 198. The compensation parameters determined by the target model are two, which are used to compensate the induction values of the two target grids with induction values of 24 and 77 respectively, so that the second position can be calculated by combining the compensated induction values with the induction value of 198, and the second position is located within the straight line trajectory.

[0076] Furthermore, when the target model determines the target grids that need to be compensated in each drawing scenario and the compensation parameters for each target grid, it includes:

[0077] S10: When it is determined that the induction position of the sample point falls within the first grid, determine the target grids used to participate in the calculation of the induction position of the sample point. The target grids are located around the first grid, and the first grid is any grid within the touch area;

[0078] S11: Determine the target induction value that each target grid should have when the distance is 0 based on the calculation of the distance and the current induction value of the target grid;

[0079] S12: Calculate and determine the compensation parameters of the target grid based on the target induction value and the current induction value of the target grid.

[0080] For example, in combination with Figure 6As shown, when the target model determines that the sensed position of a sample point falls within the first grid based on the sensed values of each grid in a drawing sample scenario and the sensed positions of each sample point in the drawing sample, the target grid used to participate in calculating the sensed position of the sample point is located around the first grid. When the system or model calculates the sensed position of the sample point, it will calculate and determine its sensed position by combining the sensed values of the first grid and the target grid. The first grid is any one of all the grids, that is, when the sensed position falls within any first grid, the learning process of the model is as described above. As Figure 6 shown, the first grid is the grid with a sensed value of 198, and the target grids are the grids with sensed values of 24 and 77 respectively. After determining the target grid, the model will continue to determine the distance L between the sensed position and the actual position of the corresponding sample point. As Figure 6 shown by the arrow inclined between the curved trajectory formed by the sensed position and the straight trajectory formed by the actual position in Figure 6 , this represents the distance L. Then, a differential calculation is performed on it to obtain the distance scores Ltx and Lrx in the horizontal and vertical branches. These two distance scores point to the two target grids respectively. After that, by combining the input center calculation formula, it can be calculated that when Ltx and Lrx are equal to 0, which is equivalent to approaching 0 when the distance L is 0, the coefficients Dtx and Drx that need to be superimposed on the current sensed value for the sensed values of the corresponding target grids. The coefficients are the compensation parameters of the target grid.

[0081] Through the above calculations and learning, the target model can learn the compensation parameters of the target grids around the sample points falling within different grids in different drawing scenarios, that is, different drawing directions, different drawing speeds, and different drawing positions. After determining this corresponding relationship, the training of the target model is completed.

[0082] After the training of the target model is completed, it can be used in actual applications to adjust the position of the feedback point for any input operation input by the operating body.

[0083] Specifically, generating the second position based on the target model processing the first position includes:

[0084] S13: Processing the first position based on the target model to compensate the sensed value used to calculate the first position in the touch area;

[0085] S14: Calculating the second position by combining the compensated sensed value.

[0086] When the target model obtains the first position, or simultaneously obtains information related to the drawn line operation output, such as the line drawing speed, the line drawing direction, the grid sensing value, etc., it will compensate the sensing value of the grid used to participate in calculating the first position in the touch area, so that the second position can be calculated by combining the compensated sensing value and the corresponding sensing peak value.

[0087] Further, compensating the sensing value used to calculate the first position in the touch area, so that the second position is calculated by combining the compensated sensing value, includes:

[0088] S15: Determine the sensing value of the grid where the first position is located in the touch area and the sensing values of the target grids located around the grid. The target grids are used to provide sensing values when calculating the first position. The grid is formed after the touch area is gridded.

[0089] S16: Determine the compensation parameter of the sensing value of the target grid, and compensate the sensing value of the target grid based on the compensation parameter.

[0090] S17: Calculate the second position based on the sensing value of the grid where the first position is located and the compensated sensing value of the target grid.

[0091] Continue to combine Figure 6 As shown, after the target model obtains the input information, it will first determine the sensing value of the grid where the first position is located in the touch area. This sensing value is usually the sensing peak value, such as the sensing value 198 in the figure. At the same time, it will also determine the sensing values of the target grids located around this sensing peak value, that is, the sensing values of the target grids used to participate in calculating and determining the first position, such as the two grids with sensing values 24 and 77 in the figure. Then, the target model will determine the compensation parameter of the sensing value of the target grid in the current line drawing scenario based on the learning result. In this embodiment, for the target grid with a sensing value of 24, its compensation parameter is 49. After compensation, the sensing value of this target grid is 73. For the target grid with a sensing value of 77, its compensation parameter is 49. After compensation, the sensing value of this target grid is 126. After the compensation is completed, the target model will calculate the second position based on the sensing value of the grid where the first position is located, such as 198, and the compensated sensing values 73 and 126. The second position is located in the straight line trajectory in the figure.

[0092] The compensation parameters are not fixed. Corresponding to different drawing scenarios, such as different drawing positions, drawing forces, drawing directions, drawing speeds, etc., the corresponding induction peaks are different, the induction values of each grid are different, and at the same time, the compensation parameters of the target grid are also different. In this process, the target model needs to train and learn to master the calculation parameters so that in subsequent actual applications, it can accurately determine the compensation parameters for each input point adapted to the current drawing scenario based on the target model.

[0093] The method in this embodiment is not limited to the usage scenario. It can be automatically started when the target program or target function is started, or there can be no restrictions. As long as the device is running and any operating body is obtained, including operations input by a stylus, finger, etc., the method described in this embodiment will be used to correct the input position so that the system can make a response that meets the user's expectations based on the more accurate second position for the user.

[0094] As Figure 7 shown, another embodiment of the present application also provides an electronic device, including:

[0095] A touch display screen for receiving input operations of an operating body and performing corresponding displays;

[0096] A processor for obtaining a first position, obtaining a second position based on the first position and a target model, and controlling the touch display screen to display a feedback point for the second position based on the second position. The first position is the input position sensed by the touch display screen for representing the input of the operating body, the position coordinates of the second position are different from those of the first position, and the feedback point is located at the input position of the operating body.

[0097] In one embodiment, the first distance between the feedback point and the input position of the operating body is less than the second distance between the first position and the input position of the operating body;

[0098] In one embodiment, the obtaining the second position based on the first position and the target model includes:

[0099] Inputting the first position to the target model;

[0100] Processing the first position based on the target model to generate the second position.

[0101] In one embodiment, the target model is a model trained based on sample data, and the sample data includes at least one of the following:

[0102] Grid position, initial grid induction value, center area position of the touch area, edge area position of the touch area, actual position and induction position of different drawing samples on the touch area, drawing angle of different drawing samples, drawing speed of different drawing samples, induction value of each grid in response to different drawing samples;

[0103] The grid is formed after the touch area is gridded.

[0104] In one embodiment, the training process of the target model includes:

[0105] Based on the obtained sample data, determine the initial state of each grid, the capacitance value of each grid in each drawing scenario, and the relevant information of the corresponding drawing sample;

[0106] Based on the relevant information of each sample in the sample data, determine the distance between the induction position and the corresponding actual position of each sample point in the drawing sample;

[0107] Based on the distance, the initial state of each grid, the induction value of each grid in each drawing scenario, and the relevant information of the corresponding drawing sample, perform calculations and learning to determine the target grids that need to be compensated in each drawing scenario, and the compensation parameters of each target grid, where the compensation parameters are used to compensate the induction value;

[0108] Based on the compensation parameters, perform compensation processing on the corresponding target grids, so that the new induction position of the sample point calculated by combining the induction values of the target grids after compensation processing matches the actual position of the sample point.

[0109] In one embodiment, determining the target grids that need to be compensated in each drawing scenario, and the compensation parameters of each target grid, includes:

[0110] Determine the target grids that are used to participate in calculating the induction position of the sample point when the sample point falls into the first grid, where the target grids are located around the first grid, and the first grid is any grid in the touch area;

[0111] Determine the target induction value that each target grid should have when the distance is 0 based on the calculation of the distance and the current induction value of the target grid;

[0112] Based on the target induction value and the current induction value of the target grid, calculate and determine the compensation parameters of the target grid.

[0113] In one embodiment, the processing the first position based on the target model to generate the second position includes:

[0114] Process the first position based on the target model to compensate for the sensed value used to calculate the first position in the touch area;

[0115] Calculate the second position by combining the compensated sensed value.

[0116] In one embodiment, compensating the sensed value used to calculate the first position in the touch area so that the second position is calculated by combining the compensated sensed value includes:

[0117] Determine the sensed value of the grid where the first position is located in the touch area and the sensed values of the target grids surrounding the grid. The target grids are used to provide sensed values when calculating the first position. The grid is formed after the touch area is gridified;

[0118] Determine the compensation parameter for the sensed value of the target grid, and compensate the sensed value of the target grid based on the compensation parameter;

[0119] Calculate the second position based on the sensed value of the grid where the first position is located and the compensated sensed value of the target grid.

[0120] Furthermore, an embodiment of the present application also provides a storage medium, on which a computer program is stored. When the program is executed by a processor, the above-mentioned touch data processing method is implemented. It should be understood that each solution in this embodiment has the corresponding technical effects in the above method embodiment, and will not be elaborated here.

[0121] Furthermore, an embodiment of the present application also provides a computer program product. The computer program product is tangibly stored on a computer-readable medium and includes computer-readable instructions. When the computer-executable instructions are executed, at least one processor is caused to execute the touch data processing method in the above-mentioned embodiment.

[0122] It should be noted that the computer storage medium of the present application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable medium can, for example but not limited to, be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium 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 storage medium (RAM), a read-only storage medium (ROM), an erasable programmable read-only storage medium (EPROM or flash memory), an optical fiber, a portable compact disk read-only storage medium (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination of the above. In the present application, the computer-readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus, or device. And in the present application, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries the computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate, or transmit a program configured to be used by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wireless, antenna, optical cable, RF, etc., or any suitable combination of the above.

[0123] In addition, those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0124] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate for implementing the process Figure 1one or more processes and / or blocks Figure 1 a system for the functions specified in one or more blocks

[0125] These computer program instructions can 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, such that the instructions stored in the computer-readable memory produce a manufacture including an instruction system that implements the functions specified in one process Figure 1 one or more processes and / or blocks Figure 1 the functions specified in one or more blocks

[0126] Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is exemplary only and is not intended to imply that the scope of the present application is limited to these examples; under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of one or more embodiments of the present application as described above, which are not provided in detail for the sake of brevity.

Claims

1. A touch data processing method, comprising: Obtaining a first position, where the first position is an input position sensed by the touch display screen and used to represent an input of the operating body; obtaining a second position based on the first position and the target model; A feedback point for the second position is displayed on the touch display screen based on the second position, the second position is different from the first position in position coordinates, and the feedback point is located at the input position of the operating body. 2 . The touch data processing method according to claim 1 , wherein the first distance between the feedback point and the input position of the operating body is smaller than the second distance between the first position and the input position of the operating body.

3. The touch data processing method according to claim 1, wherein obtaining the second position based on the first position and the target model comprises: inputting the first position to the target model; The first position is processed based on the target model to generate the second position.

4. The touch data processing method according to claim 1, wherein the target model is a model trained based on sample data, and the sample data includes at least one of the following: Grid position, grid initial sensing value, center area position of the touch area, edge area position of the touch area, actual position and sensing position of different line drawing samples on the touch area, line drawing angles of different line drawing samples, line drawing speeds of different line drawing samples, and sensing values ​​of each grid in response to different line drawing samples; The grid is formed after the touch area is gridded.

5. The touch data processing method according to claim 4, wherein the training process of the target model comprises: Determine the initial state of each grid, the capacitance value of each grid in each line drawing scene, and the relevant information of the corresponding line drawing sample based on the obtained sample data; Determine the distance between the sensed position of each sample point in the line drawing sample and the corresponding actual position based on the relevant information of each sample in the sample data; Calculating and learning based on the distance, the initial state of each grid, the sensing value of each grid in each line drawing scene, and the relevant information of the corresponding line drawing sample, determine the target grid that needs to be compensated in each line drawing scene, and the compensation parameter of each target grid, wherein the compensation parameter is used to compensate the sensing value; The corresponding target grid is compensated based on the compensation parameters, so that a new sensing position of the sample point calculated in combination with the sensing value of the target grid after the compensation matches the actual position of the sample point.

6. The touch data processing method according to claim 5, determining the target grids that need to be compensated in each line drawing scenario and the compensation parameters of each target grid, comprising: When it is determined that the sample point falls within the first grid, a target grid for participating in calculating the sensing position of the sample point, the target grid is located around the first grid, and the first grid is any grid within the touch area; Determine a target sensing value that each target grid should have when the distance is 0 based on the distance and the current sensing value of the target grid; The compensation parameter of the target grid is determined based on the target sensing value and the current sensing value of the target grid.

7. The touch data processing method according to claim 2, wherein the step of processing the first position based on the target model to generate the second position comprises: Processing the first position based on the target model to compensate the sensing value in the touch area used to calculate the first position; The second position is calculated by combining the compensated sensing value.

8. The touch data processing method according to claim 7, wherein the sensing value in the touch area used to calculate the first position is compensated so that the second position is calculated by combining the compensated sensing value, comprising: Determine the sensing value of the grid where the first position is located within the touch area and the sensing value of the target grid located around the grid, the target grid is used to provide the sensing value when calculating the first position, and the grid is formed after the touch area is gridded; Determining compensation parameters of the sensing values ​​of the target grid, and compensating the sensing values ​​of the target grid based on the compensation parameters; The second position is calculated based on the sensing value of the grid where the first position is located and the sensing value of the target grid after compensation.

9. An electronic device, comprising: A touch screen, used to receive input operations from the operator and display the corresponding information; A processor is used to obtain a first position, obtain a second position based on the first position and a target model, and control the touch display screen to display a feedback point for the second position based on the second position, wherein the first position is an input position sensed by the touch display screen for characterizing an input of an operating body, the second position has different position coordinates from the first position, and the feedback point is located at the input position of the operating body. 10 . The touch data processing method according to claim 9 , wherein the first distance between the feedback point and the input position of the operating body is smaller than the second distance between the first position and the input position of the operating body.