CN111949146A - Shortcut function calling method and device for touch pen, touch pen and storage medium - Google Patents

Shortcut function calling method and device for touch pen, touch pen and storage medium Download PDF

Info

Publication number
CN111949146A
CN111949146A CN202010816436.3A CN202010816436A CN111949146A CN 111949146 A CN111949146 A CN 111949146A CN 202010816436 A CN202010816436 A CN 202010816436A CN 111949146 A CN111949146 A CN 111949146A
Authority
CN
China
Prior art keywords
stylus
shortcut function
operation signal
type
touch
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
CN202010816436.3A
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.)
Shenzhen Microphone Holdings Co Ltd
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings 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 Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN202010816436.3A priority Critical patent/CN111949146A/en
Publication of CN111949146A publication Critical patent/CN111949146A/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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • 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
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware

Abstract

The application discloses a method and a device for calling a shortcut function of a touch pen, the touch pen and a storage medium, wherein the method for calling the shortcut function of the touch pen enables a user to carry out various operations on an intelligent key by arranging the intelligent key which can be touched in the touch pen; through receiving that the stylus sent, the user is based on the generated button operation signal of this intelligence button, and output the swift functional information that this signal corresponds, make the user only operate on the intelligence button can directly use various swift functions that preset, avoided the user frequently to open and close relevant application interface and carry out the switching of writing the instrument or the setting of writing at the in-process that uses the stylus to write, reduced user operation, operating time has been shortened, writing efficiency when having promoted the user and using the stylus.

Description

