CN115686264B - False touch prevention method and equipment - Google Patents

False touch prevention method and equipment Download PDF

Info

Publication number
CN115686264B
CN115686264B CN202211340769.9A CN202211340769A CN115686264B CN 115686264 B CN115686264 B CN 115686264B CN 202211340769 A CN202211340769 A CN 202211340769A CN 115686264 B CN115686264 B CN 115686264B
Authority
CN
China
Prior art keywords
electronic equipment
pen
user
stylus
touch screen
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.)
Active
Application number
CN202211340769.9A
Other languages
Chinese (zh)
Other versions
CN115686264A (en
Inventor
刘耀冲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211340769.9A priority Critical patent/CN115686264B/en
Publication of CN115686264A publication Critical patent/CN115686264A/en
Application granted granted Critical
Publication of CN115686264B publication Critical patent/CN115686264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application provides an anti-false touch method and device, relates to the field of touch control, and aims to solve the problem that an electronic device can be inaccurate in anti-false touch when a user writes by using a handwriting pen in different external environments by using a fixed anti-false touch threshold value. The method is applied to electronic equipment, and the electronic equipment comprises a touch screen. The method comprises the following steps: a first nib semaphore of the stylus on the touch screen is periodically detected. It may be determined from the first nib signal quantity whether the stylus is in the first state. If yes, the vertical distance between the first position of the pen point of the handwriting pen and the touch screen is obtained; wherein the first state comprises a state in which the user holds the stylus hovering over the touch screen and the stylus is not writing on the touch screen. Then, determining an anti-false touch threshold value of the handwriting pen corresponding to the vertical distance. When the first nib semaphore is detected to be greater than or equal to the anti-false touch threshold value, an anti-false touch mode is entered, and touch information of the detected hand is not reported.

Description

False touch prevention method and equipment
Technical Field
The present application relates to the field of touch control, and in particular, to a method and apparatus for preventing false touch.
Background
At present, many electronic devices, such as tablet computers, mobile phones and the like, support writing operations of fingers and handwriting pens at the same time. When a user uses a handwriting pen to write on an electronic device, a palm of the user usually contacts a touch screen before the user drops the handwriting pen, and at the moment, the pen point is a small distance away from the touch screen. At this time, the touch screen may make a false touch to the contact of the palm, causing unnecessary operations.
When a user writes on a touch screen of an electronic device with an active stylus, the touch screen can determine the position of the stylus according to the signal of the stylus. Therefore, the electronic device can distinguish whether the current touch is from the stylus or the hand of the user, and the electronic device can prevent the touch of the hand of the user from being touched by mistake under the condition of using the active stylus.
In the related technical scheme, a threshold value of the nib signal quantity for preventing the false touch is generally set, if the nib signal quantity is detected to exceed the threshold value, the false touch preventing mode is entered, and the touch point of the hand on the touch screen is not reported. However, the electronic device may detect the pen tip signal amount easily subject to environmental interference, such as when the electronic device is placed on a conductive material and a non-conductive material, the pen tip signal amount detected by the electronic device may not be the same. If a fixed anti-false touch threshold value is used, the electronic device may have inaccurate problems for the anti-false touch when the user writes with the stylus in different external environments.
Disclosure of Invention
The embodiment of the application provides an anti-false touch method and electronic equipment, which are used for solving the problem that the electronic equipment can be inaccurate in preventing false touch when a user writes by using a handwriting pen in different external environments by using a fixed anti-false touch threshold value.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme:
in a first aspect, a method for preventing false touch is provided, where the method is applied to an electronic device, and the electronic device includes a touch screen. The method comprises the following steps:
the electronic equipment periodically detects a first nib semaphore of the handwriting pen on the touch screen; wherein the first nib signal quantity is used for indicating nib signal intensity of the handwriting pen. The electronic device may determine whether the stylus is in the first state based on the first pen tip semaphore. If yes, the electronic equipment acquires the vertical distance between the first position of the pen point of the handwriting pen and the touch screen; wherein the first state comprises a state in which the user holds the stylus hovering over the touch screen and the stylus is not writing on the touch screen. Then, the electronic equipment determines an anti-false touch threshold value of the handwriting pen corresponding to the vertical distance; the vertical distances in different value ranges correspond to different anti-false touch threshold values. When the electronic equipment detects that the first nib semaphore is greater than or equal to an anti-false touch threshold value, entering an anti-false touch mode; in the error touch prevention mode, the electronic device does not report the detected touch information of the first contact point between the hand of the user and the touch screen.
According to the technical scheme, even if writing operation is performed on the tablet personal computer by using the stylus in different environments, even if the tablet personal computer detects that the signal quantity of the pen point is influenced by the environment in the process of preventing false touch, the false touch prevention threshold value is determined in real time by combining with the current environment, that is to say, the influence of the current environment is considered in the selection of the false touch prevention threshold value. The dynamically determined false touch prevention threshold value is more in line with the current environment, and the false touch prevention threshold value is used as the threshold value for entering the false touch prevention mode, so that false touch prevention inaccuracy caused by the environment can be reduced.
In a possible real-time manner, the determining, by the electronic device, an anti-false touch threshold value of the stylus corresponding to the vertical distance may specifically include: the electronic equipment acquires a standard nib signal quantity corresponding to the vertical distance, and takes the standard nib signal quantity as an anti-false touch threshold value of the handwriting pen. The electronic equipment is pre-stored with a plurality of vertical distances and standard pen point signal quantity corresponding to each vertical distance. In this embodiment, when determining the anti-false touch threshold, the electronic device may directly find the standard signal quantity corresponding to the vertical distance as the anti-false touch threshold, so as to improve the efficiency of determining the anti-false touch threshold.
In one possible real-time manner, the electronic device may acquire a vertical distance between a first position where a pen tip of a handwriting pen is located and a touch screen, and the method specifically may include: the electronic equipment acquires a first angle between the handwriting pen and the touch screen and a second angle between the handwriting pen and the geographic horizontal line in a second state; the second state comprises a writing state that a user holds the handwriting pen and the handwriting pen is on the touch screen; and the electronic equipment calculates the difference value between the first angle and the second angle to obtain the compensation angle between the touch screen and the geographic horizontal line. The electronic equipment obtains a third angle between the handwriting pen and the geographic horizontal line in the first state; when the user holds the handwriting pen, a second contact point closest to the pen point of the handwriting pen in contact points of the handwriting pen and the hand of the user and a pen holding distance between the corresponding position of the second contact point and the pen point are obtained; the electronic equipment calculates the vertical distance according to the first angle, the third angle, the compensation angle and the pen holding distance.
In this embodiment, the electronic apparatus acquires a plurality of angles and pen-holding distances when the handwriting pen is in the first state and the second state, respectively, and calculates the vertical distance from the acquired plurality of angles and pen-holding distances. The vertical distance is obtained by converting the measured angle, distance and other information, and is less influenced by the external environment. Therefore, when the electronic equipment determines the anti-false touch threshold value according to the vertical distance, the interference of the external environment can be reduced, the more accurate anti-false touch threshold value is selected, and further the anti-false touch accuracy is improved.
In one possible real-time manner, the calculating, by the electronic device, the vertical distance according to the first angle, the third angle, the compensation angle, and the pen holding distance may specifically include: the electronic equipment sums the third angle and the compensation angle to obtain a fourth angle; the electronic equipment calculates the product of the cosine value of the fourth angle and the pen holding distance to obtain a first distance; the electronic equipment obtains a fifth angle by differentiating the first angle and the fourth angle; the electronic equipment calculates the product of the tangent value of the fifth angle and the first distance to obtain a second distance; the vertical distance includes a second distance. In the embodiment, by analyzing the relative position relationship between the hand of the user and the touch screen of the electronic device and the handwriting pen in the pen falling and pen lifting actions of the user in the writing process, the vertical distance between the pen point and the touch screen of the handwriting pen in the first state is obtained through conversion calculation of the pen holding distance in combination with the trigonometric function relationship. Therefore, the influence of the environment on the pen point signal quantity detected by the electronic equipment can be reduced, and the accuracy of false touch prevention threshold value selection is improved.
In a possible real-time manner, the electronic device stores a plurality of preset mapping relation tables, and each preset mapping relation table stores a plurality of vertical distances and standard nib semaphores corresponding to each vertical distance of the electronic device under a preset environment; the preset environment comprises at least one of the following: whether the electronic device is being charged, whether the touch screen is attached with a film, and the type of the touch screen attached with a film. Wherein, before the electronic device obtains the standard pen point signal quantity corresponding to the vertical distance, the method further comprises: the electronic equipment acquires the charging state of the electronic equipment; wherein the state of charge includes a state being charged or a state not being charged. The electronic equipment acquires a second nib signal quantity when the handwriting pen is in a second state; wherein the second state comprises a writing state that a user holds the stylus on the touch screen; when the handwriting pen is in a second state and the touch screen is in a film pasting state and a film non-pasting state, the pen point signal quantity collected by the electronic equipment is different; when different kinds of films are pasted on the touch screen, pen point signal quantity collected by the electronic equipment is different. And the electronic equipment combines the charging state and the second nib signal quantity, and screens out a target mapping relation table matched with the current environment from a plurality of preset mapping relation tables. In this embodiment, the electronic device selects the most matched preset mapping relation table as the target preset mapping relation table according to the current environment. Therefore, the influence of the environment on the detection of the pen point signal quantity of the handwriting pen by the electronic equipment can be reduced, and the more accurate anti-false touch threshold value can be determined.
In one possible real-time manner, after the electronic device combines the charging state and the second nib signal amount, and the target mapping relation table matched with the current environment is screened out from the plurality of preset mapping relation tables, the method further includes: the electronic equipment responds to the first event, and a target mapping relation table matched with the current environment is screened out from the plurality of preset mapping relation tables again; wherein the first event includes at least one of: the method comprises the steps of updating the charging state of the electronic equipment, waking up the electronic equipment in a dormant mode, restarting the electronic equipment or receiving a mapping relation resetting instruction by the electronic equipment. Therefore, under different time and different environments, the preset mapping relation table matched with the environment at the current time is selected and used for determining the false touch prevention threshold value, so that the influence of environmental factors on the selection of the false touch prevention threshold value can be reduced, and the false touch prevention is more accurate.
In one possible real-time manner, after the electronic device determines the anti-false touch threshold value of the stylus corresponding to the vertical distance, the method further includes: the electronic equipment sets an anti-false touch mark of the electronic equipment as a first mark; when the electronic equipment detects that the first nib semaphore is greater than or equal to the anti-false touch threshold value, if the anti-false touch mark is detected to be the first mark, the electronic equipment enters an anti-false touch mode. In this embodiment, the electronic device enters the anti-false touch mode after detecting that the pen tip semaphore is greater than the anti-false touch threshold value after the anti-false touch flag is the first flag. In this way, unnecessary false touches are avoided.
In one possible real-time manner, after the electronic device sets the false touch preventing identifier of the electronic device to the first identifier, the method further includes: if the electronic equipment detects that the moving distance of the electronic equipment is greater than a preset threshold value, the electronic equipment sets the false touch prevention mark as a second mark; when the electronic equipment detects that the first nib semaphore is greater than or equal to the anti-false touch threshold value, if the anti-false touch mark is detected to be the second mark, the electronic equipment does not enter the anti-false touch mode. Therefore, the error touch prevention threshold value which is determined before is inaccurate due to the change of the compensation angle caused by the movement of the electronic equipment can be avoided, and inaccurate error touch prevention can be avoided.
In one possible real-time manner, after the electronic device determines the anti-false touch threshold value of the stylus corresponding to the vertical distance, the method further includes: the electronic equipment acquires the user writing characteristics when the user uses the handwriting pen to write, and the user writing characteristics are stored corresponding to the error touch prevention threshold value of the user and are used as a user characteristic table. Wherein the user writing characteristics include at least one of: when the user uses the handwriting pen to write, the contact area between the hand of the user and the touch screen and the pen holding distance between the pen point and the position corresponding to the second contact point of the hand of the user and the handwriting pen. Thus, the electronic device can determine whether the current user is a history user through the stored user writing characteristics when the next time the user writes on the electronic device using the stylus. Therefore, the false touch prevention threshold value corresponding to the user can be rapidly read to prevent false touch.
In one possible real-time manner, after the electronic device stores the user writing feature as the user feature table corresponding to the anti-false touch threshold value, the method further includes: when the electronic equipment detects the writing characteristics of the user to be matched, searching whether the writing characteristics of the user to be matched exist in a user characteristic table; if yes, the electronic equipment acquires an anti-false touch threshold value corresponding to the writing characteristics of the user to be matched from the user characteristic table, and the anti-false touch threshold value is used as an initial anti-false touch threshold value of the user. The initial anti-false touch threshold value is used for the electronic equipment to adjust the initial anti-false touch threshold value in real time according to the vertical distance of the handwriting pen in the first state and the standard nib signal quantity. The electronic equipment can realize the use of the dynamically determined anti-false touch threshold value for anti-false touch because the electronic equipment needs to combine the characteristics of the user when writing by using the handwriting pen when determining the anti-false touch threshold value, that is, the method needs to be carried out after the user starts writing by using the handwriting pen and the electronic equipment passes through learning. In this embodiment, when the user does not write on the electronic device using the stylus for the first time, the user may use the read initial touch-preventing threshold value for preventing the user from being touched by mistake before the learning of the electronic device is completed. Thus avoiding the hand touch by mistake when the user writes before the learning of the electronic device is completed.
In one possible real-time manner, the electronic device determines that the stylus is in the first state according to the first pen tip signal amount, and may specifically include: the electronic equipment detects n second events, detects the moment when the first nib semaphore is minimum, and determines that the handwriting pen is in a first state at the moment when the first nib semaphore is minimum. The second event is used for indicating that the signal quantity of the first pen point is changed from large to small and then from small to large. In this embodiment, the change in the pen tip signal amount from large to small corresponds to the process of lifting the pen by the user, and the change in the pen tip signal amount from small to large corresponds to the process of dropping the pen by the user. The electronic equipment selects the moment of the minimum pen point semaphore between the pen lifting and the pen falling of a user as the moment of the handwriting pen in the first state, and then selects the corresponding error touch prevention threshold value according to the vertical distance between the pen point and the touch screen in the first state. Therefore, the influence of the environment on the false touch prevention threshold value selection can be reduced, and the false touch prevention accuracy is improved.
In a second aspect, there is provided an electronic device comprising: a processor and a memory; the memory is configured to store computer-executable instructions that, when executed by the electronic device, cause the electronic device to perform the false touch prevention method as described in any of the first aspects above.
In a third aspect, there is provided a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the false touch prevention method of any of the first aspects described above.
In a fourth aspect, there is provided a computer program product comprising instructions which, when run on an electronic device, enable the electronic device to perform the false touch prevention method of any of the first aspects above.
In a fifth aspect, there is provided an apparatus (e.g. the apparatus may be a system-on-a-chip) comprising a processor for supporting an electronic device to implement the functions referred to in the first aspect above. In one possible design, the apparatus further includes a memory for storing program instructions and data necessary for the electronic device. When the device is a chip system, the device can be formed by a chip, and can also comprise the chip and other discrete devices.
The technical effects of any one of the design manners of the second aspect to the fifth aspect may be referred to the technical effects of the different design manners of the first aspect, and will not be repeated here.
Drawings
FIG. 1A is a schematic view of a scene provided in an embodiment of the present application;
FIG. 1B is a schematic view of another scenario provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of hardware interaction between a stylus and a tablet computer according to an embodiment of the present application;
fig. 4 is a schematic flow chart of an anti-false touch method according to an embodiment of the present application;
FIG. 5 is a flowchart of another method for preventing false touch according to an embodiment of the present application;
FIG. 6A is a schematic diagram of a stylus according to an embodiment of the present application in a second state;
FIG. 6B is a schematic diagram of a stylus according to an embodiment of the present application in a first state;
FIG. 6C is a schematic diagram of a user holding a stylus according to an embodiment of the present application;
FIG. 6D is a schematic diagram of a sensor of a stylus according to an embodiment of the present application detecting a user's hand;
FIG. 6E is a simplified schematic diagram of a stylus according to an embodiment of the present application in a second state;
FIG. 6F is a simplified schematic diagram of a stylus according to an embodiment of the present application in a first state;
FIG. 7A is a flowchart illustrating another method for preventing false touch according to an embodiment of the present application;
fig. 7B is a schematic structural diagram of a touch screen according to an embodiment of the present application;
Fig. 8 is a schematic structural diagram of a chip system according to an embodiment of the present application.
Detailed Description
Many electronic devices, such as tablet computers, mobile phones, etc., currently include a touch screen and support writing operations of fingers and a stylus on the touch screen at the same time. By way of example, the electronic device may be a mobile phone, tablet, desktop, laptop, handheld computer, notebook, ultra-mobile personal computer, UMPC, netbook, cellular phone, personal digital assistant (personal digital assistant, PDA), augmented reality (augmented reality, AR) \virtual reality (VR) device, media player, television, etc., and the embodiment of the present application is not limited to the specific form of the device.
As shown in fig. 1A, taking an example in which the electronic device is a tablet computer 1, a user performs writing operation on a touch screen 11 of the tablet computer 1 using a stylus 2. Typically, when the user performs writing operation on the tablet computer 1 using the stylus 2, the palm of the hand will first contact the touch screen before the pen is dropped, and at this time, the pen point is a small distance from the touch screen, as shown in fig. 1B. At this time, the touch screen of the tablet computer 1 may generate false touch to the touch of the palm, causing unnecessary operations. In this case, the tablet pc 1 may make a false touch to the touch of the user's hand.
One type of stylus 2 is an active stylus. The active handwriting pen adopts an electronic circuit structure, the pen point transmits a high-frequency signal, and the touch screen receives the high-frequency signal transmitted by the pen point, so that the coordinates of the active handwriting pen on the screen are known. Because the tablet computer 1 detects the coordinates of the pen tip of the active stylus pen by detecting the high-frequency signal emitted by the pen tip of the active stylus pen, if a user writes on the touch screen using the active stylus pen, the tablet computer 1 can distinguish the touch point of the active stylus pen from the touch point of the user's hand. Thus, when a user writes on the touch screen by using the active stylus, the tablet computer 1 can not report the touch point when detecting a signal that the hand of the user touches the touch screen in part of the scene, thereby avoiding the false touch of the hand of the user.
In some embodiments, a short-range wireless communication connection is also established between the tablet 1 and the stylus 2. Through the short-range wireless communication connection, the tablet computer 1 may acquire information of the handwriting pen 2 from the handwriting pen 2, such as an included angle between the handwriting pen 2 detected by the handwriting pen 2 and a geographic horizontal line, contact information between the user's hand detected by the handwriting pen 2 and the handwriting pen 2, and so on. The short-range wireless communication connection may be any of a bluetooth connection, a wireless fidelity (wireless fidelity, wi-Fi) connection, a short-range wireless communication technology (near field communication, NFC) connection, and the like.
In the related technical scheme, a fixed nib signal quantity threshold value for preventing false touch is generally set, if the nib signal quantity is detected to exceed the threshold value, a false touch prevention mode is entered, and the touch point of the upper hand of the touch screen is not reported. However, the detection of the pen tip signal by the tablet computer 1 is easily disturbed by the environment, for example, the tablet computer 1 is placed on a conductive material and a non-conductive material, and the pen tip signal detected by the tablet computer 1 may not be the same. If a fixed anti-false touch threshold value is used, the tablet computer 1 may have an inaccurate problem for the anti-false touch when the user writes with the stylus 2 in different external environments.
Therefore, the application provides an anti-false touch method applied to an electronic device, such as a tablet computer 1 shown in fig. 1A. In the method, the tablet computer 1 obtains the vertical distance between the pen tip of the stylus 2 and the touch screen (ds shown in fig. 1B) when the user holds the stylus 2 above the touch screen of the tablet computer 1 and the stylus 2 is not writing on the touch screen. And then, the tablet personal computer 1 determines the error touch prevention threshold value of the corresponding handwriting pen according to the vertical distance. That is, the false touch prevention threshold value is set to a value dynamically determined according to the vertical distance between the pen tip and the touch screen. In this way, the tablet computer 1 can determine corresponding different anti-false touch threshold values according to the vertical distance under different environments, so that the problem of inaccurate anti-false touch caused by environmental interference is avoided.
Fig. 2 is a schematic structural diagram of an electronic device 100 according to an embodiment of the application. The electronic device 100 may be, for example, the tablet computer 1 shown in fig. 1A described above. As shown in fig. 2, the electronic device 100 may include a processor 110, an internal memory 120, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a battery 141, a wireless charging coil 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, keys 190, a camera 191, a display 192, and the like.
Among them, the sensor module 180 may include an acceleration sensor, a distance sensor, a touch sensor, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. For example, in an embodiment of the present application, the processor 110 may be an application processor AP.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a USB interface, among others.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices or mobile terminals, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments, the electronic device 100 may support wired charging. Specifically, the charge management module 140 may receive a charge input of the wired charger through the USB interface 130. In other embodiments, the electronic device 100 may support wireless charging.
The charging management module 140 may also supply power to the electronic device 100 while charging the battery 141. The charge management module 140 receives input from the battery 141 and provides power to the processor 110, the internal memory 120, the external memory, the display 192, the camera 191, the wireless communication module 160, and the like. The charge management module 140 may also be configured to monitor battery capacity, battery cycle number, battery state of health (leakage, impedance) and other parameters of the battery 141. In other embodiments, the charge management module 140 may also be disposed in the processor 110.
The wireless charging coil 142 of the electronic device 100 is used for wirelessly charging a handwriting pen.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), NFC, infrared (IR), etc., as applied on the electronic device 100. In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques.
The electronic device 100 implements display functions through a GPU, a display screen 192, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display 192 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display 192 is used to display images, videos, and the like. The display 192 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 192, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 191, a video codec, a GPU, a display 192, an application processor, and the like. The ISP is used to process the data fed back by the camera 191. In some embodiments, the ISP may be provided in the camera 191. The camera 191 is used to capture still images or video. In some embodiments, the electronic device 100 may include 1 or N cameras 191, N being a positive integer greater than 1.
The internal memory 120 may be used to store computer-executable program code that includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 120. In addition, the internal memory 120 may include a high-speed random access memory, and may also include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 100 may implement audio functions through the audio module 170, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
Referring to fig. 3, a hardware interaction diagram of a stylus 2 and a tablet computer 1 according to an embodiment of the present application is shown. As shown in fig. 3, the stylus 2 may include: a micro-processing unit (micro controller unit, MCU) 301, a first communication module 302, a coding chip 303, a sensor module 304, a charging module 305, and a battery 306. The sensor module 304 may include, but is not limited to, a pressure sensor 314 and an acceleration sensor 324. A touch panel 307 and a second communication module 308 may be included in the tablet 1. The touch panel 307 may further include a touch sensor (Touch panel sensor, TP sensor) 317 and a touch micro electronic device (Integrated Circuit, IC) chip 327.
The first communication module 302 in the handwriting pen 2 and the second communication module 308 in the tablet computer 1 may be wireless communication modules such as a wireless local area network (Wi-Fi network) module, a bluetooth module, or a near field communication NFC module, which is not limited in the embodiment of the present application. It should be appreciated that the stylus 2 and tablet 1 may establish a wireless path through the first communication module 302 and the second communication module 308. By way of example, a bluetooth path may be established between the stylus 2 and the tablet 1, which may be used to transfer information, such as configuration parameters, pressure signals, etc., between the stylus 2 and the tablet 1. The configuration parameters are used for indicating the handwriting pen 2 to send coding signals according to a certain rule. The coding signal may be used for the tablet computer 1 to determine a position (may be simply referred to as a pen tip position) of the pen tip of the stylus 2 on the touch screen of the tablet computer 1.
The touch sensor 317 in the tablet pc 1 is composed of an electrode array, and the electrode array includes a plurality of electrodes arranged in rows and columns. The code printing chip 303 in the stylus 2 is disposed at the pen tip, and the code printing chip 303 includes an electrode for transmitting and receiving signals. Also, an insulating material (e.g., air, cover glass) exists between the electrodes in the code chip 303 and the electrodes of the touch sensor 317, so that a capacitance may be formed between the electrodes in the code chip 303 and the electrodes of the touch sensor 317. That is, a capacitance may be formed between the tip of the stylus 2 and the touch sensor 317 of the tablet computer 1. So that the tip of the stylus 2 and the touch sensor 317 in the tablet computer 1 can establish a circuit connection through capacitance.
After the above-described circuit path is established, the stylus 2 and the tablet computer 1 can exchange signals through the circuit path. Illustratively, the touch sensor 317 in the tablet 1 may send an up signal to the stylus 2 through a circuit path. Also by way of example, the coding chip 303 in the stylus 2 may send a coding signal to the tablet 1 through a circuit path. Wherein, the code signal and the uplink signal are generally square wave signals.
The touch sensor 317 in the tablet computer 1 is used for collecting touch information, and the touch information may include: information that the stylus 2 touches the screen of the tablet computer 1 and information that the user (e.g., the user's finger or finger joint, etc.) touches the screen. In the embodiment of the present application, the touch information mainly refers to the information of the touch operation of the pen tip of the stylus 2 on the screen, such as the code signal, and the touch IC chip 327 can determine the touch position based on the touch information collected by the touch sensor 317.
Illustratively, the pen tip of the handwriting pen 2 is close to the screen of the tablet computer 1, and the coding chip 303 may receive the uplink signal sent by the tablet computer 1. Then, the signal (such as the code signal) sent by the code chip 303 to the touch sensor 317 in the tablet computer 1 through the circuit path may cause the variation of the capacitance sampling value of each electrode in the electrode array of the touch sensor 317, and the closer the pen tip of the stylus 2 is, the larger the variation of the capacitance sampling value is. The touch IC chip 327 in the screen may determine the touch position based on the variation of the capacitance sampling value of each electrode in the electrode array of the touch sensor 317, for example, the touch IC chip 327 may use the position where the variation of the capacitance sampling value on the touch sensor 317 is maximum as the position of the stylus 2 on the screen. For a specific implementation of determining a touch position according to a variation of a capacitance sampling value in the touch screen, reference may be made to the description in the related art, which is not repeated herein.
The pressure sensor 314 in the stylus 2 may be disposed at the tip of the stylus 2 for collecting a pressure signal from the tip. For example, when the tip of the stylus 2 contacts the screen of the tablet computer 1, the pressure sensor 314 may collect a pressure signal generated by the screen squeezing the tip. The stylus 2 may send pressure signals to the tablet 1 via a wireless path. Thereby facilitating the determination of the touch pressure by the tablet computer 1.
The acceleration sensor 324 in the stylus 2 may be used to collect three-axis acceleration values of the stylus 2, where the three-axis acceleration values include: acceleration values in the X-axis, Y-axis and Z-axis. The acceleration sensor 324 may also send the three-axis acceleration values to the MCU 301. Thus, the MCU301 may obtain information such as the inclination angle and the motion state of the stylus 2 based on the triaxial acceleration value, where the motion state is used to represent that the stylus 2 is in a stationary state or a non-stationary state. The MCU301 may also be used to control the operation of the corresponding components in the stylus 2 based on acceleration values acquired by the acceleration sensor 324. For example, the MCU301 determines that the stylus 2 is in a flat state, and the MCU301 may control the code chip 303, the pressure sensor 314, and the like to stop working. So that the power consumption of the stylus 2 can be reduced.
The charging module 305 in the stylus 2 described above may be configured to receive a charging input to charge the battery 306 in the stylus 2. Also, the charging module 305 may be used to power components in the tablet computer 1 (e.g., the MCU 301) while charging the battery 306.
It should be understood that the hardware structure of the stylus 2 and the hardware structure of the tablet computer 1 shown in fig. 3 are only examples, and in actual implementation, modules may be added or subtracted according to requirements, or one or more of the above modules may be combined. The embodiment of the present application is not particularly limited thereto.
The false touch preventing method provided in the following embodiments may be implemented in the electronic device 100 having the above-described hardware structure.
The application provides an error touch prevention method which is applied to a tablet computer 1. When a user writes on the touch screen of the tablet computer 1 by using the stylus 2, the hand of the user may contact the touch screen before the stylus is dropped, so that a false touch scene occurs on the touch screen. According to the error touch prevention method provided by the application, the pen point signal quantity of the handwriting pen 2 is detected in real time through the tablet computer 1, and the current position of the pen point is determined according to the pen point signal quantity. In this way, the tablet computer 1 may detect, in combination with the pen tip semaphore, a first state in which the user holds the stylus 2 hovering over the touch screen and the stylus 2 is not writing on the touch screen. Then, the tablet computer 1 may obtain the vertical distance between the pen tip of the stylus 2 and the touch screen in the first state, and determine an anti-false touch threshold value corresponding to the vertical distance. After that, when the tablet computer 1 detects that the nib signal quantity of the handwriting pen 2 is greater than or equal to the anti-false touch threshold value, the vertical distance between the nib of the handwriting pen 2 and the touch screen is smaller, and at this time, the tablet computer 1 can enter the anti-false touch mode. In the false touch prevention mode, the tablet computer 1 will not report the detected touch information of the first contact point between the hand of the user and the touch screen.
By the error touch prevention method provided by the embodiment of the application, the tablet computer 1 can detect the nib semaphore of the handwriting pen 2 in real time, so that the error touch prevention threshold value is dynamically refreshed. Thus, when the tablet personal computer 1 is in different environments, the threshold value for preventing false touch determined by the tablet personal computer 1 is also different, so that the problem of inaccurate false touch prevention caused by environmental interference can be avoided.
Technical terms that may be related to the embodiments of the present application are described below.
An acceleration sensor (G-sensor) is a sensor capable of measuring acceleration. The device is generally composed of a mass block, a damper, an elastic element, a sensitive element, an adaptive circuit and the like. During acceleration, the sensor obtains an acceleration value by measuring the inertial force borne by the mass block and utilizing Newton's second law. Common acceleration sensors include capacitive, inductive, strain, piezoresistive, piezoelectric, etc., according to the sensor sensing element. In some embodiments of the present application, stylus 2 includes a G-sensor, and the angle between stylus 2 and the geographic horizon may be calculated by the G-sensor. In some embodiments of the present application, the tablet computer 1 includes a G-sensor, and the tablet computer 1 may acquire whether the tablet computer 1 is moved through the G-sensor and calculate a movement distance of the tablet computer 1.
A touch sensor is a device that captures and records physical touches on a device and/or object, which enables the device or object to detect touches, typically by a user, and may also be referred to as a touch detector. In some embodiments of the present application, the pen body of the handwriting pen 2 is provided with one or more touch sensors for detecting the contact point of the hand of the user with the pen body, and further the handwriting pen 2 can determine the position of the contact point between the hand of the user and the pen body in combination with the setting position of the touch sensor in the handwriting pen 2.
In some embodiments of the present application, stylus 2 further comprises antenna 1 and antenna 2. In some embodiments, the antenna 1 and the antenna 2 are disposed at two positions of the tip and the body of the stylus 2, respectively. When the handwriting pen 2 approaches to the touch screen of the tablet computer 1, the tablet computer 1 can respectively acquire the vertical projection positions of the antenna 1 and the antenna 2 of the handwriting pen 2 on the touch screen of the tablet computer 1, and the angle between the pen body of the handwriting pen 2 and the touch screen is calculated by calculating the distance between the vertical projection positions of the antenna 1 and the antenna 2 of the handwriting pen 2 and the setting positions of the antenna 1 and the antenna 2 in the handwriting pen 2. Wherein, the setting positions of the antenna 1 and the antenna 2 in the handwriting pen 2 can be stored in the handwriting pen 2 in advance; the tablet computer 1 can obtain the setting positions of the antenna 1 and the antenna 2 from the handwriting pen 2.
Fig. 4 is a flowchart illustrating a method for preventing false touch according to an embodiment of the application. The method includes S401-S405. Wherein:
s401, periodically detecting a first nib semaphore of the handwriting pen 2 on the touch screen by the tablet computer 1.
Wherein the first nib signal quantity of the stylus 2 is used to indicate the nib signal intensity of the stylus 2. In general, an electronic device supporting writing operation of the stylus 2 on a touch screen periodically detects a pen tip signal of the stylus 2 after being turned on. In the embodiment of the application, when the distance between the pen tip of the handwriting pen 2 and the touch screen of the tablet computer 1 is relatively short, the tablet computer 1 can detect the pen tip signal emitted by the pen tip of the handwriting pen 2. In some embodiments, the tablet computer 1 may detect the first nib semaphore of the stylus 2 every preset time period; the preset time period can be set according to actual conditions. For example, the preset time period may be 2 milliseconds (ms), 5ms, and so on.
In some embodiments, stylus 2 may emit a nib signal via an antenna disposed at the nib location. After detecting the pen tip signal emitted from the antenna disposed at the pen tip position of the stylus pen 2, the tablet computer 1 may detect the pen tip signal intensity of the pen tip signal, i.e., the first pen tip signal quantity.
In some embodiments, the tablet computer 1 may detect a signal emitted from the tip of the stylus 2 through a touch sensor provided on the touch screen, and detect the strength of the tip signal, i.e., the first tip signal quantity.
In general, when the tablet computer 1 detects the pen tip signal amount of the stylus 2, the closer the pen tip of the stylus 2 is to the touch screen of the tablet computer 1, the stronger the pen tip signal amount of the stylus 2 detected by the tablet computer 1; the farther the pen tip is from the touch screen, the weaker the pen tip signal amount detected by the tablet computer 1. After the distance between the pen tip of the stylus 2 and the touch screen is greater than a certain value, the tablet computer 1 can no longer detect the signal emitted by the pen tip of the stylus 2. From this, it can be determined that the tablet computer 1 can determine, according to the first pen tip signal amount currently detected, whether the distance between the stylus 2 and the touch screen is far or near. The tablet computer 1 can also judge the movement trend of the stylus 2 according to the detected change condition of the first pen point signal quantity. For example, when the tablet computer 1 detects that the first pen tip signal amount gradually increases, it may be determined that the pen tip of the stylus 2 is gradually approaching the touch screen; when the first pen tip signal amount is detected to gradually decrease, it can be judged that the pen tip of the stylus pen 2 is gradually away from the touch screen. In some embodiments, the tablet computer 1 may determine whether the handwriting pen 2 is in a specific state in combination with the first pen tip signal amount.
S402, the tablet personal computer 1 determines whether the handwriting pen 2 is in a first state according to the first pen point signal quantity.
In some embodiments of the present application, the first state includes a state in which the user holds the stylus hovering over the touch screen of the tablet 1, and the stylus is not writing on the touch screen.
In some embodiments, S402 may specifically be that the tablet 1 detects whether the first pen tip semaphore becomes minimum in n second events to determine whether the stylus 2 is in the first state. In this embodiment, the tablet computer 1 determines that the stylus 2 is in the first state at the time when the first pen tip semaphore is detected to be minimum. Where n is a natural number greater than 1. The second event is used for indicating the tablet computer 1 to detect that the signal quantity of the first pen point is changed from large to small and then from small to large.
As can be seen from the description of the above embodiments, when the tablet computer 1 detects that the first pen tip signal amount is changed from large to small, it means that the pen tip of the stylus 2 is gradually away from the touch screen; when the signal quantity of the first pen point is changed from small to large, the pen point is gradually close to the touch screen. Therefore, in the embodiment of the present application, the second event may be a process of lifting the pen tip and then dropping the pen tip after the user holds the stylus 2 to perform writing operation on the touch screen of the tablet computer 1.
In practical situations, a user is usually required to continuously lift and drop a pen when writing continuously. The smallest moment will occur in the pen tip signal detected by the tablet computer 1 between pen lifting and pen down. In some embodiments, the user may lift the pen tip to a position where the tablet computer 1 cannot detect the pen tip signal, and stop the pen, i.e. a position where the pen tip is far from the touch screen. In this embodiment, the first state may be a state corresponding to a process that the nib signal amount is changed from large to small and then from small to large (i.e. the second event), and the minimum nib signal amount may be that the nib signal amount is changed to 0. Alternatively, in other embodiments, the user may not decrease the pen tip semaphore to 0 during pen up and pen down. At this time, the moment of the minimum pen tip signal amount detected by the tablet computer 1 during the process (i.e. the second event) from the pen lifting to the pen falling of the user can be taken, and the moment of the handwriting pen 2 in the first state is determined.
When the user uses the stylus 2 to perform writing operation on the touch screen of the tablet computer 1, the pen point is usually lifted repeatedly and then falls down, so that when the tablet computer 1 detects n second events, the process of continuously writing on the touch screen by the user using the stylus 2 may be performed.
If the tablet computer 1 determines that the handwriting pen 2 is not in the first state according to the first pen point signal amount, the tablet computer 1 returns to execute S401 to continue to detect the first pen point signal amount. If the tablet computer 1 determines that the stylus 2 is in the first state according to the first pen tip signal amount, the tablet computer 1 may perform S403.
S403, the tablet personal computer 1 obtains the vertical distance between the first position where the pen point of the handwriting pen is located and the touch screen.
The first position represents the position of the pen tip of the handwriting pen in the first state. The vertical distance between the first position and the touch screen may specifically mean that the first position is vertically projected onto the touch screen to obtain a first vertical projection point, and the distance between the position corresponding to the first vertical projection point and the first position is obtained. By way of example, the vertical distance between the first location and the touch screen may be ds as shown in fig. 1B. In other embodiments, the above-described vertical distance may also be referred to as the tip levitation height of the stylus 2 in the first state.
In some embodiments, the tip of stylus 2 is provided with an antenna. The antenna periodically transmits signals, and the tablet computer 1 can receive signals transmitted by the pen point antenna. As can be seen from the description of fig. 3, after the touch sensor of the tablet computer 1 receives the signal sent by the pen tip antenna, the touch IC chip of the tablet computer 1 can determine the pen tip position based on the signal. Afterwards, the tablet computer 1 vertically projects the pen point position to the touch screen, namely the first vertical projection point.
When a user uses the stylus 2 to perform continuous writing operation on the touch screen, the pen-lifting and pen-falling states may not be completely consistent, for example, the position between the first pen lifting and pen-falling of the user and the farthest position between the pen point and the touch screen is X1, the position between the second pen lifting and pen-falling of the user and the farthest position between the pen point and the touch screen is X2, and x1+.x2. Therefore, in some embodiments, when the tablet computer 1 detects n second events, when a plurality of first states are detected within a first preset period of time, the vertical distances between the first positions corresponding to the plurality of first states and the touch screen may be obtained, and an average value between the vertical distances may be calculated, and the average value is used as a vertical distance used for determining the anti-false touch threshold subsequently.
In some embodiments, tablet 1 may obtain the above-described vertical distance from stylus 2. The perpendicular distance between the stylus 2 and the touch screen may be determined by any of the methods commonly used for measuring distance.
In other embodiments, the tablet 1 may calculate the vertical distance in combination with parameters related to the state in which the user holds the stylus 2 in the first state. For example, the tablet computer 1 may calculate the above-mentioned vertical distance in combination with a pen holding distance between the first contact point and the pen tip, an angle between the stylus 2 and the geographical horizontal line, an angle between the stylus 2 and the touch screen, and the like. In some embodiments, referring to fig. 5, S403 may specifically include S501-S506.
S501, the tablet computer 1 obtains a first angle between the stylus 2 and the touch screen and a second angle between the stylus 2 and the geographic horizontal line in a second state.
The second state comprises a writing state that a user holds the handwriting pen and the handwriting pen is on the touch screen. That is, the second state refers to a state in which the tip of the stylus 2 is on the touch screen. Illustratively, the stylus 2 is shown in a second state in FIG. 6A.
In some embodiments, the first angle between stylus 2 and the touch screen may be measured by a device in tablet 1. In some embodiments, as shown in fig. 6A, the tip of the stylus 2 is provided with a first antenna 61, and the body of the stylus 2 is provided with a second antenna 62. The tablet computer 1 detects a first vertical projection point 63 of a signal emitted by the first antenna on the touch screen and a second vertical projection point 64 of a signal emitted by the second antenna on the touch screen respectively. The tablet computer 1 may determine the first angle 65 between the stylus 2 and the touch screen according to the distance L between the first perpendicular projection point 63 and the second perpendicular projection point 64, and the distance M between the setting positions of the first antenna and the second antenna.
The second angle between stylus 2 and the geographical horizontal may be measured by a device in stylus 2. The tablet computer 1 obtains the second angle from the stylus 2. In some embodiments, a G-sensor is mounted in stylus 2 for measuring a second angle between stylus 2 and a geographic horizon. The specific process of calculating the second angle by the stylus 2 through the G-sensor may refer to the description in the related art, which is not repeated in the embodiment of the present application. For example, please continue to refer to fig. 6A, which illustrates the angle between the stylus 2 and the geographic horizontal line 60 as the second angle 66.
S502, calculating a difference value between the first angle and the second angle by the tablet personal computer 1 to obtain a compensation angle between the touch screen and the geographic horizontal line.
The difference between the first angle and the second angle is the compensation angle 67 shown in fig. 6A. As can be seen in connection with fig. 6A, the compensation angle 67 represents an angle between the touch screen of the tablet computer 1 and the geographical horizontal line. Since the user does not have to place the tablet pc 1 horizontally in a plane parallel to the geographical horizontal line during actual use. Therefore, the angle between the tablet computer 1 and the geographical horizontal line, i.e. the compensation angle, needs to be considered when calculating the vertical distance between the pen tip and the touch screen.
Since the compensation angle in the embodiment of the present application is an angle between the touch screen of the tablet pc 1 and the geographic horizontal line, if the tablet pc 1 moves, the compensation angle may also change. In some embodiments, when the tablet computer 1 detects that the movement distance of the tablet computer 1 is greater than the preset threshold, the tablet computer 1 executes S501 and S502 to recalculate the compensation angle.
S503, under the first state, the tablet personal computer 1 obtains a third angle between the handwriting pen 2 and the geographic horizontal line.
As can be seen from the above embodiments, the first state refers to the state that the stylus 2 is above the touch screen and the stylus 2 is in an unwritten state. In the first state, the angle between the stylus 2 and the geographical level is typically different from the angle between the stylus 2 and the geographical level in the second state. Therefore, the tablet computer 1 needs to acquire the angles between the stylus 2 and the geographic horizontal line, i.e. the third angle and the second angle, in the first state and the second state respectively. Illustratively, the third angle is denoted as 68 when the stylus 2 shown in FIG. 6B is in the first state.
S504, when the tablet computer 1 obtains that the user holds the handwriting pen 2, the handwriting pen 2 is closest to a second contact point of the pen point of the handwriting pen 2 from contact points of the user's hand.
When the user uses the stylus 2, the user needs to hold the stylus 2 with his or her hand, that is, there is a contact point between the user's hand and the stylus 2. Also, there may be multiple points of contact between the user's hand and stylus 2. In the embodiment of the present application, one contact point closest to the pen tip, i.e., the second contact point, is selected among a plurality of contact points between the user's hand and the stylus 2.
In some embodiments, tablet 1 may obtain information of the second point of contact from stylus 2. The contact information may include, among other things, a contact position, a contact area, etc. of the second contact point. Further, the body of the stylus 2 is provided with a sensor for detecting the position of the contact point when the user holds the stylus 2. Illustratively, the position of the user's hand 610 corresponding to one of the contact points 69 of the stylus 2 is the second contact point as shown in fig. 6C.
In some embodiments, the sensor provided on the body of the stylus 2 may be a film sensor (film). The pen body of the handwriting pen 2 can be provided with a plurality of film sensors, the film sensors can detect contact points of the hands of the user and the pen body, and the positions of the contact points of the hands of the user and the handwriting pen 2, including the positions of the second contact points, are determined by combining the setting positions of the film sensors. Fig. 6D (a) is a schematic diagram showing the film sensor detecting the contact point of the user's hand. The circle shown in the figure represents the point of contact between the user's hand and the stylus 2. Fig. 6D (b) is a schematic diagram showing the film sensor determining the hand contact point according to the detected capacitance data.
In other embodiments, a preset sensor is disposed in the stylus 2, and the preset sensor is configured to detect a hand contact point of a user, and determine which finger corresponds to each contact point according to contact point information. In this embodiment, the tablet computer 1 may also use the corresponding contact point of the preset finger (such as the middle finger) detected by the stylus 2 as the second contact point.
S505, the tablet personal computer 1 obtains the pen holding distance between the corresponding position of the second contact point and the pen point.
In some embodiments, tablet 1 may obtain a pen-hold distance from stylus 2. After the handwriting pen 2 determines the second contact point between the user's hand and the handwriting pen 2 through the film sensor, the distance between the second contact point and the pen tip, that is, the pen holding distance, may be determined in combination with the setting position of the film sensor in the handwriting pen 2. For example, N shown in fig. 6C is the pen holding distance in the embodiment of the present application. It should be understood that in other embodiments, the tablet computer 1 may acquire the pen holding distance in other manners, which is not limited in the embodiments of the present application.
S506, the tablet personal computer 1 calculates the vertical distance according to the first angle, the third angle, the compensation angle and the pen holding distance.
In some embodiments, tablet computer 1 calculates the vertical distance based on a trigonometric relationship from the first angle, the third angle, the compensation angle, and the pen-hold distance.
In combination with the schematic view of the stylus 2 shown in fig. 6A in the second state, the schematic view of the stylus 2 shown in fig. 6B in the first state, and the schematic view of the user holding the stylus 2 shown in fig. 6C, objects such as the user's hand, the stylus, and the touch screen in the first state, the second state, etc. of the stylus 2 are respectively simplified to lines, so as to obtain corresponding schematic views.
Exemplary, a simplified schematic diagram of the stylus 2 in the second state is shown in fig. 6E. In fig. 6E, the stylus 2 is in the second state, simplifying the hand of the user into a straight line, the point 611 represents the point of contact between the pen tip of the stylus 2 and the touch screen of the tablet 1 in the second state (i.e., the pen tip position), the point 612 represents the point of contact between the hand of the user and the touch screen of the tablet 1 in the second state, and the point 613 represents the second point of contact between the hand of the user and the stylus 2 in the second state (i.e., 69 shown in fig. 6C). The contact point 611 is represented by a point a, the contact point 612 is represented by a point B, and the contact point 613 is represented by a point C. In fig. 6E, the intersection of the geographic horizontal line 60 and BC is denoted as point D. As can be seen from fig. 6A, the angle CAB corresponds to the first angle 65 shown in fig. 6A, the angle CAD corresponds to the second angle 66 shown in fig. 6A, and the angle DAB corresponds to the angle 67 shown in fig. 6A. As can be seen in conjunction with fig. 6C, ac=pen holding distance N in fig. 6E.
Exemplary, a simplified schematic diagram of the stylus 2 in a first state is shown in fig. 6F. In fig. 6F, the stylus 2 is in the first state, simplifying the hand of the user into a straight line, the point 614 represents the position of the pen tip of the stylus 2 in the first state, the point 615 represents the contact point between the hand of the user and the touch screen of the tablet computer 1 in the first state, and the point 616 represents the second contact point between the hand of the user and the stylus 2 in the first state (the pen is lifted when the user writes, and the relative position between the hand and the stylus 2 is generally unchanged, so 616 is still 69 shown in fig. 6C). The point 614 is represented by a point A ' and the point B ' is represented by the contact point 615 and the point C ' is represented by the contact point 616, respectively, after simplification. In fig. 6F, the intersection of the geographic horizontal line 60 and B 'C' is denoted as point E. In fig. 6F, the auxiliary line 617 passing through the point a ' is parallel to the touch screen of the tablet computer 1, and the intersection point of the auxiliary line 617 and B ' C ' is denoted as a point F; the auxiliary line 618 is made through points A 'and B'.
As can be seen in conjunction with fig. 6B, the angle CAE corresponds to the third angle 68 shown in fig. 6A. As can be seen from the illustration, the angle EA 'F is the angle between the auxiliary line 617 and the geographic horizontal line 60, and can be determined by combining fig. 6A and the parallel of the auxiliary line 617 and the touch screen of the tablet computer 1, where EA' f=the angle 67 shown in fig. 6A. As can be seen in fig. 6C, a 'C' in fig. 6 f=pen holding distance N.
In general, the relative positional relationship between the user's hand and the stylus 2 will not change during the pen lifting or pen dropping process when the user writes, and the stylus 2 is lifted by taking the contact point between the user's hand and the touch screen of the tablet computer 1 as a fulcrum during the process of changing the stylus 2 from the second state to the first state or vice versa. Thus, in an embodiment of the present application, triangle ABC of fig. 6E is the same as triangle a ' B ' C ' of fig. 6F by default, from which it can be determined: the +.CAB shown in FIG. 6E is equal to the +.C 'A' B 'shown in FIG. 6F, and +.CAB= +.C' A 'B'.
Meanwhile, when the stylus 2 is in the first state, the hand of the user is approximately perpendicular to the touch screen of the tablet computer 1. In the embodiment of the present application, the handwriting pen 2 is in the first state, and the hand of the user is perpendicular to the touch screen, i.e. B ' C ' and a ' F in fig. 6F are perpendicular.
Based on the above relationship, in combination with the third angle 68, the compensation angle 67, < C 'a' B '(equal to ++cab), and a' C '(the pen holding distance) shown in fig. 6F, a' F, < FA 'B', and the vertical distance ds between the stylus 2 and the touch screen in the first state can be calculated in fig. 6F.
For example, the step S506 may specifically include: the tablet computer 1 sums the third angle and the compensation angle to obtain a fourth angle. The tablet computer 1 integrates the cosine value of the fourth angle and the pen holding distance to obtain a first distance. The tablet computer 1 obtains a fifth angle by differentiating the first angle and the fourth angle. The tablet computer 1 integrates the tangent value of the fifth angle and the first distance to obtain a second distance.
As can be seen in connection with FIG. 6F, the fourth angle is +.C 'A' F in the figure. The first distance is A' F shown in FIG. 6F.
As can be seen from the above description, the +_c_a_b_= CAB shown in fig. 6F (fig. 6E), and the +_cab in fig. 6E is the first angle 65 shown in fig. 6A. Therefore, in the embodiment of the present application, the fifth angle obtained by subtracting the +_c_a_b '(first angle) and the fourth angle shown in fig. 6F, that is, angle 619 (+_fa_b') shown in fig. 6F, is expressed as the first angle.
Wherein the vertical distance comprises a second distance. With reference to fig. 6F, the second distance is B' F shown in fig. 6F. As can be seen from the above description, in the embodiment of the present application, B ' C ' and a ' F are perpendicular, and a ' F is parallel to the touch screen of the tablet computer 1, so the perpendicular distance ds=b ' F (i.e. the second distance) between the pen tip of the stylus 2 and the touch screen of the tablet computer 1.
In summary, the calculation of the vertical distance by the tablet pc 1 can be expressed by the following formula:
ds=n×cos (67+68) ×tan (65- (67+68)); where N represents the pen holding distance, 67 represents the compensation angle, 68 represents the third angle, and 65 represents the first angle; ds represents the vertical distance between the pen tip and the touch screen.
According to the technical scheme provided by the embodiment of the application, the vertical distance between the pen point and the touch screen of the handwriting pen 2 in the first state is obtained by converting and calculating the pen holding distance by combining the trigonometric function relation through analyzing the relative position relation between the hand of the user and the touch screen of the tablet computer 1 and the handwriting pen 2 in the pen holding and lifting actions of the user in the writing process. The vertical distance can be combined to determine the false touch prevention threshold value, so that the influence of the environment on the pen point signal quantity detected by the tablet computer 1 can be reduced, and the accuracy of false touch prevention threshold value selection is improved.
S404, the tablet personal computer 1 determines an anti-false touch threshold value of the handwriting pen 2 corresponding to the vertical distance.
In practical situations, when the vertical distance between the pen tip and the touch screen is small, the pen tip signal amount that can be detected by the tablet computer 1 may be the same. Thus, in some embodiments, the vertical distances in different ranges correspond to different anti-false threshold values. It should be noted that, in the embodiment of the present application, the anti-false touch threshold corresponds to a pen point signal quantity.
In some embodiments, in S404, the tablet computer 1 may directly obtain the anti-false touch threshold value corresponding to the vertical distance. In other embodiments, the tablet computer 1 may also obtain an average value of the vertical distance in the second preset period, and in S404, the tablet computer 1 determines an anti-false touch threshold corresponding to the average value of the vertical distance as the threshold of the anti-false touch mode.
In some embodiments, the tablet computer 1 stores a plurality of anti-false touch threshold values corresponding to the vertical distances, and after the tablet computer 1 obtains the vertical distances, the anti-false touch threshold values corresponding to the vertical distances may be searched for in the tablet computer 1. The vertical distance and the anti-false touch threshold value may be stored in the tablet computer 1 in a corresponding relationship table.
In other embodiments, the tablet computer 1 stores a plurality of vertical distance correspondences with standard pen tip semaphores. After the tablet computer 1 obtains the vertical distance, the standard nib semaphore corresponding to the vertical distance is searched in the tablet computer 1 and used as an anti-false touch threshold value. The corresponding relation between the vertical distance and the standard pen point signal quantity is measured by the relevant personnel laboratory environment before the tablet computer 1 leaves the factory. The related personnel can simulate a plurality of different environments in a laboratory, and the pen point signal quantity detected by the tablet computer 1 at different pen point vertical distances under each environment is measured respectively and used as the standard pen point signal quantity correspondingly detected by the tablet computer 1 at different vertical distances.
For example, a plurality of preset mapping relation tables are stored in the tablet computer 1, and each preset relation table stores a plurality of vertical distances and standard pen point semaphores corresponding to each vertical distance of the tablet computer 1 in a preset environment. The preset environment comprises at least one of the following: whether the tablet computer 1 is charged, whether the touch screen of the tablet computer 1 is attached with a film, and the type of the attached film of the touch screen of the tablet computer 1. In this embodiment, the tablet computer 1 may search the preset mapping table for the standard pen tip distance corresponding to the vertical distance.
In some embodiments, at least the following preset mapping relationship table corresponding to the preset case is stored in the tablet computer 1: the tablet computer 1 is being charged and the touch screen is not pasted with a film, and the tablet computer 1 is not charged and the touch screen is not pasted with a film; the tablet computer 1 is charging and the touch screen is attached with a first kind of film, and the tablet computer 1 is not charging and the touch screen is attached with a first kind of film; tablet 1 is charging and the touch screen is attached to a second type of film, tablet 1 is not charging and the touch screen is attached to a second type of film, and so on. It should be understood that the first type and the second type of films are only examples, and in the actual case, the type of the film may be determined in combination with the actual case, and exemplary types of the film may include a plastic film, a hydrogel film, a tempered film, or the like.
Before searching the standard nib semaphore corresponding to the vertical distance, the tablet computer 1 also needs to select a preset mapping relation table corresponding to the current environment from a plurality of preset mapping relation tables. The preset environments of the preset mapping relation table include whether the tablet computer 1 is being charged, whether the touch screen is attached with a film, the type of the film, and the like, so that the tablet computer 1 can select the preset mapping relation table closest to the current environment by combining the charging state, the film attaching state, the type of the film, and the like of the tablet computer 1.
Tablet computer 1 typically stores a charge flag that indicates whether tablet computer 1 is in a charging state or an uncharged state. In some embodiments, whether the tablet 1 is being charged may be determined by obtaining a charging identification of the tablet 1. In some embodiments, whether the touch screen of the tablet computer 1 is film-coated and the type of film-coated may be matched by the tablet computer 1 according to the size of the pen tip signal amount currently detected in the second state. Alternatively, in other embodiments, whether the touch screen of the tablet computer 1 is attached with a film and the kind of the attached film may be input into the tablet computer 1 by the user.
In some embodiments, as shown in fig. 7A, prior to S404, the method further comprises S701-S703, wherein:
S701, acquiring the charging state of the tablet personal computer 1 by the tablet personal computer 1.
Wherein the state of charge includes a state being charged or a state not being charged. In some embodiments, the tablet computer 1 obtains a charging identifier of the tablet computer 1, and determines a charging state of the tablet computer 1 according to the charging identifier. Illustratively, when the charging flag is 1, it indicates that the tablet computer 1 is in a charging state; when the charging flag is 0, it indicates that the tablet computer 1 is in an uncharged state.
The detection of the pen point signal quantity of the handwriting pen 2 by the tablet computer 1 is determined by detecting the signal intensity emitted by the pen point by the tablet computer 1. While the tablet pc 1 is in a charging state or an uncharged state, the pen tip signal intensity detected by the tablet pc 1 may be different. Therefore, when the tablet pc 1 is in a charging state or an uncharged state, the pen point signal amount collected by the tablet pc 1 is different. In the embodiment of the present application, when selecting a matched preset mapping relation table for the tablet computer 1, the charging state of the current tablet computer 1 needs to be combined.
S702, the tablet personal computer 1 acquires a second nib signal quantity when the handwriting pen 2 is in a second state.
Wherein the second state comprises a writing state in which the user holds the stylus 2 on the touch screen.
Whether the touch screen of the tablet computer 1 is stuck with films or the types of the films are different will influence the vertical distance between the pen point and the touch screen when the handwriting pen 2 writes on the touch screen. For example, in a state where the touch screen is not pasted with a film, the vertical distance between the pen tip of the stylus pen 2 and the touch screen is small, and may be 0. In the state of the touch screen film, the pen point of the handwriting pen 2 has a certain distance (the vertical distance is not 0) from the touch screen during writing, and the larger the thickness of the film is, the larger the vertical distance from the pen point of the handwriting pen 2 to the touch screen during writing is. Or the touch screen is different in film type and material, and the pen point signal quantity of the handwriting pen 2 collected by the tablet computer 1 is possibly different. Therefore, when the stylus 2 is in the second state and the touch screen is in the film-sticking state and the film-non-sticking state, the pen point signal quantity collected by the tablet computer 1 is different; when different kinds of films are attached to the touch screen, pen point signal quantity collected by the tablet computer 1 is different.
In the embodiment of the application, since the tablet computer 1 cannot directly know whether the tablet computer 1 is attached with a film or the type of the film, the tablet computer 1 determines whether the touch screen of the tablet computer 1 is attached with a film or the type of the film by detecting the pen point signal quantity of the handwriting pen 2 in the second state.
S703, the tablet personal computer 1 combines the charging state and the second nib signal quantity, and a target mapping relation table matched with the current environment is screened out from a plurality of preset mapping relation tables.
In this embodiment, the tablet computer 1 may respectively obtain the nib signal amounts when the stylus 2 is in the second state in the preset mapping relationship table corresponding to each preset environment, as the candidate nib signal amounts. Then, the tablet computer 1 compares the second nib semaphore obtained in S702 with each candidate nib semaphore, selects the closest candidate nib semaphore, and uses the preset mapping relation table corresponding to the closest candidate nib semaphore as the preset mapping relation table matched with the current environment, namely the target preset mapping relation table.
In some embodiments, the tablet computer 1 may calculate the difference between the second nib signal amount and each candidate nib signal amount, select the candidate nib signal amount with the smallest absolute value of the difference, and use the preset mapping relation table corresponding to the candidate nib signal amount with the smallest absolute value of the difference as the target preset mapping relation table.
In the technical scheme provided by the embodiment of the application, a plurality of preset mapping relation tables corresponding to the preset environments are prestored in the tablet computer 1, and the preset mapping relation table which is most matched with the current environment is selected as a target preset mapping relation table according to the second nib semaphore of the handwriting pen 2 in the second state and whether the tablet computer 1 is being charged. In this way, the influence of the environment on the pen point signal quantity of the handwriting pen 2 detected by the tablet computer 1 can be reduced, so that a more accurate false touch prevention threshold value can be determined.
Further, since the charging state of the tablet pc 1, whether the touch screen is attached to the film, and the type of the attached film may be changed at different times, the step of selecting the target preset mapping relationship table according to the charging state of the tablet pc 1, whether the touch screen is attached to the film, and the type of the attached film needs to be selected again according to the actual situation. For example, the tablet computer 1 may return to S701-S703 to execute the above-mentioned process, and re-select the target preset mapping relation table, when detecting a change in the charging state or when a longer time is required from the last selection of the target preset mapping relation table.
In some embodiments, in response to the first event, the tablet computer 1 re-screens the target mapping table matching the current environment from the plurality of preset mapping tables. Wherein the first event includes at least one of: the charging state of the tablet personal computer 1 is updated, the tablet personal computer 1 wakes up in a dormant state, the tablet personal computer 1 is restarted, or the tablet personal computer 1 receives a mapping relation resetting instruction.
In some embodiments, the tablet computer 1 detects the charging state of the tablet computer 1 at intervals, and determines that the first event is detected if the charging state update of the tablet computer 1 is detected. For example, the tablet computer 1 may acquire the charging identifier of the tablet computer 1 at intervals of a third preset period of time to detect whether the charging state of the tablet computer 1 is changed. The third preset time period can be set according to actual conditions.
Generally, when the user does not use the tablet personal computer any more in a short time, the system of the tablet personal computer can be temporarily and actively closed to enable the tablet personal computer to sleep or be shut down, and the system of the tablet personal computer is awakened or started from the sleep state until the next time of use is needed. Or when the user does not use the tablet personal computer for a long time, the tablet personal computer automatically enters a system sleep state until the next time the user wakes up the tablet personal computer. That is, the interval is generally longer in the process of the tablet computer 1 entering the sleep state and being awakened. In this interval time, whether the film is attached to the tablet computer 1 or not and the type of the film are possibly changed, so in the embodiment of the application, when the tablet computer 1 detects that the tablet computer 1 wakes up and restarts due to dormancy, the first event is determined to be detected. The tablet computer 1 will return to executing S701-S703 described above, and reselect the target preset mapping table. Specific implementation processes of detecting sleep wakeup, restarting and the like of the tablet computer 1 can refer to description of related technologies, and are not repeated in the embodiment of the present application.
In other embodiments, the user may manually reset the target preset mapping table when the false touch prevention is found to be inaccurate. For example, when the tablet computer 1 receives the mapping relation resetting instruction, the above S701-S703 are executed again, and the target preset mapping relation table is reselected.
In the technical scheme provided by the embodiment of the application, when the tablet personal computer 1 detects the first event, the target preset mapping relation table is reselected. Therefore, under different time and different environments, the preset mapping relation table matched with the environment at the current time is selected and used for determining the false touch prevention threshold value, so that the influence of environmental factors on the selection of the false touch prevention threshold value can be reduced, and the false touch prevention is more accurate.
Furthermore, the habits of different users when using a stylus may not be exactly the same. In order to avoid inaccurate vertical distance calculation due to different usage habits, and thus inaccurate selected anti-false touch threshold, in some embodiments, please continue to refer to fig. 7a, S404 may specifically include S404a, where: s404a, searching a standard nib semaphore corresponding to the vertical distance in a target preset mapping relation table by the tablet computer 1, and taking the standard nib semaphore as an anti-false touch threshold value of the handwriting pen 2. The tablet computer 1 obtains a preset compensation signal quantity, and takes the sum of the standard pen point signal quantity and the preset compensation signal quantity as an error touch prevention threshold value. The preset compensation signal amount can be set according to actual conditions and stored in the tablet computer 1.
By setting the preset compensation quantity, the problem that the determined anti-false touch threshold value is inaccurate due to inconsistent use habits of different users can be avoided as much as possible, and therefore the accuracy of anti-false touch is improved.
S405, when the first nib semaphore is detected to be greater than or equal to the false touch prevention threshold value, the tablet computer 1 enters the false touch prevention mode.
In the anti-false touch mode, the tablet computer 1 does not report the detected touch information of the first contact point between the hand of the user and the touch screen.
In some embodiments, after S404, the method further comprises: the tablet computer 1 sets an anti-false touch mark of the tablet computer 1 as a first mark; when the tablet computer 1 detects that the first nib semaphore is greater than or equal to the anti-false touch threshold value, if the anti-false touch mark is detected to be the first mark, the tablet computer 1 enters an anti-false touch mode.
As can be seen from the description of the above embodiments, the vertical distance obtained by the tablet pc 1 in the embodiment of the present application is calculated by combining the information such as the compensation angle, the first angle, the third angle, and the pen-holding distance. Therefore, if the compensation angle changes, the vertical distance needs to be recalculated, and the anti-false touch threshold value corresponding to the vertical distance needs to be determined again.
In some embodiments, after the tablet computer 1 sets the false touch preventing flag of the tablet computer 1 to the first flag, the method further includes: if the tablet computer 1 detects that the moving distance of the tablet computer 1 is greater than a preset threshold value, the tablet computer 1 sets the false touch prevention mark as a second mark; when the tablet computer 1 detects that the first nib semaphore is greater than or equal to the anti-false touch threshold value, if the anti-false touch mark is detected to be the second mark, the tablet computer 1 does not enter the anti-false touch mode. Thus, the inaccuracy of the previously determined mistaken touch prevention threshold value caused by the change of the compensation angle can be avoided, and the inaccurate mistaken touch prevention can be avoided.
In the technical scheme provided by the embodiment of the application, the tablet personal computer 1 periodically detects the nib signal quantity of the handwriting pen 2, and dynamically determines the anti-false touch threshold value according to the detected nib signal quantity to be used as the threshold value for entering the anti-false touch mode. Even if the tablet computer 1 is in different environments, even if the pen point signal quantity is detected to be influenced by the environment in the process of preventing the false touch, the false touch prevention threshold value is determined in real time by combining with the current environment, that is to say, the influence of the current environment is considered in the selection of the false touch prevention threshold value. The dynamically determined false touch prevention threshold value is more in line with the current environment, and the false touch prevention threshold value is used as the threshold value for entering the false touch prevention mode, so that false touch prevention inaccuracy caused by the environment can be reduced.
As can be seen from the above description of fig. 3, the touch screen may include a touch IC chip. In some embodiments, the touch IC chip is disposed on one side of the touch screen, as shown in fig. 7B, where the touch IC chip and the display chip are included in the touch and display driver integration (Touch and Display Driver Integration, TDDI). The TDDI is provided at one side of the touch screen, and touch sensors (sensors) provided at different positions of the touch screen are respectively connected to the TDDI. Therefore, the wiring lengths of the touch IC chips arranged at different positions of the touch screen are not consistent, so that the corresponding impedances of the touch sensors at different positions are not identical. Therefore, the touch sensor disposed at the distal end of the touch screen (relative to the touch IC) is affected by the longer wiring and the larger impedance, and the sensed pen tip signal amount of the stylus pen 2 is liable to be low.
That is, when the vertical distance between the pen tip of the stylus 2 and the touch screen is the same, the pen tip signal amount detected by the tablet computer 1 is also different when the position of the pen tip of the stylus 2 projected vertically on the touch screen is in a different area. At this time, if the same anti-false touch threshold value is set in different areas of the touch screen, a problem of inaccurate anti-false touch may occur.
Based on this, in some embodiments of the present application, the touch screen is divided into a plurality of preset areas according to the setting positions of the touch sensors, and each preset area corresponds to a set of anti-false touch threshold values. In some embodiments, the step S404 may specifically include: the tablet computer 1 determines the position of a third vertical projection point of a first position of a pen point of the handwriting pen on the touch screen and a target area of the third vertical projection point on the touch screen. Then, the tablet computer 1 selects a corresponding anti-false touch threshold value according to the vertical distance and the target area. It can be understood that the target area to which the third perpendicular projection point belongs is included in a plurality of preset areas.
In some embodiments, the dividing the touch screen into the preset areas may be specifically combined with the number of touch sensors set on the touch screen/the number of channels of the touch screen. For example, the number of touch sensors disposed on the touch screen is 6*8, and the touch screen may be divided into 3×4 preset areas, 3*8 preset areas, and so on. Each preset area corresponds to and maintains a group of anti-false touch threshold values.
In the technical scheme provided by the embodiment of the application, when a user writes in different preset areas on the touch screen by using the stylus 2, the trigger threshold value of the tablet computer 1 entering the false touch prevention mode corresponds to the preset area where the user is currently located, so that the false touch prevention precision of the tablet computer 1 is higher and the false touch prevention is more accurate.
As can be seen from the description of the above embodiments, the above method for preventing false touch can be implemented only after the user writes on the touch screen of the tablet computer 1 for a certain time using the stylus 2. That is to say, the tablet pc 1 needs to learn for a certain time to determine a relatively accurate anti-false touch threshold value. Thus, in order for tablet computer 1 to also prevent false touches at the user's hand contact point before learning is completed, in some embodiments, an initial false touch prevention threshold is stored in tablet computer 1. When the tablet computer 1 initially detects that the pen tip signal of the stylus 2 exists, the initial anti-false touch threshold value may be used as a threshold value for entering the anti-false touch mode. In this way, the problem that the hand of the user touches the touch screen by mistake in the process of learning to write by the tablet computer 1 through the stylus 2 can be avoided.
After S404 described above, the tablet computer 1 may determine the current anti-false touch threshold value. During the continuous writing of the same user on the touch screen for a longer time by using the stylus 2, the tablet computer 1 may determine a plurality of corresponding anti-false touch threshold values for the user. In some embodiments, the tablet computer 1 may calculate an average value according to the multiple anti-false touch threshold values of the user, and store the average value as user information of the user. If the tablet computer 1 can determine that the user who is currently writing with the stylus 2 has stored user information, the tablet computer 1 can read the stored user information as an anti-false touch threshold value of the user. In addition, when different users write on the touch screen by using the handwriting pen, the contact area between the hands of the users and the touch screen, and the force of pressing the hands of the users on the touch screen are possibly different, and the tablet computer 1 can distinguish different users according to some hand information of the users.
Illustratively, in some embodiments, after the step S404, the method for preventing false touch further includes: the tablet computer 1 acquires user writing characteristics of a user when writing with the stylus 2. The tablet computer 1 stores the user writing characteristics and the false touch prevention threshold value as a user characteristic table.
Wherein the user writing characteristics include at least one of: when the user performs writing operation using the stylus 2, the contact area between the user's hand and the touch screen, and the pen holding distance between the pen tip and the position corresponding to the second contact point between the user's hand and the stylus 2. The second contact point is the contact point closest to the pen tip of the stylus 2 among the contact points of the stylus 2 and the hand of the user when the user holds the stylus 2.
In some embodiments, the user writing characteristics include a contact area of the user's hand with the touch screen, which may be acquired by a touch sensor disposed on the touch screen of the tablet computer 1. In some embodiments, a touch sensor disposed on the touch screen may detect a contact point of a user's hand on the touch screen and calculate a contact area of the contact point. For example, the detecting, by the tablet computer 1, a contact area between a hand of a user and the touch screen may specifically include: and acquiring the cell number LL of the long axis and the cell number WW of the short axis of the sensor, of which the capacitance value is detected to be changed, of the touch sensor on the touch screen. And calculating an LL average value and a WW average value in a fourth preset time period, and calculating the contact area of the hand of the user and the touch screen according to the LL average value and the WW average value.
Further, in some embodiments, in order to more accurately distinguish different users according to the writing characteristics of the users, when storing the writing characteristics of the users, only the contact area between the hand of the user and the touch screen within the preset range of the pen point position when the user writes with the stylus 2 is stored.
In other embodiments, the user writing characteristic includes a pen holding distance between a position of the user's hand corresponding to the second point of contact of the stylus 2 and the pen tip. The habit of using the handwriting pen is different among different users, and the height of holding the pen is also different. Therefore, in the embodiment of the application, the pen holding distance between the second contact point and the pen point when the user writes is obtained and stored as the writing characteristic of the user. In some embodiments, tablet computer 1 may obtain this pen-holding distance from stylus 2 for storage as a user writing feature.
In other embodiments, the user writing characteristics include both the contact area of the user's hand with the touch screen and the pen holding distance between the pen tip and the corresponding location of the second point of contact on the stylus 2. In this way, the tablet computer 1 can more accurately distinguish different users according to the writing characteristics of the users.
In the technical scheme provided by the embodiment of the application, when a user writes on the touch screen of the tablet computer 1 by using the stylus 2, the tablet computer 1 acquires the characteristics of the user during writing and stores the characteristics corresponding to the false touch prevention threshold value. Thus, the next time the user writes on the tablet computer 1 using the stylus 2, the tablet computer 1 can determine whether the current user is a history user through the stored user writing characteristics. Therefore, the false touch prevention threshold value corresponding to the user can be rapidly read to prevent false touch.
Further, in some embodiments, when detecting the writing characteristics of the user to be matched, the tablet computer 1 searches for whether the writing characteristics of the user to be matched exist in the user characteristic table; when the tablet personal computer 1 searches the writing characteristics of the user to be matched in the user characteristic table, the tablet personal computer 1 acquires an anti-false touch threshold value corresponding to the writing characteristics of the user to be matched from the user characteristic table as an initial anti-false touch threshold value of the user; the initial anti-false touch threshold value is used for the tablet computer 1 to adjust the initial anti-false touch threshold value in real time according to the vertical distance of the handwriting pen 2 in the first state and the standard nib semaphore.
The writing characteristics of the user to be matched are acquired when the tablet computer 1 detects the pen point signal quantity. In some embodiments, the user writing characteristics to be matched may include at least one of: when the user performs writing operation using the stylus 2, the contact area between the user's hand and the touch screen, and the pen holding distance between the pen tip and the position corresponding to the second contact point between the user's hand and the stylus 2.
After the tablet computer 1 detects the user writing characteristics to be matched, if the matched user writing characteristics are found in the user characteristic table, the tablet computer 1 indicates that the user uses the handwriting pen 2 to perform writing operation on the tablet computer 1 before. At this time, the tablet computer 1 may read the corresponding anti-false touch threshold value from the user feature table as the initial anti-false touch threshold value of the user. After that, the tablet computer 1 may learn the vertical distance corresponding to the first state when the current user performs the writing operation using the stylus 2, and adjust and update the initial anti-false touch threshold value in combination with the vertical distance.
Further, in an embodiment in which different preset areas are divided on the touch screen of the tablet computer 1, and a set of corresponding anti-false touch threshold values are maintained for the different preset areas, the initial anti-false touch threshold values may also be set to correspond to the preset areas. Namely, for a preset area on each touch screen, a corresponding initial anti-false touch threshold value is set respectively. And when a user writes on the touch screen of the tablet computer 1 by using the stylus 2, the anti-false touch threshold value of the preset area is respectively adjusted and updated according to the preset area corresponding to the writing position.
For example, taking a touch screen including a first preset area, a second preset area and a third preset area as an example, the first preset area is correspondingly provided with a first initial false touch prevention threshold, the second preset area is correspondingly provided with a second initial false touch prevention threshold, and the third preset area is provided with a third initial false touch prevention threshold. Before a user writes on the touch screen of the tablet computer 1 by using the stylus 2 for the first time, if the stylus 2 is detected to be in the first state, and the area of the vertical projection position of the first position of the pen point of the stylus 2 on the touch screen is a first preset area. Then, the tablet computer 1 will make a false touch prevention using the first initial false touch prevention threshold value. Meanwhile, if the user writes on the first preset area of the tablet computer 1 with the stylus 2 for a period of time, the tablet computer 1 will adjust and update the first initial anti-false touch threshold according to the data and the like when the user writes on the first preset area with the stylus 2. And if the fact that the user continues to write in the first preset area of the tablet computer 1 by using the stylus 2 is detected, performing false touch prevention by using the updated false touch prevention threshold value corresponding to the first preset area. Because the user has not used the stylus 2 to write in the second preset area and the third preset area, the second initial touch-preventing threshold value and the third initial touch-preventing threshold value are not updated. When a user moves from a first preset area to a second preset area (a third preset area) to write, the second initial false touch prevention threshold value (a third initial false touch prevention threshold value) is used for false touch prevention, and then the second initial false touch prevention threshold value (the third initial false touch prevention threshold value) is adjusted and updated by combining data of the user when writing in the second preset area (the third preset area).
In the technical scheme provided by the embodiment of the application, after the tablet personal computer 1 performs writing operation by using the handwriting pen 2, the tablet personal computer 1 acquires the writing characteristics of the user for storage. When the user writes on the tablet computer 1 again by using the stylus 2, the error touch prevention threshold stored by the user is read as an initial error touch prevention threshold, and the initial error touch prevention threshold can be used for error touch prevention before the tablet computer 1 finishes learning. Thereby avoiding the hand touch by mistake when the user writes before the tablet computer 1 finishes learning.
In other embodiments, in the above method for preventing false touch, when the tablet computer 1 detects n second events, the tablet computer 1 may obtain the minimum nib signal amount in each second event, and calculate the average value of the m minimum nib signal amounts in the fifth preset time period. The tablet computer 1 uses the average value of m minimum nib semaphores as the anti-false touch threshold value of the stylus 2. In this embodiment, the tablet computer 1 also dynamically obtains the minimum pen point signal quantity as the anti-false touch threshold value, so that the anti-false touch threshold value better accords with the current environment, the accuracy of anti-false touch is improved, and the experience of a user when writing on the tablet computer by using a handwriting pen is improved.
In other embodiments of the present application, there is provided an electronic device including: a processor and a memory; wherein the memory is coupled to the processor. The memory stores computer program code comprising computer instructions that, when executed by the processor, cause the electronic device to perform the functions or steps performed by the tablet computer 1 in the method embodiments. The electronic device may be, for example, a tablet computer 1. The structure of the electronic device may refer to the structure of the tablet computer 1 shown in fig. 2.
The present application also provides a chip system, as shown in fig. 8, the chip system 80 includes at least one processor 801 and at least one interface circuit 802. The processor 801 and the interface circuit 802 may be interconnected by wires. For example, interface circuit 802 may be used to receive signals from other devices (e.g., a memory of an electronic apparatus). For another example, interface circuit 802 may be used to send signals to other devices (e.g., processor 801). The interface circuit 802 may, for example, read instructions stored in a memory and send the instructions to the processor 801. The instructions, when executed by the processor 801, may cause the electronic device to perform the various steps of the embodiments described above. Of course, the system-on-chip may also include other discrete devices, which are not particularly limited in accordance with embodiments of the present application.
Embodiments of the present application also provide a computer readable storage medium, where the computer readable storage medium includes computer instructions, where the computer instructions, when executed on an electronic device (such as a tablet computer 1) described above, cause the electronic device to perform the functions or steps performed by the tablet computer 1 in the method embodiments described above.
The embodiments of the present application also provide a computer program product, which when run on a computer, causes the computer to perform the functions or steps performed by the tablet computer 1 in the above-described method embodiments. The computer may be an electronic device such as a tablet computer 1.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (14)

