CN113791725A - Touch pen operation identification method, intelligent terminal and computer readable storage medium - Google Patents

Touch pen operation identification method, intelligent terminal and computer readable storage medium Download PDF

Info

Publication number
CN113791725A
CN113791725A CN202110890754.9A CN202110890754A CN113791725A CN 113791725 A CN113791725 A CN 113791725A CN 202110890754 A CN202110890754 A CN 202110890754A CN 113791725 A CN113791725 A CN 113791725A
Authority
CN
China
Prior art keywords
touch
intelligent terminal
stylus
user
pen
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.)
Pending
Application number
CN202110890754.9A
Other languages
Chinese (zh)
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.)
Huizhou TCL Cloud Internet Corp Technology Co Ltd
Original Assignee
Huizhou TCL Cloud Internet Corp Technology 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 Huizhou TCL Cloud Internet Corp Technology Co Ltd filed Critical Huizhou TCL Cloud Internet Corp Technology Co Ltd
Priority to CN202110890754.9A priority Critical patent/CN113791725A/en
Publication of CN113791725A publication Critical patent/CN113791725A/en
Pending legal-status Critical Current

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Abstract

The invention discloses a touch control pen operation identification method, an intelligent terminal and a computer readable storage medium, wherein the method comprises the following steps: when the intelligent terminal detects that a user opens a drawing APP, the system informs a touch IC to enter a drawing mode, and the touch IC acquires touch information; the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch information; and if the current drawing operation of the user is the operation performed by the touch pen, the intelligent terminal responds to the current drawing operation of the user in a touch pen writing mode. According to the invention, when the intelligent terminal performs the drawing operation, the detected operation of the touch pen is only responded, so that the touch points caused by the touch of the fingers and the palm roots on the screen are inhibited, the effect of drawing influence by the fingers and the palm roots is avoided, and the user can use the intelligent terminal to perform the drawing operation more conveniently.

Description