Shortcut function calling method and device for touch pen, touch pen and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for invoking a shortcut function of a stylus, and a storage medium.
Background
With the rapid development of the stylus technology, various styli have been widely used in daily life of people, and people can conveniently write or draw on electronic devices such as a tablet by using the stylus. However, the touch pen in the market at present can only realize a single shortcut function. For example, the keys in the touch pen with keys only support the short-press and long-press functions, and the user can open or close the floating window by pressing the keys for a short time; the long press of the key can switch the brush and the eraser during writing. In the process of drawing by using the touch pen, a user may need to repeatedly switch and adjust objects such as the type of the pen, the thickness of handwriting and the like, and the objects can be manually switched in the application, so that the technical problem of poor convenience in writing by using the existing touch pen is caused.
The above is only for the purpose of assisting understanding of the technical solutions of the present application, and does not represent an admission that the above is prior art.
Disclosure of Invention
The main objective of the present application is to provide a method for calling a shortcut function of a stylus pen, which aims to solve the technical problem of poor convenience in writing with the existing stylus pen.
In order to achieve the above object, the present application provides a method for calling a shortcut function of a stylus, where the method for calling a shortcut function of a stylus is applied to a mobile terminal, and the method for calling a shortcut function of a stylus includes the following steps:
receiving a key operation signal sent by the stylus, wherein the key operation signal is generated based on the operation of a user on the intelligent key;
and identifying the type of the key operation signal, and outputting corresponding shortcut function information according to the type of the key operation signal.
Optionally, the key operation signal sent by the stylus pen is received only when the target screen device is matched with the stylus pen.
Optionally, the type of the key operation signal is a gesture touch type,
the step of identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal includes:
and identifying that the type of the key operation signal is the gesture touch type, and outputting first shortcut function information according to the gesture touch type.
Optionally, the type of the key operation signal is a pressing operation type,
the step of identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal includes:
and identifying the type of the key operation signal as the pressing operation type, and outputting second shortcut function information according to the pressing operation type.
Optionally, before the step of receiving the key operation signal sent by the stylus, the method further includes:
judging whether a signal sent by the stylus meets a preset condition, wherein the preset condition is at least one of the following conditions: continuously identifying a signal sent by the touch pen within a preset time length, or identifying a signal sent by the touch pen in a preset area of a screen;
if so, judging that the target screen equipment is matched with the touch pen, and starting the use permission of the shortcut function;
and/or if the condition is not met, judging that the target screen equipment is not matched with the touch pen, and closing the use permission of the shortcut function.
Optionally, if yes, it is determined that the target screen device is matched with the stylus, and the step of starting the shortcut function permission includes:
if yes, judging whether the touch pen is in a suspension state or not according to the signal;
if the touch pen is in a suspension state, judging that the target screen equipment is matched with the touch pen, and starting the use permission of the shortcut function;
and/or if the touch control pen is not in a suspension state, judging that the target screen equipment is not matched with the touch control pen, and closing the use permission of the shortcut function.
Optionally, after the step of identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal, the method further includes:
when an action operation signal sent by the stylus is received, outputting third shortcut function information corresponding to the action operation signal based on a preset rule, and optionally, generating the action operation signal based on an action of shaking or rotating the stylus by a user.
Optionally, the output mode of the shortcut function information is information interface display output and/or voice output.
In addition, for realizing above-mentioned purpose, this application still provides a device is called to swift function of stylus, but be equipped with the intelligent button of touch-control in the stylus, the device is called to swift function of stylus includes:
the operation signal receiving module is used for receiving a key operation signal sent by the stylus, wherein the key operation signal is generated based on the operation of a user on the intelligent key;
optionally, the key operation signal sent by the stylus pen is received only when the device is matched with the stylus pen.
And the function information output module is used for identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal.
Optionally, the function information output module includes:
and the first information output unit is used for identifying that the type of the key operation signal is the gesture touch type and outputting first shortcut function information according to the gesture touch type.
Optionally, the function information output module includes:
and the second information output unit is used for identifying that the type of the key operation signal is the pressing operation type and outputting second shortcut function information according to the pressing operation type.
Optionally, the apparatus for calling a shortcut function of a stylus further includes:
the matching judgment module is used for judging whether the signal sent by the touch pen is continuously identified within a preset time length and/or whether the signal sent by the touch pen is identified in a preset area of a screen;
the matching result module is used for judging that the target screen equipment is matched with the touch pen and starting the use permission of the shortcut function if the matching result is met;
and/or if the condition is not met, judging that the target screen equipment is not matched with the touch pen, and closing the use permission of the shortcut function.
Optionally, the matching result module further includes:
the state judgment unit is used for judging whether the touch pen is in a suspension state or not according to the signal if the touch pen is in the suspension state;
the state judgment unit is used for judging that the target screen equipment is matched with the touch pen and starting the use permission of the shortcut function if the touch pen is in a suspension state;
and/or if the touch control pen is not in a suspension state, judging that the target screen equipment is not matched with the touch control pen, and closing the use permission of the shortcut function.
Optionally, the apparatus for calling a shortcut function of a stylus further includes:
and the third information output module is used for outputting third shortcut function information corresponding to the action operation signal based on a preset rule when the action operation signal sent by the stylus is received, and optionally, the action operation signal is generated based on the action of shaking or rotating the stylus by a user.
Optionally, the function information output module includes:
and the information output unit is used for outputting the shortcut function information in an information interface display output mode and/or a voice output mode.
In addition, to achieve the above object, the present application also provides a stylus pen, including: the touch control method comprises a touch control intelligent key, a memory, a processor and a quick function calling program of the touch control pen, wherein the quick function calling program of the touch control pen is stored on the memory and can run on the processor, and when being executed by the processor, the steps of the quick function calling method of the touch control pen are realized.
In addition, to achieve the above object, the present application further provides a computer-readable storage medium, where a shortcut function calling program of a stylus is stored, and when the shortcut function calling program of the stylus is executed by a processor, the steps of the shortcut function calling method of the stylus are implemented.
The application provides a method and a device for calling a shortcut function of a stylus, the stylus and a computer-readable storage medium. The shortcut function calling method of the touch pen receives a key operation signal sent by the touch pen, wherein the key operation signal is generated based on the operation of a user on the intelligent key; and identifying the type of the key operation signal, and outputting corresponding shortcut function information according to the type of the key operation signal. Through the mode, the touch pen is provided with the touch intelligent key, so that a user can perform various operations on the touch intelligent key; through receiving the stylus and sending, the user is based on the key operation signal that this intelligence button generated, and output the swift functional information that this signal corresponds, make the user only operate on the intelligence button can directly use various swift functions that preset, avoided the user frequently to open and close the switching that relevant application interface carried out writing instrument or the setting of writing at the in-process that uses the stylus to write, user operation has been reduced, operating time has been shortened, write efficiency when having promoted the user and using the stylus, thereby solved and used current stylus to carry out the poor technical problem of convenience of writing.
Drawings
Fig. 1 is a schematic structural diagram of a mobile terminal in a hardware operating environment according to an embodiment of the present application;
fig. 2 is a communication network system architecture diagram according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a first embodiment of a shortcut function calling method of a stylus according to the present application;
FIG. 4 is a flowchart illustrating a shortcut function calling method of a stylus according to a second embodiment of the present application;
fig. 5 is a schematic diagram of an intelligent key in the stylus pen of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present application may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application.
The terminal in the embodiment of the application may be a PC, or may be a mobile terminal device having a display function, such as a smart phone, a tablet computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 3) player, a portable computer, or the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a shortcut function calling program of a stylus pen.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a shortcut function calling program of the stylus stored in the memory 1005, and perform the following operations:
receiving a key operation signal sent by the stylus, wherein the key operation signal is generated based on the operation of a user on the intelligent key;
and identifying the type of the key operation signal, and outputting corresponding shortcut function information according to the type of the key operation signal.
Optionally, the key operation signal sent by the stylus pen is received only when the target screen device is matched with the stylus pen.
Further, the processor 1001 may call a shortcut function calling program of the stylus stored in the memory 1005, and also perform the following operations:
and identifying that the type of the key operation signal is the gesture touch type, and outputting first shortcut function information according to the gesture touch type.
Further, the processor 1001 may call a shortcut function calling program of the stylus stored in the memory 1005, and also perform the following operations:
and identifying the type of the key operation signal as the pressing operation type, and outputting second shortcut function information according to the pressing operation type.
Further, the processor 1001 may call a shortcut function calling program of the stylus stored in the memory 1005, and also perform the following operations:
judging whether a signal sent by the stylus meets a preset condition, wherein the preset condition is at least one of the following conditions: continuously identifying a signal sent by the touch pen within a preset time length, or identifying a signal sent by the touch pen in a preset area of a screen;
if so, judging that the target screen equipment is matched with the touch pen, and starting the use permission of the shortcut function;
and/or if the condition is not met, judging that the target screen equipment is not matched with the touch pen, and closing the use permission of the shortcut function.
Further, the processor 1001 may call a shortcut function calling program of the stylus stored in the memory 1005, and also perform the following operations:
if yes, judging whether the touch pen is in a suspension state or not according to the signal;
if the touch pen is in a suspension state, judging that the target screen equipment is matched with the touch pen, and starting the use permission of the shortcut function;
and/or if the touch control pen is not in a suspension state, judging that the target screen equipment is not matched with the touch control pen, and closing the use permission of the shortcut function.
Further, the processor 1001 may call a shortcut function calling program of the stylus stored in the memory 1005, and also perform the following operations:
when an action operation signal sent by the stylus is received, outputting third shortcut function information corresponding to the action operation signal based on a preset rule, and optionally, generating the action operation signal based on an action of shaking or rotating the stylus by a user.
Further, the processor 1001 may call a shortcut function calling program of the stylus stored in the memory 1005, and also perform the following operations:
the output mode of the shortcut function information is information interface display output and/or voice output.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, various embodiments of the present application are provided.
With the rapid development of the stylus technology, various styli have been widely used in daily life of people, and people can conveniently write or draw on electronic devices such as a tablet by using the stylus. However, the touch pen in the market at present can only realize a single shortcut function. For example, the keys in the touch pen with keys only support the short-press and long-press functions, and the user can open or close the floating window by pressing the keys for a short time; the long press of the key can switch the brush and the eraser during writing. In the process of drawing by using the touch pen, a user may need to repeatedly switch and adjust objects such as the type of the pen, the thickness of handwriting and the like, and the objects can be manually switched in the application, so that the technical problem of poor convenience in writing by using the existing touch pen is caused.
In order to solve the above problems, the present application provides a method for invoking a shortcut function of a stylus, which is to set a touch-enabled smart key in the stylus so that a user can perform various operations on the smart key; through receiving the stylus and sending, the user is based on the key operation signal that this intelligence button generated, and output the swift functional information that this signal corresponds, make the user only operate on the intelligence button can directly use various swift functions that preset, avoided the user frequently to open and close the switching that relevant application interface carried out writing instrument or the setting of writing at the in-process that uses the stylus to write, user operation has been reduced, operating time has been shortened, write efficiency when having promoted the user and using the stylus, thereby solved and used current stylus to carry out the poor technical problem of convenience of writing. The shortcut function calling method of the touch pen is applied to the touch pen and screen equipment of the key to be intelligently pressed.
Referring to fig. 3, fig. 3 is a flowchart illustrating a shortcut function calling method of a stylus according to a first embodiment.
A first embodiment of the present application provides a method for calling a shortcut function of a stylus, where the method for calling a shortcut function of a stylus includes the following steps:
step S10, receiving a key operation signal sent by the stylus, wherein the key operation signal is generated based on the operation of a user on the intelligent key;
optionally, the key operation signal sent by the stylus pen is received only when the target screen device is matched with the stylus pen.
In this embodiment, the shortcut function calling method of the stylus is applied to a writing process of the stylus on the target screen device, and the writing process is not limited to a process of writing characters, and may also be a process of operations such as drawing. The touch pen is provided with a touch intelligent key, and a user can press, slide and the like on the key. The target screen device is a device that can receive the signal sent by the stylus and respond, and is usually a mobile phone, a tablet, a computer, etc. with a touch screen. In general, the target screen device can normally receive the signal sent by the stylus only when the stylus is within a certain distance range from the touch screen of the target screen device, so that the target screen device and the stylus can complete matching when the target screen device normally receives the signal sent by the stylus. The key operation signal may include a gesture touch signal, a pressing operation signal, and the like. Specifically, when a user is using the stylus to prepare for drawing on a screen close to a tablet, when the distance between the stylus and the screen is within a certain range, the screen can receive a signal sent by the stylus, that is, can respond to the signal of the stylus, so that the user can draw on the screen. And if the user switches the brush type at the moment, making an upward stroke gesture on the intelligent key of the touch pen, and sending a key operation signal to the screen by the touch pen according to the upward stroke gesture.
And step S20, identifying the type of the key operation signal, and outputting corresponding shortcut function information according to the type of the key operation signal.
In this embodiment, the type of the key operation signal may be a pressing operation signal, a gesture touch type, or the like. The shortcut function information is information of a function required by a user in a writing process, and specifically can be a floating window setting function, a writing tool switching function, a handwriting thickness adjusting function, a handwriting color switching function and the like. The screen in the target screen device with the touch pen identifies the type of the currently received key operation signal, and then determines which shortcut function information is currently output according to the specific type. Specifically, the setting in the specific embodiment in step S10 is continued. The screen receives the key operation signal generated by the touch pen based on the user's upward stroke gesture on the intelligent key, and identifies the type of the key operation signal. When the type of the current key operation signal is recognized as the gesture touch type, a shortcut function menu for switching the types of the drawing pens is popped up according to a preset response rule corresponding to the gesture touch type, the user can switch the types of the drawing pens at will after making a stroke gesture on the intelligent key, the current drawing process is not needed to be suspended, and the user clicks and enters a related APP interface to switch the types of the drawing pens.
In this embodiment, a key operation signal sent by the stylus is received, where the key operation signal is generated based on an operation of a user on the smart key; and identifying the type of the key operation signal, and outputting corresponding shortcut function information according to the type of the key operation signal. Through the mode, the touch pen is provided with the touch intelligent key, so that a user can perform various operations on the touch intelligent key; through receiving the stylus and sending, the user is based on the key operation signal that this intelligence button generated, and output the swift functional information that this signal corresponds, make the user only operate on the intelligence button can directly use various swift functions that preset, avoided the user frequently to open and close the switching that relevant application interface carried out writing instrument or the setting of writing at the in-process that uses the stylus to write, user operation has been reduced, operating time has been shortened, write efficiency when having promoted the user and using the stylus, thereby solved and used current stylus to carry out the poor technical problem of convenience of writing.
Further, based on the first embodiment shown in fig. 3, a second embodiment of the shortcut function calling method of the stylus pen is provided. Referring to fig. 4, fig. 4 is a flowchart illustrating a shortcut function calling method of a stylus according to a second embodiment. Not shown, in the present embodiment, step S20 includes:
step S21, recognizing that the type of the key operation signal is the gesture touch type, and outputting first shortcut function information according to the gesture touch type.
In this embodiment, the gesture touch type refers to a signal type generated by a user making a gesture motion on an intelligent key of a stylus pen, and may specifically be a gesture swipe up, a gesture slide down, and the like. The first shortcut function information can be switch selection information of a floating window, switching selection information of different types of tools such as a total brush and an eraser in a writing process, handwriting thickness adjustment information, brush type switching selection information and the like.
In one embodiment, as shown in FIG. 5, the user may make a gesture to stroke up or down on the smart key. If the shortcut function of the user to draw on the gesture on the intelligent key is preset to switch the type of the drawing pen from left to right, and the shortcut function of the gesture to draw down is preset to switch the type of the drawing pen from right to left. In the process that a user uses the touch control pen to draw on a flat plate, the user intends to switch the type of the current drawing pen, and then directly makes an upward stroke gesture on the intelligent key, the current screen pops up a sliding display frame of all the types of the drawing pen, and switches the type of the current drawing pen to another drawing pen type adjacent to the right side of the current drawing pen according to the arrangement sequence, and the user can slide the gesture on the intelligent key for multiple times to select a target drawing pen type, and can also directly slide and select the target drawing pen type in the sliding display frame.
Further, in this embodiment, step S20 further includes:
and step S22, recognizing that the type of the key operation signal is the pressing operation type, and outputting second shortcut function information according to the pressing operation type.
In this embodiment, the pressing operation type refers to a signal type generated by a user pressing a key on an intelligent key of the stylus pen, and may specifically be a long press, a short press, a press of an "increase" key, a press of a "decrease" key, and the like. The second shortcut function information can be switch selection information of a floating window, switching selection information of different types of tools such as a total brush and an eraser in a writing process, handwriting thickness adjustment information, brush type switching selection information and the like. It should be noted that the first shortcut function information is different from the second shortcut function information.
In a particular embodiment, as shown in FIG. 5. The intelligent keys of the touch control pen are provided with a plus key marked by a plus sign and a minus key marked by a minus sign. The user can press the intelligent keys for a long time, a short time and an 'increase' key and a 'decrease' key. If the short-press shortcut function of the user on the intelligent key is preset to be the switch switching of the floating window, the long-press shortcut function is the switching between a brush and an eraser in the writing process, pressing the 'increase' key to increase the handwriting thickness, and pressing the 'decrease' key to decrease the handwriting thickness. During the process of drawing on the tablet by the user using the stylus, the floating window is not currently displayed in the screen. The user intends to open the floating window, and then presses the intelligent key for a short time, so that the floating window can be displayed on the screen. If the user thinks that the current handwriting is too thick and intends to reduce the thickness of the handwriting, the handwriting of the touch pen can be reduced by pressing the reduction key. If the user intends to erase part of the content of the current drawing, the user can press the intelligent key for a long time to switch the brush to the eraser, and after the erasing is finished, the user presses the intelligent key for a long time to switch the eraser back to the brush to continue drawing.
In this embodiment, further divide into gesture touch-control type and press the operation type through the type with key operation signal to be provided with different swift functions for two kinds of different grade types, make the user can conveniently get through the gesture touch-control on the intelligence button or press the operation, call multiple swift functions fast, shortened operating time, improved the efficiency of writing when the user uses the stylus, also promoted user experience simultaneously.
Further, not shown in the drawings, a third embodiment of the shortcut function calling method of the stylus pen of the present application is provided based on the first embodiment shown in fig. 3. In this embodiment, before step S10, the method further includes:
step a, judging whether a signal sent by a touch pen is continuously identified within a preset time length and/or whether the signal sent by the touch pen is identified in a preset area of a screen;
b, if yes, judging that the target screen equipment is matched with the touch pen, and starting the use permission of the shortcut function; and/or the presence of a gas in the gas,
and c, if the condition is not met, judging that the target screen equipment is not matched with the touch pen, and closing the use permission of the shortcut function.
In this embodiment, two preset conditions are set when determining whether the stylus pen is matched with the target screen device. One is to determine whether the target screen device continuously identifies a signal sent by the stylus within a preset duration, where the preset duration can be flexibly set according to an actual situation, and this embodiment is not specifically limited to this; the other is to determine whether the target screen device identifies a signal sent by the stylus in a preset area in the screen, where the preset area is usually an area where the APP is written by the stylus, and the preset area can be flexibly set according to an actual situation, which is not specifically limited in this embodiment. Both of these conditions are to determine whether the user currently has an intention to write with the stylus. If the current condition meets one of the two conditions, or both the two conditions are met, the current touch pen can be judged to be matched with the target screen device, and the shortcut function can be called; if the two conditions of the current situation are not met, the current touch pen is judged to be not matched with the target screen device, the current user does not have the intention of writing by using the touch pen, and the shortcut function does not need to be started at the moment.
Further, step b comprises:
d, if yes, judging whether the touch pen is in a suspension state or not according to the signal;
step e, if the touch control pen is in a suspension state, judging that the target screen equipment is matched with the touch control pen, and starting the use permission of the shortcut function; and/or the presence of a gas in the gas,
and f, if the touch pen is not in a suspension state, judging that the target screen equipment is not matched with the touch pen, and closing the use permission of the shortcut function.
In this embodiment, when determining whether the user currently has the writing intent of using the stylus pen, a double determination is added. The method specifically includes the steps that whether the stylus is in a suspension state or not is judged, data acquired in real time by a motion sensor, a pressure sensor or an acceleration sensor and the like which are arranged in the stylus can be detected, data conditions that pressure data of a pen holding area in the stylus is higher than a certain threshold value and pressure data of other areas are lower than a certain threshold value and the like can be preset, if the current data meet the preset data conditions, the stylus can be judged to be in the suspension state currently, then the target screen device is judged to be matched with the stylus, a user has the current intention of using the stylus to write on a screen, and the use permission of the shortcut function is started; if one or more data in the current data are detected to be not meeting the preset data condition, the touch pen can be judged not to be in a suspension state, and then the target screen device is judged not to be matched with the touch pen, and the user does not have the intention of writing on the screen by using the touch pen, so that the use permission of the shortcut function is closed.
In this embodiment, whether the target screen device is matched with the stylus pen is further determined by setting a plurality of determination conditions, that is, whether the current user has an intention to use the stylus pen to write on the screen is determined, so that the permission to start the shortcut function is not given when the two are not matched, resource consumption of the device is saved, and meanwhile, the problem that the user mistakenly triggers the shortcut function when the user does not have an intention to write is also avoided.
Further, not shown in the drawings, a fourth embodiment of the shortcut function calling method of the stylus pen of the present application is provided based on the first embodiment shown in fig. 3. In this embodiment, after step S30, the method further includes:
and g, outputting third shortcut function information corresponding to the action operation signal based on a preset rule when the action operation signal sent by the stylus is received, and optionally, generating the action operation signal based on the action of shaking or rotating the stylus by a user.
In this embodiment, the preset rule is a rule corresponding to the action operation signal and the shortcut function, for example, the shaking action signal corresponds to a brush color switching function, and the rotation action corresponds to a brush type switching function. The third shortcut function information is function information that a user needs to use when writing with the stylus pen, and may be the same as or different from the first shortcut function information and the second shortcut function information. The determination of whether the user shakes or rotates the stylus at present may be implemented by detecting real-time speed data, acceleration data, rotation angle data, and the like acquired by a motion sensor and an acceleration sensor that are built in the stylus, and a specific determination process is prior art in the field and is not described herein.
In a specific embodiment, if the shaking action signal is set to correspond to the brush pen color switching function, when a user uses a stylus pen to perform drawing, if the color of a brush pen is changed, the user directly shakes the brush pen holder, a brush pen color selection frame is popped up by a screen, and the red color of the current brush pen color is sequentially switched to the yellow color of the next brush pen, so that the user can perform brush pen color switching only by shaking the brush pen holder and also can directly perform selection in the selection frame.
Further, in this embodiment, the method further includes:
the output mode of the shortcut function information is information interface display output and/or voice output.
In this embodiment, the output and mode of the shortcut information may be output in a normal form of an information interface such as a menu, a list, a selection box, or in a mode of voice broadcasting the current use condition, and the user specifies the target use object by voice to complete the selection, or in both modes.
In the embodiment, a shortcut function calling mode is further added by adding an action operation signal, so that convenience is further brought to the process of using the touch pen by a user, and the use efficiency is improved; through setting up the output mode of multiple swift functional information, further promoted user experience.
The application also provides a device for calling the quick function of the touch control pen.
The shortcut function calling device of the stylus comprises:
the operation signal receiving module is used for receiving a key operation signal sent by the stylus, wherein the key operation signal is generated based on the operation of a user on the intelligent key;
optionally, the key operation signal sent by the stylus pen is received only when the device is matched with the stylus pen.
And the function information output module is used for identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal.
The present application further provides an apparatus, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method as described above.
The application also provides a touch pen.
The touch pen comprises a touch intelligent key, a processor, a memory and a touch pen shortcut function calling program which is stored on the memory and can run on the processor, wherein when the touch pen shortcut function calling program is executed by the processor, the steps of the touch pen shortcut function calling method are realized.
The method for implementing the shortcut function calling program of the stylus when executed may refer to various embodiments of the shortcut function calling method of the stylus of the present application, and details thereof are not repeated herein.
The present application also provides a computer-readable storage medium.
The computer-readable storage medium stores a shortcut function calling program of the stylus, and the shortcut function calling program of the stylus is executed by the processor to implement the steps of the shortcut function calling method of the stylus.
The method for implementing the shortcut function calling program of the stylus when executed may refer to various embodiments of the shortcut function calling method of the stylus of the present application, and details thereof are not repeated herein.
Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method as described in the above various possible embodiments.
An embodiment of the present application further provides a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method described in the above various possible embodiments.
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, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and further, where similarly-named elements, features, or elements in different embodiments of the disclosure may have the same meaning, or may have different meanings, that particular meaning should be determined by their interpretation in the embodiment or further by context with the embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
It should be noted that step numbers such as S10 and S20 are used herein for the purpose of more clearly and briefly describing the corresponding content, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S20 first and then S10 in specific implementation, which should be within the scope of the present application.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A shortcut function calling method of a touch pen is characterized in that a touch intelligent key is arranged in the touch pen, and the shortcut function calling method of the touch pen comprises the following steps:
receiving a key operation signal sent by the stylus, wherein the key operation signal is generated based on the operation of a user on the intelligent key;
and identifying the type of the key operation signal, and outputting corresponding shortcut function information according to the type of the key operation signal.
2. The method for invoking a shortcut function of a stylus according to claim 1, wherein the type of the key operation signal is a gesture touch type,
the step of identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal includes:
and identifying that the type of the key operation signal is the gesture touch type, and obtaining first shortcut function information according to the gesture touch type.
3. The method for invoking a shortcut function of a stylus according to claim 1, wherein the type of the key manipulation signal is a pressing manipulation type,
the step of identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal includes:
and identifying the type of the key operation signal as the pressing operation type, and outputting second shortcut function information according to the pressing operation type.
4. The method for invoking a shortcut function of a stylus according to claim 1, wherein before the step of receiving the key operation signal transmitted by the stylus, the method further comprises:
judging whether a signal sent by the stylus meets a preset condition, wherein the preset condition is at least one of the following conditions: continuously identifying a signal sent by the touch pen within a preset time length, or identifying a signal sent by the touch pen in a preset area of a screen;
if so, judging that the target screen equipment is matched with the touch pen, and starting the use permission of the shortcut function;
and/or if the condition is not met, judging that the target screen equipment is not matched with the touch pen, and closing the use permission of the shortcut function.
5. The method for invoking a shortcut function of a stylus according to claim 4, wherein if the condition is satisfied, it is determined that the target screen device is matched with the stylus, and the step of opening the usage right of the shortcut function comprises:
if yes, judging whether the touch pen is in a suspension state or not according to the signal;
if the touch pen is in a suspension state, judging that the target screen equipment is matched with the touch pen, and starting the use permission of the shortcut function;
and/or if the touch control pen is not in a suspension state, judging that the target screen equipment is not matched with the touch control pen, and closing the use permission of the shortcut function.
6. The method for invoking a shortcut function of a stylus according to claim 1, wherein after the step of identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal, the method further comprises:
and when an action operation signal sent by the stylus is received, outputting third shortcut function information corresponding to the action operation signal based on a preset rule.
7. The method for calling the shortcut function of a stylus according to any one of claims 1 to 6, wherein an output mode of the shortcut function information is an information interface display output and/or a voice output.
8. The utility model provides a swift function of stylus calls device which characterized in that, but be equipped with the intelligent button of touch-control in the stylus, swift function of stylus calls device includes:
the operation signal receiving module is used for receiving a key operation signal sent by the stylus, wherein the key operation signal is generated based on the operation of a user on the intelligent key;
and the function information output module is used for identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal.
9. A stylus, comprising: the touch control intelligent key, a memory, a processor and a fast function calling program of a touch control pen stored on the memory and capable of running on the processor, wherein the fast function calling program of the touch control pen realizes the steps of the fast function calling method of the touch control pen according to any one of claims 1 to 7 when being executed by the processor.
10. A computer-readable storage medium, on which a shortcut function calling program of a stylus is stored, which implements the steps of the shortcut function calling method of the stylus according to any one of claims 1 to 7 when executed by a processor.
CN202010816436.3A 2020-08-13 2020-08-13 Shortcut function calling method and device for touch pen, touch pen and storage medium Pending CN111949146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010816436.3A CN111949146A (en) 2020-08-13 2020-08-13 Shortcut function calling method and device for touch pen, touch pen and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010816436.3A CN111949146A (en) 2020-08-13 2020-08-13 Shortcut function calling method and device for touch pen, touch pen and storage medium