1. An anti-false touch method, wherein the method is applied to an electronic device, the electronic device comprises a touch screen, and the method comprises the following steps:
the electronic equipment periodically detects a first nib semaphore of the handwriting pen on the touch screen; wherein the first nib signal quantity is used for indicating nib signal intensity of the handwriting pen;
when the electronic equipment determines that the handwriting pen is in a first state according to the first nib signal quantity, the electronic equipment acquires the vertical distance between the first position of the nib of the handwriting pen and the touch screen; wherein the first state includes a state in which a user holds the stylus hovering over the touch screen and the stylus is not writing on the touch screen;
the electronic equipment determines an anti-false touch threshold value of the handwriting pen corresponding to the vertical distance; the vertical distances in different value ranges correspond to different anti-false touch threshold values;
When the electronic equipment detects that the first nib semaphore is greater than or equal to the false touch prevention threshold value, entering a false touch prevention mode; and in the error touch prevention mode, the electronic equipment does not report the detected touch information of the first contact point between the hand of the user and the touch screen.
2. The method of claim 1, wherein the determining, by the electronic device, an anti-false touch threshold value of the stylus corresponding to the vertical distance comprises:
the electronic equipment acquires a standard nib signal quantity corresponding to the vertical distance; the electronic equipment is pre-stored with a plurality of vertical distances and standard nib semaphores corresponding to the vertical distances;
the electronic equipment takes the standard nib semaphore as an anti-false touch threshold value of the handwriting pen.
3. The method of claim 1 or 2, wherein the electronic device obtaining a vertical distance between a first location where a tip of the stylus is located and the touch screen comprises:
the electronic equipment obtains a first angle between the stylus and the touch screen and a second angle between the stylus and a geographic horizontal line in a second state; wherein the second state comprises a writing state of the stylus on the touch screen when the user holds the stylus;
The electronic equipment calculates the difference value of the first angle and the second angle to obtain a compensation angle between the touch screen and the geographic horizontal line;
the electronic equipment obtains a third angle between the handwriting pen and the geographic horizontal line in the first state;
the electronic equipment obtains a second contact point closest to the pen point of the handwriting pen from contact points of the handwriting pen and the hand of the user when the user holds the handwriting pen;
the electronic equipment obtains a pen holding distance between the corresponding position of the second contact point and the pen point;
the electronic equipment calculates the vertical distance according to the first angle, the third angle, the compensation angle and the pen holding distance.
4. The method of claim 3, wherein the computing the vertical distance by the electronic device from the first angle, the third angle, the compensation angle, and the pen-hold distance comprises:
the electronic equipment sums the third angle and the compensation angle to obtain a fourth angle;
the electronic equipment calculates the product of the cosine value of the fourth angle and the pen holding distance to obtain a first distance;
The electronic equipment calculates the difference between the first angle and the fourth angle to obtain a fifth angle;
the electronic equipment calculates the product of the tangent value of the fifth angle and the first distance to obtain a second distance; the vertical distance includes the second distance.
5. The method of claim 2, wherein a plurality of preset mapping relation tables are stored in the electronic device, and each preset mapping relation table stores a plurality of vertical distances and standard nib signal amounts corresponding to each vertical distance of the electronic device in a preset environment; the preset environment comprises at least one of the following: whether the electronic device is being charged, whether the touch screen is attached with a film, and the type of the touch screen attached with a film;
before the electronic device obtains the standard pen tip signal quantity corresponding to the vertical distance, the method further comprises:
the electronic equipment acquires the charging state of the electronic equipment; wherein the state of charge comprises a state being charged or a state not being charged;
the electronic equipment acquires a second nib signal quantity when the handwriting pen is in a second state; wherein the second state comprises a writing state of the user holding the stylus on the touch screen; when the handwriting pen is in the second state and the touch screen is in a film pasting state and a film non-pasting state, the pen point signal quantity collected by the electronic equipment is different; when the touch screen is attached with different types of films, pen point signal quantities collected by the electronic equipment are different;
And the electronic equipment combines the charging state and the second nib signal quantity, and screens out a target mapping relation table matched with the current environment from the plurality of preset mapping relation tables.
6. The method of claim 5, wherein after the electronic device combines the state of charge and the second pen tip semaphore to screen out a target mapping table matching the current environment from the plurality of preset mapping tables, the method further comprises:
the electronic equipment responds to a first event, and a target mapping relation table matched with the current environment is screened out from the plurality of preset mapping relation tables again;
wherein the first event includes at least one of: the charging state of the electronic equipment is updated, the electronic equipment is waken up in a dormant mode, the electronic equipment is restarted, or the electronic equipment receives a mapping relation resetting instruction.
7. The method of any of claims 1-6, wherein after the electronic device determines the anti-false touch threshold value of the stylus corresponding to the vertical distance, the method further comprises:
the electronic equipment sets an anti-false touch identifier of the electronic equipment as a first identifier;
When the electronic equipment detects that the first nib semaphore is larger than or equal to the false touch prevention threshold value, if the false touch prevention mark is detected to be the first mark, the electronic equipment enters the false touch prevention mode.
8. The method of claim 7, wherein after the electronic device sets the false touch prevention flag of the electronic device to the first flag, the method further comprises:
if the electronic equipment detects that the moving distance of the electronic equipment is greater than a preset threshold, the electronic equipment sets the false touch preventing mark as a second mark;
when the electronic equipment detects that the first nib semaphore is larger than or equal to the false touch prevention threshold value, if the false touch prevention mark is detected to be the second mark, the electronic equipment does not enter the false touch prevention mode.
9. The method of any of claims 1-8, wherein after the electronic device determines the anti-false touch threshold value of the stylus corresponding to the vertical distance, the method further comprises:
the electronic equipment acquires user writing characteristics of the user when the user uses the handwriting pen to perform writing operation; the user writing characteristics include at least one of: when the user uses the handwriting pen to perform writing operation, the contact area between the hand of the user and the touch screen and the pen holding distance between the pen point and the position corresponding to the second contact point between the hand of the user and the handwriting pen;
And the electronic equipment stores the writing characteristics of the user and the false touch prevention threshold value as a user characteristic table.
10. The method of claim 9, wherein after the electronic device stores the user writing characteristic as a user characteristic table corresponding to the anti-false touch threshold value, the method further comprises:
when the electronic equipment detects the writing characteristics of the user to be matched, searching whether the writing characteristics of the user to be matched exist in the user characteristic table;
when the electronic equipment searches the writing characteristics of the user to be matched in the user characteristic table, the electronic equipment acquires an anti-false touch threshold value corresponding to the writing characteristics of the user to be matched from the user characteristic table as an initial anti-false touch threshold value of the user; the initial false touch prevention threshold value is used for the electronic equipment to adjust the initial false touch prevention threshold value in real time according to the vertical distance of the handwriting pen in the first state and the standard nib signal quantity.
11. The method of any of claims 1-10, wherein the electronic device determining that the stylus is in a first state from the first tip signal quantity comprises:
The electronic equipment detects n second events and detects the moment when the first pen point semaphore is minimum; the second event is used for indicating that the signal quantity of the first pen point is changed from large to small and then from small to large;
and the electronic equipment determines that the handwriting pen is in the first state at the moment when the first pen point semaphore is minimum.
12. The method of any one of claims 1-11, wherein the anti-false touch threshold comprises a plurality of sets of anti-false touch threshold, each set of anti-false touch threshold corresponding to a predetermined area in the touch screen; the touch screen comprises a plurality of preset areas; the electronic equipment determining the error touch prevention threshold value of the handwriting pen corresponding to the vertical distance comprises the following steps:
the electronic equipment determines the vertical projection position of a first position of a pen point of the handwriting pen on the touch screen;
the electronic equipment determines a target area of the vertical projection position on the touch screen; the target area is contained in the plurality of preset areas;
and the electronic equipment determines the vertical distance and the false touch prevention threshold value corresponding to the target area.
13. An electronic device, the electronic device comprising: a processor and a memory; the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method of any of claims 1-12.
14. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 1-12.
CN202211340769.9A 2022-10-29 2022-10-29 False touch prevention method and equipment Active CN115686264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211340769.9A CN115686264B (en) 2022-10-29 2022-10-29 False touch prevention method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211340769.9A CN115686264B (en) 2022-10-29 2022-10-29 False touch prevention method and equipment

