CN115686264A - False touch prevention method and device - Google Patents

False touch prevention method and device Download PDF

Info

Publication number
CN115686264A
CN115686264A CN202211340769.9A CN202211340769A CN115686264A CN 115686264 A CN115686264 A CN 115686264A CN 202211340769 A CN202211340769 A CN 202211340769A CN 115686264 A CN115686264 A CN 115686264A
Authority
CN
China
Prior art keywords
pen
stylus
electronic equipment
user
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.)
Granted
Application number
CN202211340769.9A
Other languages
Chinese (zh)
Other versions
CN115686264B (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
Priority to PCT/CN2023/113324 priority patent/WO2024087816A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The application provides a method and equipment for preventing false touch, relates to the field of touch control, and is used for solving the problem that when a fixed false touch prevention threshold value is used, the false touch prevention of electronic equipment for a user when the user uses a stylus pen to write in different external environments can be inaccurate. The method is applied to the electronic equipment, and the electronic equipment comprises a touch screen. The method comprises the following steps: the first pen tip semaphore of the stylus on the touch screen is periodically detected. It may be determined from the first stylus semaphore whether the stylus is in the first state. If so, acquiring the vertical distance between a first position where a pen point of the stylus pen is located and the touch screen; wherein the first state comprises a state in which the user holds the stylus and hovers above the touch screen, and the stylus does not write on the touch screen. And then, determining the false touch prevention threshold value of the handwriting pen corresponding to the vertical distance. And when the fact that the first pen point semaphore is larger than or equal to the false touch prevention threshold value is detected, entering a false touch prevention mode, and not reporting the touch information of the detected hand.

Description

False touch prevention method and device
Technical Field
The present application relates to the field of touch control, and in particular, to a method and an apparatus for preventing a false touch.
Background
At present, many electronic devices, such as tablet computers, mobile phones and the like, support the writing operation of fingers and a stylus at the same time. When a user uses a stylus to write on an electronic device, the palm of the hand usually touches the touch screen before the stylus is dropped, and the tip of the stylus is a short distance away from the touch screen. At this time, the touch screen may generate a false touch to the contact of the palm, causing unnecessary operations.
When a user uses the active stylus pen to write on the touch screen of the electronic device, the touch screen may determine the position of the stylus pen according to the signal of the stylus pen. Therefore, the electronic equipment can distinguish whether the current touch is from the stylus pen or the hand of the user, and in the case of using the active stylus pen, the electronic equipment can prevent the touch of the hand of the user from being touched by mistake.
In the related technical scheme, a pen point semaphore threshold value for preventing false touch is usually set, and if the pen point semaphore is detected to exceed the threshold value, a false touch prevention mode is entered, and touch points of hands on the touch screen are not reported. However, the electronic device is susceptible to environmental interference, and if the electronic device is disposed on a conductive material and a non-conductive material, the pen-tip signal amount detected by the electronic device may be different. If a fixed false touch prevention threshold value is used, the electronic equipment in different external environments may have an inaccurate problem of false touch prevention when a user uses a stylus to write.
Disclosure of Invention
The embodiment of the application provides a false touch prevention method and electronic equipment, which are used for solving the problem that the false touch prevention of the electronic equipment for a user when the user uses a stylus pen to write in different external environments may be inaccurate by using a fixed false touch prevention threshold value.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, a method for preventing false touch is provided, and 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 pen point semaphore of a stylus on the touch screen; the first pen point signal quantity is used for indicating the pen point signal strength of the handwriting pen. The electronic device may determine whether the stylus is in the first state based on the first stylus semaphore. If yes, the electronic equipment obtains the vertical distance between a first position where a pen point of the stylus pen is located and the touch screen; wherein the first state comprises a state in which the user holds the stylus and hovers above the touch screen, and the stylus does not write on the touch screen. Then, the electronic equipment determines the false touch prevention threshold value of the stylus corresponding to the vertical distance; and the vertical distances in different value ranges correspond to different false touch prevention threshold values. The electronic equipment enters a false touch prevention mode when detecting that the first pen point signal quantity is larger than or equal to a false touch prevention threshold value; and under the false 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.
Through the technical scheme, even if a handwriting pen is used for performing writing operation on the tablet personal computer in different environments, even if the tablet personal computer detects that the pen point semaphore is influenced by the environment in the false touch prevention process, the false touch prevention threshold value is determined in real time in combination with the current environment, namely the influence of the current environment is considered in the selection of the false touch prevention threshold value. Therefore, the dynamically determined false touch prevention threshold value is more suitable for 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 the inaccuracy of false touch prevention caused by the environment can be reduced.
In a possible real-time manner, the determining, by the electronic device, the false touch prevention threshold of the stylus pen corresponding to the vertical distance may specifically include: the electronic equipment acquires the standard pen point semaphore corresponding to the vertical distance, and the standard pen point semaphore is used as the false touch prevention threshold value of the stylus pen. The electronic device stores a plurality of vertical distances and standard pen point semaphores corresponding to the vertical distances in advance. In this embodiment, when determining the false touch prevention threshold, the electronic device may directly search for a standard semaphore corresponding to the vertical distance as the false touch prevention threshold, and may improve the efficiency of determining the false touch prevention threshold.
In a possible real-time manner, the acquiring, by the electronic device, a vertical distance between a first position where a pen tip of the stylus pen is located and the touch screen may specifically include: the electronic equipment acquires a first angle between the stylus and the touch screen and a second angle between the stylus and a geographical horizon in a second state; the second state comprises a writing state of the stylus pen on the touch screen when the user holds the stylus pen; the electronic device calculates a difference value between the first angle and the second angle to obtain a compensation angle between the touch screen and the geographic horizon. The electronic equipment acquires a third angle between the stylus and the geographic horizon in the first state; acquiring a second contact point which is closest to a 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 when the handwriting pen is held by the user; and 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 device acquires a plurality of angles and pen-holding distances when the stylus 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. Since the measured information such as angle and distance is converted to obtain the vertical distance, the vertical distance is less affected by the external environment. Therefore, when the electronic equipment determines the false touch prevention threshold value according to the vertical distance, the interference of the external environment can be reduced, the more accurate false touch prevention threshold value is selected, and the false touch prevention accuracy is improved.
In a 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 calculates the difference between the first angle and the fourth angle to obtain a fifth angle; the electronic equipment obtains a second distance by taking the product of the tangent value of the fifth angle and the first distance; the vertical distance comprises the second distance. In the embodiment, the vertical distance between the pen point and the touch screen of the stylus pen in the first state is obtained by analyzing the relative position relationship between the hand of the user and the touch screen and the stylus pen of the electronic device in the actions of pen falling and pen lifting in the writing process and calculating the pen holding distance conversion by combining 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 selecting the false touch prevention threshold value is improved.
In a possible real-time mode, 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 in a preset environment; the preset environment includes at least one of: whether the electronic device is being charged, whether the touch screen is pasted with a film, and the type of the pasted film of the touch screen. Before the electronic device acquires the standard pen tip semaphore corresponding to the vertical distance, the method further comprises the following steps: the electronic equipment acquires the charging state of the electronic equipment; wherein the charging state includes a state of being charged or a state of not being charged. The electronic equipment acquires a second pen point semaphore when the stylus is in a second state; the second state comprises a writing state of a user holding the stylus pen on the touch screen; when the handwriting pen is in the second state and the touch screen is in the film pasting state and the film non-pasting state, pen point signal quantities acquired by the electronic equipment are different; when the touch screen is pasted with different types of films, pen point signal quantities acquired by the electronic equipment are different. And screening a target mapping relation table matched with the current environment from a plurality of preset mapping relation tables by the electronic equipment by combining the charging state and the second pen point semaphore. In this embodiment, the electronic device selects the most matched preset mapping table as the target preset mapping table according to the current environment. Therefore, the influence of the environment on the nib signal quantity of the electronic equipment detection stylus can be reduced, and the more accurate false touch prevention threshold value can be determined.
In a possible real-time manner, after the electronic device combines the charging state and the second pen nib semaphore to screen a target mapping table matching the current environment from a plurality of preset mapping tables, the method further comprises: the electronic equipment responds to the first event, and screens out a target mapping relation table matched with the current environment from the preset mapping relation tables again; wherein the first event comprises at least one of: updating the charging state of the electronic equipment, waking up the electronic equipment from a sleep state, restarting the electronic equipment, or receiving a mapping relation resetting instruction by the electronic equipment. Therefore, the preset mapping relation table matched with the environment of the current time is selected under different time and different environments to be used for determining the false touch prevention threshold value, so that the influence of environmental factors on selection of the false touch prevention threshold value can be reduced, and the false touch prevention is more accurate.
In a possible real-time manner, after the electronic device determines the false touch prevention threshold of the stylus pen corresponding to the vertical distance, the method further includes: the electronic equipment sets an anti-false-touch identifier of the electronic equipment as a first identifier; when the electronic equipment detects that the signal quantity of the first pen point 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 a false touch prevention mode. In this embodiment, the electronic device enters the false touch prevention mode only after detecting that the pen tip semaphore is greater than the false touch prevention threshold value when the false touch prevention flag is the first flag. In this way, unnecessary protection against accidental touches is avoided.
In a possible real-time manner, after the electronic device sets the anti-false-touch identifier of the electronic device to be 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 anti-false touch identifier as a second identifier; when the electronic equipment detects that the semaphore of the first pen point is larger than or equal to the false touch prevention threshold value, if the false touch prevention identification is detected to be the second identification, the electronic equipment does not enter a false touch prevention mode. Therefore, the phenomenon that the compensation angle is changed due to the movement of the electronic equipment, the previously determined false touch prevention threshold value is inaccurate, and inaccurate false touch prevention can be avoided.
In a possible real-time manner, after the electronic device determines the anti-false-touch threshold of the stylus corresponding to the vertical distance, the method further includes: the electronic equipment acquires the user writing characteristics of a user when the user uses a stylus to write, and the user writing characteristics and the user false touch prevention threshold value of the user are correspondingly stored to be used as a user characteristic table. Wherein the user writing characteristics include at least one of: when a user uses the stylus 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 corresponding position of the second contact point of the hand of the user and the stylus pen. In this way, the electronic device can determine whether the current user is a historical user according to the stored user writing characteristics when the user uses the stylus pen to write on the electronic device next time. Therefore, the false touch prevention threshold value corresponding to the user can be rapidly read for false touch prevention.
In a possible real-time manner, after the electronic device stores the writing characteristics of the user and the false touch prevention threshold value correspondingly as a user characteristic table, the method further includes: when the electronic equipment detects the writing characteristics of a user to be matched of the user, searching whether the writing characteristics of the user to be matched exist in a user characteristic table; if yes, the electronic equipment obtains the false touch prevention threshold corresponding to the writing feature of the user to be matched from the user feature table and uses the false touch prevention threshold as the initial false touch prevention threshold 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 stylus in the first state and the standard pen point signal quantity. The electronic equipment determines the false touch prevention threshold value by combining the characteristics of the user when using the stylus pen to write, namely, the method can realize the false touch prevention by using the dynamically determined false touch prevention threshold value after the user starts writing by using the stylus pen and the electronic equipment learns. In this embodiment, when the user does not use the stylus pen to write on the electronic device for the first time, the user may use the read initial false touch prevention threshold value of the user to perform false touch prevention before the electronic device completes learning. Therefore, the problem that the user wrongly touches the hand when the electronic equipment writes before learning is finished is avoided.
In a possible real-time manner, the determining, by the electronic device, that the stylus is in the first state according to the first stylus semaphore may specifically include: the electronic equipment detects n second events, detects the moment when the first pen point semaphore is minimum, and determines that the handwriting pen is in the first state at 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 changed from small to large. In this embodiment, the pen point signal amount is changed from small to small in accordance with the user's pen-up process, and the pen point signal amount is changed from small to large in accordance with the user's pen-down process. The electronic equipment selects the moment when the pen point semaphore between the pen point lifted and the pen point fallen by the user is minimum as the moment when the handwriting pen is in the first state, and then selects the corresponding false 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 selection of the false touch prevention threshold value can be reduced, and the accuracy of false touch prevention is improved.
In a second aspect, an electronic device is provided, comprising: a processor and a memory; the memory is used for storing computer execution instructions, and when the electronic device runs, the processor executes the computer execution instructions stored in the memory, so that the electronic device executes the false touch prevention method according to any one of the first aspect.
In a third aspect, a computer-readable storage medium is provided, having stored therein instructions, which when run on a computer, cause the computer to perform the false touch prevention method of any one of the above first aspects.
In a fourth aspect, there is provided a computer program product containing instructions which, when run on an electronic device, cause the electronic device to perform the anti-false touch method of any of the first aspects above.
In a fifth aspect, an apparatus (e.g., the apparatus may be a system-on-a-chip) is provided that includes a processor configured to enable an electronic device to implement the functions recited in the first aspect. 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 may be composed of a chip, or may include a chip and other discrete devices.
The technical effects brought by any one of the design manners in the second aspect to the fifth aspect may refer to the technical effects brought by different design manners in the first aspect, and are not described herein again.
Drawings
Fig. 1A is a schematic view of a scenario provided in an embodiment of the present application;
fig. 1B is a schematic view of another scenario provided in the 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 disclosure;
fig. 4 is a schematic flowchart of a false touch prevention method according to an embodiment of the present disclosure;
fig. 5 is a schematic flow chart of another false touch prevention method according to an embodiment of the present disclosure;
FIG. 6A is a schematic diagram illustrating a stylus in a second state according to an embodiment of the present application;
FIG. 6B is a schematic diagram illustrating a stylus in a first state according to an embodiment of the present disclosure;
FIG. 6C is a schematic diagram of a user holding a stylus according to an embodiment of the present disclosure;
FIG. 6D is a diagram illustrating a sensor of the stylus detecting a hand of a user according to an embodiment of the disclosure;
FIG. 6E is a simplified schematic diagram of a stylus in a second state according to an embodiment of the present disclosure;
FIG. 6F is a simplified schematic diagram of a stylus in a first state according to an embodiment of the present disclosure;
fig. 7A is a schematic flowchart of another false touch prevention method according to an embodiment of the present disclosure;
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 disclosure.
Detailed Description
At present, many electronic devices, such as tablet computers and mobile phones, include touch screens, and support the writing operation of fingers and a stylus on the touch screens at the same time. The electronic device may be, for example, a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, a media player, a television, or the like, and the embodiment of the present application is not particularly limited to the specific form of the device.
As shown in fig. 1A, taking the electronic device as a tablet pc 1 as an example, a user uses a stylus pen 2 to perform writing operation on a touch screen 11 of the tablet pc 1. When a user uses the stylus 2 to write on the tablet computer 1, the palm of the hand usually touches the touch screen before the user touches the stylus, and the tip of the stylus is a short distance away from the touch screen, as shown in fig. 1B. At this time, the touch screen of the tablet pc 1 may generate a false touch to the palm, causing an unnecessary operation. In this case, the tablet pc 1 may make a touch by mistake against the contact of the user's hand.
Wherein one type of stylus 2 is an active stylus. Active stylus adopts the electronic circuit structure, and nib transmission high frequency signal, and the high frequency signal of nib transmission is received to the touch-sensitive screen to learn active stylus coordinate on the screen. Since the tablet computer 1 detects the coordinates of the pen point of the active stylus pen by detecting the high-frequency signal emitted by the pen point of the active stylus pen, if a user uses the active stylus pen to write on the touch screen, the tablet computer 1 can distinguish the touch point of the active stylus pen from the touch point of the hand of the user. Thus, when a user uses the active stylus pen to write on the touch screen, the tablet computer 1 may not report the touch point when detecting a signal that the hand of the user touches the touch screen in a partial scene, thereby avoiding a false touch of the hand of the user.
In some embodiments, a short-range wireless communication connection is also established between the tablet computer 1 and the stylus 2. Through the short-distance wireless communication connection, the tablet computer 1 may obtain information of the stylus pen 2 from the stylus pen 2, such as an included angle between the stylus pen 2 and a geographical horizon, which is detected by the stylus pen 2, and contact information between a hand of the user and the stylus pen 2, which is detected by the stylus pen 2, and the like. The short-range wireless communication connection may be any one of a bluetooth connection, a wireless fidelity (Wi-Fi) connection, a Near Field Communication (NFC) connection, and the like.
In the related technical scheme, a fixed pen point semaphore threshold value for preventing false touch is usually set, if the pen point semaphore is detected to exceed the threshold value, a false touch prevention mode is entered, and touch points of hands on the touch screen are not reported. However, the pen point signal amount detected by the tablet computer 1 is easily interfered by the environment, and if the tablet computer 1 is placed on the conductive material and the non-conductive material, the pen point signal amount detected by the tablet computer 1 may be different. If a fixed false touch prevention threshold value is used, the tablet computer 1 may have an inaccurate problem for the false touch prevention when the user uses the stylus pen 2 to write in different external environments.
Therefore, the present application provides a method for preventing a false touch, which is applied to an electronic device, such as a tablet computer 1 shown in fig. 1A. In the method, the tablet pc 1 obtains a vertical distance (ds shown in fig. 1B) between a pen point of the stylus pen 2 and the touch screen in a state where the user holds the stylus pen 2 above the touch screen of the tablet pc 1 and the stylus pen 2 is not writing on the touch screen. Then, the tablet computer 1 determines the false touch prevention threshold value of the corresponding stylus pen according to the vertical distance. That is, the false touch prevention threshold value is set to a value dynamically determined according to a vertical distance between the pen tip and the touch screen. Therefore, the tablet computer 1 can determine different corresponding false touch prevention threshold values according to the vertical distance in different environments, and the problem of inaccurate false touch prevention caused by environmental interference is avoided.
Please refer to fig. 2, which is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure. Illustratively, the electronic device 100 may be the tablet pc 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 (USB) interface 130, a charging 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, a button 190, a camera 191, a display screen 192, and the like.
The sensor module 180 may include an acceleration sensor, a distance sensor, a touch sensor, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. For example, in the embodiment of the present application, the processor 110 may be an application processor AP.
Wherein the controller may be a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in 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 have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose-output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a USB interface, etc.
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 transmit data between the electronic device 100 and a peripheral device. And the method can also be used for connecting 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 and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some embodiments, electronic device 100 may support wired charging. Specifically, the charging management module 140 may receive a charging input of the wired charger through the USB interface 130. In other embodiments, 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 an input of the battery 141, and supplies power to the processor 110, the internal memory 120, the external memory, the display screen 192, the camera 191, the wireless communication module 160, and the like. The charge management module 140 may also be used to monitor parameters such as battery capacity, battery cycle number, and battery state of health (leakage, impedance) of the battery 141. In some other embodiments, the charging 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 the stylus 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 can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as 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 including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), NFC, infrared (IR), and the like. In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques.
The electronic device 100 implements display functionality via the GPU, the display screen 192, and the application processor, among other things. The GPU is a microprocessor for image processing, coupled to a display screen 192 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 192 is used to display images, video, and the like. The display screen 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 a photographing function through the ISP, the camera 191, the video codec, the GPU, the display screen 192, and the application processor, etc. 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.
Internal memory 120 may be used to store computer-executable program code, which 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 non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a Universal Flash Storage (UFS), and the like.
The electronic device 100 may implement audio functions through the audio module 170, as well as an application processor, etc. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into analog audio signals for output, and also used to convert analog audio inputs into digital audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some 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, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
Please refer to fig. 3, which is a hardware interaction diagram of the stylus pen 2 and the tablet computer 1 according to an embodiment of the present disclosure. As shown in fig. 3, the stylus pen 2 may include: a 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. Sensor module 304 may include, but is not limited to, pressure sensor 314 and acceleration sensor 324. The tablet computer 1 may include a touch panel 307 and a second communication module 308. The Touch panel 307 may further include a Touch panel sensor (TP sensor) 317 and a Touch micro electronic device (IC) chip 327.
The first communication module 302 in the stylus pen 2 and the second communication module 308 in the tablet computer 1 may be a wireless communication module such as a wireless local area network (e.g., wi-Fi network) module, a bluetooth module, or a near field communication NFC module, which is not limited in this embodiment of the present application. It should be understood that the stylus pen 2 and the tablet computer 1 can establish a wireless channel through the first communication module 302 and the second communication module 308. Illustratively, a bluetooth path may be established between stylus 2 and tablet 1, and the bluetooth path may be used to transmit information, such as configuration parameters, pressure signals, etc., between stylus 2 and tablet 1. The configuration parameters are used for indicating the stylus pen 2 to send a code printing signal according to a certain rule. The code signal may be used by the tablet pc 1 to determine a position of a pen tip of the stylus 2 on the touch screen of the tablet pc 1 (which may be referred to as a pen tip position).
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 coding chip 303 of the stylus 2 is disposed at the tip of the stylus, and the coding chip 303 includes electrodes for transmitting and receiving signals. Moreover, an insulating substance (such as air or cover glass) exists between the electrodes in the code chip 303 and the electrodes of the touch sensor 317, so that capacitance can 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 pen 2 and the touch sensor 317 of the tablet pc 1. So that the tip of the stylus 2 and the touch sensor 317 in the tablet pc 1 can establish a circuit connection through a capacitance.
After the circuit path is established, the stylus pen 2 and the tablet computer 1 may exchange signals through the circuit path. Illustratively, the touch sensor 317 in the tablet pc 1 may send an uplink signal to the stylus 2 through the circuit path. As another example, the coding chip 303 in the stylus pen 2 may send a coding signal to the tablet pc 1 through a circuit path. The code signal and the uplink signal are both square wave signals.
The touch sensor 317 in the tablet pc 1 is used for acquiring touch information, and the touch information may include: information that the stylus pen 2 touches the screen of the tablet computer 1 and information that a user (e.g., a finger or knuckle of the user) touches the screen. In the embodiment of the present application, the touch information mainly refers to information of a touch operation of the pen tip of the stylus pen 2 on the screen, such as a code signal, and the touch IC chip 327 may determine a touch position based on the touch information collected by the touch sensor 317.
Illustratively, the pen point of the stylus 2 is close to the screen of the tablet pc 1, and the coding chip 303 may receive the uplink signal sent by the tablet pc 1. Then, a signal (e.g., a code signal) sent by the code chip 303 to the touch sensor 317 in the tablet pc 1 through the circuit path causes a variation in a capacitance sampling value of each electrode in the electrode array of the touch sensor 317, and the closer the pen tip of the stylus pen 2 is to the electrode, the greater the variation in 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 determine the position of the touch sensor 317 where the variation of the capacitance sampling value is the largest as the position of the stylus pen 2 on the screen. For a specific implementation of determining a touch position according to a variation of a capacitance sampling value in a touch screen, reference may be made to descriptions in related prior art, which are not described herein again.
The pressure sensor 314 in the stylus 2 may be disposed at a tip of the stylus 2, and is configured to collect a pressure signal from the tip. For example, when the tip of the stylus pen 2 contacts the screen of the tablet computer 1, the pressure sensor 314 may collect a pressure signal generated by the screen pressing the tip. The stylus 2 may send the pressure signal to the tablet pc 1 through a wireless path. Thereby facilitating the tablet computer 1 to determine the touch pressure.
The acceleration sensor 324 in the stylus pen 2 may be configured to acquire a triaxial acceleration value of the stylus pen 2, where the triaxial acceleration value includes: acceleration values on the X-axis, acceleration values on the Y-axis, and acceleration values on the Z-axis. Acceleration sensor 324 may also send three-axis acceleration values to MCU 301. Thus, the MCU301 may obtain information such as the tilt angle and the motion state of the stylus pen 2 based on the three-axis acceleration values, where the motion state is used to represent that the stylus pen 2 is in a stationary state or a non-stationary state. MCU301 may also be configured to control the operation of the corresponding components of stylus 2 based on the acceleration values collected by acceleration sensor 324. For example, the MCU301 determines that the stylus pen 2 is in a flat state, and the MCU301 may control the coding chip 303 and the pressure sensor 314 to stop working. So that the power consumption of the stylus pen 2 can be reduced.
The charging module 305 in the stylus 2 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 (such as the MCU 301) in the tablet pc 1 while charging the battery 306.
It should be understood that the hardware structure of the stylus 2 and the hardware structure of the tablet pc 1 shown in fig. 3 are only examples, and in actual implementation, modules may be added or reduced according to needs, or one or more modules may be combined. The embodiment of the present application is not particularly limited to this.
The false touch prevention methods provided in the following embodiments can be implemented in the electronic device 100 having the above hardware structure.
The application provides a false touch prevention method which is applied to a tablet personal computer 1. When a user writes on the touch screen of the tablet computer 1 by using the stylus pen 2, the hand of the user may contact the touch screen before the pen is dropped, which may cause a false touch scene on the touch screen. According to the false touch prevention method, the pen point semaphore of the stylus pen 2 is detected in real time through the tablet personal computer 1, and the current position of the pen point is determined according to the pen point semaphore. In this way, the tablet pc 1 may detect, in conjunction with the pen tip signal amount, a first state in which the user holds the stylus 2 hovering above the touch screen and the stylus 2 is not writing on the touch screen. Then, the tablet computer 1 may obtain a vertical distance between the pen point of the stylus pen 2 and the touch screen in the first state, and determine a false touch prevention threshold corresponding to the vertical distance. Then, when the tablet computer 1 detects that the pen point semaphore of the stylus pen 2 is greater than or equal to the false touch prevention threshold value, it indicates that the vertical distance between the pen point of the stylus pen 2 and the touch screen is small, and at this time, the tablet computer 1 may enter a false touch prevention mode. In the false touch prevention mode, the tablet pc 1 will not report the detected touch information of the first contact point between the hand of the user and the touch screen.
Through the false touch prevention method provided by the embodiment of the application, the pen point semaphore of the stylus pen 2 can be detected in real time by the tablet personal computer 1, so that the false touch prevention threshold value is dynamically refreshed. Therefore, when the tablet computer 1 is in different environments, the false touch prevention threshold value determined by the tablet computer 1 is different, and the problem of inaccurate false touch prevention caused by environmental interference can be avoided.
The following description is provided for possible terminology involved in embodiments of the present application.
An acceleration sensor (G-sensor) is a sensor capable of measuring acceleration. The damper is generally composed of a mass block, a damper, an elastic element, a sensitive element, an adjusting circuit and the like. In the acceleration process of the sensor, the acceleration value is obtained 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. depending on the sensor sensing element. In some embodiments of the present application, stylus 2 includes a G-sensor, and an angle between stylus 2 and the geographic horizon may be calculated by the G-sensor. In some embodiments of the present application, the tablet pc 1 includes a G-sensor, and the tablet pc 1 may acquire whether the tablet pc 1 is moved or not through the G-sensor and calculate a movement distance of the tablet pc 1.
A touch sensor is a device that captures and records physical touches on the device and/or object, which enables the device or object to detect a touch, 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 stylus pen 2 is provided with one or more touch sensors for detecting a contact point where the hand of the user contacts with the pen body, and then the stylus pen 2 may determine a position where the contact point between the hand of the user and the pen body is located in combination with a set position of the touch sensor on the stylus pen 2.
In some embodiments of the present application, stylus 2 also includes antenna 1 and antenna 2. In some embodiments, the antenna 1 and the antenna 2 are respectively disposed at two positions of a pen point and a pen body of the stylus pen 2. When the handwriting pen 2 is close to the touch screen of the tablet computer 1, the tablet computer 1 may obtain 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, respectively, and further calculate the angle between the pen body of the handwriting pen 2 and the touch screen by calculating the distance between the antenna 1 and the vertical projection position of the antenna 2 on the touch screen of the handwriting pen 2 and the setting positions of the antenna 1 and the antenna 2 in the handwriting pen 2. 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 pc 1 can acquire the setting positions of the antenna 1 and the antenna 2 from the stylus pen 2.
Fig. 4 is a schematic flow chart of a false touch prevention method according to an embodiment of the present application. The method includes S401-S405. Wherein:
s401, the tablet computer 1 periodically detects a first pen point semaphore of the stylus pen 2 on the touch screen.
The first nib signal quantity of the stylus pen 2 is used to indicate the nib signal strength of the stylus pen 2. Generally, after an electronic device supporting a stylus pen 2 to perform writing operation on a touch screen is turned on, a tip signal of the stylus pen 2 is periodically detected. In this embodiment, when the distance between the pen point of the stylus pen 2 and the touch screen of the tablet computer 1 is short, the tablet computer 1 may detect a pen point signal sent by the pen point of the stylus pen 2. In some embodiments, the tablet pc 1 may detect the first stylus 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, or the like.
In some embodiments, stylus 2 may emit a tip signal through an antenna disposed at the tip location. The tablet pc 1 can detect the pen tip signal strength of the pen tip signal, i.e., the first pen tip signal amount, after detecting the pen tip signal transmitted from the antenna disposed at the pen tip position of the stylus pen 2.
In some embodiments, the tablet pc 1 may detect a signal emitted from the pen tip of the stylus 2 through a touch sensor disposed on the touch screen, and detect the strength of the pen tip signal, i.e., the first pen tip signal amount.
Generally, when the tablet computer 1 detects the pen point signal quantity of the stylus pen 2, the closer the pen point of the stylus pen 2 is to the touch screen of the tablet computer 1, the stronger the pen point signal quantity of the stylus pen 2 detected by the tablet computer 1 is; the farther the pen tip is from the touch screen, the weaker the pen tip signal amount detected by the tablet pc 1. After the distance from the pen point of the stylus pen 2 to the touch screen is greater than a certain value, the tablet computer 1 cannot detect the signal sent by the pen point of the stylus pen 2 any more. Therefore, it can be determined that the tablet computer 1 can determine the distance between the stylus pen 2 and the touch screen according to the currently detected first pen point signal quantity. The tablet computer 1 may also determine the movement trend of the stylus pen 2 according to the detected change condition of the first pen tip signal quantity. For example, when the tablet pc 1 detects that the signal quantity of the first pen tip gradually increases, it may be determined that the pen tip of the stylus pen 2 is gradually approaching the touch screen; when the first nib signal amount is detected to gradually decrease, it can be determined that the nib of the stylus pen 2 is gradually getting away from the touch screen. In some embodiments, the tablet computer 1 may determine whether the stylus 2 is in a specific state in combination with the first stylus semaphore.
S402, the tablet computer 1 determines whether the handwriting pen 2 is in the first state according to the first pen point semaphore.
In some embodiments of the present application, the first state includes a state in which the user holds the stylus and hovers over the touch screen of the tablet pc 1, and the stylus does not write on the touch screen.
In some embodiments, S402 may specifically be that the tablet computer 1 determines whether the stylus 2 is in the first state by detecting whether the first pen tip semaphore becomes minimum in the n second events. In this embodiment, the tablet computer 1 determines that the stylus 2 is in the first state at the time when the first nib semaphore is detected to be minimum. Wherein n is a natural number greater than 1. The second event is used for indicating that the tablet computer 1 detects that the first pen tip signal quantity is changed from large to small and then changed from small to large.
As can be seen from the above description of the embodiment, when the tablet pc 1 detects that the first pen point signal amount is changed from large to small, it indicates that the pen point of the stylus pen 2 is gradually away from the touch screen; when the first pen point signal quantity is changed from small to large, the pen point is indicated to be 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 lowering the pen tip after the user holds the stylus pen 2 to perform a writing operation on the touch screen of the tablet pc 1.
In practical situations, a user usually needs to continuously lift and drop a pen while continuously writing. The minimum time will occur between pen-up and pen-down when the pen-tip semaphore detected by the tablet computer 1 will be present. In some embodiments, the user may lift the pen tip to a position where the tablet pc 1 cannot detect the pen tip signal amount, and stop the pen tip from falling again, that is, a position where the pen tip is far away from the touch screen. In this embodiment, the first state may correspond to a process in which the pen tip signal amount decreases from large to small and then increases from small to large (i.e., the second event), and the pen tip signal amount is the minimum, which may mean that the pen tip signal amount becomes 0. Alternatively, in other embodiments, the pen tip signal amount may not decrease to 0 during the pen-up and pen-down process. At this time, the time when the tablet pc 1 detects the minimum pen tip signal amount in the process from the pen-up to the pen-down (i.e., the second event) of the user may be taken to determine the time when the stylus pen 2 is in the first state.
When the user uses the stylus pen 2 to perform writing operation on the touch screen of the tablet pc 1, the pen point is usually repeatedly lifted and then dropped, so when the tablet pc 1 detects n second events, the process of the user using the stylus pen 2 to continuously write on the touch screen 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 semaphore, the tablet computer 1 returns to execute S401 to continue to detect the first pen point semaphore. If the tablet computer 1 determines that the stylus pen 2 is in the first state according to the first stylus semaphore, the tablet computer 1 may perform S403.
S403, the tablet computer 1 obtains the vertical distance between the first position where the pen point of the stylus pen is located and the touch screen.
Wherein the first position represents a position at which a tip of the stylus pen is in the first state. The vertical distance between the first position and the touch screen may specifically represent that the first position is vertically projected onto the touch screen to obtain a first vertical projection point, and a distance between a position corresponding to the first vertical projection point and the first position is obtained. Illustratively, the vertical distance between the first location and the touch screen may be ds as shown in FIG. 1B. In other embodiments, the vertical distance may also be referred to as a pen tip floating 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 sends out a signal, and the tablet computer 1 can receive the signal sent out by the pen point antenna. As is clear from the description of fig. 3, when the touch sensor of the tablet pc 1 receives the signal from the pen tip antenna, the touch IC chip of the tablet pc 1 can determine the pen tip position based on the signal. Then, the tablet computer 1 vertically projects the pen point position to the touch screen, i.e. the first vertical projection point.
When a user uses the stylus pen 2 to perform continuous writing operations on the touch screen, the pen-up and pen-down states may not be completely consistent, for example, the position where the pen point is farthest from the touch screen between the first time of pen-up and pen-down of the user is X1, the position where the pen point is farthest from the touch screen between the second time of pen-up and pen-down is X2, and X1 is not equal to X2. Therefore, in some embodiments, when the tablet pc 1 detects n second events, it may obtain vertical distances between first positions corresponding to the first states and the touch screen when the first states are detected within a first preset time period, and calculate an average value between the vertical distances, so as to serve as a vertical distance used for subsequently determining the false touch prevention threshold.
In some embodiments, the tablet computer 1 may obtain the vertical distance from the stylus 2. The determination of the vertical distance between the first position and the touch screen by the stylus 2 may be determined by any of the usual methods of measuring distance.
In other embodiments, the tablet pc 1 may calculate the vertical distance according to a parameter related to a state in which the user holds the stylus 2 in the first state. For example, the tablet pc 1 may calculate the vertical distance by combining a pen-holding distance between the first contact point and the pen tip, an angle between the stylus pen 2 and a geographical horizontal line, an angle between the stylus pen 2 and the touch screen, and the like. In some embodiments, referring to fig. 5, the step S403 may specifically include steps S501 to S506.
S501, the tablet personal computer 1 obtains a first angle between the stylus pen 2 and the touch screen and a second angle between the stylus pen 2 and a geographic horizontal line in a second state.
The second state comprises a writing state of the stylus pen on the touch screen when the user holds the stylus pen. That is, the second state refers to a state in which the tip of the stylus pen 2 is on the touch screen. Illustratively, the stylus 2 is shown in a second state as shown in FIG. 6A.
In some embodiments, the first angle between the stylus 2 and the touch screen may be measured by a device in the tablet 1. In some embodiments, as shown in FIG. 6A, the tip of stylus 2 is provided with a first antenna 61 and the body of stylus 2 is provided with a second antenna 62. The tablet computer 1 detects a first vertical projection point 63 of a signal transmitted by the first antenna on the touch screen and a second vertical projection point 64 of a signal transmitted by the second antenna on the touch screen respectively. The tablet computer 1 may determine the first angle 65 between the stylus pen 2 and the touch screen according to the distance L between the first vertical projection point 63 and the second vertical projection point 64, and the distance M between the positions where the first antenna and the second antenna are disposed.
A second angle between stylus 2 and the geographic horizon may be measured by a device in stylus 2. The tablet computer 1 acquires 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 pen 2 through the G-sensor may refer to descriptions in related technologies, and is not described in detail in this embodiment. For example, continuing to refer to FIG. 6A, the angle between stylus 2 and geographic horizon 60 is denoted as 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 from fig. 6A, the compensation angle 67 represents an angle between the touch screen of the tablet pc 1 and the geographic horizon. Since in the actual use process, the user does not necessarily need to horizontally place the tablet pc 1 on a plane parallel to the geographic horizon for use. Therefore, when calculating the vertical distance between the pen tip and the touch screen, the angle between the tablet pc 1 and the geographic horizon, i.e., the above compensation angle, needs to be considered.
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 horizon, if the tablet pc 1 moves, the compensation angle may also change. In some embodiments, when the tablet computer 1 detects that the moving distance of the tablet computer 1 is greater than the preset threshold, the tablet computer 1 performs S501 and S502 to recalculate the compensation angle.
S503, the tablet computer 1 obtains a third angle between the stylus pen 2 and the geographic horizon in the first state.
As can be seen from the above embodiment, the first state is a state in which the stylus pen 2 is above the touch screen and the stylus pen 2 is not writing. The angle between stylus 2 and the geographical horizon in the first state is typically different from the angle between stylus 2 and the geographical horizon in the second state. Therefore, the tablet pc 1 needs to acquire the angles between the stylus 2 and the geographic horizon in the first state and the second state, i.e. the third angle and the second angle, respectively. Illustratively, the third angle is designated 68 when the stylus 2 is in the first state as shown in FIG. 6B.
S504, when the tablet personal computer 1 obtains the handwriting pen 2 held by the user, the second contact point, closest to the pen point of the handwriting pen 2, of the contact points of the handwriting pen 2 and the hand of the user is obtained.
When the user uses the stylus pen 2, the user needs to hold the stylus pen 2 by hand, that is, there is a contact point between the user's hand and the stylus pen 2. Also, there may be multiple points of contact between the user's hand and stylus 2. In the present embodiment, the one contact point closest to the pen tip, i.e., the second contact point, is selected among the plurality of contact points between the user's hand and the stylus pen 2.
In some embodiments, the tablet pc 1 may acquire information of the second contact point from the stylus pen 2. The contact information may include a contact position, a contact area, and the like of the second contact point. Further, the body of the stylus 2 is provided with a sensor for detecting a position of a contact point when the user holds the stylus 2. Illustratively, one of the contact points 69 of the user's hand 610 with the stylus 2 is a location corresponding to the second contact point as shown in FIG. 6C.
In some embodiments, the sensor disposed on the pen body of the stylus 2 may be a film sensor (film). The body of stylus 2 can set up a plurality of film sensors, and the film sensor can detect the contact point of user's hand and body to combine the position of setting up of film sensor to confirm the position of the contact point of user's hand and stylus 2, including the position of above-mentioned second contact point. Fig. 6D (a) is a schematic diagram showing the film sensor detecting the contact point of the user's hand. The circles shown in the figure represent the points 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 from the detected volume value data.
In other embodiments, the stylus pen 2 is provided with a preset sensor, and the preset sensor is configured to detect a user hand contact point and determine which finger the user finger corresponding to each contact point is according to the contact point information. In this embodiment, the tablet pc 1 may also use the preset finger (e.g., middle finger) corresponding to the contact point detected by the stylus pen 2 as the second contact point.
And 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, the tablet computer 1 may obtain the pen-holding distance from the stylus 2. After the second contact point between the user's hand and the stylus 2 is determined by the stylus 2 through the film sensor, the distance between the second contact point and the pen point, that is, the pen holding distance, may be determined in combination with the setting position of the film sensor on the stylus 2. Illustratively, 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 pc 1 may also obtain 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, the tablet pc 1 calculates the vertical distance based on a trigonometric function relationship according to the first angle, the third angle, the compensation angle, and the pen-holding distance.
With reference to the schematic diagram of fig. 6A that the stylus pen 2 is in the second state, the schematic diagram of fig. 6B that the stylus pen 2 is in the first state, and the schematic diagram of fig. 6C that the user holds the stylus pen 2, the objects such as the user's hand, the stylus pen, and the touch screen in the first state and the second state of the stylus pen 2 are simplified into lines, so as to obtain corresponding schematic diagrams.
For example, fig. 6E is a simplified schematic diagram of the stylus 2 in the second state. In fig. 6E, the stylus pen 2 is in the second state, the hand of the user is simplified to be a straight line, a point 611 represents a contact point (i.e., a pen tip position) between the pen tip of the stylus pen 2 and the touch screen of the tablet pc 1 in the second state, a point 612 represents a contact point between the hand of the user and the touch screen of the tablet pc 1 in the second state, and a point 613 represents a second contact point (i.e., 69 shown in fig. 6C) between the hand of the user and the stylus pen 2 in the second state. After simplification, 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 horizon 60 with BC is denoted as point D. As can be seen from fig. 6A, angle CAB corresponds to the first angle 65 shown in fig. 6A, angle CAD corresponds to the second angle 66 shown in fig. 6A, and angle DAB corresponds to the angle 67 shown in fig. 6A. As can be seen from fig. 6C, AC = pen grip distance N in fig. 6E.
For example, fig. 6F is a simplified schematic diagram of the stylus 2 in the first state. In fig. 6F, the stylus 2 is in the first state, the hand of the user is simplified into a straight line, a point 614 represents a position where the pen tip of the stylus 2 is located in the first state, a point 615 represents a contact point between the hand of the user and the touch screen of the tablet pc 1 in the first state, and a point 616 represents a second contact point between the hand of the user and the stylus 2 in the first state (when the user lifts the pen during writing, the relative position of the hand and the stylus 2 is not changed, and therefore the point 616 is still 69 shown in fig. 6C). After simplification, the point 614 is represented by a corresponding point a ', the point 615 is represented by a corresponding point B ', and the point 616 is represented by a corresponding point C '. In fig. 6F, the intersection of the geographical horizontal line 60 and B 'C' is denoted as point E. In addition, in fig. 6F, the auxiliary line 617 passing through point a ' is parallel to the touch screen of the tablet pc 1, and an intersection of the auxiliary line 617 and B ' C ' is denoted as point F; the auxiliary line 618 is made through points a 'and B'.
As can be seen from fig. 6B, the angle CAE corresponds to the third angle 68 shown in fig. 6A. As can be seen, angle EA 'F is the angle between the auxiliary line 617 and the geographical horizontal line 60, which can be determined by combining fig. 6A and the auxiliary line 617 being parallel to the touch screen of the tablet pc 1, and angle EA' F = angle 67 shown in fig. 6A. As can be seen from fig. 6C, a 'C' = pen grip distance N in fig. 6F.
Usually, in the process of lifting or dropping the pen when the user writes, the relative position relationship between the hand of the user and the stylus 2 does not change, and in the process of changing the stylus 2 from the second state to the first state or changing the first state to the second state, the stylus 2 is lifted by using the contact point between the hand of the user and the touch screen of the tablet computer 1 as a fulcrum. Therefore, in the embodiment of the present application, the default triangle ABC of fig. 6E is the same as the triangle a ' B ' C ' in fig. 6F, and thus it can be determined that: the & lt CAB shown in FIG. 6E is equal to & lt C 'A' B 'shown in FIG. 6F, and the & lt CAB & lt C' A 'B'.
Meanwhile, when the stylus pen 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 hand of the user is perpendicular to the touch screen when the stylus pen 2 is in the first state, i.e. B ' C ' and a ' F are perpendicular in fig. 6F.
Based on the above relationship, in combination with the third angle 68 shown in fig. 6F, the above compensation angle 67, angle C 'a' B '(equal to angle CAB) and a' C '(the above pen-holding distance), a' F, angle FA 'B' in fig. 6F and the vertical distance ds between the stylus 2 and the touch screen in the first state can be calculated.
For example, the S506 may specifically include: and the tablet computer 1 sums the third angle and the compensation angle to obtain a fourth angle. The tablet computer 1 obtains the first distance by taking the product of the cosine value of the fourth angle and the pen holding distance. The tablet computer 1 calculates a difference between the first angle and the fourth angle to obtain a fifth angle. The tablet computer 1 multiplies the tangent value of the fifth angle by the first distance to obtain a second distance.
With reference to fig. 6F, the fourth angle is ≦ C 'a' F in the drawing. The first distance is A' F shown in FIG. 6F.
From the above description, it can be seen that ≈ C ' a ' B ' = ≈ CAB (fig. 6E) shown in fig. 6F, and ≈ CAB in fig. 6E is the first angle 65 shown in fig. 6A. Therefore, in the embodiment of the application, a fifth angle obtained by subtracting ≤ C ' a ' B ' (the first angle) from the fourth angle, which is an angle 619 (≤ FA ' B ') shown in fig. 6F, is represented by the first angle table shown in fig. 6F.
Wherein the vertical distance comprises a second distance. Referring to FIG. 6F, the second distance is B' F shown in FIG. 6F. As is apparent from the above description, in the embodiment of the present application, B ' C ' is perpendicular to a ' F, 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 vertical distance calculated by the tablet pc 1 can be expressed by the following formula:
ds = N cos (67 + 68) tan (65- (67 + 68)); wherein N denotes a pen-holding distance, 67 denotes a compensation angle, 68 denotes a third angle, and 65 denotes a first angle; ds represents the vertical distance between the pen tip and the touch screen.
In the technical scheme provided by the embodiment of the application, the vertical distance between the pen point and the touch screen of the stylus 2 in the first state is obtained by analyzing the relative position relationship between the hand of the user and the touch screen of the tablet computer 1 and the relative position relationship between the hand of the user and the stylus 2 in the pen falling and pen lifting actions in the writing process and combining the trigonometric function relationship and calculating the pen holding distance conversion. The false touch prevention threshold value can be determined by combining the vertical distance, 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 selecting the false touch prevention threshold value is improved.
S404, the tablet computer 1 determines a false touch prevention threshold value of the handwriting pen 2 corresponding to the vertical distance.
In practical cases, when the vertical distance between the pen tip and the touch screen is small, the pen tip signal amount detected by the tablet pc 1 may be the same. Therefore, in some embodiments, the vertical distances in different value ranges correspond to different false touch prevention threshold values. In the embodiment of the present application, the false touch prevention threshold corresponds to a pen tip semaphore.
In some embodiments, in S404, the tablet computer 1 may directly obtain the false touch prevention threshold corresponding to the vertical distance. In other embodiments, the tablet computer 1 may also obtain an average value of the vertical distances in the second preset time period, and in S404, the tablet computer 1 determines a false touch prevention threshold corresponding to the average value of the vertical distances as a threshold of the false touch prevention mode.
In some embodiments, the tablet computer 1 stores therein a plurality of false touch prevention thresholds corresponding to the vertical distances, and after the tablet computer 1 obtains the vertical distances, the false touch prevention threshold corresponding to the vertical distances may be searched in the tablet computer 1. The vertical distance and the false touch prevention threshold value may be stored in the tablet computer 1 in a manner of a correspondence table.
In other embodiments, a plurality of vertical distances and the corresponding relationship between the standard pen tip signal quantity are stored in the tablet computer 1. After the tablet computer 1 obtains the vertical distance, the standard pen point semaphore corresponding to the vertical distance is searched in the tablet computer 1 and is used as the false touch prevention threshold value. The corresponding relation between the vertical distance and the standard pen point signal quantity is measured in a laboratory environment of related personnel before the tablet personal computer 1 leaves a factory. Related personnel can simulate various different environments in a laboratory, and pen point signal quantities detected by the tablet personal computer 1 in different pen point vertical distances are respectively measured and used as standard pen point signal quantities correspondingly detected by the tablet personal computer 1 in different vertical distances.
Illustratively, a plurality of preset mapping relationship tables are stored in the tablet pc 1, and each preset mapping relationship table stores a plurality of vertical distances and standard pen point semaphores corresponding to each vertical distance of the tablet pc 1 in a preset environment. Wherein the preset environment comprises at least one of: whether the tablet computer 1 is charged, whether the touch screen of the tablet computer 1 is filmed, and the type of the filmed touch screen of the tablet computer 1. In this embodiment, the tablet pc 1 may search the preset mapping table for the standard pen tip distance corresponding to the vertical distance.
In some embodiments, the tablet pc 1 at least stores a preset mapping relationship table corresponding to the following preset conditions: 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 being charged and the touch screen is pasted with a first kind of film, and the tablet computer 1 is not charged and the touch screen is pasted with a first kind of film; the tablet computer 1 is charging and the touch screen is affixed with a second kind of film, the tablet computer 1 is not charging and the touch screen is affixed with a second kind of film, and so on. It should be understood that the above-mentioned first and second types of films are only examples, and in practical cases, the type of the film may be determined according to practical cases, and for example, the type of the film may include a plastic film, a hydrogel film, a toughened film, or the like.
Before searching for the standard pen point semaphore corresponding to the vertical distance, the tablet pc 1 further needs to select a preset mapping table corresponding to the current environment from a plurality of preset mapping tables. The preset environment of the preset mapping relation table includes whether the tablet computer 1 is being charged, whether the touch screen is pasted with a film, the type of the pasted film, and the like, and therefore, the tablet computer 1 can select the preset mapping relation table closest to the current environment by combining the charging state, the pasting state, the type of the pasted film, and the like of the tablet computer 1.
The tablet computer 1 typically stores a charging flag indicating that the tablet computer 1 is in a charging state or a non-charging state. In some embodiments, whether tablet computer 1 is being charged may be determined by obtaining a charging identification of tablet computer 1. In some embodiments, whether the touch screen of the tablet pc 1 is attached with the film or not and the type of the attached film may be matched by the tablet pc 1 according to the magnitude of the pen tip signal currently detected in the second state. Alternatively, in other embodiments, whether the touch screen of the tablet computer 1 is pasted with the film or not and the type of the pasted film may also be input into the tablet computer 1 by the user.
In some embodiments, as shown in fig. 7A, before S404, the method further includes S701-S703, wherein:
s701, the tablet computer 1 obtains the charging state of the tablet computer 1.
Wherein the charging state includes a state of being charged or a state of not being charged. In some embodiments, the tablet computer 1 obtains a charging identifier of the tablet computer 1, and determines the charging state of the tablet computer 1 according to the charging identifier. For example, 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 pc 1 is in an uncharged state.
The detection of the pen point signal quantity of the stylus pen 2 by the tablet computer 1 is determined by detecting the signal intensity emitted by the pen point by the tablet computer 1. When the tablet pc 1 is in a charging state or a non-charging state, the intensity of the pen tip signal detected by the tablet pc 1 may be different. Therefore, when the tablet pc 1 is in a charged state or an uncharged state, the pen-tip signal amount acquired by the tablet pc 1 is also different. In the embodiment of the present application, when selecting the matching preset mapping relationship table for the tablet pc 1, the charging state of the current tablet pc 1 needs to be combined.
S702, the tablet personal computer 1 acquires a second pen point semaphore when the stylus pen 2 is in a second state.
Wherein the second state comprises a writing state of the user holding the stylus 2 on the touch screen.
Whether the touch screen of the tablet computer 1 is pasted with the film or not and the type of the pasted film are different, and the vertical distance between the pen point and the touch screen when the handwriting pen 2 writes on the touch screen can be influenced. For example, in the state where the touch panel is not coated with a film, the vertical distance from the tip of the stylus pen 2 to the touch panel during writing is small, and may be 0. In the film-attached state of the touch screen, the pen point of the stylus pen 2 is a certain distance (the vertical distance is not 0) away from the touch screen when writing, and the larger the thickness of the attached film is, the larger the vertical distance of the pen point of the stylus pen 2 from the touch screen when writing is. Or the types and materials of the films attached to the touch screen are different, which may cause the tablet pc 1 to acquire different pen point signals of the stylus 2. Therefore, when the stylus pen 2 is in the second state, and the touch screen is in the film-attached state and the film-unattached state, pen point signal quantities acquired by the tablet computer 1 are different; when the touch screen is pasted with different types of films, pen point signal quantities acquired by the tablet personal computer 1 are different.
In this embodiment, since the tablet computer 1 cannot directly know whether the tablet computer 1 is currently filmed and the type of the filmed, the tablet computer 1 determines whether the touch screen of the tablet computer 1 is filmed and the type of the filmed by detecting the pen point semaphore of the stylus pen 2 in the second state.
And S703, the tablet personal computer 1 screens out a target mapping relation table matched with the current environment from the preset mapping relation tables by combining the charging state and the second pen point semaphore.
In this embodiment, the tablet pc 1 may respectively obtain the pen tip semaphores when the stylus pen 2 is in the second state in the preset mapping relationship table corresponding to each preset environment, as candidate pen tip semaphores. Then, the tablet pc 1 compares the second nib semaphore acquired in S702 with each candidate nib semaphore, selects the closest candidate nib semaphore, and uses a preset mapping relationship table corresponding to the closest candidate nib semaphore as a preset mapping relationship table matched with the current environment, that is, the target preset mapping relationship table.
In some embodiments, the tablet pc 1 may calculate difference values between the second pen tip semaphore and the candidate pen tip semaphore, respectively, select the candidate pen tip semaphore with the smallest absolute value of the difference values, and use the preset mapping table corresponding to the candidate pen tip semaphore with the smallest absolute value of the difference values as the target preset mapping table.
In the technical scheme provided by the embodiment of the application, a plurality of preset mapping tables corresponding to the preset environment are stored in the tablet computer 1 in advance, and according to the second pen point semaphore when the stylus pen 2 is in the second state and whether the tablet computer 1 is being charged, the preset mapping table most matched with the current environment is selected as the target preset mapping table. Therefore, the influence of the environment on the pen point signal quantity of the tablet personal computer 1 for detecting the stylus pen 2 can be reduced, and the more accurate false touch prevention threshold value can be determined.
Further, since the charging state of the tablet computer 1, whether the touch screen is attached with the film, and the type of the attached film may change at different times, the step of selecting the target preset mapping relation table according to the charging state of the tablet computer 1, whether the touch screen is attached with the film, and the type of the attached film needs to be reselected according to actual situations. For example, when the tablet pc 1 detects that the charging state changes or a long time interval is left between the charging state and the last time of selecting the target preset mapping table, the operations of S701 to S703 may be performed to reselect the target preset mapping table.
In some embodiments, the tablet pc 1 re-screens the target mapping relationship table matching the current environment from the plurality of preset mapping relationship tables in response to the first event. Wherein the first event comprises at least one of: the method comprises the steps of updating the charging state of the tablet computer 1, waking up the tablet computer 1 in a dormant mode, restarting the tablet computer 1, or enabling the tablet computer 1 to receive a mapping relation resetting instruction.
In some embodiments, the tablet computer 1 detects the charging status of the tablet computer 1 at intervals, and determines that the first event is detected if the charging status of the tablet computer 1 is updated. For example, the tablet pc 1 may acquire the charging identifier of the tablet pc 1 at intervals of a third preset time period to detect whether the charging state of the tablet pc 1 changes. Wherein the third preset time period can be set according to actual conditions.
Generally, when a user no longer uses the tablet computer in a short time, the system of the tablet computer can be temporarily and actively turned off, so that the tablet computer is dormant or turned off, and when the tablet computer needs to be used next time, the system of the tablet computer is waken up or turned on from a dormant state. Or, when the user does not use the tablet computer for a long time, the tablet computer will automatically enter a system sleep state until the next time the user wakes up the tablet computer. That is, the interval between the tablet computer 1 entering the sleep state and being woken up is usually long. In this interval, whether the tablet computer 1 is attached with the film or not and the type of the attached film may change, and therefore in this embodiment of the application, when the tablet computer 1 detects that the tablet computer 1 wakes up from sleep and restarts, it is determined that the first event is detected. The tablet computer 1 will return to execute the above S701-S703 and reselect the target preset mapping relation table. The specific implementation processes of detecting the sleep wakeup, the restart, and the like of the tablet pc 1 may refer to descriptions of related technologies, which are not described in this embodiment of the present application.
In other embodiments, the user may manually reset the target preset mapping relation table when the user finds that the false touch prevention is not accurate enough. Illustratively, when receiving the mapping relationship resetting instruction, the tablet pc 1 returns to execute the above steps S701 to S703, and reselects the target preset mapping relationship table.
In the technical solution provided by the embodiment of the present application, when the tablet pc 1 detects the first event, the target preset mapping relationship table is reselected. Therefore, the preset mapping relation table matched with the environment of the current time is selected to be used for determining the false touch prevention threshold value at different time and different environments, so that the influence of environmental factors on 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 the inaccuracy of the vertical distance calculation due to different usage habits and the inaccuracy of the selected false touch prevention threshold value, in some embodiments, please refer to 7a, S404 specifically includes S404a, where: s404a. The tablet computer 1 looks up the standard pen point semaphore corresponding to the vertical distance in the target preset mapping relation table as the false touch prevention threshold value of the stylus 2. The tablet personal computer 1 acquires a preset compensation semaphore, and the sum of the standard pen point semaphore and the preset compensation semaphore is used as a false touch prevention threshold value. The preset compensation semaphore can be set according to actual conditions and stored in the tablet computer 1.
By setting the preset compensation amount, the condition that the determined false touch prevention threshold value is not accurate enough due to inconsistent use habits of different users can be avoided as much as possible, and therefore the accuracy of false touch prevention is improved.
S405, the tablet personal computer 1 enters a false touch prevention mode when detecting that the first pen point signal quantity is larger than or equal to a false touch prevention threshold value.
In the false touch prevention 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 personal computer 1 sets the anti-false touch identifier of the tablet personal computer 1 as a first identifier; when the tablet computer 1 detects that the first pen tip semaphore is greater than or equal to the false touch prevention threshold value, if the false touch prevention identifier is detected to be the first identifier, the tablet computer 1 enters a false touch prevention mode.
As can be seen from the above description of the embodiment, 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 false touch prevention threshold corresponding to the vertical distance needs to be determined again.
In some embodiments, after the tablet computer 1 sets the anti-false-touch flag of the tablet computer 1 as 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 anti-false-touch identifier as a second identifier; when the tablet personal computer 1 detects that the semaphore of the first pen nib is greater than or equal to the false touch prevention threshold value, if the false touch prevention identifier is detected to be the second identifier, the tablet personal computer 1 does not enter the false touch prevention mode. Therefore, the condition that the previously determined false touch prevention threshold value is inaccurate due to the change of the compensation angle can be avoided, and inaccurate false touch prevention can be avoided.
In the technical scheme provided by the embodiment of the application, the tablet computer 1 periodically detects the pen point semaphore of the stylus pen 2, and dynamically determines the false touch prevention threshold value according to the detected pen point semaphore to be used as the threshold value for entering the false touch prevention mode. Even if the tablet computer 1 is in different environments, even if the pen tip semaphore detected by the tablet computer 1 in the false touch prevention process is influenced by the environments, the false touch prevention threshold value is determined in real time in combination with the current environments, namely the influence of the current environments is considered in selection of the false touch prevention threshold value. Therefore, the dynamically determined false touch prevention threshold value is more suitable for 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 the inaccuracy of false touch prevention caused by the environment can be reduced.
As can be seen from the above description with respect to 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, wherein the Touch and Display Driver Integration (TDDI) includes the Touch IC chip and the Display chip. The TDDI is disposed at one side of the touch screen, and touch sensors (sensors) disposed at different positions of the touch screen are respectively connected to the TDDI. Therefore, the lengths of the wires of the touch IC chips arranged at different positions of the touch screen are different, so that the impedances corresponding to the touch sensors at different positions are not completely the same. Therefore, the touch sensor disposed at the far end of the touch screen (relative to the touch IC) is affected by a long trace and a large impedance, and the pen tip signal amount of the stylus pen 2 sensed by the touch sensor is likely to be low.
That is, when the pen point of the stylus pen 2 is vertically projected on the touch screen at different positions in the same vertical distance from the touch screen, the pen point signal amount detected by the tablet pc 1 is also different. At this time, if the same false touch prevention threshold value is set in different areas of the touch screen, the false touch prevention may be inaccurate.
Based on this, in some embodiments of the present application, the touch screen is divided into a plurality of preset regions according to the setting position of the touch sensor, and each preset region correspondingly maintains a group of false touch prevention threshold values. In some embodiments, the S404 may specifically include: the tablet computer 1 determines the position of a third vertical projection point of the first position of the pen point of the stylus pen on the touch screen, and the target area of the third vertical projection point on the touch screen. Then, the tablet computer 1 selects a corresponding false touch prevention threshold value according to the vertical distance and the target area. It can be understood that the target area to which the third vertical projection point belongs is included in a plurality of preset areas.
In some embodiments, the preset area division for the touch screen may be specifically set by combining the number of touch sensors arranged on the touch screen/the number of channels of the touch screen. For example, the number of the touch sensors disposed on the touch screen is 6 × 8, the touch screen may be divided into 3 × 4 preset regions, or 3 × 8 preset regions, and so on. And correspondingly maintaining a group of false touch prevention threshold values in each preset area.
In the technical scheme provided by the embodiment of the application, when a user uses the stylus pen 2 to write in different preset areas on the touch screen, the trigger threshold value of the tablet computer 1 entering the false touch prevention mode corresponds to the preset area where the tablet computer is located at present, 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 embodiment, the determination of the false touch prevention threshold value by the false touch prevention method may be implemented only after the user uses the stylus pen 2 to write on the touch screen of the tablet pc 1 for a certain time. That is to say, the tablet computer 1 needs to learn for a certain period of time to determine the more accurate false touch prevention threshold. Therefore, in order to prevent the tablet pc 1 from touching the touch point of the hand by mistake before the learning is completed, in some embodiments, the tablet pc 1 stores an initial false touch prevention threshold value. The tablet computer 1 may use the initial false touch prevention threshold value as a threshold value for entering the false touch prevention mode when it initially detects the presence of the pen tip signal of the stylus 2. Therefore, the problem that the hand of the user touches the touch screen by mistake when the tablet personal computer 1 learns the writing process of the user using the stylus pen 2 can be avoided.
After S404, the tablet pc 1 may determine the current false touch prevention threshold. In the process that the same user uses the stylus pen 2 to continuously write on the touch screen for a long time, the tablet computer 1 may determine a plurality of corresponding false touch prevention threshold values of the user. In some embodiments, the tablet pc 1 may calculate an average value according to a plurality of false touch prevention threshold values of the user, and store the average value as the user information of the user. If the tablet computer 1 can determine that the user who uses the stylus pen 2 to write currently stores the user information, the tablet computer 1 can read the stored user information as the false touch prevention threshold value of the user. In addition, when different users use the stylus pen to write on the touch screen, the contact area between the hand of the user and the stylus pen, the contact area between the hand of the user and the touch screen, and the force of pressing the hand of the user on the touch screen may be different, and the tablet computer 1 may distinguish different users according to some hand information of the users.
For example, in some embodiments, after the S404, the method for preventing false touch further includes: the tablet computer 1 acquires user writing characteristics when a user performs writing operation using the stylus pen 2. The tablet computer 1 correspondingly stores the writing characteristics of the user 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 uses the stylus pen 2 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 of the hand of the user and the stylus pen 2. The second contact point is a contact point closest to the tip of the stylus pen 2 among contact points of the stylus pen 2 and the hand of the user when the user holds the stylus pen 2.
In some embodiments, the user writing characteristics include the 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 point of contact of a user's hand on the touch screen and calculate a contact area of the point of contact. For example, the detecting of the contact area between the hand of the user and the touch screen by the tablet pc 1 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 change by a touch sensor on the touch screen. And calculating the LL average value and the WW average value in the fourth preset time period, and calculating the contact area between 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 the writing characteristics of the users are stored, only the contact area between the user hand and the touch screen within the preset range of the pen point position when the user uses the stylus pen 2 to write is stored.
In other embodiments, the user writing characteristic includes a pen-grip distance between a corresponding location of the user's hand and the second point of contact of stylus 2 and the pen tip. The habits of different users in using the stylus pen are different, and the height of holding the stylus pen is usually 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 user writing characteristic. In some embodiments, the tablet computer 1 may obtain the pen-holding distance from the stylus 2 for storage as a user writing characteristic.
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 corresponding location of the second contact point on the stylus 2 and the pen tip. In this way, the tablet computer 1 can distinguish different users more accurately according to the writing characteristics of the users.
In the technical scheme provided by the embodiment of the application, when a user uses the stylus pen 2 to write on the touch screen of the tablet computer 1, the tablet computer 1 acquires the characteristics of the user during writing and correspondingly stores the characteristics and the false touch prevention threshold value. In this way, the tablet pc 1 may determine whether the current user is a historical user according to the stored user writing characteristics when the user uses the stylus pen 2 to write on the tablet pc 1 next time. Therefore, the false touch prevention threshold value corresponding to the user can be rapidly read for false touch prevention.
Further, in some embodiments, when detecting the user writing feature of the user to be matched, the tablet pc 1 searches whether the user writing feature to be matched exists in the user feature table; when the tablet computer 1 finds the writing characteristics of the user to be matched in the user characteristic table, the tablet computer 1 obtains a false touch prevention threshold corresponding to the writing characteristics of the user to be matched from the user characteristic table, and the false touch prevention threshold is used as an initial false touch prevention threshold of the user; the initial false touch prevention threshold value is used for adjusting the initial false touch prevention threshold value in real time by the tablet personal computer 1 according to the vertical distance of the stylus 2 in the first state and the standard pen point semaphore.
Wherein, the writing characteristics of the user to be matched represent the writing characteristics obtained when the tablet computer 1 detects the pen point semaphore. In some embodiments, the user writing characteristics to be matched may include at least one of: when the user uses the stylus pen 2 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 of the hand of the user and the stylus pen 2.
After the tablet computer 1 detects the writing characteristics of the user to be matched, if the matched writing characteristics of the user are found in the user characteristic table, it indicates that the user has previously used the stylus pen 2 to perform writing operation on the tablet computer 1. At this time, the tablet computer 1 may read the corresponding false touch prevention threshold from the user profile as the initial false touch prevention threshold of the user. After that, the tablet computer 1 may learn the corresponding vertical distance in the first state when the current user uses the stylus pen 2 to perform writing operation, and adjust and update the initial false touch prevention threshold value in combination with the vertical distance.
Further, in an embodiment in which different preset regions are divided on the touch screen for the tablet pc 1, and a set of corresponding false touch prevention thresholds is maintained for the different preset regions, the initial false touch prevention threshold may also be set to correspond to the preset regions. Namely, for each preset area on the touch screen, a corresponding initial false touch prevention threshold value is set. And when the user uses the stylus pen 2 to write on the touch screen of the tablet computer 1, respectively adjusting and updating the false touch prevention threshold value of the preset area according to the preset area corresponding to the writing position.
Exemplarily, taking an example that the touch screen includes a first preset region, a second preset region and a third preset region, the first preset region is correspondingly provided with a first initial false touch prevention threshold, the second preset region is correspondingly provided with a second initial false touch prevention threshold, and the third preset region is provided with a third initial false touch prevention threshold. Before a user uses the stylus pen 2 to write on the touch screen of the tablet computer 1 for the first time, if it is detected that the stylus pen 2 is in the first state, and an area to which a vertical projection position of a first position where a pen point of the stylus pen 2 is located on the touch screen belongs is a first preset area. Then, the tablet pc 1 will perform false touch prevention using the first initial false touch prevention threshold value. Meanwhile, if the user writes for a period of time on the first preset area of the tablet computer 1 by using the stylus pen 2, the tablet computer 1 adjusts and updates the first initial false touch prevention threshold value according to data and the like of the user when the user writes in the first preset area by using the stylus pen 2. After that, if it is detected that the user continues to use the stylus pen 2 to write in the first preset region of the tablet computer 1, the first preset region is used to perform false touch prevention corresponding to the updated false touch prevention threshold value. Since the user has not yet used the stylus pen 2 to write in the second preset region and the third preset region, neither the second initial false touch prevention threshold nor the third initial false touch prevention threshold is updated. When a user moves from the first preset area to the second preset area (third preset area) for writing, the user firstly uses the second initial false touch prevention threshold value (third initial false touch prevention threshold value) for false touch prevention, and then the second initial false touch prevention threshold value (third initial false touch prevention threshold value) is adjusted and updated by combining data of the user when the user writes in the second preset area (third preset area).
In the technical scheme provided by the embodiment of the application, after a user uses the stylus pen 2 to perform writing operation on the tablet computer 1, the tablet computer 1 acquires the writing characteristics of the user and stores the writing characteristics. When the user uses the stylus pen 2 again to write on the tablet computer 1, the false touch prevention threshold value stored by the user is read as the initial false touch prevention threshold value, and the initial false touch prevention threshold value can be used for false touch prevention before the tablet computer 1 finishes learning. Thereby avoiding a false hand touch when the user writes before the tablet pc 1 completes learning.
In other embodiments, the false touch prevention method may also be configured to, when the tablet pc 1 detects n second events, obtain the minimum pen tip signal quantity in each second event by the tablet pc 1, and calculate an average value of m minimum pen tip signal quantities within a fifth preset time period. The tablet computer 1 takes the average value of the m minimum pen point signal quantities as the false touch prevention threshold value of the stylus pen 2. In this embodiment, the tablet computer 1 also dynamically acquires the minimum pen point semaphore as the false touch prevention threshold, so that the false touch prevention threshold is more in line with the current environment, the false touch prevention accuracy is improved, and the user experience when using the stylus to write on the tablet computer 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 has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the various functions or steps performed by the tablet computer 1 in the method embodiments. Illustratively, the electronic device may be a tablet pc 1. The structure of the electronic device can refer to the structure of the tablet pc 1 shown in fig. 2.
The embodiment of the present application further 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, the interface circuit 802 may be used to receive signals from other devices (e.g., a memory of an electronic device). Also for example, the interface circuit 802 may be used to transmit signals to other devices, such as the processor 801. Illustratively, the interface circuit 802 may read instructions stored in the 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 in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
The present embodiment also provides a computer-readable storage medium, where the computer-readable storage medium includes computer instructions, and when the computer instructions are executed on the electronic device (e.g., the tablet computer 1), the electronic device is caused to perform the functions or steps performed by the tablet computer 1 in the above method embodiments.
The embodiment of the present application further provides a computer program product, which, when running on a computer, enables the computer to perform each function or step performed by the tablet pc 1 in the above method embodiments. The computer may be an electronic device, such as a tablet computer 1.
Through the description of the foregoing embodiments, it will be clear to those skilled in the art that, for convenience and simplicity of description, only the division of the functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules as required, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application, or portions of the technical solutions that substantially contribute to the prior art, or all or portions of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A false touch prevention 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 pen point semaphore of a stylus on the touch screen; wherein the first nib semaphore is used for indicating the nib signal strength of the stylus;
when the electronic equipment determines that the stylus is in the first state according to the first nib semaphore, the electronic equipment acquires a vertical distance between a first position where a nib of the stylus is located and the touch screen; the first state comprises a state that a user holds the handwriting pen and hovers above the touch screen, and the handwriting pen does not write on the touch screen;
the electronic equipment determines a false touch prevention threshold value of the stylus corresponding to the vertical distance; wherein, the vertical distances in different value ranges correspond to different false touch prevention threshold values;
the electronic equipment enters a false touch prevention mode when detecting that the first pen nib semaphore is larger than or equal to the false touch prevention threshold value; and in the false 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, the false touch prevention threshold value of the stylus corresponding to the vertical distance comprises:
the electronic equipment acquires a standard pen point semaphore corresponding to the vertical distance; the electronic equipment is stored with a plurality of vertical distances and standard pen point semaphores corresponding to the vertical distances in advance;
and the electronic equipment takes the standard pen point semaphore as the false touch prevention threshold value of the stylus pen.
3. The method according to claim 1 or 2, wherein the electronic device obtains a vertical distance between a first position where a pen tip of the stylus is located and the touch screen, and comprises:
the electronic equipment acquires a first angle between the stylus and the touch screen and a second angle between the stylus and a geographical horizon when the stylus is 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 between the first angle and the second angle to obtain a compensation angle between the touch screen and the geographic horizon;
the electronic equipment acquires a third angle between the stylus and the geographic horizon in the first state;
the electronic equipment acquires a second contact point which is closest to a pen point of the stylus pen in contact points of the stylus pen and the hand of the user when the user holds the stylus pen;
the electronic equipment acquires a pen holding distance between the corresponding position of the second contact point and the pen point;
and 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 electronic device calculates the vertical distance according to the first angle, the third angle, the compensation angle, and the pen-holding distance, comprising:
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 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 comprises the second distance.
5. The method according to claim 2, wherein a plurality of preset mapping tables are stored in the electronic device, and each preset mapping 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 equipment is charging, whether the touch screen is pasted with a film, and the type of the film pasted on the touch screen;
before the electronic device acquires a standard pen-tip semaphore corresponding to the vertical distance, the method further comprises:
the electronic equipment acquires the charging state of the electronic equipment; wherein the charging state comprises a state of being charged or a state of not being charged;
the electronic equipment acquires a second pen point semaphore when the stylus 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 stylus pen is in the second state, and the touch screen is in a film pasting state and a film non-pasting state, pen point signal quantities acquired by the electronic equipment are different; when the touch screen is pasted with different types of films, pen point signal quantities acquired by the electronic equipment are different;
and the electronic equipment screens out a target mapping relation table matched with the current environment from the plurality of preset mapping relation tables by combining the charging state and the second pen point semaphore.
6. The method of claim 5, wherein after the electronic device combines the charging status and the second pen tip semaphore to screen a target mapping table from the plurality of preset mapping tables that matches a current environment, 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 comprises at least one of: the method comprises the following 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.
7. The method according to any one 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 semaphore of the first pen nib is larger than or equal to the false touch prevention threshold value, if the electronic equipment detects that the false touch prevention identifier is the first identifier, the electronic equipment enters the false touch prevention mode.
8. The method according to claim 7, wherein after the electronic device sets the anti-false-touch identifier of the electronic device to the first identifier, the method further comprises:
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 identification as a second identification;
when the electronic equipment detects that the semaphore of the first pen nib is larger than or equal to the false touch prevention threshold value, if the electronic equipment detects that the false touch prevention identifier is the second identifier, the electronic equipment does not enter the false touch prevention mode.
9. The method according to any one 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 the user writing characteristics of the user when the user uses the stylus 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 corresponding position of the hand of the user and the second contact point of the handwriting pen and the pen point are obtained;
and the electronic equipment correspondingly stores the user writing characteristics 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 false touch prevention threshold value, the method further comprises:
when the electronic equipment detects the writing characteristics of the user to be matched of the user, searching whether the writing characteristics of the user to be matched exist in the user characteristic table;
when the electronic equipment finds the writing characteristics of the user to be matched in the user characteristic table, the electronic equipment obtains a false touch prevention threshold value corresponding to the writing characteristics of the user to be matched from the user characteristic table, and the false touch prevention threshold value is used as an initial false touch prevention threshold value of the user; and the initial false touch prevention threshold value is used for adjusting the initial false touch prevention threshold value in real time by the electronic equipment according to the vertical distance of the stylus in the first state and the standard pen point semaphore.
11. The method of any of claims 1-10, wherein the electronic device determining that the stylus is in a first state based on the first stylus semaphore comprises:
the electronic equipment detects n second events and detects the moment when the signal quantity of the first pen point is minimum; the second event is used for indicating that the first pen point signal quantity is changed from big to small and then changed from small to big;
and the electronic equipment determines that the stylus is in the first state at the moment when the first nib semaphore is minimum.
12. The method according to any one of claims 1-11, wherein the false touch prevention threshold comprises a plurality of sets of false touch prevention thresholds, each set of false touch prevention thresholds corresponding to a predetermined area in the touch screen; the touch screen comprises a plurality of preset areas; the electronic device determines the false touch prevention threshold value of the stylus corresponding to the vertical distance, including:
the electronic equipment determines a vertical projection position of a first position where a pen point of the stylus pen is located 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, characterized in that the electronic device comprises: a processor and a memory; stored in the memory is 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 that, when executed 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 (2)