Touch pen operation identification method, intelligent terminal and computer readable storage medium
Technical Field
The invention relates to the technical field of touch control of intelligent equipment, in particular to a touch control pen operation identification method, an intelligent terminal and a computer readable storage medium.
Background
The mobile terminal or called mobile communication terminal refers to a computer device which can be used in mobile, and broadly includes a mobile phone, a notebook, a tablet computer, a POS machine, and even a vehicle-mounted computer. But most often refer to cell phones or smart phones and tablets with multiple application functions. With the development of networks and technologies towards increasingly broader bands, the mobile communications industry will move towards a true mobile information age. On the other hand, with the rapid development of integrated circuit technology, the processing capability of the mobile terminal has already possessed strong processing capability, and the mobile terminal is changing from a simple conversation tool to an integrated information processing platform. This also adds more development space to mobile terminals.
Mobile terminals have been developed as simple communication devices with mobile communications for decades. From 2007, the gene mutation of the mobile terminal is intelligently triggered, and the traditional positioning of the terminal as a mobile network terminal is fundamentally changed. The mobile intelligent terminal is almost instantly changed into a key entrance and a main innovation platform of internet business, a novel media, electronic commerce and information service platform, the most important hub of internet resources, mobile network resources and environment interaction resources, and an operating system and a processor chip of the mobile intelligent terminal even become the strategic high points of the whole ICT industry at present. The subversive change caused by the mobile intelligent terminal opens the sequence of mobile internet industry development and opens a new technical industry period. With the continuous development of the mobile intelligent terminal, the influence of the mobile intelligent terminal is more extensive than that of a shoulder radio, a television and the internet (PC), and the mobile intelligent terminal becomes a 4 th terminal product which has wide penetration, rapid popularization and great influence and can reach the aspects of human social life historically.
With the explosive growth of smart phones and tablet phones, synchronous phone terminals have also promoted many applications, such as painting-type APPs with writing pens and high sensitivity. The finger operation has certain limitation, because the finger is thicker and is difficult to accurately write on a screen with smaller size, a handwriting pen is promoted, and the current application is wide, namely a passive capacitance touch pen (the capacitance touch pen on the current market is mainly divided into a passive capacitance type and an active capacitance type, the passive type is a touch effect simulating the finger, a pen point is made of a conductive material, such as conductive foam, metal and a hairbrush, as long as the pen point can sufficiently influence the capacitance change, the precision is low, the diameter of the pen point exceeds 6mm, the pen point uses soft rubber with good conductivity), and an active pen represented by apple iPad (circuit induction, the pen point can be used only by electricity, the precision is high, the diameter of the pen point is less than or equal to 3mm, and the pen point uses polyacetal).
When the screen is large, particularly when the screen is operated on a flat panel and a large-screen mobile phone, a user is used to operate the pen on the flat panel. If the palm root is not restrained, false touch and writing disconnection touch are easily generated during drawing operation (because some drawing APPs only recognize the touch ID0), as shown in fig. 1, when a user uses a stylus to perform drawing operation, the palm root contacts with the screen, so that the contact between the palm root and the screen also generates a touch track, namely the drawing track caused by the palm root in the circle below the palm root in fig. 1, but the drawing tracks are not wanted by the user, so that the user is very inconvenient to use.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The invention mainly aims to provide a touch pen operation identification method, an intelligent terminal and a computer readable storage medium, and aims to solve the problem that when a user uses a touch pen to perform drawing operation, the root of a palm can contact a screen, so that the contact between the root of the palm and the screen can also generate a touch track.
In order to achieve the above object, the present invention provides a method for identifying a stylus operation, including:
when the intelligent terminal detects that a user opens a drawing APP, the system informs a touch IC to enter a drawing mode, and the touch IC acquires touch information;
the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch information;
and if the current drawing operation of the user is the operation performed by the touch pen, the intelligent terminal responds to the current drawing operation of the user in a touch pen writing mode.
Optionally, the method for identifying a stylus operation, where when the smart terminal detects that a user opens a drawing APP, the system notifies a touch IC that a drawing mode has been entered, and the touch IC obtains touch information, before the method, the method further includes:
the intelligent terminal sets a touch control pen switch selection mode in a drawing APP in advance, defaults that the touch control pen switch is in an open state, and is in a touch control pen writing mode in the open state, and only supports touch control pen drawing operation in the touch control pen writing mode.
Optionally, the method for identifying a stylus operation includes determining a touch point coordinate, a touch area, and a touch change amount.
Optionally, the method for identifying a stylus operation, where when the intelligent terminal detects that a user opens a drawing APP, the system notifies a touch IC that a drawing mode has been entered, and the touch IC obtains touch information, specifically includes:
when the intelligent terminal detects that a user opens the drawing APP through touch, a system of the intelligent terminal informs the touch IC that a drawing mode is entered;
the touch IC acquires the touch point coordinate, the touch area and the touch change amount on a screen;
wherein the touch change amount represents a touch signal difference.
Optionally, the method for identifying a stylus operation, where the intelligent terminal determines, according to the touch information, whether a current drawing operation of a user is an operation performed by a stylus, specifically includes:
the intelligent terminal acquires the touch point coordinate, the touch area and the touch change quantity on a screen;
and the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch point coordinate, the touch area and the touch change amount.
Optionally, the method for identifying a stylus operation, where if the current drawing operation of the user is an operation performed by a stylus, the intelligent terminal responds to the current drawing operation of the user in a stylus writing mode, specifically including:
if the intelligent terminal detects that a plurality of touch point coordinates appear on the screen, a plurality of target touch objects exist on the screen and perform touch operation;
determining the target touch object with the smallest touch area and the smallest touch change amount as the stylus;
and the intelligent terminal only responds to the current drawing operation of the user through the touch pen in the touch pen writing mode.
Optionally, the method for identifying a stylus operation, where the intelligent terminal determines, according to the touch information, whether a current drawing operation of a user is an operation performed by a stylus pen, and then further includes:
if a plurality of target touch objects exist on the screen to perform touch operation, and the target touch object with the touch area and the touch change amount which are not the minimum is a finger or a palm root, the intelligent terminal does not respond to the current drawing operation of the user through the finger or the palm root in the stylus writing mode.
In addition, to achieve the above object, the present invention further provides a recognition system for a stylus operation, wherein the recognition system for a stylus operation includes:
the system comprises a touch information acquisition module, a drawing module and a drawing module, wherein the touch information acquisition module is used for informing a touch IC to enter a drawing mode when the intelligent terminal detects that a user opens a drawing APP, and the touch IC acquires touch information;
the touch pen judging module is used for judging whether the current drawing operation of the user is the operation performed by the touch pen or not by the intelligent terminal according to the touch information;
and the touch drawing response module is used for responding the current drawing operation of the user in a stylus writing mode if the current drawing operation of the user is the operation performed by a stylus.
In addition, to achieve the above object, the present invention further provides an intelligent terminal, wherein the intelligent terminal includes: the touch control system comprises a memory, a processor and a touch control pen operation identification program stored on the memory and capable of running on the processor, wherein the touch control pen operation identification program realizes the steps of the touch control pen operation identification method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores a stylus operation recognition program, and the stylus operation recognition program, when executed by a processor, implements the steps of the method for recognizing a stylus operation as described above.
In the invention, when an intelligent terminal detects that a user opens a drawing APP, a system informs a touch IC to enter a drawing mode, and the touch IC acquires touch information; the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch information; and if the current drawing operation of the user is the operation performed by the touch pen, the intelligent terminal responds to the current drawing operation of the user in a touch pen writing mode. According to the invention, when the intelligent terminal performs the drawing operation, the detected operation of the touch pen is only responded, so that the touch points caused by the touch of the fingers and the palm roots on the screen are inhibited, the effect of drawing influence by the fingers and the palm roots is avoided, and the user can use the intelligent terminal to perform the drawing operation more conveniently.
Drawings
FIG. 1 is a diagram illustrating a palm root trace generated by a palm root without touch during a drawing operation performed by a stylus in the prior art;
FIG. 2 is a flowchart illustrating a preferred embodiment of a method for identifying stylus operation according to the present invention;
FIG. 3 is a schematic diagram illustrating a method for identifying stylus operations according to an embodiment of the present invention, in which a stylus switch selection mode is set in a drawing APP and a stylus switch is default to an on state;
FIG. 4 is a flowchart of step S10 in the preferred embodiment of the method for identifying stylus operation of the present invention;
FIG. 5 is a flowchart of step S20 in the preferred embodiment of the method for identifying stylus operation of the present invention;
FIG. 6 is a flowchart of step S30 in the preferred embodiment of the method for identifying stylus operation of the present invention;
FIG. 7 is a schematic diagram of a stylus touch area and a touch change amount in a preferred embodiment of the method for identifying a stylus operation according to the present invention;
FIG. 8 is a diagram illustrating a finger touch area and a touch variation amount according to a preferred embodiment of the present invention;
FIG. 9 is a schematic diagram of a preferred embodiment of a stylus-operated recognition system of the present invention;
fig. 10 is a schematic operating environment diagram of an intelligent terminal according to a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 2, the method for identifying a stylus operation according to a preferred embodiment of the present invention includes the following steps:
step S10, when the intelligent terminal detects that the user opens the drawing APP, the system informs the touch IC that the drawing mode is entered, and the touch IC acquires touch information.
The touch control pen operation identification method is applied to an intelligent terminal, is used for enabling a user to start a drawing APP by using the intelligent terminal and perform drawing operation through a touch control pen, and is mainly applied to intelligent viewing equipment, such as a tablet personal computer, an intelligent mobile phone and an intelligent outdoor large screen.
Before the step S10, the method further includes: the intelligent terminal sets a touch control pen switch selection mode in a drawing APP in advance, defaults that the touch control pen switch is in an open state, and is in a touch control pen writing mode in the open state, and only supports touch control pen drawing operation in the touch control pen writing mode. As shown in fig. 3, when the intelligent terminal starts the drawing APP, a "stylus only mode" stylus drawing button is added, the drawing APP is started by default and only supports stylus drawing operation, that is, the stylus switch is in an on state by default, the button displays a highlight state, and when the button is clicked, the highlight state disappears, that is, the drawing APP can enter a hand and pen touch mode, that is, after the setting is completed, the intelligent terminal starts the drawing APP again and then defaults to a stylus writing mode by default.
Please refer to fig. 4, which is a flowchart of step S10 in the method for identifying stylus operation according to the present invention.
As shown in fig. 4, the step S10 includes:
s11, when the intelligent terminal detects that the drawing APP is opened by the touch of a user, the system of the intelligent terminal informs the touch IC that the drawing mode is entered;
s12, the touch IC acquires the coordinates of the touch point, the touch area, and the amount of change in touch on the screen.
Specifically, the touch information includes touch point coordinates representing contact point coordinates of the target touch object on the screen, a touch area representing an area touched by the target touch object on the screen, and a touch change amount representing a touch signal difference value (Diff). When the intelligent terminal detects that a user opens the drawing APP through touch operation, a system of the intelligent terminal informs the touch IC to enter a drawing mode, and the touch technology refers herein specifically to single-point or multi-point touch technology, IC is an integrated circuit, which is a general term for semiconductor element products, and includes: integrated Circuit (IC), two, triode, special electronic element, etc., touch IC is a finger touch chip, the touch IC usually supports a wide working voltage range, a high resolution touch detection module and a special signal processing circuit are integrated inside to ensure that the IC has sensitive automatic identification and tracking functions to environmental change, and special algorithm is built in to realize the requirements of water resistance, interference resistance, etc.; the touch IC acquires the touch point coordinates, the touch area and the touch change amount of a target touch object operation on a screen of the intelligent terminal.
And step S20, the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch information.
Please refer to fig. 5, which is a flowchart of step S20 in the method for identifying stylus operation according to the present invention.
As shown in fig. 5, the step S20 includes:
s21, the intelligent terminal acquires the touch point coordinates, the touch area and the touch change quantity on the screen;
and S22, the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch point coordinate, the touch area and the touch change amount.
Specifically, as can be seen from the above description, the touch information includes a touch point coordinate, a touch area, and a touch change amount, and then the smart terminal may obtain the touch point coordinate, the touch area, and the touch change amount on the screen; and the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch point coordinate, the touch area and the touch change amount. Because the target touch object may include a stylus, a finger, and a palm root, and the touch point coordinates, the touch area, and the touch change amount represented by the operation of different target touch objects on the smart device are different and have a large difference, because the contact sizes of the stylus, the finger, and the palm root are different, the touch point coordinates are obviously different, the touch area and the touch change amount of the finger, the palm root are obviously larger than the stylus, and the touch area and the touch change amount of the palm root are also larger than the finger, the smart terminal may determine whether the current drawing operation of the user is an operation performed by the stylus according to the detected touch point coordinates, the touch area, and the touch change amount.
And step S30, if the current drawing operation of the user is an operation performed by a touch pen, the intelligent terminal responds to the current drawing operation of the user in a touch pen writing mode.
Please refer to fig. 6, which is a flowchart of step S30 in the method for identifying stylus operation according to the present invention.
As shown in fig. 6, the step S30 includes:
s31, if the intelligent terminal detects that a plurality of touch point coordinates appear on the screen, a plurality of target touch objects exist on the screen for touch operation;
s32, determining the target touch object with the smallest touch area and the smallest touch change amount as the stylus;
and S33, the intelligent terminal only responds to the current drawing operation of the user through the touch pen in the touch pen writing mode.
Specifically, when the smart terminal determines whether the current drawing operation of the user is performed by the stylus pen according to the touch point coordinates, the touch area, and the touch change amount, if the smart terminal detects that a plurality of touch point coordinates (e.g. 3 touch points) appear on the screen, then a plurality of target touch objects (e.g. 3 target touch objects are stylus pen, finger, and palm root, respectively) exist on the screen for performing the touch operation, and the target touch object with the smallest touch area and the smallest touch change amount (i.e. stylus pen, because the touch area and the touch change amount of the stylus pen are smallest among the stylus pen, finger, and palm root) is determined as the stylus pen, and the smart terminal only responds to the current drawing operation of the user by the stylus pen in the stylus writing mode, thereby suppressing the influence of the fingers and palm roots on the drawing operation.
That is, if a plurality of target touch objects exist on the screen and touch operation is performed on the screen, and the target touch object with the touch area and the touch change amount that are not the smallest is a finger or a palm root (the target touch object with the touch area and the touch change amount that are the smallest is a stylus), the smart terminal does not respond to the drawing operation currently performed by the user through the finger or the palm root in the stylus writing mode, so that large-area touch of the finger, the palm root (palm) and the like is suppressed.
Or the icon highlight state disappears after the only pen mode touch pen drawing button is closed, the drawing APP can respond to the touch events reported by the touch pen and the normal finger, and if the finger and the touch pen operate on the drawing APP at the same time, the drawing APP preferentially responds to the touch ID touched first. At this time, the touch coordinate drawing APP generated in a large area such as palm root and palm part does not respond, so that large area touch such as palm root and palm root is inhibited.
Further, as shown in fig. 7, the touch operation of the stylus pen in the drawing APP is shown, and usually the touch change amount (Diff value) of the stylus pen is small (assuming that the touch threshold is 50), and if the touch change amount is smaller than 50, it is considered that the stylus pen is performing the touch operation, and similarly, the touch area of the stylus pen performing the touch operation is small, for example, the touch area is 3.
Further, as shown in fig. 8, it shows that the normal touch operation of the finger on the drawing APP is performed, and the touch change amount (Diff value) of the finger is usually large (assuming that the touch threshold is 50), and if the touch change amount is larger than 50, it is considered that the finger is performing the touch operation, and similarly, the touch area of the finger performing the touch operation is larger than that of the touch pen, for example, the touch area is 9. The amount of touch change (Diff value) of the palm root is generally large and takes a shape of a large area (larger than that of a finger), and the touch area is also large (generally, the area is greater than 14).
In the invention, the system is also simpler to realize: the APP interface end sets up Touch pen drawing mode, and intelligent terminal system gives Touch IC issue the order, and Touch IC also can come the Touch parameter under the different scenes of adaptation, and Touch-control experience is more sensitive during the stylus mode, writes more smoothly, and it is also more convenient to palm root portion suppression simultaneously.
According to the method, the touch control writing pen and the normal finger are identified according to the touch control signal difference when the hand and the pen are respectively operated, the contact area of the touch control writing pen is small, the pen and the hand can be effectively distinguished through the size of the touch control point area, when the drawing APP operation is opened, the system informs the touch control IC that the drawing mode is entered, and the touch control IC reports the information of the contact coordinate, the area and the like; a stylus writing mode (default automatic opening) is synchronously added into a drawing APP, the drawing APP only responds to a stylus (the stylus has a small touch control surface and a small touch control change amount) in the mode, touch control points caused by the fact that fingers and palm roots contact a mobile phone are effectively restrained, and when the stylus writing mode is selected to be closed, the drawing APP can respond to the stylus and draw pictures through normal fingers, and the out-pointing caused by large areas such as the palm roots is restrained.
In order to solve the problem of drawing APP false response caused by the fact that a user places a flat plate with a pen on the palm and the hands such as the palm and the palm root are in large contact, a touch control pen switch selection mode (default on) is provided for the drawing APP, when the drawing APP enters a drawing scene mode, a touch control IC reports information such as contact coordinates, area and Diff value, the drawing APP responds to the touch control pen or the hand pen in the current switch mode and is used for drawing at the same time, large-area contact points such as the palm and the palm root are restrained, and writing experience can be effectively improved.
Further, as shown in fig. 9, based on the above method for identifying a stylus operation, the present invention also provides a system for identifying a stylus operation, wherein the system for identifying a stylus operation includes:
the touch information acquisition module 51 is used for notifying the touch IC that the drawing mode is entered when the intelligent terminal detects that the drawing APP is opened by the user, and the touch IC acquires touch information;
a touch pen judging module 52, configured to judge, by the intelligent terminal according to the touch information, whether a current drawing operation of the user is an operation performed by a touch pen;
and a touch drawing response module 53, configured to, if the current drawing operation of the user is an operation performed by a stylus, respond to the current drawing operation of the user by the intelligent terminal in a stylus writing mode.
Further, as shown in fig. 10, based on the above method for identifying a stylus operation, the present invention also provides an intelligent terminal, which includes a processor 10, a memory 20, and a display 30. Fig. 10 shows only some of the components of the smart terminal, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 20 may be an internal storage unit of the intelligent terminal in some embodiments, such as a hard disk or a memory of the intelligent terminal. The memory 20 may also be an external storage device of the Smart terminal in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the Smart terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the smart terminal. The memory 20 is used for storing application software installed in the intelligent terminal and various data, such as program codes of the installed intelligent terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores a stylus operation recognition program 40, and the stylus operation recognition program 40 can be executed by the processor 10, so as to implement the method for recognizing the stylus operation in the present application.
The processor 10 may be a Central Processing Unit (CPU), microprocessor or other data Processing chip in some embodiments, and is used for executing program codes stored in the memory 20 or Processing data, such as executing the identification method of the stylus operation.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 30 is used for displaying information at the intelligent terminal and for displaying a visual user interface. The components 10-30 of the intelligent terminal communicate with each other via a system bus.
In one embodiment, when the processor 10 executes the recognition program 40 for the stylus operation in the memory 20, the following steps are implemented:
when the intelligent terminal detects that a user opens a drawing APP, the system informs a touch IC to enter a drawing mode, and the touch IC acquires touch information;
the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch information;
and if the current drawing operation of the user is the operation performed by the touch pen, the intelligent terminal responds to the current drawing operation of the user in a touch pen writing mode.
Wherein, when the intelligent terminal detects that the user opens drawing APP, the system notifies the touch IC to enter the drawing mode, the touch IC acquires the touch information, and the method comprises the following steps:
the intelligent terminal sets a touch control pen switch selection mode in a drawing APP in advance, defaults that the touch control pen switch is in an open state, and is in a touch control pen writing mode in the open state, and only supports touch control pen drawing operation in the touch control pen writing mode.
The touch information comprises touch point coordinates, a touch area and a touch change amount.
Wherein, when intelligent terminal detects that the user opens drawing type APP, the system notifies the touch IC to have entered the drawing mode, the touch IC acquires the touch information, specifically includes:
when the intelligent terminal detects that a user opens the drawing APP through touch, a system of the intelligent terminal informs the touch IC that a drawing mode is entered;
the touch IC acquires the touch point coordinate, the touch area and the touch change amount on a screen;
wherein the touch change amount represents a touch signal difference.
The intelligent terminal judges whether the current drawing operation of the user is an operation performed through a touch pen according to the touch information, and specifically includes:
the intelligent terminal acquires the touch point coordinate, the touch area and the touch change quantity on a screen;
and the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch point coordinate, the touch area and the touch change amount.
Wherein, if the current drawing operation of the user is an operation performed by a stylus, the intelligent terminal responds to the current drawing operation of the user in a stylus writing mode, and specifically includes:
if the intelligent terminal detects that a plurality of touch point coordinates appear on the screen, a plurality of target touch objects exist on the screen and perform touch operation;
determining the target touch object with the smallest touch area and the smallest touch change amount as the stylus;
and the intelligent terminal only responds to the current drawing operation of the user through the touch pen in the touch pen writing mode.
The intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch information, and then the intelligent terminal further comprises:
if a plurality of target touch objects exist on the screen to perform touch operation, and the target touch object with the touch area and the touch change amount which are not the minimum is a finger or a palm root, the intelligent terminal does not respond to the current drawing operation of the user through the finger or the palm root in the stylus writing mode.
The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a stylus operation recognition program, and the stylus operation recognition program implements the above-mentioned steps of the stylus operation recognition method when executed by a processor.
In summary, the present invention provides a method for identifying a stylus operation, an intelligent terminal and a computer-readable storage medium, where the method includes: when the intelligent terminal detects that a user opens a drawing APP, the system informs a touch IC to enter a drawing mode, and the touch IC acquires touch information; the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch information; and if the current drawing operation of the user is the operation performed by the touch pen, the intelligent terminal responds to the current drawing operation of the user in a touch pen writing mode. According to the invention, when the intelligent terminal performs the drawing operation, the detected operation of the touch pen is only responded, so that the touch points caused by the touch of the fingers and the palm roots on the screen are inhibited, the effect of drawing influence by the fingers and the palm roots is avoided, and the user can use the intelligent terminal to perform the drawing operation more conveniently.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The computer readable storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for identifying a stylus operation, the method comprising:
when the intelligent terminal detects that a user opens a drawing APP, the system informs a touch IC to enter a drawing mode, and the touch IC acquires touch information;
the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch information;
and if the current drawing operation of the user is the operation performed by the touch pen, the intelligent terminal responds to the current drawing operation of the user in a touch pen writing mode.
2. The method for identifying the touch pen operation according to claim 1, wherein when the smart terminal detects that the user opens the drawing APP, the system notifies the touch IC that the drawing mode has been entered, and the touch IC obtains the touch information, and before the method further comprises:
the intelligent terminal sets a touch control pen switch selection mode in a drawing APP in advance, defaults that the touch control pen switch is in an open state, and is in a touch control pen writing mode in the open state, and only supports touch control pen drawing operation in the touch control pen writing mode.
3. The method of claim 1, wherein the touch information includes touch point coordinates, a touch area, and a touch change amount.
4. The method according to claim 3, wherein when the smart terminal detects that the user opens the drawing APP, the system notifies the touch IC that the drawing mode has been entered, and the touch IC obtains touch information, specifically including:
when the intelligent terminal detects that a user opens the drawing APP through touch, a system of the intelligent terminal informs the touch IC that a drawing mode is entered;
the touch IC acquires the touch point coordinate, the touch area and the touch change amount on a screen;
wherein the touch change amount represents a touch signal difference.
5. The method for identifying a stylus operation according to claim 4, wherein the intelligent terminal determines whether the current drawing operation of the user is an operation performed by a stylus pen according to the touch information, and specifically includes:
the intelligent terminal acquires the touch point coordinate, the touch area and the touch change quantity on a screen;
and the intelligent terminal judges whether the current drawing operation of the user is the operation performed by the touch pen according to the touch point coordinate, the touch area and the touch change amount.
6. The method for identifying a stylus operation according to claim 5, wherein if the current drawing operation of the user is an operation performed by a stylus, the intelligent terminal responds to the current drawing operation of the user in a stylus writing mode, specifically comprising:
if the intelligent terminal detects that a plurality of touch point coordinates appear on the screen, a plurality of target touch objects exist on the screen and perform touch operation;
determining the target touch object with the smallest touch area and the smallest touch change amount as the stylus;
and the intelligent terminal only responds to the current drawing operation of the user through the touch pen in the touch pen writing mode.
7. The method for identifying the stylus operation according to claim 5, wherein the intelligent terminal determines whether the current drawing operation of the user is an operation performed by a stylus pen according to the touch information, and then further comprises:
if a plurality of target touch objects exist on the screen to perform touch operation, and the target touch object with the touch area and the touch change amount which are not the minimum is a finger or a palm root, the intelligent terminal does not respond to the current drawing operation of the user through the finger or the palm root in the stylus writing mode.
8. A stylus-operated recognition system, comprising:
the system comprises a touch information acquisition module, a drawing module and a drawing module, wherein the touch information acquisition module is used for informing a touch IC to enter a drawing mode when the intelligent terminal detects that a user opens a drawing APP, and the touch IC acquires touch information;
the touch pen judging module is used for judging whether the current drawing operation of the user is the operation performed by the touch pen or not by the intelligent terminal according to the touch information;
and the touch drawing response module is used for responding the current drawing operation of the user in a stylus writing mode if the current drawing operation of the user is the operation performed by a stylus.
9. An intelligent terminal, characterized in that, intelligent terminal includes: memory, a processor and a stylus operation recognition program stored on the memory and executable on the processor, the stylus operation recognition program, when executed by the processor, implementing the steps of the method of stylus operation recognition according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a stylus operation recognition program, which when executed by a processor implements the steps of the stylus operation recognition method according to any one of claims 1 to 7.
CN202110890754.9A 2021-08-04 2021-08-04 Touch pen operation identification method, intelligent terminal and computer readable storage medium Pending CN113791725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110890754.9A CN113791725A (en) 2021-08-04 2021-08-04 Touch pen operation identification method, intelligent terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110890754.9A CN113791725A (en) 2021-08-04 2021-08-04 Touch pen operation identification method, intelligent terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113791725A true CN113791725A (en) 2021-12-14