Publications (2)

Publication Number Publication Date
CN115686264A CN115686264A (en) 2023-02-03
CN115686264B true CN115686264B (en) 2023-08-11

Family

ID=85046468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211340769.9A Active CN115686264B (en) 2022-10-29 2022-10-29 False touch prevention method and equipment

Country Status (1)

Country Link
CN (1) CN115686264B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201120694A (en) * 2009-12-07 2011-06-16 Waltop Int Corp Touch apparatus and touch recognizing method
JP2014052988A (en) * 2012-09-10 2014-03-20 Konica Minolta Inc Touch panel input device, touch input method, and touch input control program
JP2017021540A (en) * 2015-07-09 2017-01-26 シャープ株式会社 Detection circuit and touch sensor system
CN108595029A (en) * 2018-04-27 2018-09-28 广州视源电子科技股份有限公司 Determination method, apparatus, equipment and the storage medium at capacitance pen angle of inclination
CN110956939A (en) * 2019-11-27 2020-04-03 华为技术有限公司 Method for adjusting screen brightness and electronic equipment
CN111488076A (en) * 2020-04-03 2020-08-04 合肥讯飞读写科技有限公司 False touch prevention method, device, equipment and storage medium
CN113260963A (en) * 2019-03-08 2021-08-13 深圳市柔宇科技股份有限公司 Transmission method and transmission system of writing note information and electronic equipment
CN113835541A (en) * 2021-09-24 2021-12-24 青岛罗博数码科技有限公司 Detection and calculation method for handwriting dip correction of electromagnetic pen

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016004003A1 (en) * 2014-07-02 2016-01-07 3M Innovative Properties Company Touch systems and methods including rejection of unintentional touch signals
KR102573727B1 (en) * 2018-08-08 2023-09-04 삼성전자주식회사 Electronic device and method for recognizing stylus pen
JP2021033543A (en) * 2019-08-22 2021-03-01 株式会社ワコム Input device
US11385741B2 (en) * 2020-08-31 2022-07-12 Microsoft Technology Licensing, Llc Method to reduce blanking area for palm rejection in low cost in-cell displays

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201120694A (en) * 2009-12-07 2011-06-16 Waltop Int Corp Touch apparatus and touch recognizing method
JP2014052988A (en) * 2012-09-10 2014-03-20 Konica Minolta Inc Touch panel input device, touch input method, and touch input control program
JP2017021540A (en) * 2015-07-09 2017-01-26 シャープ株式会社 Detection circuit and touch sensor system
CN108595029A (en) * 2018-04-27 2018-09-28 广州视源电子科技股份有限公司 Determination method, apparatus, equipment and the storage medium at capacitance pen angle of inclination
CN113260963A (en) * 2019-03-08 2021-08-13 深圳市柔宇科技股份有限公司 Transmission method and transmission system of writing note information and electronic equipment
CN110956939A (en) * 2019-11-27 2020-04-03 华为技术有限公司 Method for adjusting screen brightness and electronic equipment
CN111488076A (en) * 2020-04-03 2020-08-04 合肥讯飞读写科技有限公司 False touch prevention method, device, equipment and storage medium
CN113835541A (en) * 2021-09-24 2021-12-24 青岛罗博数码科技有限公司 Detection and calculation method for handwriting dip correction of electromagnetic pen