Application Number Priority Date Filing Date Title
CN202211340769.9A CN115686264B (en) 2022-10-29 2022-10-29 False touch prevention method and equipment
PCT/CN2023/113324 WO2024087816A1 (en) 2022-10-29 2023-08-16 Accidental touch prevention method and device

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 true CN115686264A (en) 2023-02-03
CN115686264B 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 (2)

Country Link
CN (1) CN115686264B (en)
WO (1) WO2024087816A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117130496A (en) * 2023-04-24 2023-11-28 荣耀终端有限公司 Handwriting pen offset detection method and electronic equipment
CN117707353A (en) * 2023-07-12 2024-03-15 荣耀终端有限公司 Method and device for determining handwriting correction parameters of handwriting pen
WO2024087816A1 (en) * 2022-10-29 2024-05-02 荣耀终端有限公司 Accidental touch prevention method and device

Citations (12)

* 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
US20170153763A1 (en) * 2014-07-02 2017-06-01 3M Innovative Properties Company Touch systems and methods including rejection of unintentional touch signals
CN108595029A (en) * 2018-04-27 2018-09-28 广州视源电子科技股份有限公司 Method, device and equipment for determining inclination angle of capacitive pen and storage medium
US20200050350A1 (en) * 2018-08-08 2020-02-13 Samsung Electronics Co., Ltd. Electronic device and method for recognizing stylus pen
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
US20210055808A1 (en) * 2019-08-22 2021-02-25 Wacom Co., Ltd. Input apparatus
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
US20220066614A1 (en) * 2020-08-31 2022-03-03 Microsoft Technology Licensing, Llc Method to reduce blanking area for palm rejection in low cost in-cell displays

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102253676B1 (en) * 2014-11-03 2021-05-21 엘지디스플레이 주식회사 Touch sensing system and driving method thereof
WO2016185838A1 (en) * 2015-05-15 2016-11-24 シャープ株式会社 Touch pen, touch panel system, and electronic apparatus
CN115686264B (en) * 2022-10-29 2023-08-11 荣耀终端有限公司 False touch prevention method and equipment