Family

ID=79181384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110890754.9A Pending CN113791725A (en) 2021-08-04 2021-08-04 Touch pen operation identification method, intelligent terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113791725A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024066896A1 (en) * 2022-09-29 2024-04-04 荣耀终端有限公司 Touch control method and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968206A (en) * 2011-08-31 2013-03-13 三星电子株式会社 A portable apparatus and an input method of a portable apparatus
CN107045408A (en) * 2017-04-14 2017-08-15 广州华欣电子科技有限公司 Touch control method, smart pen, touch control identification method, apparatus and system
CN112639696A (en) * 2018-09-04 2021-04-09 深圳市柔宇科技股份有限公司 Handwriting board, handwriting board device and writing control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968206A (en) * 2011-08-31 2013-03-13 三星电子株式会社 A portable apparatus and an input method of a portable apparatus
CN107045408A (en) * 2017-04-14 2017-08-15 广州华欣电子科技有限公司 Touch control method, smart pen, touch control identification method, apparatus and system
CN112639696A (en) * 2018-09-04 2021-04-09 深圳市柔宇科技股份有限公司 Handwriting board, handwriting board device and writing control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024066896A1 (en) * 2022-09-29 2024-04-04 荣耀终端有限公司 Touch control method and electronic device

Similar Documents