Also Published As

Publication number Publication date
CN115686264A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN109997348B (en) Display method of terminal interface and terminal
CN101882015B (en) Controller and gesture control keying method thereof based on composite MEMS (Micro-electromechanical System) sensor
US9804679B2 (en) Touchless user interface navigation using gestures
EP2743819A2 (en) Terminal and method for providing user interface using a pen
CN104385808A (en) Intelligent original handwriting recording pen based on inertia measurement
CN108334303B (en) Electronic apparatus and control method thereof
CN104698824A (en) Intelligent wearable device capable of calculating steps with low power consumption
US10114496B2 (en) Apparatus for measuring coordinates and control method thereof
CN206649483U (en) Stylus and touch control device
CN113495609A (en) Sleep state judgment method and system, wearable device and storage medium
US20140348334A1 (en) Portable terminal and method for detecting earphone connection
US9756475B2 (en) Mobile terminal and method for controlling place recognition
CN115686264B (en) False touch prevention method and equipment
US10869293B2 (en) Positioning cycle adjustment method and apparatus
CN106679691B (en) A kind of method of adjustment, device and the mobile terminal of pedometer data
WO2024087816A1 (en) Accidental touch prevention method and device
CN110431518A (en) A kind of method and electronic equipment exporting touching signals
CN204172543U (en) Based on the former handwriting record smart pen of inertia measurement
CN113867562B (en) Touch screen point reporting correction method and device and electronic equipment
US20240053880A1 (en) Handwriting drawing method and apparatus, electronic device, and readable storage medium
CN117032485A (en) Touch pen-based use method and device
CN114995665A (en) Method for prompting pen point life of touch control pen, touch control pen and electronic equipment
US11429191B2 (en) Input method and smart terminal device
CN111258439A (en) Continuous writing method for mouse
CN112365088B (en) Method, device and equipment for determining travel key points and readable storage 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