| CPC G06F 3/03545 (2013.01) [G06F 3/04146 (2019.05); G06F 3/04162 (2019.05); G06F 3/04883 (2013.01)] | 17 Claims |

|
1. A handwriting processing method, applied to a terminal device, the terminal device comprising a handwriting module, the handwriting module comprising a plurality of regions, the handwriting module being provided for a stylus to input handwriting content, and the method comprising:
obtaining a first pressure value within a preset time range, wherein the first pressure value is a pressure value applied by the stylus to the handwriting module, and an end moment of the preset time range is a current moment;
obtaining a latest first signal strength, wherein the first signal strength is a signal strength of a coupling signal between the terminal device and the stylus;
determining a region in which the stylus is located on the handwriting module at the current moment, using the region as a first region, and obtaining a target critical threshold associated with the first region;
searching, when the target critical threshold associated with the first region is not obtained, for a critical threshold associated with each region within a preset region range adjacent to the first region;
determining the target critical threshold corresponding to the first region based on one or more found critical thresholds;
identifying, based on the first pressure value, the first signal strength, and the target critical threshold, whether the stylus moves away from the handwriting module; and
stopping, when identifying that the stylus moves away from the handwriting module, displaying to-be-displayed handwriting content inputted by the stylus on the handwriting module within a first time range after the current moment.
|