Publications (1)

Publication Number Publication Date
CN111949146A true CN111949146A (en) 2020-11-17

Family

ID=73342267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010816436.3A Pending CN111949146A (en) 2020-08-13 2020-08-13 Shortcut function calling method and device for touch pen, touch pen and storage medium

Country Status (1)

Country Link
CN (1) CN111949146A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112578988A (en) * 2020-12-25 2021-03-30 青岛海信移动通信技术股份有限公司 Mobile terminal and updating method of display interface thereof
CN113238649A (en) * 2021-03-15 2021-08-10 荣耀终端有限公司 Control method and device based on touch control pen
CN114020164A (en) * 2022-01-05 2022-02-08 北京易真学思教育科技有限公司 Stylus control method and device, electronic equipment and storage medium
CN114356121A (en) * 2021-12-06 2022-04-15 深圳市千分一智能技术有限公司 Method and device for judging use of active pen, active pen and computer storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112578988A (en) * 2020-12-25 2021-03-30 青岛海信移动通信技术股份有限公司 Mobile terminal and updating method of display interface thereof
CN113238649A (en) * 2021-03-15 2021-08-10 荣耀终端有限公司 Control method and device based on touch control pen
CN114356121A (en) * 2021-12-06 2022-04-15 深圳市千分一智能技术有限公司 Method and device for judging use of active pen, active pen and computer storage medium
CN114356121B (en) * 2021-12-06 2023-07-14 深圳市千分一智能技术有限公司 Active pen use discriminating method and apparatus, active pen and computer storage medium
CN114020164A (en) * 2022-01-05 2022-02-08 北京易真学思教育科技有限公司 Stylus control method and device, electronic equipment and storage medium
CN114020164B (en) * 2022-01-05 2022-04-15 北京易真学思教育科技有限公司 Stylus control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107247746B (en) Data sharing method and terminal
CN108037893B (en) Display control method and device of flexible screen and computer readable storage medium
CN111949146A (en) Shortcut function calling method and device for touch pen, touch pen and storage medium
US20150143291A1 (en) System and method for controlling data items displayed on a user interface
CN108874283B (en) Picture identification method, mobile terminal and computer readable storage medium
CN112416223A (en) Display method, electronic device and readable storage medium
CN114327189B (en) Operation method, intelligent terminal and storage medium
CN112363648A (en) Shortcut display method, terminal and computer storage medium
CN112732134A (en) Information identification method, mobile terminal and storage medium
CN111813493A (en) Method of operating component, terminal, and storage medium
CN113268298A (en) Application display method, mobile terminal and readable storage medium
CN113126844A (en) Display method, terminal and storage medium
CN114860674B (en) File processing method, intelligent terminal and storage medium
CN112068743A (en) Interaction method, terminal and storage medium
CN114647623A (en) Folder processing method, intelligent terminal and storage medium
CN112199019A (en) Interaction method, terminal and computer readable storage medium
CN114138144A (en) Control method, intelligent terminal and storage medium
CN114442886A (en) Data processing method, intelligent terminal and storage medium
CN114443199A (en) Interface processing method, intelligent terminal and storage medium
CN114640739A (en) Application pushing method, intelligent terminal and storage medium
CN114594886A (en) Operation method, intelligent terminal and storage medium
CN113342246A (en) Operation method, mobile terminal and storage medium
WO2015074377A1 (en) System and method for controlling data items displayed on a user interface
WO2023092343A1 (en) Icon area management method, intelligent terminal and storage medium
CN115756240A (en) Editing method, intelligent terminal and 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