Patent Citations (12)

* 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
US20170153763A1 (en) * 2014-07-02 2017-06-01 3M Innovative Properties Company Touch systems and methods including rejection of unintentional touch signals
JP2017021540A (en) * 2015-07-09 2017-01-26 シャープ株式会社 Detection circuit and touch sensor system
CN108595029A (en) * 2018-04-27 2018-09-28 广州视源电子科技股份有限公司 Method, device and equipment for determining inclination angle of capacitive pen and storage medium
US20200050350A1 (en) * 2018-08-08 2020-02-13 Samsung Electronics Co., Ltd. Electronic device and method for recognizing stylus pen
CN113260963A (en) * 2019-03-08 2021-08-13 深圳市柔宇科技股份有限公司 Transmission method and transmission system of writing note information and electronic equipment
US20210055808A1 (en) * 2019-08-22 2021-02-25 Wacom Co., Ltd. Input apparatus
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
US20220066614A1 (en) * 2020-08-31 2022-03-03 Microsoft Technology Licensing, Llc Method to reduce blanking area for palm rejection in low cost in-cell displays
CN113835541A (en) * 2021-09-24 2021-12-24 青岛罗博数码科技有限公司 Detection and calculation method for handwriting dip correction of electromagnetic pen

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024087816A1 (en) * 2022-10-29 2024-05-02 荣耀终端有限公司 Accidental touch prevention method and device
CN117130496A (en) * 2023-04-24 2023-11-28 荣耀终端有限公司 Handwriting pen offset detection method and electronic equipment
CN117707353A (en) * 2023-07-12 2024-03-15 荣耀终端有限公司 Method and device for determining handwriting correction parameters of handwriting pen

Also Published As

Publication number Publication date
WO2024087816A1 (en) 2024-05-02
CN115686264B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN115686264B (en) False touch prevention method and equipment
US10162512B2 (en) Mobile terminal and method for detecting a gesture to control functions
EP2711825B1 (en) System for providing a user interface for use by portable and other devices
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
CN114461129B (en) Handwriting drawing method and device, electronic equipment and readable storage medium
US20180180744A1 (en) Mobile Terminal Control Method, Apparatus, and System
US20240053880A1 (en) Handwriting drawing method and apparatus, electronic device, and readable storage medium
CN104598048A (en) Digital pen writing control method and system
US10114496B2 (en) Apparatus for measuring coordinates and control method thereof
KR20140134940A (en) Mobile terminal and method for controlling touch screen and system threefor
CN206649483U (en) Stylus and touch control device
CN113867562B (en) Touch screen point reporting correction method and device and electronic equipment
US20140348334A1 (en) Portable terminal and method for detecting earphone connection
CN114995665A (en) Method for prompting pen point life of touch control pen, touch control pen and electronic equipment
WO2018166057A1 (en) Method and electronic device for outputting touch control signals
KR20150009833A (en) Mobile terminal and method for controlling place recognition
CN117032485B (en) Touch pen-based use method and device
CN116449980A (en) Information processing apparatus and control method
CN115421617A (en) Holding mode detection method, electronic device and storage medium
US11429191B2 (en) Input method and smart terminal device
WO2019183969A1 (en) Terminal display method, and terminal
US20230259222A1 (en) Electronic device for controlling operation of electronic pen device, operation method in electronic device, and non-transitory 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