CN111142761A - Terminal control method and device with built-in touch pen, storage medium and terminal - Google Patents
Terminal control method and device with built-in touch pen, storage medium and terminal Download PDFInfo
- Publication number
- CN111142761A CN111142761A CN201911386064.9A CN201911386064A CN111142761A CN 111142761 A CN111142761 A CN 111142761A CN 201911386064 A CN201911386064 A CN 201911386064A CN 111142761 A CN111142761 A CN 111142761A
- Authority
- CN
- China
- Prior art keywords
- terminal
- stylus
- built
- pen
- pressing
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000003825 pressing Methods 0.000 claims abstract description 108
- 241001422033 Thestylus Species 0.000 claims abstract description 82
- 238000012795 verification Methods 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 9
- 238000010926 purge Methods 0.000 claims description 3
- 230000003993 interaction Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
Abstract
The invention discloses a terminal control method of a built-in touch pen, a device of the built-in touch pen, a computer readable storage medium and a terminal, wherein the terminal comprises a touch pen provided with a pressing key, and the touch pen is fixed at a position, and the terminal control method of the built-in touch pen comprises the following steps: detecting a pressing operation of a pressing key of a stylus; and after the pressing operation is detected, the terminal carries out preset operation. According to the invention, when the built-in terminal stylus is not pulled out, the terminal can interact with the terminal through the pressing key of the stylus and can perform preset operation, so that the problem that the terminal with the stylus cannot interact with the terminal when the stylus is not pulled out is solved.
Description
Technical Field
The present invention relates to the field of touch device technologies, and in particular, to a method for controlling a terminal with a built-in stylus, a device with a built-in stylus, a terminal, and a computer-readable storage medium.
Background
With the rapid development of electronics, the tablet personal computer and the palm computer are more and more popularized, and the touch pen becomes a human-computer interaction device frequently used on the tablet personal computer and the palm computer. The touch pen can simulate the left-click operation of a mouse in a click mode, so that simple interaction with controlled devices such as a tablet personal computer is realized, and characters (including letters, numbers, characters and symbols) or drawings and the like can be input on handwriting input software loaded on the controlled devices such as the tablet personal computer in a handwriting mode. In order to prevent the loss of the stylus and to quickly find the control pen, mobile terminals with built-in stylus are available on the market.
However, the mobile terminal with a built-in stylus cannot realize the above function when the stylus is not pulled out, so that the existing terminal with the stylus cannot interact with the terminal when the stylus is not pulled out.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a terminal control method with a built-in touch pen, a device with the built-in touch pen, a terminal and a computer readable storage medium, and aims to solve the problem that the terminal with the touch pen cannot interact with the terminal when the touch pen is not pulled out.
In order to achieve the above object, the present invention provides a terminal control method of a built-in stylus, wherein the terminal includes a stylus provided with a pressing key, and the stylus is fixed, the terminal control method of the built-in stylus includes the following steps:
detecting a pressing operation of a pressing key of a stylus;
and after the pressing operation is detected, the terminal carries out preset operation.
Optionally, after detecting the pressing operation, the step of performing a preset operation by the terminal includes:
detecting a fixed state of the stylus after detecting the pressing operation;
and when the fixed state of the touch pen is not pulled out, the terminal carries out preset operation.
Optionally, after the pressing operation is detected, the step of performing a preset operation by the terminal further includes:
after the pressing operation is detected, performing authority verification;
and when the authority passes the verification, the terminal performs preset operation.
Optionally, the preset operation includes at least one of:
the terminal clearing inactive applications, including running but unused applications;
the terminal deletes a target file of which the file type is a preset type in all files of the inactive application;
and the terminal starts a preset application.
Optionally, after the step of detecting the fixed state of the stylus pen after detecting the pressing operation, the method further includes:
and when the fixed state of the touch control pen is detected to be pulled out, adjusting display parameters when the touch control pen contacts the screen of the terminal.
Optionally, the adjusting the display parameter when the stylus touches the screen of the terminal includes at least one of:
adjusting the color of a line displayed when the touch pen is in contact with the screen of the terminal;
and adjusting the thickness of lines displayed when the touch pen is in contact with the screen of the terminal.
Optionally, the terminal control method of the built-in stylus further includes:
displaying a preset operation setting interface when detecting that the pressed key rotates for a preset angle and the touch control pen is not pulled out;
the preset operation setting interface is used for updating the preset operation according to the setting operation of the user.
In order to achieve the above object, the present invention provides a stylus built-in device, wherein a stylus for pressing a key and a fixed position of the stylus are provided on the device, the stylus built-in device comprising:
a detection unit for detecting an operation of the stylus;
and the execution unit is used for controlling the device to execute preset operation according to the operation of the touch control pen.
Optionally, the operation of the stylus includes at least one of:
a pressing operation of a pressing key of the stylus pen;
and rotating the pressing key of the touch control pen.
Optionally, the apparatus with a built-in stylus further includes:
the state detection unit is used for detecting the fixed state of the touch pen, wherein the fixed state comprises an unplugged state and/or an unplugged state.
Optionally, when the operation of the stylus is a pressing operation of the pressing key, and the fixed state is the unplugged state, the preset operation includes at least one of:
the apparatus purging inactive applications, including running but unused applications;
the device deletes a target file of which the file type is a preset type in all files of the inactive application;
and the terminal starts a preset application.
Optionally, when the operation of the stylus is a pressing operation of pressing a key, and the fixed state is a pulled-out state, the preset operation is to adjust a display parameter when the stylus contacts a screen of the device, where the display parameter includes at least one of:
adjusting the color of a line displayed when the stylus touches the screen of the device;
and adjusting the thickness of lines displayed when the touch pen is in contact with the screen of the device.
Optionally, when the operation of the stylus is a rotation operation of pressing a key and the fixed state is a non-pulled-out state, displaying a preset operation setting interface;
the preset operation setting interface is used for updating the preset operation according to the setting operation of the user.
In addition, in order to achieve the above object, the present invention further provides a terminal, wherein the terminal includes a stylus provided with a press key, a stylus fixing position, a processor, a memory, and a terminal control program with a built-in stylus stored in the memory and operable on the processor, and the terminal implements the above-mentioned steps of the method for controlling a terminal with a built-in stylus when executed by the processor.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a terminal control program with a built-in stylus, which when executed by a processor, implements the steps of the terminal control method with a built-in stylus as described above.
According to the terminal control method of the built-in touch pen, the device of the built-in touch pen, the terminal and the computer readable storage medium provided by the invention, firstly, the pressing operation of the pressing key of the touch pen is detected, and then, after the pressing operation is detected, the terminal carries out the preset operation. According to the invention, when the built-in terminal stylus is not pulled out, the terminal can interact with the terminal through the pressing key of the stylus and can perform preset operation, so that the problem that the terminal with the stylus cannot interact with the terminal when the stylus is not pulled out is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic diagram of a hardware structure of a terminal control device with a built-in stylus according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for controlling a terminal with a built-in stylus according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of another embodiment of the present invention;
FIG. 4 is a schematic flow chart of another embodiment of the present invention;
FIG. 5 is a schematic flow chart of another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device with a built-in stylus according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention 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 invention and are not intended to limit the invention.
In order to prevent the loss of the stylus and quickly find the control pen in the prior art, mobile terminals with built-in stylus are available in the market. However, the mobile terminal with a built-in stylus cannot realize the above function when the stylus is not pulled out, so that the existing terminal with the stylus cannot interact with the terminal when the stylus is not pulled out.
The invention provides a solution, firstly, detecting the pressing operation of a pressing key of a touch pen, and then, after detecting the pressing operation, the terminal carries out the preset operation. According to the invention, when the built-in terminal stylus is not pulled out, the terminal can interact with the terminal through the pressing key of the stylus and can perform preset operation, so that the problem that the terminal with the stylus cannot interact with the terminal when the stylus is not pulled out is solved.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention.
Referring to fig. 1, the terminal may include: a processor 1001, such as a CPU, a memory 1002, a communication bus 1003, and a network interface 1004. The communication bus 1003 is used for implementing connection communication between the components in the device. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1002 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1002 may alternatively be a storage device separate from the processor 1001. As shown in fig. 1, the memory 1002, which is a kind of computer storage medium, may include therein an operating system, a network communication module, and a terminal control program with a built-in stylus pen.
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 and a proximity sensor, wherein the ambient light sensor may adjust brightness of the display screen according to brightness of ambient light, and the proximity sensor may turn off the display screen and/or backlight when the smart terminal moves 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), can 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) for recognizing the attitude of the intelligent terminal, and related functions (such as pedometer and tapping) for vibration recognition; of course, the 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.
Among the hardware involved in the terminal shown in FIG. 1, the network interface 1004 may be used for terminal interaction with a stylus; and the processor 1001 may be configured to call a terminal control program of a built-in stylus stored in the memory 1002, and perform the following operations:
detecting a pressing operation of a pressing key of a stylus;
and after the pressing operation is detected, the terminal carries out preset operation.
Further, the processor 1001 may be configured to call a terminal control program of a built-in stylus stored in the memory 1002, and further perform the following operations:
detecting a fixed state of the stylus after detecting the pressing operation;
and when the fixed state of the touch pen is not pulled out, the terminal carries out preset operation.
Further, the processor 1001 may be configured to call a terminal control program of a built-in stylus stored in the memory 1002, and further perform the following operations:
after the pressing operation is detected, performing authority verification;
and when the authority passes the verification, the terminal performs preset operation.
Further, the processor 1001 may be configured to call a terminal control program of a built-in stylus stored in the memory 1002, and further perform the following operations:
the terminal clearing inactive applications, including running but unused applications;
the terminal deletes a target file of which the file type is a preset type in all files of the inactive application;
and the terminal starts a preset application.
Further, the processor 1001 may be configured to call a terminal control program of a built-in stylus stored in the memory 1002, and further perform the following operations:
and when the fixed state of the touch control pen is detected to be pulled out, adjusting display parameters when the touch control pen contacts the screen of the terminal.
Further, the processor 1001 may be configured to call a terminal control program of a built-in stylus stored in the memory 1002, and further perform the following operations:
adjusting the color of a line displayed when the touch pen is in contact with the screen of the terminal;
and adjusting the thickness of lines displayed when the touch pen is in contact with the screen of the terminal.
Further, the processor 1001 may be configured to call a terminal control program of a built-in stylus stored in the memory 1002, and further perform the following operations:
displaying a preset operation setting interface when detecting that the pressed key rotates for a preset angle and the touch control pen is not pulled out;
the preset operation setting interface is used for updating the preset operation according to the setting operation of the user.
Referring to fig. 2, in an embodiment of the method for controlling a terminal with a built-in stylus according to the present invention, the method for controlling a terminal with a built-in stylus includes:
step S10, detecting the pressing operation of the pressing key of the touch pen;
the terminal control method of the built-in touch pen provided by the invention is mainly used for interaction between the terminal and the touch pen which is not pulled out. The terminal related to the terminal control method with the built-in touch pen provided by the invention comprises but is not limited to a mobile phone, a tablet personal computer, a computer and the like, and a related application system is pre-loaded on the terminal.
In this embodiment, the terminal includes a touch pad provided with a pressing key and a touch pen fixing position, a touch pen is fixed on the touch pen fixing position, and the touch pen is provided with the pressing key. The push button can be sprung or pushed back. The pressing operation comprises a bouncing operation and a pressing back operation, the bouncing operation corresponds to bouncing of the pressing key, and the pressing back operation corresponds to pressing back of the pressing key. It can be understood that, a sending unit is further disposed in the stylus pen, and is used for sending a corresponding pressing operation to the terminal when the stylus pen is bounced or pressed back. The existing touch pen can simulate the left-click operation of a mouse in a click mode, so that simple interaction with controlled devices such as a tablet personal computer is realized, and characters (including letters, numbers, characters and symbols) or drawings and the like can be input on handwriting input software loaded on the controlled devices such as the tablet personal computer in a handwriting mode. In order to prevent the loss of the stylus and to quickly find the control pen, mobile terminals with built-in stylus are available on the market. Because the mobile terminal with the built-in touch pen can not realize the functions when the touch pen is not pulled out, the existing terminal with the touch pen can not interact with the terminal when the touch pen is not pulled out, a pressing key capable of bouncing up or pressing back is arranged at the pen point of the touch pen, even if the touch pen is in the touch pen fixing position of the terminal, the touch pen can also interact with the terminal through the pressing key on the touch pen, and the interaction is set by a user in a self-defined mode or is set in a default mode. When a user has a requirement for interacting with a terminal, pressing a pressing key on the touch pen, feeding back information corresponding to the pressing operation to the terminal by the touch pen, and detecting the information corresponding to the pressing operation fed back by the touch pen in real time by the terminal.
And step S20, after the pressing operation is detected, the terminal carries out preset operation.
In this embodiment, the terminal performs a preset operation after detecting the pressing operation. Wherein the preset operation comprises at least one of:
the terminal clearing inactive applications, including running but unused applications;
the terminal deletes a target file of which the file type is a preset type in all files of the inactive application;
and the terminal starts a preset application.
It is to be understood that the preset operation is not limited to the above-listed operations. The preset operation can also be other interactive operations such as turning up or turning down the ring of the terminal and/or displaying unread mails.
For a better understanding of the present embodiment, the following examples are set forth. For example, a user sets in advance in a preset operation setting interface, and sets the preset operation as clearing the inactive application of the terminal. When the stylus is not pulled out and the user presses the pressing key of the stylus, for example, the user pops up the pressing key and presses back the pressing key within a preset time, the stylus feeds back information of the pressing operation to the terminal, and the terminal detects the pressing operation information fed back by the stylus and then clears the inactive application of the terminal. It can be understood that, the present embodiment is not limited to the number of the preset operations, and the user may preset a plurality of interactive operations, and execute the preset plurality of interactive operations after the terminal detects the pressing operation information fed back by the stylus.
In the technical scheme disclosed in this embodiment, a pressing operation of a pressing key of a stylus pen is detected first, and then, after the pressing operation is detected, the terminal performs a preset operation. According to the invention, when the built-in terminal stylus is not pulled out, the terminal can interact with the terminal through the pressing key of the stylus and can perform preset operation, so that the problem that the terminal with the stylus cannot interact with the terminal when the stylus is not pulled out is solved.
Referring to fig. 3, based on the above embodiment, in another embodiment, the step S20 includes:
step S21, detecting a fixed state of the stylus pen after detecting the pressing operation;
and step S22, when the fixed state of the touch pen is not pulled out, the terminal carries out preset operation.
In this embodiment, the states of the stylus include a pulled-out state and a non-pulled-out state. Since the preset operation set in the state where the stylus is pulled out is different from the control parameter set in the state where the stylus is not pulled out, the state of the stylus is detected by the detection device on the fixed position after the pressing operation is detected in order to distinguish the next operation. And when the stylus is not pulled out, acquiring a preset operation corresponding to the state of not pulling out, and performing the preset operation.
And when the touch control pen is detected to be pulled out, adjusting display parameters when the touch control pen contacts the screen of the terminal.
Specifically, the adjusting the display parameter when the stylus touches the screen of the terminal includes at least one of: changing the color of a line displayed when the touch pen is in contact with the screen of the terminal; and changing the thickness of lines displayed when the touch pen is in contact with the screen of the terminal. And when the pressing operation is detected and the touch control pen is pulled out, changing the color of the line displayed when the touch control pen contacts the screen of the terminal. Or changing the thickness of lines displayed when the touch pen is in contact with the screen of the terminal. Or when the pressing operation is detected and the touch control pen is pulled out, changing the color and thickness of lines displayed when the touch control pen contacts the screen of the terminal. The line color and the line thickness are preset in the setting interface by the user, and can also be default settings.
In the technical scheme disclosed in this embodiment, the fixed state of the stylus is detected after the pressing operation is detected, and then the corresponding preset operation is performed according to the fixed state of the stylus.
Referring to fig. 4, based on the above-mentioned embodiment shown in fig. 2, in a further embodiment, the step S20 further includes:
step S23, after the pressing operation is detected, authority verification is carried out;
and step S24, when the authority verification is passed, the terminal carries out preset operation.
In this embodiment, when the preset operation is executed, the permission of the preset operation needs to be verified first, and the terminal invokes a self-verification mechanism to verify the permission of the preset operation. It can be understood that each application is an application, each application system is assigned an authority combination, the authority combination is an authority list owned by the application, the authority verification is to verify the authority required to be specified when doing a certain task, then judge whether the intelligent management application is in the applied authority combination according to the required authority, if the intelligent management application is in the applied authority combination, the authority verification is passed, and if the intelligent management application is not in the applied authority combination, the authority verification is not passed. And when the authority passes the verification, the terminal performs preset operation. And when the authority verification is not passed, the preset operation is not executed.
In the technical scheme disclosed in this embodiment, after the pressing operation is detected, the authority verification is performed first, and when the authority verification passes, the terminal performs the preset operation, so that the effect of avoiding the execution of the preset operation from affecting the use of the terminal system is achieved.
Referring to fig. 5, based on any one of the above embodiments, in a further embodiment, the method for controlling a terminal with a built-in stylus further includes the following steps:
step S30, when detecting that the pressed key rotates for a preset angle and the touch control pen is not pulled out, displaying a preset operation setting interface;
and step S40, the preset operation setting interface updates the preset operation according to the setting operation of the user.
In the technical scheme provided by this embodiment, since the interaction requirements of the user are diversified, the default preset operation may not meet the requirements of the user, and therefore, a preset operation self-defining mode needs to be provided for the user. The pressing key of the stylus pen in this embodiment may also be rotated, and when the terminal detects that the pressing key is rotated by a preset angle and the stylus pen is not pulled out, the terminal obtains information of a preset operation setting interface, and displays the preset operation setting interface after generating the preset operation setting interface according to the information. And acquiring the setting operation of the user through the preset operation setting interface.
Specifically, a user can customize a preset operation on the preset operation setting interface, and when the terminal detects a setting operation triggered based on the preset operation setting interface, the user-defined preset operation is determined according to the setting operation.
Further, after the preset operation defined by the user is determined according to the setting operation, the currently determined preset operation is updated to the preset operation corresponding to the pressing operation and capable of being triggered by the pressing operation.
It can be understood that the preset operation is updated every time the user sets one preset operation. Or after the plurality of operations of the user are set, updating the plurality of operations which are not preset.
It should be noted that the steps shown in fig. 5 are not intended to limit the execution order of step S30 and step S40. The step 30 and the step S40 may also be performed before the step S10. The implementation of the method is not described herein.
The embodiment can generate the preset operation setting interface for the user to perform the preset operation, thereby avoiding the operation performed by the interaction between the terminal and the touch pen from being the operation not desired by the user.
In order to achieve the above object, the present invention further provides a device with a built-in stylus, the device with the built-in stylus, and a fixing position for fixing the touch pad.
As shown in fig. 6, the device with built-in stylus 100 further includes a detection unit 101 for detecting an operation of the stylus. An execution unit 102, wherein the execution unit 102 is configured to control the apparatus to execute a preset operation according to an operation of the stylus.
Optionally, the operation of the stylus includes a pressing operation of a pressing key of the stylus and/or a rotating operation of the pressing key of the stylus.
As an embodiment, the device with a built-in stylus 100 further includes a state detection unit 103, where the state detection unit 103 is configured to detect a fixed state of the stylus, where the fixed state includes an unplugged state and/or an unplugged state. Wherein, when the operation of the stylus is a pressing operation of the pressing key and the fixed state is the unplugged state, the preset operation includes at least one of:
the apparatus purging inactive applications, including running but unused applications;
the device deletes a target file of which the file type is a preset type in all files of the inactive application;
and the terminal starts a preset application.
Further, when the operation of the stylus is a pressing operation of a pressing key and the fixed state is a pulling-out state, the preset operation is to adjust display parameters when the stylus contacts a screen of the device, and the display parameters include at least one of the following:
adjusting the color of a line displayed when the stylus touches the screen of the device;
and adjusting the thickness of lines displayed when the touch pen is in contact with the screen of the device.
Displaying a preset operation setting interface when the operation of the touch control pen is the rotation operation of pressing a key and the fixed state is the unplugged state; and the preset operation setting interface updates the preset operation according to the setting operation of the user.
In the technical scheme disclosed in this embodiment, the device with the built-in stylus includes a stylus provided with a pressing key, a fixed position of the stylus, a detection unit and an execution unit, and the terminal performs a preset operation by detecting a pressing operation of the pressing key of the stylus and then detecting the pressing operation. According to the invention, when the built-in terminal stylus is not pulled out, the terminal can interact with the terminal through the pressing key of the stylus and can perform preset operation, so that the problem that the terminal with the stylus cannot interact with the terminal when the stylus is not pulled out is solved.
In order to achieve the above object, the present invention further provides a terminal control device with a built-in stylus, which includes a processor, a memory, and a terminal control program with a built-in stylus stored in the memory and capable of running on the processor, wherein the terminal control program with a built-in stylus, when executed by the processor, implements the steps of the terminal control method with a built-in stylus as described above.
In order to achieve the above object, the present invention further provides a computer-readable storage medium having stored thereon a terminal control program with a built-in stylus, which when executed by a processor, implements the steps of the terminal control method with a built-in stylus as described above.
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 system 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 system. 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 system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention 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 solution of the present invention 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 television, a mobile phone, a computer, or a tablet computer) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (15)
1. A terminal control method of a built-in touch pen is characterized in that the terminal comprises a touch pen provided with a pressing key, the touch pen is fixed at a fixed position, and the terminal control method of the built-in touch pen comprises the following steps:
detecting a pressing operation of a pressing key of a stylus;
and after the pressing operation is detected, the terminal carries out preset operation.
2. The method for controlling a terminal with a built-in stylus pen according to claim 1, wherein the step of the terminal performing the preset operation after detecting the pressing operation comprises:
detecting a fixed state of the stylus after detecting the pressing operation;
and when the fixed state of the touch pen is not pulled out, the terminal carries out preset operation.
3. The method for controlling a terminal with a built-in stylus pen according to claim 1, wherein the step of the terminal performing a preset operation after detecting the pressing operation further comprises:
after the pressing operation is detected, performing authority verification;
and when the authority passes the verification, the terminal performs preset operation.
4. The terminal control method of a built-in stylus according to any one of claims 1 to 3, wherein the preset operation includes at least one of:
the terminal clearing inactive applications, including running but unused applications;
the terminal deletes a target file of which the file type is a preset type in all files of the inactive application;
and the terminal starts a preset application.
5. The method for controlling a terminal with a built-in stylus pen according to claim 2, wherein after the step of detecting the fixed state of the stylus pen after the pressing operation is detected, further comprising:
and when the fixed state of the touch control pen is detected to be pulled out, adjusting display parameters when the touch control pen contacts the screen of the terminal.
6. The method for controlling a terminal with a built-in stylus pen of claim 5, wherein the adjusting of the display parameters when the stylus pen touches the screen of the terminal comprises at least one of:
adjusting the color of a line displayed when the touch pen is in contact with the screen of the terminal;
and adjusting the thickness of lines displayed when the touch pen is in contact with the screen of the terminal.
7. The method for controlling a terminal with a built-in stylus pen of claim 1, further comprising:
displaying a preset operation setting interface when detecting that the pressed key rotates for a preset angle and the touch control pen is not pulled out;
the preset operation setting interface is used for updating the preset operation according to the setting operation of the user.
8. A device with a built-in stylus, comprising a stylus with a pressing key, a fixed position of the stylus, and further comprising:
a detection unit for detecting an operation of the stylus;
and the execution unit is used for controlling the device to execute preset operation according to the operation of the touch control pen.
9. The stylus-embedded apparatus of claim 8, wherein the operation of the stylus comprises at least one of:
a pressing operation of a pressing key of the stylus pen;
and rotating the pressing key of the touch control pen.
10. The stylus built-in apparatus of claim 9, further comprising:
the state detection unit is used for detecting the fixed state of the touch pen, wherein the fixed state comprises an unplugged state and/or an unplugged state.
11. The apparatus with built-in stylus according to claim 10, wherein when the operation of the stylus is a pressing operation of the pressing key and the fixed state is the unplugged state, the preset operation includes at least one of:
the apparatus purging inactive applications, including running but unused applications;
the device deletes a target file of which the file type is a preset type in all files of the inactive application;
and the terminal starts a preset application.
12. The apparatus with a built-in stylus according to claim 10, wherein when the operation of the stylus is a pressing operation of a pressing key and the fixed state is a pulling state, the preset operation is to adjust display parameters when the stylus touches a screen of the apparatus, and the display parameters include at least one of:
adjusting the color of a line displayed when the stylus touches the screen of the device;
and adjusting the thickness of lines displayed when the touch pen is in contact with the screen of the device.
13. The apparatus according to claim 10, wherein when the operation of the stylus pen is a rotation operation of pressing a key and the fixed state is a non-pulled state, a preset operation setting interface is displayed;
the preset operation setting interface is used for updating the preset operation according to the setting operation of the user.
14. A terminal, characterized in that the terminal comprises a stylus provided with a pressed key, a stylus fixing station, a processor, a memory, and a terminal control program of a built-in stylus stored on the memory and operable on the processor, and the terminal implements the steps of the terminal control method of the built-in stylus according to any one of claims 1 to 7 when executed by the processor.
15. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a stylus-built-in terminal control program that, when executed by a processor, implements the steps of the stylus-built-in terminal control method according to any one of claims 1 to 7.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911386064.9A CN111142761A (en) | 2019-12-26 | 2019-12-26 | Terminal control method and device with built-in touch pen, storage medium and terminal |
CN202080085344.0A CN115023683A (en) | 2019-12-11 | 2020-07-31 | Stylus pen, terminal, control method thereof, and computer-readable storage medium |
PCT/CN2020/106056 WO2021114690A1 (en) | 2019-12-11 | 2020-07-31 | Stylus, terminal, and control method therefor, and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911386064.9A CN111142761A (en) | 2019-12-26 | 2019-12-26 | Terminal control method and device with built-in touch pen, storage medium and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111142761A true CN111142761A (en) | 2020-05-12 |
Family
ID=70521421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911386064.9A Pending CN111142761A (en) | 2019-12-11 | 2019-12-26 | Terminal control method and device with built-in touch pen, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111142761A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021114690A1 (en) * | 2019-12-11 | 2021-06-17 | 上海传英信息技术有限公司 | Stylus, terminal, and control method therefor, and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103620529A (en) * | 2011-06-22 | 2014-03-05 | 苹果公司 | Intelligent stylus |
CN205450996U (en) * | 2016-03-25 | 2016-08-10 | 广州宇卡电子科技有限公司 | Intelligence touch -control pen |
CN106855755A (en) * | 2015-12-08 | 2017-06-16 | 北京奇虎科技有限公司 | Pallet starts method, device and mobile device |
CN107168559A (en) * | 2017-06-06 | 2017-09-15 | 深圳市泰衡诺科技有限公司 | Mobile terminal stylus condition checkout gear and stylus |
CN107305605A (en) * | 2016-04-21 | 2017-10-31 | 华为技术有限公司 | A kind of terminal device and application startup method |
CN109992132A (en) * | 2017-12-29 | 2019-07-09 | 宁波有为贸易有限公司 | A kind of multifunctional portable electronic pen |
CN110058700A (en) * | 2018-01-17 | 2019-07-26 | 北京小米移动软件有限公司 | Stylus and electronic equipment |
-
2019
- 2019-12-26 CN CN201911386064.9A patent/CN111142761A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103620529A (en) * | 2011-06-22 | 2014-03-05 | 苹果公司 | Intelligent stylus |
CN106855755A (en) * | 2015-12-08 | 2017-06-16 | 北京奇虎科技有限公司 | Pallet starts method, device and mobile device |
CN205450996U (en) * | 2016-03-25 | 2016-08-10 | 广州宇卡电子科技有限公司 | Intelligence touch -control pen |
CN107305605A (en) * | 2016-04-21 | 2017-10-31 | 华为技术有限公司 | A kind of terminal device and application startup method |
CN107168559A (en) * | 2017-06-06 | 2017-09-15 | 深圳市泰衡诺科技有限公司 | Mobile terminal stylus condition checkout gear and stylus |
CN109992132A (en) * | 2017-12-29 | 2019-07-09 | 宁波有为贸易有限公司 | A kind of multifunctional portable electronic pen |
CN110058700A (en) * | 2018-01-17 | 2019-07-26 | 北京小米移动软件有限公司 | Stylus and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021114690A1 (en) * | 2019-12-11 | 2021-06-17 | 上海传英信息技术有限公司 | Stylus, terminal, and control method therefor, and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3239804B1 (en) | Control of an electronic device including display and keyboard moveable relative to the display | |
CN110502163B (en) | Terminal device control method and terminal device | |
KR20190100339A (en) | Application switching method, device and graphical user interface | |
CN101930336B (en) | Information processing apparatus, method for controlling display, and computer-readable recording medium | |
CN109885323B (en) | Application program upgrading method, mobile terminal and readable storage medium | |
CN104182196A (en) | Multi-screen display method and mobile terminal | |
CN111443844A (en) | Information processing method and electronic equipment | |
CN105786326B (en) | Display device and control method thereof | |
CN107967153B (en) | Application program management method and mobile terminal | |
CN111104038B (en) | Application function processing method and electronic equipment | |
CN110308834B (en) | Setting method of application icon display mode and terminal | |
US20110291942A1 (en) | Display method, application program and computer readable medium for computer key function | |
KR101646779B1 (en) | Method and apparatus for setting font size of portable terminal having touch screen | |
CN108153460B (en) | Icon hiding method and terminal | |
WO2017124677A1 (en) | Method for displaying notification message in status bar, and mobile terminal | |
CN111142761A (en) | Terminal control method and device with built-in touch pen, storage medium and terminal | |
US20170242484A1 (en) | Portable electronic device and method of providing haptic feedback | |
CN105373370B (en) | Control display method and device | |
CN110879685B (en) | Interaction method of application program interface and electronic equipment | |
CN111124584A (en) | Shortcut panel display method, terminal and readable storage medium | |
CN109902232B (en) | Display control method and terminal | |
CN111078113A (en) | Sidebar editing method, mobile terminal and computer-readable storage medium | |
CN111274054A (en) | Message processing method and electronic equipment | |
CN107003759B (en) | Method for selecting text | |
CN112363852A (en) | Popup message processing method, device, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200512 |
|
RJ01 | Rejection of invention patent application after publication |