Publication Publication Date Title
CN106775420B (en) Application switching method and device and graphical user interface
CN101963863B (en) User touch operation mode self-adapting method and device
CN106681635B (en) Split screen false touch prevention method and device and mobile terminal
CN107077295A (en) A kind of method, device, electronic equipment, display interface and the storage medium of quick split screen
EP3336677A1 (en) Method and apparatus for controlling touch screen of terminal, and terminal
CN105094654B (en) Screen control method and device
AU2013201063A1 (en) Hybrid touch screen device and method for operating the same
CN109062464B (en) Touch operation method and device, storage medium and electronic equipment
JP2015535626A (en) Gesture conversation processing method, apparatus, terminal device, program, and recording medium
US9189152B2 (en) Touch device and method for dynamically setting touch inactive area, and non-transitory recording medium
CN107357458B (en) Touch key response method and device, storage medium and mobile terminal
CA2846482A1 (en) Method of providing of user interface in portable terminal and apparatus thereof
US20150370403A1 (en) Electronic apparatus and method for operating thereof
CN108846271B (en) Device control method, device, storage medium and electronic device
KR20150098424A (en) Method and apparatus for processing input of electronic device
CN108845752A (en) touch operation method, device, storage medium and electronic equipment
CN105183277A (en) Screen switching method and mobile terminal
CN109165075A (en) Application display method, device, electronic equipment and storage medium
WO2016173307A1 (en) Message copying method and device, and smart terminal
CN104182120B (en) The display methods and display device of screen interface
US20190258391A1 (en) Terminal and Application Switching Method for Terminal
CN113791725A (en) Touch pen operation identification method, intelligent terminal and computer readable storage medium
CN113176831A (en) Touch pen, setting method and setting device
CN105549828A (en) Electronic device with touch display screen and information processing method thereof
EP3528103A1 (en) Screen locking method, terminal and screen locking device

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