CN112506366A - Processing method, terminal and storage medium for active pen writing abnormity - Google Patents
Processing method, terminal and storage medium for active pen writing abnormity Download PDFInfo
- Publication number
- CN112506366A CN112506366A CN202110128497.5A CN202110128497A CN112506366A CN 112506366 A CN112506366 A CN 112506366A CN 202110128497 A CN202110128497 A CN 202110128497A CN 112506366 A CN112506366 A CN 112506366A
- Authority
- CN
- China
- Prior art keywords
- value
- pressure
- average value
- writing
- zero reference
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003860 storage Methods 0.000 title claims abstract description 14
- 238000003672 processing method Methods 0.000 title abstract description 7
- 238000000034 method Methods 0.000 claims abstract description 42
- 230000002159 abnormal effect Effects 0.000 claims abstract description 28
- 230000005856 abnormality Effects 0.000 claims description 14
- 230000005484 gravity Effects 0.000 abstract description 6
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 16
- 238000001514 detection method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 230000035882 stress Effects 0.000 description 3
- 239000011521 glass Substances 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 239000011265 semifinished product Substances 0.000 description 2
- RVCKCEDKBVEEHL-UHFFFAOYSA-N 2,3,4,5,6-pentachlorobenzyl alcohol Chemical compound OCC1=C(Cl)C(Cl)=C(Cl)C(Cl)=C1Cl RVCKCEDKBVEEHL-UHFFFAOYSA-N 0.000 description 1
- 241000213006 Angelica dahurica Species 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/038—Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
- G06F3/03545—Pens or stylus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
The application discloses a processing method, a terminal and a storage medium for active pen writing abnormity, wherein the method comprises the following steps: when the active pen is powered on, a first pressure value of a pen point is obtained through a pressure sensor, and the first pressure value is used as a first return-to-zero reference value; when abnormal writing is detected, acquiring the average value of the pressure of the pen point in a set frame number, and taking the average value corresponding to the maximum average value of the pressure and the minimum average value of the pressure as a second zeroing reference value; and when the abnormal writing is detected again, acquiring a pressure value of the pen point, if the pressure value is a negative value, acquiring a second pressure value of the pen point, and taking the second pressure value as a third zero reference value, wherein the writing is carried out based on a threshold value corresponding to the zero reference value. Under the condition that the active pen does not have the gravity sensor, the problems that handwriting can appear on a screen when the active pen is not in contact with the screen are solved through operations such as power-on calibration, constant-voltage calibration, negative value updating and the like, and normal writing is guaranteed.
Description
Technical Field
The application relates to the technical field of intelligent pens, in particular to a processing method, a terminal and a storage medium for active pen writing abnormity.
Background
The existing active pen adopting the prepressing scheme has errors in the calibration process, when the active pen does not write, the sensor (pressure sensor) and the amplifier inside the active pen can be influenced by temperature or structural parts and the like within a certain time, the offset phenomenon occurs, and the pen point has certain stress, so that the detected ADC value is increased, namely the detected ADC value can exceed the set threshold value, at the moment, the active pen is not in contact with the screen, but handwriting can occur on the screen, and the phenomenon is called as water leakage phenomenon. The existing active pen is not effectively solved when the water leakage phenomenon occurs, so that an effective mode for solving the water leakage phenomenon of the active pen adopting the prepressing scheme is urgently needed.
Disclosure of Invention
The embodiment of the application provides a processing method, a terminal and a storage medium for abnormal writing of an active pen, and aims to solve the problem that handwriting can appear on a screen when the active pen is not in contact with the screen.
In order to achieve the above object, an aspect of the present application provides a method for processing an active pen writing exception, where the method for processing an active pen writing exception includes the following steps:
when the active pen is powered on, acquiring a first pressure value of a pen point through a pressure sensor, taking the first pressure value as a first return-to-zero reference value, and writing based on the first return-to-zero reference value;
when abnormal writing is detected, acquiring a pressure average value of the pen point in a set frame number, taking an average value corresponding to a maximum pressure average value and a minimum pressure average value as a second zero reference value, and writing based on the second zero reference value, wherein each frame in the set frame number corresponds to set time;
and when the abnormal writing is detected again, acquiring the pressure value of the pen point, if the pressure value is a negative value, acquiring a second pressure value of the pen point, taking the second pressure value as a third zero reference value, and writing based on the third zero reference value.
Optionally, the step of obtaining a pressure average value of the pen tip in a set frame number, taking an average value corresponding to a maximum pressure average value and a minimum pressure average value as a second return-to-zero reference value, and writing based on the second return-to-zero reference value includes:
acquiring a pressure average value of the pen point in a set frame number, and acquiring a first pressure average value corresponding to the pen point in a plurality of set frame numbers if the pressure average value meets a first set condition;
if the maximum first pressure average value and the minimum first pressure average value meet a second set condition, taking an average value corresponding to the maximum first pressure average value and the minimum first pressure average value as a second return-to-zero reference value;
and updating the set threshold value according to the second zeroing reference value to obtain a first threshold value, and writing based on the first threshold value.
Optionally, the step of obtaining a pressure average value of the pen tip in a set number of frames, and if the pressure average value satisfies a first set condition, obtaining a first pressure average value corresponding to the pen tip in a plurality of the set number of frames includes:
acquiring a pressure average value of the pen point in a first initial set frame number after a power-on calibration window period is ended or the active pen is awakened from a sleep state;
and if the comparison value between the pressure average value and the set threshold value meets the first set condition, acquiring first pressure average values respectively corresponding to the pen point in a plurality of set frame numbers.
Optionally, if the maximum first pressure average value and the minimum first pressure average value satisfy a second setting condition, the step of taking an average value corresponding to the maximum first pressure average value and the minimum first pressure average value as a second return-to-zero reference value includes:
if the comparison value between the maximum first pressure average value and the minimum first pressure average value meets the second set condition, continuously acquiring second pressure average values respectively corresponding to the pen point in a plurality of set frames;
and if the comparison value between the maximum second pressure average value and the minimum second pressure average value meets the second set condition, taking the average value corresponding to the maximum second pressure average value and the minimum second pressure average value as the second return-to-zero reference value.
Optionally, the step of writing based on the first zero reference value with the first pressure value as the first zero reference value includes:
obtaining an average value corresponding to the first pressure value, and comparing the average value with the set threshold value;
if the average value is smaller than or larger than the set threshold value, taking the average value as the first return-to-zero reference value;
and updating the set threshold value according to the first zeroing reference value to obtain a second threshold value, and writing based on the second threshold value.
Optionally, after the step of updating the set threshold value according to the first return-to-zero reference value to obtain a second threshold value and writing based on the second threshold value, the method includes:
when entering a power-on calibration window period, acquiring third pressure average values respectively corresponding to the pen point in a plurality of set frames;
if the comparison value between the maximum third pressure average value and the minimum third pressure average value meets the second set condition, taking the average value corresponding to the maximum third pressure average value and the minimum third pressure average value as a fourth return-to-zero reference value; or,
and entering the next period if the comparison value between the maximum third pressure average value and the minimum third pressure average value does not meet the second set condition.
Optionally, if the pressure value is a negative value, obtaining a second pressure value of the pen tip, and taking the second pressure value as a third return-to-zero reference value, where the writing based on the third return-to-zero reference value includes:
if the obtained pressure value is smaller than a return-to-zero reference value, determining that the pressure value is a negative value;
acquiring a second pressure value corresponding to the pen point without external force, and taking the second pressure value as the third return-to-zero reference value;
and updating the set threshold value according to the third zero-return reference value to obtain a third threshold value, and writing based on the third threshold value.
Optionally, after the step of obtaining a current pressure value when the writing abnormality is detected again, and if the pressure value is a negative value, obtaining a second pressure value, and taking the second pressure value as a third return-to-zero reference value, the method includes:
detecting the pressure value of the pen point by the pressure sensor at set intervals under the condition that the active pen is in a non-pressure state;
refreshing the detected pressure value.
In addition, in order to achieve the above object, in another aspect of the present application, a terminal is further provided, where the terminal includes a memory, a processor, and a processing program of an active pen writing exception, where the processing program of the active pen writing exception is stored in the memory and runs on the processor, and the processor implements the steps of the processing method of the active pen writing exception as described above when executing the processing program of the active pen writing exception.
In addition, to achieve the above object, another aspect of the present application further provides a computer-readable storage medium, where a program for handling an active pen writing exception is stored, and when the program for handling an active pen writing exception is executed by a processor, the method for handling an active pen writing exception as described above is implemented.
In the embodiment, when the active pen is powered on, a first pressure value of a pen point is obtained through a pressure sensor, and the first pressure value is used as a first return-to-zero reference value; when abnormal writing is detected, acquiring the average value of the pressure of the pen point in a set frame number, and taking the average value corresponding to the maximum average value of the pressure and the minimum average value of the pressure as a second zeroing reference value; and when the abnormal writing is detected again, acquiring a pressure value of the pen point, if the pressure value is a negative value, acquiring a second pressure value of the pen point, and taking the second pressure value as a third zero reference value, wherein the writing is carried out based on a threshold value corresponding to the zero reference value. Under the condition that the active pen does not have the gravity sensor, the problems that handwriting can appear on a screen when the active pen is not in contact with the screen are solved through operations such as power-on calibration, constant-voltage calibration, negative value updating and the like, and normal writing is guaranteed.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a first embodiment of a method for handling an abnormal writing of an active pen according to the present application;
FIG. 3 is a flowchart illustrating a second embodiment of a method for handling an abnormal writing operation of an active pen according to the present application;
fig. 4 is a schematic flow chart illustrating that the first pressure value is used as a first return-to-zero reference value and writing is performed based on the first return-to-zero reference value in the method for processing writing abnormality of the active pen according to the present application;
fig. 5 is a schematic flow chart illustrating a step of updating the set threshold value according to the first zeroing reference value to obtain a second threshold value and writing based on the second threshold value in the method for processing writing abnormality of the active pen according to the present application;
fig. 6 is a schematic flow chart illustrating a process of acquiring a pressure average value of the pen point in a set number of frames in the method for processing writing abnormality of the active pen according to the present application, and if the pressure average value meets a first set condition, acquiring first pressure average values corresponding to the pen point in a plurality of set number of frames respectively;
fig. 7 is a schematic flow chart illustrating that, in the method for processing writing abnormality of an active pen according to the present application, if a maximum first pressure average value and a minimum first pressure average value satisfy a second setting condition, an average value corresponding to the maximum first pressure average value and the minimum first pressure average value is used as a second return-to-zero reference value;
fig. 8 is a schematic flow chart illustrating that, in the method for processing writing abnormality of the active pen according to the present application, if the pressure value is a negative value, a second pressure value of the pen point is obtained, and writing is performed based on the third return-to-zero reference value by using the second pressure value as the third return-to-zero reference value.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: when the active pen is powered on, acquiring a first pressure value of a pen point through a pressure sensor, taking the first pressure value as a first return-to-zero reference value, and writing based on the first return-to-zero reference value; when abnormal writing is detected, acquiring a pressure average value of the pen point in a set frame number, taking an average value corresponding to a maximum pressure average value and a minimum pressure average value as a second zero reference value, and writing based on the second zero reference value, wherein each frame in the set frame number corresponds to set time; and when the abnormal writing is detected again, acquiring the pressure value of the pen point, if the pressure value is a negative value, acquiring a second pressure value of the pen point, taking the second pressure value as a third zero reference value, and writing based on the third zero reference value.
Because the existing initiative pen adopting the prepressing scheme has a water leakage phenomenon, when the initiative pen is not in contact with a screen, handwriting can appear on the screen, and meanwhile, the problem cannot be effectively solved. When the active pen is powered on, a first pressure value of a pen point is obtained through the pressure sensor, and the first pressure value is used as a first return-to-zero reference value; when abnormal writing is detected, acquiring the average value of the pressure of the pen point in a set frame number, and taking the average value corresponding to the maximum average value of the pressure and the minimum average value of the pressure as a second zeroing reference value; and when the abnormal writing is detected again, acquiring a pressure value of the pen point, if the pressure value is a negative value, acquiring a second pressure value of the pen point, and taking the second pressure value as a third zero reference value, wherein the writing is carried out based on a threshold value corresponding to the zero reference value. Under the condition that the active pen does not have the gravity sensor, the problems that handwriting can appear on a screen when the active pen is not in contact with the screen are solved through operations such as power-on calibration, constant-voltage calibration, negative value updating and the like, and normal writing is guaranteed.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, a remote controller, an audio circuit, a WiFi module, a detector, and the like. Of course, the terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a temperature sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a handler of an active pen writing exception.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a handler for the active pen writing exception in the memory 1005, and perform the following operations:
when the active pen is powered on, acquiring a first pressure value of a pen point through a pressure sensor, taking the first pressure value as a first return-to-zero reference value, and writing based on the first return-to-zero reference value;
when abnormal writing is detected, acquiring a pressure average value of the pen point in a set frame number, taking an average value corresponding to a maximum pressure average value and a minimum pressure average value as a second zero reference value, and writing based on the second zero reference value, wherein each frame in the set frame number corresponds to set time;
and when the abnormal writing is detected again, acquiring the pressure value of the pen point, if the pressure value is a negative value, acquiring a second pressure value of the pen point, taking the second pressure value as a third zero reference value, and writing based on the third zero reference value.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a first embodiment of a method for handling writing anomalies of an active pen according to the present application.
While a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than here.
The method for processing the writing exception of the initiative pen comprises the following steps:
step S10, when the active pen is powered on, a first pressure value of a pen point is obtained through a pressure sensor, the first pressure value is used as a first zero reference value, and writing is carried out based on the first zero reference value;
the application environment of the method provided by this embodiment is to apply the method to an active pen adopting a prepressing scheme, and the active pen is not provided with a gravity sensor, and the active pen adopting the prepressing scheme refers to that a sensor (pressure sensor) with a glass aperture and a TPU are contacted together, which is called prepressing, and if the sensor (pressure sensor) with the glass aperture and the TPU are not contacted together, which is called non-prepressing. The initiative pen adopting the prepressing scheme has a water leakage phenomenon, namely, when the initiative pen is not in contact with a screen, handwriting is displayed on the screen. Further causes of "water leakage" include: lifting the screen after being pressed, pulling the pen core outwards with force, rotating the pen core, throwing the pen with force, screwing the rear cover on the battery, aging hardware, temperature drift and the like.
The active pen is also called a capacitive Stylus (Stylus), and works through a coupling capacitor between the front end of the pen core and a Touch Panel (TP), so that the active pen is called a capacitive Stylus; the active pen is provided with a pressure sensor, and the pressure sensor is used for detecting the pressure of the active pen on the touch screen, so that the active pen can detect the change of the writing strength of a user, and the touch screen can change the thickness of handwriting according to the change of the writing strength.
Under normal conditions, when the active pen does not write, the pressure applied to the sensor (pressure sensor) is not changed, that is, the ADC value is not changed, but the active pen has calibration errors, temperature drift and other reasons, so that a water leakage phenomenon occurs. Specifically, the battery of the active pen records a current pressure value at the moment of power-on, the pressure sensor is controlled to acquire 10 ADC values through 10 frames, wherein the time of one frame is 15.0134ms, that is, one ADC value is acquired every 15.0134ms, the acquired 10 ADC values are averaged, and the average value is used as a first return-to-zero reference value. For example: the acquired ADC values are a1, a 2.. a10, an average value of the acquired ADC values is further calculated, an average value B1 is obtained as (a 1+ a 2.. a 10)/10, the average value B1 is used as a first zero reference value, and writing is performed based on the first zero reference value.
Further, the active pen is also preset with a corresponding ADC threshold (pressure threshold), and in the writing process, the used pressure needs to exceed the threshold to discharge water, for example, 30 ADCs are set as the thresholds, and the corresponding gram weight of writing is 10g or 25 g. After calculating the average value of 10 ADC values, the average value needs to be compared with a threshold value to determine whether a calibration operation needs to be performed, referring to fig. 4, the step of writing based on the first return-to-zero reference value by using the first pressure value as the first return-to-zero reference value includes:
step S11, obtaining an average value corresponding to the first pressure value, and comparing the average value with the set threshold value;
step S12, if the average value is smaller than or greater than the set threshold value, taking the average value as the first return-to-zero reference value;
and step S13, updating the set threshold value according to the first zero reference value to obtain a second threshold value, and writing based on the second threshold value.
And comparing the average value obtained by current calculation with a set threshold value, and if the average value is smaller than or larger than the set threshold value, indicating that the current difference is large and the reference value needs to be updated. In an embodiment, if the currently calculated average value is 10 ADCs and the threshold value is 30 ADCs, it indicates that the current difference is large, 10 is used as a first return-to-zero reference value, that is, 10 is regarded as 0 for processing, the threshold value is updated, and the threshold value is updated to 40 ADCs, that is, 40 ADCs are obtained by adding a preset threshold value 30 on the basis of the return-to-zero processing; the difference between the average value and the threshold value is not changed, but the threshold value is raised upwards, that is, the difference between the average value and the original threshold value is 20, after the average value 10 is treated as 0, the corresponding average value is 20, the updated threshold value is 40, and the difference between the two values is still 20, that is, the difference between the two values is not changed. Writing is performed based on the updated threshold value, and if the updated threshold value is 40, the pressure value of the user during writing needs to be greater than 40 ADCs.
Further, if a new active pen is calibrated after being powered on, it is recommended to calibrate the pressure value again after 5S/10S/30S, referring to fig. 5, the step of updating the set threshold value according to the first return-to-zero reference value to obtain a second threshold value, and after the step of writing based on the second threshold value, the method includes:
step S14, when entering a power-on calibration window period, acquiring third pressure average values respectively corresponding to the pen point in a plurality of set frames;
step S15, if the comparison value between the maximum third pressure average value and the minimum third pressure average value satisfies the second setting condition, taking an average value corresponding to the maximum third pressure average value and the minimum third pressure average value as a fourth return-to-zero reference value;
in step S16, if the comparison value between the maximum third pressure average value and the minimum third pressure average value does not satisfy the second setting condition, the next cycle is entered.
In an embodiment, the active pen starts to enter the power-on calibration window period from the 11 th frame, continuously obtains 20 ADC values of 10 frames (i.e. 3.00268S), respectively calculates a third pressure average value corresponding to each ADC value of 10 frames, and if a comparison value between the maximum third pressure average value (Bmax) and the minimum third pressure average value (Bmin) satisfies a second setting condition, that is, | Bmax-Bmin | <5 units, takes an average value corresponding to the maximum third pressure average value and the minimum third pressure average value as a fourth zeroing reference value, that is, (Bmax + Bmin)/2 as the zeroing reference value. And if the comparison value between the maximum third pressure average value and the minimum third pressure average value in the third pressure average values does not meet the second set condition, namely | Bmax-Bmin | >5 units, abandoning the group of data and reentering the next 3S period. Wherein the entire power-up calibration window period is maintained at 30.0268S.
Step S20, when abnormal writing is detected, obtaining the pressure average value of the pen point in the set frame number, taking the average value corresponding to the maximum pressure average value and the minimum pressure average value as a second zero reference value, and writing based on the second zero reference value, wherein each frame in the set frame number corresponds to the set time;
after the active pen is powered on and calibrated, whether a water leakage phenomenon occurs or not is detected, if the water leakage phenomenon occurs, constant-pressure calibration operation is carried out, pressure average values corresponding to a set number of frames (such as 20 frames) are continuously obtained, whether the pressure average values meet a first set condition or not is judged, if the pressure average values meet the first set condition, first pressure average values corresponding to a plurality of set number of frames (such as 10 frames and 20 frames) are continuously obtained, and a maximum first pressure average value (Bmax) and a minimum first pressure average value (Bmin) are obtained from the first pressure average values and are compared to obtain a comparison value; if the comparison value satisfies a second setting condition, an average value between the maximum first pressure average value (Bmax) and the minimum first pressure average value (Bmin) is set as a second zero reference value, and writing is performed based on the second zero reference value. The length of each protocol frame of the MPP is 15.0134ms, each unit that the ADC can read is 1unit, and the set threshold value is A.
Further, referring to fig. 6, the step of obtaining a pressure average value of the pen tip in a set frame number, and if the pressure average value satisfies a first set condition, obtaining a first pressure average value corresponding to the pen tip in a plurality of set frame numbers includes:
step S21, acquiring the average pressure value of the pen point in the first initial set frame number after the power-on calibration window period is over or the active pen is awakened from the sleep state;
step S22, if the comparison value between the pressure average value and the set threshold value satisfies the first setting condition, obtaining a first pressure average value corresponding to the pen point in a plurality of the setting frames.
The constant voltage takes every 15S or 30S as a large period (specifically, power consumption performance needs to be seen), when performing constant voltage calibration, a start position of the constant voltage calibration needs to be determined, in this embodiment, after a power-on calibration window period is ended or an active pen is awakened from a sleep state, the active pen starts to enter constant voltage calibration operation, specifically, 20 ADC values are taken in a first initial 20 frames, a pressure average value B1 corresponding to the 20 ADC values is calculated, if a comparison value between the pressure average value B1 and a set threshold value a meets a first set condition, that is, | B1-a | >5unit, then 10 ADC values of 20 frames are continuously taken, and a first pressure average value corresponding to each 20 frames is calculated respectively, so as to obtain B2, B3 … B10; if the comparison value between the pressure average value B1 and the set threshold value A does not meet the first set condition, namely | B1-A | <5 units, the active pen does not perform calibration, and a new detection period is started after the large period is finished.
Further, referring to fig. 7, if the maximum first pressure average value and the minimum first pressure average value satisfy a second setting condition, the step of setting an average value corresponding to the maximum first pressure average value and the minimum first pressure average value as a second return-to-zero reference value includes:
step S23, if the comparison value between the maximum first pressure average value and the minimum first pressure average value meets the second setting condition, continuing to obtain second pressure average values corresponding to the pen point in a plurality of setting frames;
in step S24, if the comparison value between the maximum second pressure average value and the minimum second pressure average value satisfies the second setting condition, the average value corresponding to the maximum second pressure average value and the minimum second pressure average value is used as the second return-to-zero reference value.
If the comparison value between the maximum first pressure average value (Bmax) and the minimum first pressure average value (Bmin) meets a second set condition, that is, | Bmax-Bmin | <5 units, continuously acquiring 20 ADC values of 20 frames, and respectively calculating a second pressure average value corresponding to each 20 frames to obtain B12, B13 … B20 (if the period is 15s, continuously acquiring 10 20 frames); if the comparison value between the maximum second pressure average value and the minimum second pressure average value of the second pressure average values satisfies the second setting condition, | Bmax-Bmin | <5 units, the average value between the two values is taken as the return-to-zero reference value, that is, (Bmax + Bmin)/2 is taken as the return-to-zero reference value, for example: if (Bmax + Bmin)/2 is 10, 10 is taken as the zero reference value, that is, 10 is taken as 0, and the set threshold value a and the updated threshold value (a + 10) are updated. And if the comparison value between the maximum second pressure average value and the minimum second pressure average value in the second pressure average values does not meet a second set condition, namely | Bmax-Bmin | >5 units, stopping detection until the next large period.
And step S30, when the abnormal writing is detected again, acquiring a pressure value of the pen point, and if the pressure value is a negative value, acquiring a second pressure value of the pen point, taking the second pressure value as a third zero reference value, and writing based on the third zero reference value.
After the pressure of the active pen is reset to zero, whether the water leakage phenomenon occurs or not can be continuously detected, if the water leakage phenomenon occurs, the current ADC value is detected, and if the detected ADC value is a negative value, the current active pen is in a stuck state or a user presses a pen core by using an object, so that the stress of the active pen is large. And acquiring a second pressure value after the active pen returns to the normal state, performing zeroing processing on the second pressure value, and updating a corresponding threshold value. Referring to fig. 8, if the pressure value is a negative value, acquiring a second pressure value of the pen tip, and taking the second pressure value as a third return-to-zero reference value, where the writing based on the third return-to-zero reference value includes:
step S31, if the obtained pressure value is smaller than a return-to-zero reference value, determining that the pressure value is a negative value;
step S32, acquiring a second pressure value corresponding to the pen point without external force, and taking the second pressure value as the third zero reference value;
and step S33, updating the set threshold value according to the third zero-setting reference value to obtain a third threshold value, and writing based on the third threshold value.
The ADC sampling value of the active pen under the condition of setting the maximum prepressing value (return-to-zero absolute value +2 units in the semi-finished product burning stage) is C, when the Chinese angelica zero reference value is larger than C, the force sensor is considered to have constant extra pressure at the moment, and when the obtained pressure value at the next moment is smaller than the return-to-zero reference value, the return-to-zero reference value is immediately adjusted to be the currently obtained pressure value, namely the second pressure value, so that the negative value is updated to be real-time, and the updating can be continuously carried out. In one embodiment, in the pre-pressing scheme, if the pre-pressing ADC value at the PCBA (semi-finished product) stage is 30, then 30 is regarded as 0, and when the actual value is detected to be 35, then the 5 extra ADC values are regarded as generated by the external force, i.e. the pressure value received is a negative value. For example: if the ADC value of the threshold of the pressure sensor for starting the active pen is set to be 30, when the refill is stuck or a student presses the refill with a book, the force applied to the refill is larger, and if the MCU detects that the ADC value is 200, the 200 is reset to zero (namely, water can be discharged after the ADC value is increased to 230 on the basis of the 30 threshold). When the refill is not locked (rebounded) or the student opens the refill of the book without stress, the MCU detects that the ADC value is possibly only 10, if 10 is not taken as a reference value, the refill is stressed by a great force, water can be discharged, and the water can be discharged only when the ADC value exceeds 230. Therefore, the ADC value detected after the pen refill is not stressed needs to be used as the return-to-zero reference value, that is, 10 is used as the return-to-zero reference value, and the corresponding threshold value is 40, and at this time, water can be discharged when the ADC value written by the user exceeds 40.
According to the embodiment of the application, when the active pen is powered on, a first pressure value of a pen point is obtained through the pressure sensor, and the first pressure value is used as a first zero reference value; when abnormal writing is detected, acquiring the average value of the pressure of the pen point in a set frame number, and taking the average value corresponding to the maximum average value of the pressure and the minimum average value of the pressure as a second zeroing reference value; and when the abnormal writing is detected again, acquiring a pressure value of the pen point, if the pressure value is a negative value, acquiring a second pressure value of the pen point, and taking the second pressure value as a third zero reference value, wherein the writing is carried out based on a threshold value corresponding to the zero reference value. Under the condition that the active pen does not have the gravity sensor, the problems that handwriting can appear on a screen when the active pen is not in contact with the screen are solved through operations such as power-on calibration, constant-voltage calibration, negative value updating and the like, and normal writing is guaranteed.
Further, referring to fig. 3, a second embodiment of the method for handling writing abnormality of an active pen according to the present application is provided.
The difference between the second embodiment of the method for processing active pen writing abnormality and the first embodiment of the method for processing active pen writing abnormality is that, after the step of obtaining a current pressure value when writing abnormality is detected again, obtaining a second pressure value if the pressure value is a negative value, and using the second pressure value as a third return-to-zero reference value, the method includes:
step S33, detecting the pressure value of the pen point by the pressure sensor at intervals of set time under the condition that the active pen is in no pressure;
and step S34, refreshing the detected pressure value.
The pressure value is detected by the pressure sensor at intervals of first set time (such as 200 ms) when the active pen is not subjected to external force, and the obtained pressure value is refreshed, so that the temperature drift problem of the PCB and the environmental temperature difference problem are solved.
This embodiment is under the no pressure condition, and every interval a period detects the pressure value and refreshes for can in time solve PCB board temperature drift problem and ambient temperature difference problem.
In an embodiment, the processing apparatus for active pen writing exception includes a memory, a processor, and a processing program for active pen writing exception, where the processing program for active pen writing exception is stored in the memory and can be run on the processor, and when executed by the processor, the processing program for active pen writing exception implements the following steps:
when the active pen is powered on, acquiring a first pressure value of a pen point through a pressure sensor, taking the first pressure value as a first return-to-zero reference value, and writing based on the first return-to-zero reference value;
when abnormal writing is detected, acquiring a pressure average value of the pen point in a set frame number, taking an average value corresponding to a maximum pressure average value and a minimum pressure average value as a second zero reference value, and writing based on the second zero reference value, wherein each frame in the set frame number corresponds to set time;
and when the abnormal writing is detected again, acquiring the pressure value of the pen point, if the pressure value is a negative value, acquiring a second pressure value of the pen point, taking the second pressure value as a third zero reference value, and writing based on the third zero reference value.
In one embodiment, the processing device for the active pen writing abnormity comprises an acquisition module, a first detection module and a second detection module;
the acquisition module is used for acquiring a first pressure value of a pen point through a pressure sensor when the active pen is powered on, taking the first pressure value as a first return-to-zero reference value, and writing based on the first return-to-zero reference value;
the first detection module is used for acquiring a pressure average value of the pen point in a set frame number when abnormal writing is detected, taking an average value corresponding to a maximum pressure average value and a minimum pressure average value as a second zero reference value, and writing based on the second zero reference value, wherein each frame in the set frame number corresponds to set time;
and the second detection module is used for acquiring the pressure value of the pen point when the writing abnormity is detected again, acquiring a second pressure value of the pen point if the pressure value is a negative value, taking the second pressure value as a third zero reference value, and writing based on the third zero reference value.
Further, the first detection module comprises an acquisition unit, a judgment unit and an update unit;
the acquiring unit is used for acquiring a pressure average value of the pen point in a set frame number, and acquiring first pressure average values corresponding to the pen point in a plurality of set frame numbers if the pressure average value meets a first set condition;
the judgment unit is configured to, if a maximum first pressure average value and a minimum first pressure average value satisfy a second setting condition, take an average value corresponding to the maximum first pressure average value and the minimum first pressure average value as a second return-to-zero reference value:
and the updating unit is used for updating the set threshold value according to the second zero reference value to obtain a first threshold value and writing based on the first threshold value.
Further, the acquiring unit comprises an acquiring subunit and a judging subunit;
the acquiring subunit is configured to acquire a pressure average value of the pen point in a first initial set frame number after the power-on calibration window period is ended or the active pen is awakened from a sleep state;
and the judging subunit is configured to, if the comparison value between the pressure average value and the set threshold value satisfies the first set condition, obtain first pressure average values corresponding to the pen point in a plurality of set frame numbers, respectively.
Further, the judging unit includes a judging subunit;
the judgment subunit is configured to, if a comparison value between the maximum first pressure average value and the minimum first pressure average value meets the second setting condition, continue to obtain second pressure average values corresponding to the pen point in the plurality of setting frames;
the judgment subunit is further configured to, if a comparison value between a maximum second pressure average value and a minimum second pressure average value satisfies the second setting condition, use an average value corresponding to the maximum second pressure average value and the minimum second pressure average value as the second return-to-zero reference value;
further, the acquisition module comprises an acquisition unit, a judgment unit and an updating unit;
the acquiring unit is used for acquiring an average value corresponding to the first pressure value and comparing the average value with the set threshold value;
the judging unit is configured to, if the average value is smaller than or larger than the set threshold value, use the average value as the first return-to-zero reference value
And the updating unit is used for updating the set threshold value according to the first zeroing reference value to obtain a second threshold value and writing based on the second threshold value.
Furthermore, the updating unit also comprises an acquiring subunit and a judging subunit;
the obtaining subunit is configured to obtain, when entering a power-on calibration window period, third pressure average values corresponding to the pen point in a plurality of the set frames respectively;
the judgment subunit is configured to, if a comparison value between a maximum third pressure average value and a minimum third pressure average value satisfies the second setting condition, use an average value corresponding to the maximum third pressure average value and the minimum third pressure average value as a fourth return-to-zero reference value;
the judgment subunit is further configured to enter a next period if the comparison value between the maximum third pressure average value and the minimum third pressure average value does not satisfy the second setting condition.
Further, the second detection module comprises a judgment unit, an acquisition unit and an updating unit;
the judgment unit is used for determining that the pressure value is a negative value if the obtained pressure value is smaller than a return-to-zero reference value;
the acquiring unit is used for acquiring a second pressure value corresponding to the pen point without external force, and taking the second pressure value as the third zero reference value;
and the updating unit is used for updating the set threshold value according to the third zero-return reference value to obtain a third threshold value, and writing based on the third threshold value.
Further, the second detection module further comprises a detection unit and a refresh unit;
the detection unit is used for detecting the pressure value of the pen point through the pressure sensor at intervals of set time under the condition that the active pen is under no pressure;
the refreshing unit is used for refreshing the detected pressure value.
The implementation of the functions of each module of the processing apparatus for active pen writing abnormality is similar to the process in the above method embodiment, and is not described in detail here.
In addition, the application also provides a terminal, the terminal comprises a memory, a processor and a processing program which is stored in the memory and runs on the processor for abnormal writing of the active pen, the terminal acquires a first pressure value of a pen point through a pressure sensor, and the first pressure value is used as a first return-to-zero reference value; when abnormal writing is detected, acquiring the average value of the pressure of the pen point in a set frame number, and taking the average value corresponding to the maximum average value of the pressure and the minimum average value of the pressure as a second zeroing reference value; and when the abnormal writing is detected again, acquiring a pressure value of the pen point, if the pressure value is a negative value, acquiring a second pressure value of the pen point, and taking the second pressure value as a third zero reference value, wherein the writing is carried out based on a threshold value corresponding to the zero reference value. Under the condition that the active pen does not have the gravity sensor, the problems that handwriting can appear on a screen when the active pen is not in contact with the screen are solved through operations such as power-on calibration, constant-voltage calibration, negative value updating and the like, and normal writing is guaranteed.
In addition, the present application also provides a computer readable storage medium, where a processing program of the active pen writing exception is stored on the computer readable storage medium, and when the processing program of the active pen writing exception is executed by a processor, the steps of the processing method of the active pen writing exception are implemented.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While alternative embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (10)
1. A method for handling active pen writing exceptions, the method comprising:
when the active pen is powered on, acquiring a first pressure value of a pen point through a pressure sensor, taking the first pressure value as a first return-to-zero reference value, and writing based on the first return-to-zero reference value;
when abnormal writing is detected, acquiring a pressure average value of the pen point in a set frame number, taking an average value corresponding to a maximum pressure average value and a minimum pressure average value as a second zero reference value, and writing based on the second zero reference value, wherein each frame in the set frame number corresponds to set time;
and when the abnormal writing is detected again, acquiring the pressure value of the pen point, if the pressure value is a negative value, acquiring a second pressure value of the pen point, taking the second pressure value as a third zero reference value, and writing based on the third zero reference value.
2. The method for handling the abnormality of active pen writing according to claim 1, wherein the step of obtaining the average value of the pressure of the pen tip in the set number of frames, setting the average value corresponding to the maximum average value of the pressure and the minimum average value of the pressure as a second zero reference value, and writing based on the second zero reference value comprises:
acquiring a pressure average value of the pen point in a set frame number, and acquiring a first pressure average value corresponding to the pen point in a plurality of set frame numbers if the pressure average value meets a first set condition;
if the maximum first pressure average value and the minimum first pressure average value meet a second set condition, taking an average value corresponding to the maximum first pressure average value and the minimum first pressure average value as a second return-to-zero reference value;
and updating the set threshold value according to the second zeroing reference value to obtain a first threshold value, and writing based on the first threshold value.
3. The method for processing active pen writing abnormality according to claim 2, wherein the step of obtaining the pressure average value of the pen tip in a set number of frames, and if the pressure average value satisfies a first set condition, obtaining a first pressure average value corresponding to the pen tip in a plurality of the set number of frames respectively comprises:
acquiring a pressure average value of the pen point in a first initial set frame number after a power-on calibration window period is ended or the active pen is awakened from a sleep state;
and if the comparison value between the pressure average value and the set threshold value meets the first set condition, acquiring first pressure average values respectively corresponding to the pen point in a plurality of set frame numbers.
4. The method for handling an active pen writing abnormality according to claim 2, wherein the step of taking an average value corresponding to the maximum first pressure average value and the minimum first pressure average value as a second return-to-zero reference value if the maximum first pressure average value and the minimum first pressure average value satisfy a second setting condition comprises:
if the comparison value between the maximum first pressure average value and the minimum first pressure average value meets the second set condition, continuously acquiring second pressure average values respectively corresponding to the pen point in a plurality of set frames;
and if the comparison value between the maximum second pressure average value and the minimum second pressure average value meets the second set condition, taking the average value corresponding to the maximum second pressure average value and the minimum second pressure average value as the second return-to-zero reference value.
5. The method of handling an active pen writing exception according to claim 2, wherein said step of writing based on said first force value as a first zero reference value comprises:
obtaining an average value corresponding to the first pressure value, and comparing the average value with the set threshold value;
if the average value is smaller than or larger than the set threshold value, taking the average value as the first return-to-zero reference value;
and updating the set threshold value according to the first zeroing reference value to obtain a second threshold value, and writing based on the second threshold value.
6. The method for handling active pen writing anomalies according to claim 5, wherein the step of updating the set threshold value according to the first return-to-zero reference value to obtain a second threshold value, and writing based on the second threshold value, after the step of writing, comprises:
when entering a power-on calibration window period, acquiring third pressure average values respectively corresponding to the pen point in a plurality of set frames;
if the comparison value between the maximum third pressure average value and the minimum third pressure average value meets the second set condition, taking the average value corresponding to the maximum third pressure average value and the minimum third pressure average value as a fourth return-to-zero reference value; or,
and entering the next period if the comparison value between the maximum third pressure average value and the minimum third pressure average value does not meet the second set condition.
7. The method for handling the abnormal writing with the active pen according to claim 1, wherein if the pressure value is a negative value, a second pressure value of the pen tip is obtained, the second pressure value is used as a third zero reference value, and the step of writing based on the third zero reference value comprises:
if the obtained pressure value is smaller than a return-to-zero reference value, determining that the pressure value is a negative value;
acquiring a second pressure value corresponding to the pen point without external force, and taking the second pressure value as the third return-to-zero reference value;
and updating the set threshold value according to the third zero-return reference value to obtain a third threshold value, and writing based on the third threshold value.
8. The method for processing active pen writing abnormity according to claim 1, wherein after the step of obtaining a current pressure value when writing abnormity is detected again, obtaining a second pressure value if the pressure value is negative, and using the second pressure value as a third zero reference value, the method comprises:
detecting the pressure value of the pen point by the pressure sensor at set intervals under the condition that the active pen is in a non-pressure state;
refreshing the detected pressure value.
9. A terminal, characterized in that the terminal comprises a memory, a processor and a handler of an active pen writing exception stored on the memory and running on the processor, the processor implementing the steps of the method according to any one of claims 1 to 8 when executing the handler of the active pen writing exception.
10. A computer-readable storage medium, having stored thereon a handler of an active pen writing exception, which when executed by a processor implements the steps of the method of any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110128497.5A CN112506366B (en) | 2021-01-29 | 2021-01-29 | Processing method, terminal and storage medium for active pen writing abnormity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110128497.5A CN112506366B (en) | 2021-01-29 | 2021-01-29 | Processing method, terminal and storage medium for active pen writing abnormity |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112506366A true CN112506366A (en) | 2021-03-16 |
CN112506366B CN112506366B (en) | 2021-06-08 |
Family
ID=74952620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110128497.5A Active CN112506366B (en) | 2021-01-29 | 2021-01-29 | Processing method, terminal and storage medium for active pen writing abnormity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112506366B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114076657A (en) * | 2021-10-29 | 2022-02-22 | 歌尔科技有限公司 | Pressure self-adaptive calibration method, terminal equipment and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751174A (en) * | 2008-12-12 | 2010-06-23 | 汉王科技股份有限公司 | Writing pen obliquity correcting method |
CN104751688A (en) * | 2013-12-25 | 2015-07-01 | 步步高教育电子有限公司 | Method and device for handwriting identification, pronunciation and error correction |
US20170021662A1 (en) * | 2015-07-24 | 2017-01-26 | Tyler S. Forester | System and Method for Training Correct Positioning and Pressure of Digits on a Marking Instrument |
KR20170036940A (en) * | 2015-09-24 | 2017-04-04 | 엘지디스플레이 주식회사 | Active touch pen and touch sensing system and driving method of the same |
DE202017002668U1 (en) * | 2016-12-09 | 2017-06-14 | SIM Grundstücksverwertungs-, Projektentwicklungs- und Hausbau GmbH | Laser law clerk |
CN107358229A (en) * | 2017-08-25 | 2017-11-17 | 马新禹 | A kind of hand-written smart pen |
CN110007784A (en) * | 2019-02-28 | 2019-07-12 | 华为技术有限公司 | A kind of active stylus calibration method, active stylus and electronic equipment |
US20190227706A1 (en) * | 2011-01-05 | 2019-07-25 | Samsung Electronics Co., Ltd. | Methods and apparatus for correcting input error in input apparatus |
-
2021
- 2021-01-29 CN CN202110128497.5A patent/CN112506366B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751174A (en) * | 2008-12-12 | 2010-06-23 | 汉王科技股份有限公司 | Writing pen obliquity correcting method |
US20190227706A1 (en) * | 2011-01-05 | 2019-07-25 | Samsung Electronics Co., Ltd. | Methods and apparatus for correcting input error in input apparatus |
CN104751688A (en) * | 2013-12-25 | 2015-07-01 | 步步高教育电子有限公司 | Method and device for handwriting identification, pronunciation and error correction |
US20170021662A1 (en) * | 2015-07-24 | 2017-01-26 | Tyler S. Forester | System and Method for Training Correct Positioning and Pressure of Digits on a Marking Instrument |
KR20170036940A (en) * | 2015-09-24 | 2017-04-04 | 엘지디스플레이 주식회사 | Active touch pen and touch sensing system and driving method of the same |
DE202017002668U1 (en) * | 2016-12-09 | 2017-06-14 | SIM Grundstücksverwertungs-, Projektentwicklungs- und Hausbau GmbH | Laser law clerk |
CN107358229A (en) * | 2017-08-25 | 2017-11-17 | 马新禹 | A kind of hand-written smart pen |
CN110007784A (en) * | 2019-02-28 | 2019-07-12 | 华为技术有限公司 | A kind of active stylus calibration method, active stylus and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114076657A (en) * | 2021-10-29 | 2022-02-22 | 歌尔科技有限公司 | Pressure self-adaptive calibration method, terminal equipment and readable storage medium |
CN114076657B (en) * | 2021-10-29 | 2024-04-09 | 歌尔科技有限公司 | Pressure self-adaptive calibration method, terminal equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112506366B (en) | 2021-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9529475B2 (en) | Method for calibration of capacitive touch screen and capacitive touch apparatus | |
US10614748B2 (en) | Operating module for display and operating method, and electronic device supporting the same | |
US20130234987A1 (en) | Method and system for updating reference data of capacitive multi-touch screen | |
US10678303B2 (en) | Method for controlling electronic device and electronic device | |
KR102253100B1 (en) | Ultra-low power mode for low-cost force-sensing devices | |
US11614790B2 (en) | Electronic pen, method and device for controlling electronic pen, and computer-readable storage medium | |
CN107870856B (en) | Video playing starting time testing method and device and electronic terminal | |
CN112506366B (en) | Processing method, terminal and storage medium for active pen writing abnormity | |
EP3614244B1 (en) | Touch screen adjustment method, touch chip and electronic terminal | |
CN104077041A (en) | Page turning method, device and terminal | |
KR20170114515A (en) | Electronic device for displaying screen and method for controlling thereof | |
CN112486345B (en) | Processing method, device, terminal and storage medium for active pen writing abnormity | |
CN113342204B (en) | Touch control system adapting method, device, equipment, storage medium and program product | |
US9857890B2 (en) | Information processing method and electronic apparatus | |
US9386663B2 (en) | Monitoring system and method | |
US11550689B2 (en) | System and method for measuring navigation of a computer application | |
US9805254B2 (en) | Preventing display clearing | |
CN115834958B (en) | Touch screen writing delay test method and device | |
CN108937860B (en) | Motion state monitoring method, system and equipment and storage medium | |
US9632795B2 (en) | Electronic device and method for monitoring battery module of the same | |
TW201539181A (en) | Identifying power state changes | |
CN111142958A (en) | Active pen sleep awakening method, device, equipment and readable storage medium | |
WO2017206889A1 (en) | Sensor calling function shutdown method and apparatus, storage medium, and electronic device | |
CN107832155B (en) | Method and device for replacing algorithm, storage medium and electronic equipment | |
CN114442988B (en) | Data display method, device, clock display system, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |