CN110908582A - A control method, touch pen and electronic component - Google Patents
A control method, touch pen and electronic component Download PDFInfo
- Publication number
- CN110908582A CN110908582A CN201911176722.1A CN201911176722A CN110908582A CN 110908582 A CN110908582 A CN 110908582A CN 201911176722 A CN201911176722 A CN 201911176722A CN 110908582 A CN110908582 A CN 110908582A
- Authority
- CN
- China
- Prior art keywords
- function
- target
- input
- electronic equipment
- stylus
- 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 114
- 230000008569 process Effects 0.000 claims abstract description 43
- 238000012545 processing Methods 0.000 claims abstract description 37
- 230000006870 function Effects 0.000 claims description 380
- 241001422033 Thestylus Species 0.000 claims description 78
- 238000004590 computer program Methods 0.000 claims description 20
- 238000003860 storage Methods 0.000 claims description 19
- 238000004891 communication Methods 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 5
- 230000001960 triggered effect Effects 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 19
- 238000003825 pressing Methods 0.000 description 7
- ORMNNUPLFAPCFD-DVLYDCSHSA-M phenethicillin potassium Chemical compound [K+].N([C@@H]1C(N2[C@H](C(C)(C)S[C@@H]21)C([O-])=O)=O)C(=O)C(C)OC1=CC=CC=C1 ORMNNUPLFAPCFD-DVLYDCSHSA-M 0.000 description 6
- 230000003321 amplification Effects 0.000 description 5
- 238000003199 nucleic acid amplification method Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000008571 general function Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 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
- 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)
Abstract
The embodiment of the invention provides a control method, a touch pen and an electronic assembly, wherein the method comprises the following steps: the method comprises the steps that a target input of a user on a touch display screen and/or a physical switching button is received by a stylus end; and responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to correspondingly process the target object based on the target function. The function of the electronic equipment is selected and switched on the touch pen by arranging at least one of the touch display screen and the physical switching button on the touch pen, so that a user does not need to input a function switching instruction on the electronic equipment, the process that the function menu is called out on the electronic equipment firstly and then is hidden on the electronic equipment is omitted, the target function selected by the electronic equipment can be automatically triggered through the touch pen, the electronic equipment can execute processing operation corresponding to the target function on the target object, the function switching step of the electronic equipment is simplified, and the operation rapidness, flexibility and diversity of the electronic equipment are improved.
Description
Technical Field
The invention relates to the technical field of intelligent control, in particular to a control method, a touch pen and an electronic assembly.
Background
At present, with the rapid development of mobile communication technology, electronic devices (such as mobile terminals like smart phones) have become indispensable electronic consumer products in people's daily life, and with the increasing popularization of smart phones, and meanwhile, the functions of smart phones are continuously upgraded and optimized, so that smart phones have been integrated into various aspects of life, and users often use smart phones in various places and places. Meanwhile, in order to improve the touch recognition accuracy of the electronic device, some auxiliary touch tools, such as a stylus, may be provided to the electronic device. The user can select an operation object, write text, draw pictures and texts on the electronic equipment by means of the touch pen.
During the operation of the electronic device, the operation function of the electronic device usually needs to be switched to implement corresponding processing operation on the target object. For example, taking the copy and paste operation functions as an example, a user needs to select an object to be copied through a display screen or a touch pen of the electronic device, perform a pressing operation on the object to be copied to trigger a display function selection menu, and click a "copy" function to complete the copy operation of the object to be copied; then, a pressing operation is performed again on the target area to trigger a display function selection menu, and the user clicks a "paste" function, thereby completing a paste operation on the copied object.
Therefore, the existing control method has the problems of complicated function switching process, more user operation steps and poor user experience.
Disclosure of Invention
The embodiment of the invention aims to provide a control method, a touch pen and an electronic component, so as to solve the problems of complicated function switching process, more user operation steps and poor user experience of the conventional control method.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a control method, which is applied to a stylus, where the stylus has a touch display screen and/or a physical switch button, and the stylus is in communication connection with an electronic device, and the method includes:
receiving target input of a user on the touch display screen and/or the physical switching button;
and responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to correspondingly process a target object based on the target function.
In a second aspect, an embodiment of the present invention provides a stylus, including: the stylus has touch-sensitive display screen and/or physics switching button, stylus and electronic equipment communication connection, the stylus includes:
the target input receiving module is used for receiving target input of a user on the touch display screen and/or the physical switching button;
and the function setting control module is used for responding to the target input and controlling the electronic equipment to select the target function so as to enable the electronic equipment to perform corresponding processing on the target object based on the target function.
In a third aspect, an embodiment of the present invention provides an electronic component, including: an electronic device and a stylus as described in the second aspect;
wherein the stylus is in communication connection with the electronic device.
In a fourth aspect, an embodiment of the present invention provides a stylus, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the control method according to the first aspect.
In a fifth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the control method according to the first aspect.
According to the control method, the touch pen and the electronic component, the touch pen end receives target input of a user on the touch display screen and/or the physical switching button; and responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to correspondingly process the target object based on the target function. The function of the electronic equipment is selected and switched on the touch pen by arranging at least one of the touch display screen and the physical switching button on the touch pen, so that a user does not need to input a function switching instruction on the electronic equipment, the process that the function menu is called out on the electronic equipment firstly and then is hidden on the electronic equipment is omitted, the target function selected by the electronic equipment can be automatically triggered through the touch pen, the electronic equipment can execute processing operation corresponding to the target function on the target object, the function switching step of the electronic equipment is simplified, and the operation rapidness, flexibility and diversity of the electronic equipment are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a control method according to an embodiment of the present invention;
fig. 2 is a first flowchart of a control method according to an embodiment of the present invention;
fig. 3a is a schematic diagram of a first implementation principle of target function switching of the control method according to the embodiment of the present invention;
fig. 3b is a schematic diagram of a second implementation principle of target function switching of the control method according to the embodiment of the present invention;
fig. 4 is a second flowchart of a control method according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating an implementation principle of function synchronization of the control method according to the embodiment of the present invention;
FIG. 6a is a schematic flow chart of a control method according to an embodiment of the present invention;
FIG. 6b is a fourth flowchart illustrating a control method according to an embodiment of the present invention;
fig. 7a is a schematic diagram of a third implementation principle of target function switching of the control method according to the embodiment of the present invention;
fig. 7b is a schematic diagram of a fourth implementation principle of target function switching of the control method according to the embodiment of the present invention;
fig. 8a is a schematic diagram illustrating a fifth implementation of switching a target function of a control method according to an embodiment of the present invention;
fig. 8b is a schematic diagram of a sixth implementation principle of target function switching of the control method according to the embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating a module configuration of a stylus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a stylus pen according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a control method, a touch pen and an electronic component, wherein at least one of a touch display screen and a physical switching button is arranged on the touch pen, so that the function of the electronic equipment is selected and switched on the touch pen, a function switching instruction does not need to be input on the electronic equipment by a user, the process of calling out a function menu on the electronic equipment and then hiding the function menu is omitted, the target function can be automatically triggered by the touch pen, the electronic equipment can execute processing operation corresponding to the target function on the target object, the function switching step of the electronic equipment is simplified, and the operation rapidness, flexibility and diversity of the electronic equipment are improved.
In the embodiment of the present invention, the stylus is in communication connection with an electronic device, and the electronic device may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like. Taking a smart phone as an example, the control method provided by the embodiment of the present invention may be applied in an application scenario shown in fig. 1, where fig. 1 includes an electronic device 100 and a stylus 200, the stylus 200 has a touch display screen and/or a physical switch button, the electronic device 100 is in communication connection with the stylus 200, and in fig. 1, the stylus 200 at least has a touch display screen as an example. By the control method provided by the embodiment of the invention, the target input of a user on the touch display screen and/or the physical switching button is received by the touch pen end; and responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to correspondingly process the target object based on the target function. The function of the electronic equipment is selected and switched on the touch pen by arranging at least one of the touch display screen and the physical switching button on the touch pen, so that a user does not need to input a function switching instruction on the electronic equipment, the process that the function menu is called out on the electronic equipment firstly and then is hidden on the electronic equipment is omitted, the target function selected by the electronic equipment can be automatically triggered through the touch pen, the electronic equipment can execute processing operation corresponding to the target function on the target object, the function switching step of the electronic equipment is simplified, and the operation rapidness, flexibility and diversity of the electronic equipment are improved.
Fig. 2 is a first flowchart illustrating a control method according to an embodiment of the present invention, where the method in fig. 2 can be executed by the stylus 200 in fig. 1, and particularly by a program module disposed in the stylus 200, as shown in fig. 2, the method at least includes the following steps:
s201, receiving target input of a user on a touch display screen and/or a physical switching button;
specifically, the stylus may be provided with a touch display screen, and correspondingly, a user performs a touch operation on the touch display screen, and the stylus determines a target input on the touch display screen according to the detected touch operation; the touch display screen can be a flexible touch display screen, can be arranged at any position of the stylus body, and can be used for inputting selection information aiming at function options;
the stylus pen can also be provided with a physical switching button, correspondingly, a user performs gear switching operation on the physical switching button, and the stylus pen determines target input at the physical switching button according to the detected gear switching operation; the physical switching button can be a pressing entity key or a rotatable entity knob, and can also be arranged at any position of the stylus pen body, and the selection information aiming at the function options can be input through the physical switching button;
the stylus pen can also be simultaneously provided with a touch display screen and a physical switching button, correspondingly, a current function is displayed on the touch display screen, a user performs gear switching operation on the physical switching button by combining the current function, and the stylus pen determines target input for indicating a target function to be set according to the detected gear switching operation.
S202, responding to the target input, controlling the electronic equipment to select a target function so that the electronic equipment performs corresponding processing on a target object based on the target function;
wherein, the target function includes: copy, paste, delete, switch, enlarge, reduce etc. conventional function options, the target function also includes: function options for a particular application, such as functions like brush, lasso, etc. in a cropping application;
for example, if a click operation of a user on a copy identifier on a touch display screen is detected, it is determined that the indication information corresponding to the target input is switched to the copy function, and correspondingly, it is determined that the target function is the copy function; for another example, if it is detected that the user switches the shift position of the physical switch button to the n-th position, and the n-th position corresponds to the paste function, it is determined that the instruction information corresponding to the target input is switched to the paste function, and correspondingly, the target function is determined to be the paste function.
Specifically, in a process of triggering the electronic device to perform function switching, the stylus sends identification information of a target function to the electronic device, so that the electronic device switches an operation function to the target function, that is, selects the target function; and the electronic equipment executes processing operation corresponding to the target function on the selected target object.
For example, if the target function is copy, then copy operation is performed on the selected target object; if the target function is paste, paste the copied target object to the designated area; for another example, if the target function is zoom-in, a zoom-in operation is performed on the selected target object. The user can select the target object on the electronic device through the touch pen, and can also select the target object through touch operation on the target object on the electronic device.
In specific implementation, taking copy-pasting a target text in the application program 1 into the application program 2 on the electronic device as an example, as shown in fig. 3a, if the touch pen detects a click operation of a user on a copy identifier on the touch display screen, determining that a target function is a copy function, displaying the copy function on the touch display screen, and sending identifier information of the copy function to the electronic device; the electronic device selects a copy function, and if the electronic device detects that a target text in a first area (namely, a copy area) under a display interface of the application 1 is selected by a stylus, a copy operation is performed on the target text.
Correspondingly, as shown in fig. 3b, after the electronic device finishes copying the target text, if the stylus detects a click operation of the user on the paste identifier on the touch display screen, it determines that the target function is the paste function, displays the paste function on the touch display screen, and sends identifier information of the paste function to the electronic device; and selecting a paste function by the electronic equipment, and pasting the copied target text to a second area (namely a paste area) under the display interface of the application 2 if the electronic equipment detects that the touch pen selects the second area.
In the embodiment of the invention, at least one of the touch display screen and the physical switching button is arranged on the touch pen, so that the function of the electronic equipment is selected and switched on the touch pen, a function switching instruction does not need to be input on the electronic equipment by a user, the process that the function menu is called out on the electronic equipment and then the function menu is hidden is omitted, the target function can be automatically triggered to be selected by the electronic equipment through the touch pen, the electronic equipment can execute the processing operation corresponding to the target function on the target object, the function switching step of the electronic equipment is simplified, and the operation rapidness, the flexibility and the diversity of the electronic equipment are improved.
Furthermore, because the function options required by the stylus are determined by the function options of the electronic device, function setting needs to be performed at the stylus end in advance based on the function options of the electronic device, that is, the function options used on the electronic device are synchronized to the stylus; in view of the fact that more and more function options exist and there is a certain difference between function options of different applications, in order to improve the selection efficiency of the target function, a respective function selection menu may be set for different applications, based on which, as shown in fig. 4, before receiving the target input of the user on the touch display screen and/or the physical switch button in the above S201, the method further includes:
s203, receiving a function synchronization request sent by the electronic equipment, wherein the function synchronization request carries identification information of a target application and identification information of a first function;
and S204, adding options corresponding to the first function in a function selection menu corresponding to the target application of the stylus end.
Specifically, a general function selection menu may be set for different application programs, the function selection menu may be summarized with options corresponding to selectable functions of each application program, and respective function selection menus may be set for different application programs, so that a selection range of a target function may be narrowed, selection pertinence of the target function may be improved, and selection efficiency of the target function may be improved. In addition, on the touch control pen, the function options in the synchronized function selection menu of a certain application can be viewed and edited.
Similarly, an option corresponding to the second function and an option corresponding to the third function may also be added to the function selection menu corresponding to the target application, and the specific process is a process of adding an option corresponding to the first function, and is not described herein again.
As shown in fig. 5, taking synchronizing the functions supported by the application n to the stylus as an example, displaying a function option list of the application n on the electronic device, and if the electronic device detects that the user selects the paste function, sending the identification information of the application n and the identification information of the paste function to the stylus; the stylus adds the paste function to the function selection menu of the application n, and similarly, the copy function, the cut function, the zoom-in function, and the zoom-out function may be synchronized to the stylus.
If the touch pen is provided with a touch display screen and is previously aimed at a target application, setting a function selection menu of the target application, wherein an option corresponding to a first function is added in the function selection menu;
correspondingly, on the basis of fig. 4, as shown in fig. 6a, the step S201 of receiving a target input of a user on the touch display screen and/or the physical switch button specifically includes:
s2011, displaying, on the touch display screen, a function selection menu to which the option corresponding to the first function is added;
and S2012, receiving a target input of the function selection menu after the option corresponding to the first function is added on the touch display screen by the user.
Specifically, a user may have a requirement for switching to a certain function in the process of operating a certain application by the electronic device, for example, the first function is a target function that the user needs to select; correspondingly, the electronic equipment sends the identification information of the currently running application to the touch pen; after receiving the identification information, the stylus calls a function selection menu corresponding to the identification information and displays the function selection menu on the touch display screen, so that a user can perform touch operation on the touch display screen based on the function selection menu and input target input for representing the selected first function; the touch operation may be a click operation or a slide operation. Or, if the stylus pen further has a physical switching button, the user may perform a shift switching operation on the physical switching button based on the function selection menu, and input a target input for representing the selected first function, where the shift switching operation may be a pressing operation or a rotating operation.
Meanwhile, in the case of receiving a target input of the user on the touch display screen and/or the physical switching button, an icon of the currently selected function is displayed on the touch display screen to identify the function currently selected by the user, so that the user can quickly select a desired target function.
Furthermore, considering that the switching signal feedback of the physical switching button is stronger, and under the condition that a multi-level function submenu is not required to be arranged, the switching instruction input of the multi-level function is realized, and on the basis, if the touch pen is provided with the physical switching button;
correspondingly, as shown in fig. 6b, in the step S201, receiving a target input of a user on the touch display screen and/or the physical switch button specifically includes:
s2013, receiving a first input of a user on a physical switching button;
s2014, if the parameter setting request is detected within the preset time, receiving a second input of the user on the physical switch button, where the second input includes: setting input aiming at the parameters of the target function corresponding to the first input;
s2015, determining a combination of the received first input and second input as a target input.
Specifically, for a situation that a specific parameter selection is included in a certain function, a multi-level function selection menu can be set for the function, and after one function is selected, a user selects a specific parameter for the function by entering a parameter setting interface of the function step by step on a touch display screen, so as to realize switching instruction input of the multi-level function; the switching instruction input of the multi-level function can be realized directly through the physical switching button under the condition that the multi-level function submenu is not required to be arranged.
For example, in the case of a two-level function setting, for switching the function to the enlargement or reduction function, the enlargement factor or the reduction factor may also be set;
specifically, as shown in fig. 7a, a user performs a shift switching operation on a physical switching button to switch a current function to an amplification function, that is, receives a first input of the user on the physical switching button, where the first input is used to represent switching to the amplification function; if the pressing operation of the user on the preset key is detected within the preset time, it is determined that the parameter setting request is detected within the preset time, and the user continues to perform the gear switching operation on the physical switching button, where the gear switching operation is used for representing the switching selection of the trigger amplification factor, and switches the current function to the amplification function and amplifies the current function by 150%, that is, receives a second input of the user on the physical switching button, where the second input is used for representing the switching to the amplification by 150%, that is, the second input includes: a setting input for the magnification of the magnification function.
For another example, taking a three-level function as an example, for switching the function to the color setting function, the color type may also be set, and for switching the function to the currently selected color type, the color transparency of the color type may also be set;
specifically, as shown in fig. 7b, the user performs a gear shift operation on the physical switch button to switch the current function to the color setting function, that is, receives a first input of the user on the physical switch button, where the first input is used to represent switching to the color setting function; if the pressing operation of the user on the preset key is detected within the preset time, it is determined that the parameter setting request is detected within the preset time, and the user continues to perform the gear switching operation on the physical switching button, where the gear switching operation is used for representing the switching selection of the trigger color type, and switches the current function to the color setting function and selects red, that is, receives a second input of the user on the physical switching button, where the second input is used for representing the switching to the color being red, that is, the second input includes: a setting input for a color type of the color setting function.
Further, if the pressing operation of the user on the preset key is detected within the preset time, it is determined that the parameter setting request is detected within the preset time, and the user continues to perform the shift switching operation on the physical switching button, where the shift switching operation is used to represent a switching selection for triggering transparency, switch the current function to the color setting function and select red and the transparency is 80%, that is, receive a second input of the user on the physical switching button, where the second input is used to represent a switching to the transparency of red is 80%, that is, the second input includes: a setting input for the transparency of the selected red color. The second input for representing switching to the color red is used as a new first input, and the second input for representing switching to the color red with the transparency of 80% is the second input for the first input, and at this time, a combination of the first input for representing switching to the color setting function, the new first input for representing switching to the color red, and the second input for representing switching to the color red with the transparency of 80% is determined as a target input. Similarly, for a function setting of more stages, the above process may be adopted to determine the target input, and details are not repeated here.
Further, in order to enable a user to more intuitively know the currently selected function so as to quickly and accurately switch the target function of the electronic device on the stylus, based on this, if the stylus has a touch display screen and a physical switch button, target input of the user on the touch display screen and the physical switch button is received;
correspondingly, taking the determination process of the first input as an example, the determination process of the second input is similar, specifically, in step S2013, receiving the first input of the user on the physical switch button specifically includes:
step one, under the condition that gear switching operation aiming at a physical switching button is detected, function selection prompt information is displayed on a touch display screen;
wherein, the function option prompt message includes: at least one of a currently selected function corresponding to a current shift position, a previous selectable function corresponding to a previous shift position, and a subsequent selectable function corresponding to a subsequent shift position; the method includes the steps that a plurality of selectable function options are displayed on a touch display screen according to a preset sequence, wherein the currently selected function options can be displayed in a selected mode.
And step two, receiving a first input of the user on the physical switching button based on the function option prompt information.
During specific implementation, the currently selected function corresponding to the current switching gear is displayed on the touch display screen, and the previous selectable function corresponding to the previous switching gear and the subsequent selectable function corresponding to the subsequent switching gear can be displayed on the touch display screen at the same time, so that a user can be effectively guided to switch between functions more intuitively through gear switching operation of the physical switching button, and the target function required to be selected is quickly and accurately switched.
In order to further improve the switching efficiency of the target function and reduce the input times of the target input of the user on the stylus, the received target input may correspond to at least two selectable functions, and then the electronic device automatically selects one selectable function from the received target input as the target function to be finally executed, based on which, if the target function includes: at least two optional functions;
correspondingly, the electronic device performs corresponding processing on the target object based on the target function, and specifically includes:
the electronic equipment determines the touch operation type of a target object by a touch pen;
the electronic equipment determines an optional function corresponding to the touch operation type;
and the electronic equipment executes processing operation corresponding to the determined optional function on the target object.
Specifically, for the situation that at least two selectable functions can be determined based on the received target input, the electronic device may determine the currently selected target function in combination with the touch operation type of the stylus on the target object, so that the switching efficiency of the target function can be further improved, and the number of times of target input by the user on the stylus is reduced.
In specific implementation, taking at least two selectable functions as zooming-in and zooming-out as an example, if the electronic device detects that the stylus performs an outward dragging operation on the target object, determining the selectable function as a zooming-in function; and if the condition that the touch pen executes inward dragging operation on the target object is detected, determining that the selectable function is a zoom-out function.
Further, considering that there may be a case where two operation functions associated with each other are respectively executed on different electronic devices, based on this, if the target input includes: a third input and a fourth input, the target function comprising: a first function corresponding to a third input and a second function corresponding to a fourth input, the electronic device for controlling comprising: a first device and a second device;
correspondingly, in step S202, in response to the target input, the electronic device is controlled to select a target function, so that the electronic device performs corresponding processing on the target object based on the target function, which specifically includes:
step one, responding to a third input, controlling first equipment to select a first function so that the first equipment performs corresponding processing on a target object based on the first function;
step two, receiving a processed target object sent by the first equipment;
and step three, responding to a fourth input, controlling the second equipment to select a second function so that the second equipment performs corresponding processing on the processed target object based on the second function.
Specifically, the stylus pen sends the processed target object received from the first device to the second device, so that the second device performs corresponding processing on the processed target object based on the second function.
The target text on the first electronic device can be copied and pasted to the second electronic device through the touch pen under the condition that the first electronic device and the second electronic device are not networked.
In specific implementation, as shown in fig. 8a and 8b, taking the first function as a copy function and the second function as a paste function as an example, the target text is copied in the display interface 1 of the first electronic device, and the target text is pasted in the display interface 2 of the second electronic device;
specifically, in fig. 8a, if the stylus detects a click operation of the user on the copy identifier on the touch display screen, it determines that the target function is the copy function, displays the copy function on the touch display screen, and sends identifier information of the copy function to the first electronic device; the first electronic device switches the operation function to a copy function, that is, the first electronic device selects the copy function, and if the first electronic device detects that the stylus pen selects the target text in the first area (that is, the copy area) of the display interface 1, the first electronic device performs a copy operation on the target text.
The target text needs to be copied from one electronic device to another electronic device, that is, needs to be switched to a second electronic device for pasting operation, so that the copied target text needs to be sent to the touch pen, the touch pen sends the copied target text to the second electronic device, and the second electronic device pastes the target text to a designated area;
specifically, after the first electronic device finishes copying the target text and sends the target text to the stylus, in fig. 8b, if the stylus detects a click operation of a user on a paste identifier on the touch display screen, it determines that the target function is a paste function, displays the paste function on the touch display screen, and sends identifier information of the paste function to the second electronic device; the second electronic device switches the operation function to the paste function, that is, the second electronic device selects the paste function, and if the second electronic device detects that the stylus selects the second area (that is, the paste area) in the display interface 2, obtains the copied target text sent by the stylus, and pastes the copied target text to the second area.
It should be noted that, the above is only illustrated by the copy function and the paste function, and the same applies to the case where two other related operation functions are respectively executed on different electronic devices, and details are not described herein again.
According to the control method in the embodiment of the invention, a target input of a user on a touch display screen and/or a physical switching button is received by a touch pen end; and responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to correspondingly process the target object based on the target function. The function of the electronic equipment is selected and switched on the touch pen by arranging at least one of the touch display screen and the physical switching button on the touch pen, so that a user does not need to input a function switching instruction on the electronic equipment, the process that the function menu is called out on the electronic equipment firstly and then is hidden on the electronic equipment is omitted, the target function selected by the electronic equipment can be automatically triggered through the touch pen, the electronic equipment can execute processing operation corresponding to the target function on the target object, the function switching step of the electronic equipment is simplified, and the operation rapidness, flexibility and diversity of the electronic equipment are improved.
On the basis of the same technical concept, a touch pen is further provided in an embodiment of the present invention, and fig. 9 is a schematic diagram illustrating a module composition of the touch pen provided in the embodiment of the present invention, where the touch pen is used to execute the control method described in fig. 1 to 8b, the touch pen has a touch display screen and/or a physical switch button, and the touch pen is in communication connection with an electronic device, as shown in fig. 9, the touch pen includes:
a target input receiving module 901, configured to receive a target input of a user on the touch display screen and/or the physical switch button;
and a target function control module 902, configured to, in response to the target input, control the electronic device to select a target function, so that the electronic device performs corresponding processing on a target object based on the target function.
In the embodiment of the invention, at least one of the touch display screen and the physical switching button is arranged on the touch pen, so that the function of the electronic equipment is selected and switched on the touch pen, a function switching instruction does not need to be input on the electronic equipment by a user, the process that the function menu is called out on the electronic equipment and then the function menu is hidden is omitted, the target function can be automatically triggered to be selected by the electronic equipment through the touch pen, the electronic equipment can execute the processing operation corresponding to the target function on the target object, the function switching step of the electronic equipment is simplified, and the operation rapidness, the flexibility and the diversity of the electronic equipment are improved.
Optionally, the stylus pen further includes: a function synchronization module to:
receiving a function synchronization request sent by the electronic equipment, wherein the function synchronization request carries identification information of a target application and identification information of a first function;
and adding options corresponding to the first function in a function selection menu corresponding to the target application of the stylus end.
Optionally, if the stylus has a touch display screen; the target input receiving module 901 is specifically configured to:
displaying a function selection menu added with the option corresponding to the first function on the touch display screen;
and receiving target input of a user on the touch display screen aiming at the function selection menu added with the option corresponding to the first function.
Optionally, if the stylus has a physical switch button; the target input receiving module 901 is further specifically configured to:
receiving a first input of a user on the physical toggle button;
receiving a second input of the user on the physical switching button if a parameter setting request is detected within a preset time, wherein the second input comprises: setting input aiming at the parameter of the target function corresponding to the first input;
determining a combination of the first input and the second input as a target input.
Optionally, if the stylus pen further has a touch display screen; the target input receiving module 901 is further specifically configured to:
under the condition that gear switching operation aiming at a physical switching button is detected, function option prompt information is displayed on the touch display screen;
and receiving a first input of a user on the physical switching button based on the function option prompt message.
Optionally, the target input comprises: a third input and a fourth input, the target function comprising: a first function corresponding to the third input and a second function corresponding to the fourth input, the electronic device comprising: a first device and a second device;
the target function control module 902 is further specifically configured to:
in response to the third input, controlling the first device to select the first function so as to enable the first device to perform corresponding processing on a target object based on the first function;
receiving the processed target object sent by the first device;
and responding to the fourth input, controlling the second equipment to select the second function so as to enable the second equipment to correspondingly process the processed target object based on the second function.
In the touch pen in the embodiment of the invention, a touch pen end receives target input of a user on a touch display screen and/or a physical switching button; and responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to correspondingly process the target object based on the target function. The function of the electronic equipment is selected and switched on the touch pen by arranging at least one of the touch display screen and the physical switching button on the touch pen, so that a user does not need to input a function switching instruction on the electronic equipment, the process that the function menu is called out on the electronic equipment firstly and then is hidden on the electronic equipment is omitted, the target function selected by the electronic equipment can be automatically triggered through the touch pen, the electronic equipment can execute processing operation corresponding to the target function on the target object, the function switching step of the electronic equipment is simplified, and the operation rapidness, flexibility and diversity of the electronic equipment are improved.
The stylus provided by the embodiment of the invention can realize each process in the embodiment corresponding to the control method, and is not described herein again in order to avoid repetition.
It should be noted that the stylus provided in the embodiment of the present invention and the control method provided in the embodiment of the present invention are based on the same inventive concept, and therefore, for specific implementation of the embodiment, reference may be made to implementation of the control method, and repeated details are not described again.
Corresponding to the control method provided by the above embodiment, based on the same technical concept, an embodiment of the present invention further provides an electronic component, including: an electronic device and a stylus as shown in FIG. 9;
wherein the stylus is in communication connection with the electronic device. In particular, reference may be made to the electronic device and stylus shown in fig. 1 above.
In the electronic component in the embodiment of the invention, a target input of a user on a touch display screen and/or a physical switching button is received by a touch pen end; and responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to correspondingly process the target object based on the target function. The function of the electronic equipment is selected and switched on the touch pen by arranging at least one of the touch display screen and the physical switching button on the touch pen, so that a user does not need to input a function switching instruction on the electronic equipment, the process that the function menu is called out on the electronic equipment firstly and then is hidden on the electronic equipment is omitted, the target function selected by the electronic equipment can be automatically triggered through the touch pen, the electronic equipment can execute processing operation corresponding to the target function on the target object, the function switching step of the electronic equipment is simplified, and the operation rapidness, flexibility and diversity of the electronic equipment are improved.
The electronic component provided by the embodiment of the invention can realize each process in the embodiment corresponding to the control method, and is not described again to avoid repetition.
It should be noted that the electronic component provided in the embodiment of the present invention and the control method provided in the embodiment of the present invention are based on the same inventive concept, and therefore, for specific implementation of the embodiment, reference may be made to implementation of the foregoing control method, and repeated details are not described again.
Corresponding to the control method provided in the foregoing embodiment, based on the same technical concept, an embodiment of the present invention further provides a stylus, where the stylus has a touch display screen and/or a physical switch button, and is used to execute the control method, and the stylus is in communication connection with an electronic device, fig. 10 is a schematic diagram of a hardware structure of a stylus for implementing various embodiments of the present invention, and the stylus 200 shown in fig. 10 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107 (which may correspond to the above-mentioned touch display screen or physical switch button), interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the stylus architecture shown in FIG. 10 is not intended to be limiting, and that the stylus may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The processor 110 is configured to receive a target input of a user on the touch display screen and/or the physical switch button;
and responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to correspondingly process a target object based on the target function.
In the embodiment of the invention, at least one of the touch display screen and the physical switching button is arranged on the touch pen, so that the function of the electronic equipment is selected and switched on the touch pen, a function switching instruction does not need to be input on the electronic equipment by a user, the process that the function menu is called out on the electronic equipment and then the function menu is hidden is omitted, the target function can be automatically triggered to be selected by the electronic equipment through the touch pen, the electronic equipment can execute the processing operation corresponding to the target function on the target object, the function switching step of the electronic equipment is simplified, and the operation rapidness, the flexibility and the diversity of the electronic equipment are improved.
Wherein, the processor 110 is further configured to:
before receiving a target input of a user on the touch display screen and/or the physical switching button, the method further comprises:
receiving a function synchronization request sent by the electronic equipment, wherein the function synchronization request carries identification information of a target application and identification information of a first function;
and adding options corresponding to the first function in a function selection menu corresponding to the target application of the stylus end.
Wherein, the processor 110 is further configured to: the touch pen is provided with a touch display screen;
the receiving a target input of a user on the touch display screen and/or the physical switching button includes:
displaying a function selection menu added with the option corresponding to the first function on the touch display screen;
and receiving target input of a user on the touch display screen aiming at the function selection menu added with the option corresponding to the first function.
Wherein, the processor 110 is further configured to: the stylus has a physical switching button;
the receiving a target input of a user on the touch display screen and/or the physical switching button includes:
receiving a first input of a user on the physical toggle button;
receiving a second input of the user on the physical switching button if a parameter setting request is detected within a preset time, wherein the second input comprises: setting input aiming at the parameter of the target function corresponding to the first input;
determining a combination of the first input and the second input as a target input.
Wherein, the processor 110 is further configured to: the touch control pen is also provided with a touch control display screen;
the receiving a first input of a user on the physical toggle button includes:
under the condition that gear switching operation aiming at a physical switching button is detected, function option prompt information is displayed on the touch display screen;
and receiving a first input of a user on the physical switching button based on the function option prompt message.
Wherein the target input comprises: a third input and a fourth input, the target function comprising: a first function corresponding to the third input and a second function corresponding to the fourth input, the electronic device comprising: a first device and a second device;
the responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to perform corresponding processing on a target object based on the target function, and the method comprises the following steps:
in response to the third input, controlling the first device to select the first function so as to enable the first device to perform corresponding processing on a target object based on the first function;
receiving the processed target object sent by the first device;
and responding to the fourth input, controlling the second equipment to select the second function so as to enable the second equipment to correspondingly process the processed target object based on the second function.
In the stylus 200 of the embodiment of the present invention, the stylus end receives a target input of a user on the touch display screen and/or the physical switch button; and responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to correspondingly process the target object based on the target function. The function of the electronic equipment is selected and switched on the touch pen by arranging at least one of the touch display screen and the physical switching button on the touch pen, so that a user does not need to input a function switching instruction on the electronic equipment, the process that the function menu is called out on the electronic equipment firstly and then is hidden on the electronic equipment is omitted, the target function selected by the electronic equipment can be automatically triggered through the touch pen, the electronic equipment can execute processing operation corresponding to the target function on the target object, the function switching step of the electronic equipment is simplified, and the operation rapidness, flexibility and diversity of the electronic equipment are improved.
It should be noted that the stylus 200 provided in the embodiment of the present invention can implement each process implemented by the stylus in the above-described control method embodiment, and for avoiding repetition, details are not described here again.
It should be understood that, in the embodiment of the present invention, the rf unit 101 may be configured to transmit and receive information to and from the processor 110; typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
Stylus 200 is communicatively coupled to electronic device 100 via network module 102.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the stylus pen 200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
Stylus 200 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the stylus pen 200 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the gesture of the stylus pen 200 (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the stylus pen 200. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072.
In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072 (e.g., the above-described physical switch button). In particular, other input devices 1072 may include, but are not limited to, physical turn buttons, physical push buttons, a trackball, and a joystick, which are not described in further detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 10, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the stylus 200, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the stylus 200, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the stylus pen 200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within stylus 200 or may be used to transmit data between stylus 200 and an external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Stylus 200 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, power supply 111 may be logically connected to processor 110 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the stylus pen 200 includes some functional modules that are not shown, and are not described herein.
Preferably, an embodiment of the present invention further provides a stylus, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the above control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
Further, corresponding to the control method provided in the foregoing embodiment, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor 110, the steps of the control method embodiment are implemented, and the same technical effects can be achieved, and are not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
It should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
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 invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as 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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made herein without departing from the spirit and scope of the invention as defined in the appended claims. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims (10)
1. A control method is applied to a touch pen, the touch pen is provided with a touch display screen and/or a physical switching button, the touch pen is in communication connection with an electronic device, and the method comprises the following steps:
receiving target input of a user on the touch display screen and/or the physical switching button;
and responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to correspondingly process a target object based on the target function.
2. The method of claim 1, further comprising, prior to receiving a user target input on the touch display screen and/or the physical toggle button:
receiving a function synchronization request sent by the electronic equipment, wherein the function synchronization request carries identification information of a target application and identification information of a first function;
and adding options corresponding to the first function in a function selection menu corresponding to the target application of the stylus end.
3. The method of claim 2, wherein the stylus has a touch display screen;
the receiving a target input of a user on the touch display screen and/or the physical switching button includes:
displaying a function selection menu added with the option corresponding to the first function on the touch display screen;
and receiving target input of a user on the touch display screen aiming at the function selection menu added with the option corresponding to the first function.
4. The method of claim 1, wherein the stylus has a physical toggle button;
the receiving a target input of a user on the touch display screen and/or the physical switching button includes:
receiving a first input of a user on the physical toggle button;
receiving a second input of the user on the physical switching button if a parameter setting request is detected within a preset time, wherein the second input comprises: setting input aiming at the parameter of the target function corresponding to the first input;
determining a combination of the first input and the second input as a target input.
5. The method of claim 4, wherein the stylus further has a touch display screen;
the receiving a first input of a user on the physical toggle button includes:
under the condition that gear switching operation aiming at a physical switching button is detected, function option prompt information is displayed on the touch display screen;
and receiving a first input of a user on the physical switching button based on the function option prompt message.
6. The method of claim 1, wherein the target input comprises: a third input and a fourth input, the target function comprising: a first function corresponding to the third input and a second function corresponding to the fourth input, the electronic device comprising: a first device and a second device;
the responding to the target input, controlling the electronic equipment to select a target function so as to enable the electronic equipment to perform corresponding processing on a target object based on the target function, and the method comprises the following steps:
in response to the third input, controlling the first device to select the first function so as to enable the first device to perform corresponding processing on a target object based on the first function;
receiving the processed target object sent by the first device;
and responding to the fourth input, controlling the second equipment to select the second function so as to enable the second equipment to correspondingly process the processed target object based on the second function.
7. A stylus, comprising: the stylus has touch-sensitive display screen and/or physics switching button, stylus and electronic equipment communication connection, the stylus includes:
the target input receiving module is used for receiving target input of a user on the touch display screen and/or the physical switching button;
and the target function control module is used for responding to the target input and controlling the electronic equipment to select the target function so as to enable the electronic equipment to perform corresponding processing on the target object based on the target function.
8. An electronic assembly, comprising: an electronic device and a stylus as claimed in claim 7;
wherein the stylus is in communication connection with the electronic device.
9. A stylus, comprising: processor, memory and a computer program stored on the memory and executable on the processor, which computer program, when being executed by the processor, carries out the steps of the control method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the control method according to any one of claims 1 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911176722.1A CN110908582A (en) | 2019-11-26 | 2019-11-26 | A control method, touch pen and electronic component |
PCT/CN2020/131199 WO2021104271A1 (en) | 2019-11-26 | 2020-11-24 | Control method, stylus, and electronic assembly |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911176722.1A CN110908582A (en) | 2019-11-26 | 2019-11-26 | A control method, touch pen and electronic component |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110908582A true CN110908582A (en) | 2020-03-24 |
Family
ID=69819735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911176722.1A Pending CN110908582A (en) | 2019-11-26 | 2019-11-26 | A control method, touch pen and electronic component |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110908582A (en) |
WO (1) | WO2021104271A1 (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111443819A (en) * | 2020-03-26 | 2020-07-24 | 维沃移动通信有限公司 | Control method and electronic device |
CN111665984A (en) * | 2020-05-29 | 2020-09-15 | 维沃移动通信有限公司 | Information processing method and device, electronic equipment and readable storage medium |
CN111880706A (en) * | 2020-07-23 | 2020-11-03 | 维沃移动通信有限公司 | Function switching method and device, electronic equipment and readable storage medium |
CN111949146A (en) * | 2020-08-13 | 2020-11-17 | 深圳传音控股股份有限公司 | Shortcut function calling method and device for touch pen, touch pen and storage medium |
CN112256373A (en) * | 2020-10-21 | 2021-01-22 | 中国联合网络通信集团有限公司 | USIM application shortcut setting method, terminal and smart card |
WO2021104271A1 (en) * | 2019-11-26 | 2021-06-03 | 维沃移动通信有限公司 | Control method, stylus, and electronic assembly |
CN113238703A (en) * | 2021-03-15 | 2021-08-10 | 荣耀终端有限公司 | Note generation method and system |
US11112889B2 (en) | 2019-02-01 | 2021-09-07 | Samsung Electronics Co., Ltd. | Electronic device and method for mapping function of electronic device to operation of stylus pen |
CN113687872A (en) * | 2021-07-19 | 2021-11-23 | 北京鸿腾智能科技有限公司 | Selection component control method, device, storage medium and apparatus |
CN115904110A (en) * | 2021-09-23 | 2023-04-04 | 广州视源电子科技股份有限公司 | Touch device and touch method, device and storage medium for touch device |
CN116301414A (en) * | 2023-02-17 | 2023-06-23 | 北京声智科技有限公司 | Function switching method and device, electronic pen, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2631749A2 (en) * | 2012-02-24 | 2013-08-28 | Samsung Electronics Co., Ltd | Hybrid touch screen device and method for operating the same |
CN103677330A (en) * | 2012-09-26 | 2014-03-26 | 深圳富泰宏精密工业有限公司 | Stylus and displaying method for writing state of stylus |
CN105302341A (en) * | 2014-06-05 | 2016-02-03 | 宏达国际电子股份有限公司 | Electronic system, stylus, and data transmission method between electronic device and stylus |
CN205450996U (en) * | 2016-03-25 | 2016-08-10 | 广州宇卡电子科技有限公司 | Intelligence touch -control pen |
CN107924241A (en) * | 2015-08-18 | 2018-04-17 | 微软技术许可有限责任公司 | Annular button assembly in electronic product |
CN108376036A (en) * | 2017-01-30 | 2018-08-07 | 京瓷办公信息系统株式会社 | Pen type input device and display input system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9261985B2 (en) * | 2013-03-11 | 2016-02-16 | Barnes & Noble College Booksellers, Llc | Stylus-based touch-sensitive area for UI control of computing device |
CN110908582A (en) * | 2019-11-26 | 2020-03-24 | 维沃移动通信有限公司 | A control method, touch pen and electronic component |
-
2019
- 2019-11-26 CN CN201911176722.1A patent/CN110908582A/en active Pending
-
2020
- 2020-11-24 WO PCT/CN2020/131199 patent/WO2021104271A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2631749A2 (en) * | 2012-02-24 | 2013-08-28 | Samsung Electronics Co., Ltd | Hybrid touch screen device and method for operating the same |
CN103677330A (en) * | 2012-09-26 | 2014-03-26 | 深圳富泰宏精密工业有限公司 | Stylus and displaying method for writing state of stylus |
CN105302341A (en) * | 2014-06-05 | 2016-02-03 | 宏达国际电子股份有限公司 | Electronic system, stylus, and data transmission method between electronic device and stylus |
CN107924241A (en) * | 2015-08-18 | 2018-04-17 | 微软技术许可有限责任公司 | Annular button assembly in electronic product |
CN205450996U (en) * | 2016-03-25 | 2016-08-10 | 广州宇卡电子科技有限公司 | Intelligence touch -control pen |
CN108376036A (en) * | 2017-01-30 | 2018-08-07 | 京瓷办公信息系统株式会社 | Pen type input device and display input system |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11112889B2 (en) | 2019-02-01 | 2021-09-07 | Samsung Electronics Co., Ltd. | Electronic device and method for mapping function of electronic device to operation of stylus pen |
WO2021104271A1 (en) * | 2019-11-26 | 2021-06-03 | 维沃移动通信有限公司 | Control method, stylus, and electronic assembly |
CN111443819A (en) * | 2020-03-26 | 2020-07-24 | 维沃移动通信有限公司 | Control method and electronic device |
CN111665984A (en) * | 2020-05-29 | 2020-09-15 | 维沃移动通信有限公司 | Information processing method and device, electronic equipment and readable storage medium |
CN111880706A (en) * | 2020-07-23 | 2020-11-03 | 维沃移动通信有限公司 | Function switching method and device, electronic equipment and readable storage medium |
CN111880706B (en) * | 2020-07-23 | 2021-12-14 | 维沃移动通信有限公司 | Function switching method and device, electronic equipment and readable storage medium |
CN111949146A (en) * | 2020-08-13 | 2020-11-17 | 深圳传音控股股份有限公司 | Shortcut function calling method and device for touch pen, touch pen and storage medium |
CN112256373A (en) * | 2020-10-21 | 2021-01-22 | 中国联合网络通信集团有限公司 | USIM application shortcut setting method, terminal and smart card |
CN112256373B (en) * | 2020-10-21 | 2023-05-23 | 中国联合网络通信集团有限公司 | USIM application shortcut setting method, terminal and smart card |
CN113268174A (en) * | 2021-03-15 | 2021-08-17 | 荣耀终端有限公司 | Function control method and system |
CN113238703A (en) * | 2021-03-15 | 2021-08-10 | 荣耀终端有限公司 | Note generation method and system |
WO2022193814A1 (en) * | 2021-03-15 | 2022-09-22 | 荣耀终端有限公司 | Note generation method and system |
US20230195244A1 (en) * | 2021-03-15 | 2023-06-22 | Honor Device Co., Ltd. | Method and System for Generating Note |
EP4089518A4 (en) * | 2021-03-15 | 2023-07-12 | Honor Device Co., Ltd. | Note generation method and system |
US12050739B2 (en) * | 2021-03-15 | 2024-07-30 | Honor Device Co., Ltd. | Method and system for generating note |
CN113687872A (en) * | 2021-07-19 | 2021-11-23 | 北京鸿腾智能科技有限公司 | Selection component control method, device, storage medium and apparatus |
CN113687872B (en) * | 2021-07-19 | 2024-03-29 | 三六零数字安全科技集团有限公司 | Selection component control method, device, storage medium and apparatus |
CN115904110A (en) * | 2021-09-23 | 2023-04-04 | 广州视源电子科技股份有限公司 | Touch device and touch method, device and storage medium for touch device |
CN116301414A (en) * | 2023-02-17 | 2023-06-23 | 北京声智科技有限公司 | Function switching method and device, electronic pen, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2021104271A1 (en) | 2021-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110908582A (en) | A control method, touch pen and electronic component | |
CN107479784B (en) | Expression display method and device and computer readable storage medium | |
CN111061574B (en) | Object sharing method and electronic device | |
CN110460907B (en) | Video playing control method and terminal | |
EP3617861A1 (en) | Method of displaying graphic user interface and electronic device | |
US20120026105A1 (en) | Electronic device and method thereof for transmitting data | |
CN108446058B (en) | Mobile terminal operation method and mobile terminal | |
CN108664190A (en) | page display method, device, mobile terminal and storage medium | |
CN109683802B (en) | Icon moving method and terminal | |
WO2020007114A1 (en) | Method and apparatus for switching split-screen application, storage medium, and electronic device | |
CN109683764B (en) | Icon management method and terminal | |
CN108920069B (en) | Touch operation method and device, mobile terminal and storage medium | |
CN109508136B (en) | Display method of application program and mobile terminal | |
CN110673770B (en) | Message display method and terminal equipment | |
CN106371749A (en) | Method and device for terminal control | |
CN108446156B (en) | Application program control method and terminal | |
CN111124345A (en) | Audio source processing method and mobile terminal | |
CN108958841A (en) | A kind of setting method and mobile terminal of desktop pendant | |
CN106951143B (en) | Method and device for hiding application icons | |
CN108170329A (en) | A kind of display control method and terminal device | |
CN113050863A (en) | Page switching method and device, storage medium and electronic equipment | |
CN108564539B (en) | A method and apparatus for displaying images | |
CN108196699B (en) | Page switching method and equipment | |
CN111158552B (en) | Position adjustment method and device | |
CN108683812A (en) | Volume adjustment method, device and mobile terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200324 |